|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
LogEvent.getLoggerName()
method instead.
configuration
element as
defined in the log4j.dtd.
DOMConfigurator.doConfigure(String, LoggerRepository)
.
DOMConfigurator.doConfigure(URL, LoggerRepository)
.
DOMConfigurator.configureAndWatch(String, long)
except that the
default delay as defined by FileWatchdog.DEFAULT_DELAY
is
used.
configFilename
if it
exists.
Filter.DENY
regardless of the LoggingEvent
parameter.
Filter.NEUTRAL
is there is no string match.
RuleFactory
.FixedWindowRollingPolicy
renames files
according to a fixed window algorithm as described below.AcceptOnMatch
option.
LevelMax
option.
LevelMin
option.
key
parameter.
Exceptions
.
Exceptions
.
RuleFactory
NOTE: parsing is supported through the use of StringTokenizer
,
which means all tokens in the expression must be separated by spaces.LogEvent.getLevel()
method instead.
org.apache.log4j.rolling
package.ErrorHandler
element.
LoggerRepository
object store.
EnhancedPatternLayout
class
is delegated to the PatternParser class.RollingFileAppender
extends FileAppender
to backup the log files
depending on RollingPolicy
and TriggeringPolicy
.RollingPolicy
specifies the actions taken
on a logging file rollover.AcceptOnMatch
option.
LevelMax
option.
LevelMin
option.
setOption
method.
TimeBasedRollingPolicy
is both easy to configure and quite
powerful.TriggeringPolicy
controls the conditions under which rollover
occurs.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |