Project configuration is strictly regulated.
The common package contains the bootstrap.yml file, which defines the address information for the configServer.
The common package contains the logback-spring.xml file, and other microservices use the same configuration as Common.
The other microservices start normally, and the log gets the spring.application.name correctly, However, when the refresh
endpoint is called, the log does not get the correct spring.application.name after the configuration is updated.
the log shows that XXX IS UNDEFINED.
To be exact, anything like <springProperty scope="context" ....../> does not get the value correctly.
Is this a bug? Or what exactly am I going to do?
I tried several schemes, including changing the logback-spring.xml file to something else and loading it in the application.yml file, but nothing worked.
Versions:
Project configuration is strictly regulated. The common package contains the bootstrap.yml file, which defines the address information for the configServer.
The common package contains the logback-spring.xml file, and other microservices use the same configuration as Common.
The other microservices start normally, and the log gets the spring.application.name correctly, However, when the refresh endpoint is called, the log does not get the correct spring.application.name after the configuration is updated. the log shows that XXX IS UNDEFINED.
To be exact, anything like <springProperty scope="context" ....../> does not get the value correctly.
Is this a bug? Or what exactly am I going to do? I tried several schemes, including changing the logback-spring.xml file to something else and loading it in the application.yml file, but nothing worked. Versions: