Log4J2LoggingSystem
LoggingSystem for Log4j 2.
Author
Daniel Fullarton
Andy Wilkinson
Alexander Heusingfeld
Ben Hale
Ralph Goers
Since
1.2.0
Types
Link copied to clipboard
LoggingSystemFactory that returns Log4J2LoggingSystem if possible.
Properties
Link copied to clipboard
The name of an Environment property used to indicate that a correlation ID is expected to be logged at some point.
Link copied to clipboard
The value of the SYSTEM_PROPERTY that can be used to indicate that no LoggingSystem should be used.
Link copied to clipboard
The name used for the root logger.
Link copied to clipboard
A System property that can be used to indicate the LoggingSystem to use.
Functions
Link copied to clipboard
Reset the logging system to be limit output.
Link copied to clipboard
Detect and return the logging system in use.
Link copied to clipboard
Get the Spring Environment attached to the given LoggerContext or
null
if no environment is available.Link copied to clipboard
Returns the current configuration for a LoggingSystem's logger.
Link copied to clipboard
Returns a collection of the current configuration for all a LoggingSystem's loggers.
Link copied to clipboard
Returns a Runnable that can handle shutdown of this logging system when the JVM exits.
Link copied to clipboard
Returns a set of the LogLevels that are actually supported by the logging system.
Link copied to clipboard
Return the LoggingSystemProperties that should be applied.
Link copied to clipboard
open fun initialize(initializationContext: LoggingInitializationContext, configLocation: String, logFile: LogFile)
Fully initialize the logging system.
Link copied to clipboard
Sets the logging level for a given logger.