LifeCycle.State state
Logger.PrivateConfig config
LoggerContext context
LoggerConfig loggerConfig
Configuration config
org.apache.logging.log4j.Level level
int intLevel
Logger logger
ConcurrentMap<K,V> loggers
CopyOnWriteArrayList<E> propertyChangeListeners
Configuration config
Object externalContext
String name
URI configLocation
Cancellable shutdownCallback
Lock configLock
boolean ignoreExceptions
ErrorHandler handler
Layout<T extends Serializable> layout
String name
boolean immediateFlush
immediateFlush
is set to
false
, then there is a good chance that the last few
logs events are not actually written to persistent media if and
when the application crashes.OutputStreamManager manager
ReadWriteLock rwLock
Lock readLock
BlockingQueue<E> queue
int queueSize
boolean blocking
Configuration config
AppenderRef[] appenderRefs
String errorRef
boolean includeLocation
AppenderControl errorAppender
org.apache.logging.log4j.core.appender.AsyncAppender.AsyncThread thread
int exceptionCount
long lastException
Appender appender
String primaryRef
String[] failovers
Configuration config
AppenderControl primary
List<E> failoverAppenders
long intervalMillis
long nextCheckMillis
String fileName
Advertiser advertiser
Object advertisement
String fileName
Object advertisement
Advertiser advertiser
String fileName
Object advertisement
Advertiser advertiser
String fileName
String filePattern
Object advertisement
Advertiser advertiser
String fileName
String filePattern
Object advertisement
Advertiser advertiser
SmtpManager manager
Object advertisement
Advertiser advertiser
ReadWriteLock lock
Lock readLock
Lock writeLock
AbstractDatabaseManager manager
String description
LogEvent wrappedEvent
String description
JmsManager manager
MessageProducer producer
Configuration config
ConcurrentMap<K,V> appenders
RewritePolicy rewritePolicy
AppenderRef[] appenderRefs
Routes routes
Route defaultRoute
Configuration config
ConcurrentMap<K,V> appenders
RewritePolicy rewritePolicy
org.apache.logging.log4j.core.async.AsyncLoggerConfigHelper helper
private void writeObject(ObjectOutputStream out) throws IOException
IOException
String loggerName
org.apache.logging.log4j.Marker marker
String fqcn
org.apache.logging.log4j.Level level
org.apache.logging.log4j.message.Message message
ThrowableProxy thrownProxy
Map<K,V> contextMap
org.apache.logging.log4j.ThreadContext.ContextStack contextStack
String threadName
StackTraceElement location
long currentTimeMillis
boolean endOfBatch
boolean includeLocation
Node rootNode
List<E> listeners
ConfigurationMonitor monitor
Advertiser advertiser
Node advertiserNode
Object advertisement
boolean isShutdownHookEnabled
String name
ConcurrentMap<K,V> appenders
ConcurrentMap<K,V> loggers
List<E> customLevels
ConcurrentMap<K,V> properties
StrLookup tempLookup
StrSubstitutor subst
StrSubstitutor configurationStrSubstitutor
LoggerConfig root
ConcurrentMap<K,V> componentMap
List<E> pluginPackages
PluginManager pluginManager
ConfigurationSource configurationSource
ThreadLocal<T> recursive
Appender appender
org.apache.logging.log4j.Level level
int intLevel
List<E> appenderRefs
Map<K,V> appenders
String name
LogEventFactory logEventFactory
org.apache.logging.log4j.Level level
boolean additive
boolean includeLocation
LoggerConfig parent
AtomicInteger counter
AtomicBoolean shutdown
Map<K,V> properties
Configuration config
Lock shutdownLock
Condition noLogEvents
Filter.Result onMatch
Filter.Result onMismatch
Filter filter
org.apache.logging.log4j.Level level
maxBurst
has been exceeded. The default is
WARN meaning any messages that are higher than warn will be logged
regardless of the size of a burst.long burstInterval
DelayQueue<E extends Delayed> history
Queue<E> available
String name
Pattern pattern
boolean useRawMessage
org.apache.logging.log4j.Level level
long start
long end
TimeZone timezone
ExtendedClassInfo extraClassInfo
StackTraceElement stackTraceElement
private void readObject(ObjectInputStream stream) throws InvalidObjectException
InvalidObjectException
protected Object writeReplace()
String loggerFqcn
org.apache.logging.log4j.Marker marker
org.apache.logging.log4j.Level level
String loggerName
org.apache.logging.log4j.message.Message message
long timeMillis
ThrowableProxy thrownProxy
Map<K,V> contextMap
org.apache.logging.log4j.ThreadContext.ContextStack contextStack
String threadName
StackTraceElement source
boolean includeLocation
boolean endOfBatch
ThrowableProxy causeProxy
int commonElementCount
ExtendedStackTraceElement[] extendedStackTrace
String localizedMessage
String message
String name
ThrowableProxy[] suppressedProxies
byte[] header
byte[] footer
Charset charset
KeyValuePair[] additionalFields
int compressionThreshold
GelfLayout.CompressionType compressionType
String host
List<E> formatters
String conversionPattern
Configuration config
RegexReplacement replace
boolean alwaysWriteExceptions
boolean noConsoleNoAnsi
Facility facility
String defaultId
int enterpriseNumber
boolean includeMdc
String mdcId
org.apache.logging.log4j.message.StructuredDataId mdcSdId
String localHostName
String appName
String messageId
String configName
String mdcPrefix
String eventPrefix
List<E> mdcExcludes
List<E> mdcIncludes
List<E> mdcRequired
org.apache.logging.log4j.core.layout.Rfc5424Layout.ListChecker checker
org.apache.logging.log4j.core.layout.Rfc5424Layout.ListChecker noopChecker
boolean includeNewLine
String escapeNewLine
boolean useTlsMessageFormat
long lastTimestamp
String timestamppStr
List<E> exceptionFormatters
Map<K,V> fieldFormatters
Facility facility
boolean includeNewLine
String escapeNewLine
SimpleDateFormat dateFormat
String localHostname
AtomicReference<V> state
ThreadFactory threadFactory
Collection<E> hooks
Reference<T> shutdownHookRef
private void readObject(ObjectInputStream stream) throws InvalidObjectException
InvalidObjectException
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
Copyright © 1999-2021 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.