The LogManager has the following capabilities:The LogManager initializes the log4s framework by reading the log4s stanza in the .ini file at image startup and creates the loggers, appenders, and filters that are specified in it. The LogManager keeps track of all the loggers it creates in its instance variable loggers.globalLevel= Warn
• shutDown calls shutDown on all the loggers which then call shutDown on all their appenders who then close any open files and mark themselves as closed. shutDown is called automatically when the image shuts down.
• clearLevels calls clearLevels on all the loggers which then call clearLevels on all their appenders who then execute level := EsLevel All.
• clearFilters calls clearFilters on all the loggers which then call clearFilters on all their appenders who then execute filters := OrderedCollection new.
|