Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use Broadleaf-based properties in runtime-properties to control log levels or log location #4

Open
phillipuniverse opened this issue Oct 20, 2017 · 0 comments

Comments

@phillipuniverse
Copy link
Contributor

The Broadleaf properties are added to the environment in the BroadleafEnvironmentConfiguringApplicationListener. The problem is that the Spring Boot logging (and the properties affecting logging) is added via the Boot LoggingApplicationListener and this happens before the Broadleaf properties one. So by the time the Broadleaf-based runtime-properties are added to the environment, all of the logging properties have already happened.

The fix should be to just change the ordering of the BroadleafEnvironmentConfiguringApplicationListener to be ordered before the LoggingApplicationListener.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant