private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
- if IO exception.ClassNotFoundException
- if class not found.private void writeObject(ObjectOutputStream s) throws IOException
IOException
- if exception during serialization.protected Object readResolve() throws ObjectStreamException
ObjectStreamException
- if exception during resolution.Throwable rootCause
protected Object readResolve()
String name
int intLevel
StandardLevel standardLevel
LifeCycle.State state
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
Logger.PrivateConfig privateConfig
LoggerContext context
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
String name
MessageFactory messageFactory
ConcurrentMap<K,V> loggers
CopyOnWriteArrayList<E> propertyChangeListeners
Configuration configuration
Object externalContext
String contextName
URI configLocation
Cancellable shutdownCallback
Lock configLock
String name
boolean ignoreExceptions
Layout<T extends Serializable> layout
ErrorHandler handler
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
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.WriterManager manager
ReadWriteLock readWriteLock
Lock readLock
BlockingQueue<E> queue
int queueSize
boolean blocking
long shutdownTimeout
Configuration config
AppenderRef[] appenderRefs
String errorRef
boolean includeLocation
AppenderControl errorAppender
org.apache.logging.log4j.core.appender.AsyncAppender.AsyncThread thread
ConsoleAppender.Target target
int exceptionCount
long lastException
Appender appender
String primaryRef
String[] failovers
Configuration config
AppenderControl primary
List<E> failoverAppenders
long intervalNanos
long nextCheckNanos
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
javax.jms.MessageProducer producer
long affinity
long backlog
boolean delayAttachOnConnect
List<E> endpoints
byte[] identity
int ioThreads
boolean ipv4Only
long linger
long maxMsgSize
long rcvHwm
long receiveBufferSize
int receiveTimeOut
long reconnectIVL
long reconnectIVLMax
long sendBufferSize
int sendRcFalse
int sendRcTrue
int sendTimeOut
long sndHwm
int tcpKeepAlive
long tcpKeepAliveCount
long tcpKeepAliveIdle
long tcpKeepAliveInterval
boolean xpubVerbose
Configuration config
ConcurrentMap<K,V> appenders
RewritePolicy rewritePolicy
AppenderRef[] appenderRefs
long seconds
long timeToLive
ConcurrentMap<K,V> appendersUsage
RoutingAppender routingAppender
ConfigurationScheduler scheduler
ScheduledFuture<V> future
Routes routes
Route defaultRoute
Configuration config
ConcurrentMap<K,V> appenders
RewritePolicy rewritePolicy
PurgePolicy purgePolicy
ThreadLocal<T> threadLocalTranslator
org.apache.logging.log4j.core.async.AsyncLoggerDisruptor loggerDisruptor
NanoClock nanoClock
AsyncLoggerConfigDelegate delegate
org.apache.logging.log4j.core.async.AsyncLoggerDisruptor loggerDisruptor
private void writeObject(ObjectOutputStream out) throws IOException
IOException
String loggerName
Marker marker
String fqcn
Level level
Message message
ThrowableProxy thrownProxy
Map<K,V> contextMap
ThreadContext.ContextStack contextStack
String threadName
StackTraceElement location
long currentTimeMillis
boolean endOfBatch
boolean includeLocation
long nanoTime
Node rootNode
List<E> listeners
List<E> pluginPackages
PluginManager pluginManager
boolean isShutdownHookEnabled
Advertiser advertiser
Node advertiserNode
Object advertisement
String name
ConcurrentMap<K,V> appenders
ConcurrentMap<K,V> loggerConfigs
List<E> customLevels
ConcurrentMap<K,V> properties
StrLookup tempLookup
StrSubstitutor subst
LoggerConfig root
ConcurrentMap<K,V> componentMap
ConfigurationSource configurationSource
ScriptManager scriptManager
ConfigurationScheduler configurationScheduler
WatchManager watchManager
AsyncLoggerConfigDisruptor asyncLoggerConfigDisruptor
ThreadLocal<T> recursive
Appender appender
Level level
int intLevel
String appenderName
ScheduledExecutorService executorService
int scheduledItems
List<E> appenderRefs
Set<E> appenders
String name
LogEventFactory logEventFactory
Level level
boolean additive
boolean includeLocation
LoggerConfig parent
Map<K,V> properties
Configuration config
ReliabilityStrategy reliabilityStrategy
StatusConfiguration statusConfig
Component root
Component loggersComponent
Component appendersComponent
Component filtersComponent
Component propertiesComponent
Component customLevelsComponent
Component scriptsComponent
String contentType
Filter.Result onMatch
Filter.Result onMismatch
Filter filter
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
AbstractScript script
Configuration configuration
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
Marker marker
Level level
String loggerName
Message message
long timeMillis
ThrowableProxy thrownProxy
Map<K,V> contextMap
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
org.apache.commons.csv.CSVFormat format
byte[] header
byte[] footer
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
String charsetName
boolean useCustomEncoding
KeyValuePair[] additionalFields
int compressionThreshold
GelfLayout.CompressionType compressionType
String host
PatternFormatter[] formatters
String conversionPattern
PatternSelector patternSelector
org.apache.logging.log4j.core.layout.PatternLayout.Serializer serializer
Configuration config
RegexReplacement replace
boolean alwaysWriteExceptions
boolean noConsoleNoAnsi
private void readObject(ObjectInputStream stream) throws InvalidObjectException
InvalidObjectException
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
Facility facility
String defaultId
int enterpriseNumber
boolean includeMdc
String mdcId
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
ScriptEngineManager manager
ConcurrentMap<K,V> scripts
String languages
WatchManager watchManager
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
StringBuilder builder
ConcurrentMap<K,V> watchers
int intervalSeconds
ScheduledFuture<V> future
ConfigurationScheduler scheduler
FastDatePrinter printer
FastDateParser parser
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
- if there is an IO issue.ClassNotFoundException
- if a class cannot be found.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
- if there is an IO issue.ClassNotFoundException
- if a class cannot be found.ExtendedLogger logger
JTextField locationTextField
JLabel locationLabel
JButton buttonSendLocation
JButton buttonSendConfigText
JTextArea configTextArea
LoggerContextAdminMBean contextAdmin
AbstractAction actionReconfigureFromLocation
AbstractAction actionReconfigureFromText
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
String baseName
private void readObject(ObjectInputStream in) throws IOException
IOException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
String message
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
StructuredDataId id
String message
String type
private void readObject(ObjectInputStream stream) throws InvalidObjectException
InvalidObjectException
protected Object writeReplace()
String description
DateFormat dateFormatter
Note that DateFormat is not Thread-safe.
Level level
boolean showDateTime
boolean showContextMap
PrintStream stream
String logName
String name
MessageFactory messageFactory
boolean useStack
ExtendedLogger logger
long timestamp
StackTraceElement caller
Level level
Message msg
String threadName
Throwable throwable
SimpleLogger logger
Collection<E> listeners
ReadWriteLock listenersLock
Queue<E> messages
Lock msgLock
int listenersLevel
Level level
int scope
Marker marker
Level level
String var
int scope
javax.servlet.ServletContext servletContext
private void readObject(ObjectInputStream aInputStream) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream aOutputStream) throws IOException
IOException
boolean eventLogger
String name
org.slf4j.IMarkerFactory factory
Marker marker
org.slf4j.Logger logger
org.slf4j.spi.LocationAwareLogger locationAwareLogger
Copyright © 1999-2017 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.