- All Implemented Interfaces:
- EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>, org.springframework.core.Ordered
public class LoggingSystemShutdownListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>, org.springframework.core.Ordered
Cleans up the logging system immediately after the bootstrap context is created on
startup. Logging will go dark until the ConfigFileApplicationListener fires, but this
is the price we pay for that listener being able to adjust the log levels according to
what it finds in its own configuration.
- Author:
- Dave Syer