Skip to content

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

Description

@phillipuniverse

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions