Package | Description |
---|---|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AwaitCompletionReliabilityStrategy |
ReliabilityStrategy that counts the number of threads that have started to log an event but have not completed yet,
and waits for these threads to finish before allowing the appenders to be stopped.
|
class |
AwaitUnconditionallyReliabilityStrategy |
Reliability strategy that sleeps unconditionally for some time before allowing a Configuration to be stopped.
|
class |
DefaultReliabilityStrategy |
Reliability strategy that assumes reconfigurations will never take place.
|
class |
LockingReliabilityStrategy |
ReliabilityStrategy that uses read/write locks to prevent the LoggerConfig from stopping while it is in use.
|
Modifier and Type | Method | Description |
---|---|---|
ReliabilityStrategy |
AbstractConfiguration.getReliabilityStrategy(LoggerConfig loggerConfig) |
|
ReliabilityStrategy |
Configuration.getReliabilityStrategy(LoggerConfig loggerConfig) |
|
ReliabilityStrategy |
LoggerConfig.getReliabilityStrategy() |
Returns the object responsible for ensuring log events are delivered to a working appender, even during or after
a reconfiguration.
|
static ReliabilityStrategy |
ReliabilityStrategyFactory.getReliabilityStrategy(LoggerConfig loggerConfig) |
Returns a new
ReliabilityStrategy instance based on the value of system property
log4j.ReliabilityStrategy . |
Copyright © 1999-2018. 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.