HierarchyEventListener
event to the repository.ALL
has the lowest possible rank and is intended to
turn on all logging.ALL
has the lowest possible rank and is intended to
turn on all logging.configURL
.properties
.PropertyConfigurator.configureAndWatch(String, long)
except that the
default delay as defined by FileWatchdog.DEFAULT_DELAY is
used.configFilename
if it
exists.DEBUG
Level designates fine-grained
informational events that are most useful to debug an
application.Level.DEBUG
instead.DEBUG
Level designates fine-grained
informational events that are most useful to debug an
application.DENY
, then the event will be
dropped.Appender
specific way.properties
.configURL
.ERROR
level designates error events that
might still allow the application to continue running.Level.ERROR
instead.ErrorHandler.error(String, Exception, int,
LoggingEvent)
with the the event parameter set to
null
.ERROR
level designates error events that
might still allow the application to continue running.ErrorHandlers
.FATAL
level designates very severe error
events that will presumably lead the application to abort.Level.FATAL
instead.FATAL
level designates very severe error
events that will presumably lead the application to abort.LogManager.getCurrentLoggers()
instead.ErrorHandler
for this appender.LoggerRepository
depending on the
context.LoggingEvent
, then the layout should return
false
.LoggingEvent
, then the layout should return
false
.INFO
level designates informational messages
that highlight the progress of the application at coarse-grained
level.Level.INFO
instead.INFO
level designates informational messages
that highlight the progress of the application at coarse-grained
level.true
if this level has a higher or equal
level than the level passed as argument, false
otherwise.OFF
, FATAL
, ERROR
,
WARN
, INFO
, DEBUG
and ALL
.LoggerRepository
is used to create and retrieve Loggers
.Filter.getNext()
and Filter.setNext(org.apache.log4j.spi.Filter)
insteadOFF
has the highest possible rank and is
intended to turn off logging.OFF
has the highest possible rank and is
intended to turn off logging.Level
class instead.PropertySetter
utility class.LogManager
uses one (and only one)
RepositorySelector
implementation to select the
LoggerRepository
for a particular application context.ErrorHandler
for this appender.ErrorHandler
for this Appender.Layout
for this appender.prefix
passed as parameter.PropertyDescriptor
.LoggerRepository.setThreshold(Level)
accepting a string
parameter instead of a Level
.Level.toLevel(String)
method instead.Level.toLevel(int)
method instead.Level.toLevel(int, Level)
method instead.Level.toLevel(String, Level)
method instead.TRACE
Level designates finer-grained
informational events than the DEBUG
level.WARN
level designates potentially harmful situations.Level.WARN
instead.WARN
level designates potentially harmful situations.Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.