Package | Description |
---|---|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.appender.db.jdbc |
The JDBC Appender supports writing log events to a relational database using standard JDBC connections.
|
org.apache.logging.log4j.core.appender.db.jpa |
The JPA Appender supports writing log events to a relational database using the Java Persistence API.
|
org.apache.logging.log4j.core.appender.mom |
Message oriented middleware appenders.
|
org.apache.logging.log4j.core.appender.rewrite |
Apache Flume Appender.
|
org.apache.logging.log4j.core.appender.rolling |
Rolling File Appender and support classes.
|
org.apache.logging.log4j.core.appender.routing |
Apache Flume Appender.
|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.config.json |
Classes and interfaces supporting configuration of Log4j 2 with JSON.
|
org.apache.logging.log4j.core.config.plugins.convert |
TypeConverter plugins for converter strings into various types.
|
org.apache.logging.log4j.core.config.xml |
Classes and interfaces supporting configuration of Log4j 2 with XML.
|
org.apache.logging.log4j.core.config.yaml |
Classes and interfaces supporting configuration of Log4j 2 with YAML.
|
org.apache.logging.log4j.core.filter |
Log4j 2 Filter support.
|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
org.apache.logging.log4j.core.lookup |
Log4j 2 Lookups.
|
org.apache.logging.log4j.core.net |
Log4j 2 network support.
|
org.apache.logging.log4j.core.net.ssl |
Log4j 2 SSL support
|
org.apache.logging.log4j.core.pattern |
Provides classes implementing format specifiers in conversion patterns.
|
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncAppender
Appends to one or more Appenders asynchronously.
|
class |
ConsoleAppender
ConsoleAppender appends log events to
System.out or
System.err using a layout specified by the user. |
class |
FailoverAppender
The FailoverAppender will capture exceptions in an Appender and then route the event
to a different appender.
|
class |
FailoversPlugin
The array of failover Appenders.
|
class |
FileAppender
File Appender.
|
class |
MemoryMappedFileAppender
Memory Mapped File Appender.
|
class |
RandomAccessFileAppender
File Appender.
|
class |
RollingFileAppender
An appender that writes to files and can roll over at intervals.
|
class |
RollingRandomAccessFileAppender
An appender that writes to random access files and can roll over at
intervals.
|
class |
SmtpAppender
Send an e-mail when a specific logging event occurs, typically on errors or
fatal errors.
|
class |
SocketAppender
An Appender that delivers events over socket connections.
|
class |
SyslogAppender
The Syslog Appender.
|
Modifier and Type | Class and Description |
---|---|
class |
ColumnConfig
A configuration element used to configure which event properties are logged to which columns in the database table.
|
class |
DataSourceConnectionSource
A
JdbcAppender connection source that uses a DataSource to connect to the database. |
class |
FactoryMethodConnectionSource
A
JdbcAppender connection source that uses a public static factory method to obtain a Connection or
DataSource . |
class |
JdbcAppender
This Appender writes logging events to a relational database using standard JDBC mechanisms.
|
Modifier and Type | Class and Description |
---|---|
class |
JpaAppender
This Appender writes logging events to a relational database using the Java Persistence API.
|
Modifier and Type | Class and Description |
---|---|
class |
JmsAppender
Generic JMS Appender plugin for both queues and topics.
|
Modifier and Type | Class and Description |
---|---|
class |
MapRewritePolicy
This policy modifies events by replacing or possibly adding keys and values to the MapMessage.
|
class |
PropertiesRewritePolicy
This policy modifies events by replacing or possibly adding keys and values to the MapMessage.
|
class |
RewriteAppender
This Appender allows the logging event to be manipulated before it is processed by other Appenders.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeTriggeringPolicy
Triggering policy that wraps other policies.
|
class |
DefaultRolloverStrategy
When rolling over,
DefaultRolloverStrategy renames files
according to an algorithm as described below. |
class |
OnStartupTriggeringPolicy
Triggers a rollover on every restart.
|
class |
SizeBasedTriggeringPolicy |
class |
TimeBasedTriggeringPolicy
Triggering Policy that causes a rollover based on time.
|
Modifier and Type | Class and Description |
---|---|
class |
Route
A Route to an appender.
|
class |
Routes
Used to contain the individual Route elements.
|
class |
RoutingAppender
This Appender "routes" between various Appenders, some of which can be references to
Appenders defined earlier in the configuration while others can be dynamically created
within this Appender as required.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncLoggerConfig
Asynchronous Logger object that is created via configuration and can be
combined with synchronous loggers.
|
static class |
AsyncLoggerConfig.RootLogger
An asynchronous root Logger.
|
Modifier and Type | Class and Description |
---|---|
class |
AppenderRef
An Appender reference.
|
class |
AppendersPlugin
An Appender container.
|
class |
CustomLevelConfig
Descriptor of a custom Level object that is created via configuration.
|
class |
CustomLevels
Container for CustomLevelConfig objects.
|
class |
DefaultAdvertiser
The default advertiser does not do anything.
|
class |
LoggerConfig
Logger object that is created via configuration.
|
static class |
LoggerConfig.RootLogger
The root Logger.
|
class |
LoggersPlugin
Container of Logger objects.
|
class |
PropertiesPlugin
Handles properties defined in the configuration.
|
class |
Property
Represents a key/value pair in the configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonConfigurationFactory |
Modifier and Type | Class and Description |
---|---|
class |
XmlConfigurationFactory
Factory to construct an XmlConfiguration.
|
Modifier and Type | Class and Description |
---|---|
class |
YamlConfigurationFactory |
Modifier and Type | Class and Description |
---|---|
class |
BurstFilter
The
BurstFilter is a logging filter that regulates logging traffic. |
class |
CompositeFilter
Composes and invokes one or more filters.
|
class |
DynamicThresholdFilter
Compare against a log level that is associated with an MDC value.
|
class |
MapFilter
A Filter that operates on a Map.
|
class |
MarkerFilter
This filter returns the onMatch result if the marker in the LogEvent is the same as or has the
configured marker as a parent.
|
class |
RegexFilter
This filter returns the onMatch result if the message matches the regular expression.
|
class |
StructuredDataFilter
Filter based on data in a StructuredDataMessage.
|
class |
ThreadContextMapFilter
Filter based on a value in the Thread Context Map (MDC).
|
class |
ThresholdFilter
This filter returns the onMatch result if the level in the LogEvent is the same or more specific
than the configured level and the onMismatch value otherwise.
|
class |
TimeFilter
Filters events that fall within a specified time period in each day.
|
Modifier and Type | Class and Description |
---|---|
class |
GelfLayout
Lays out events in the Graylog Extended Log Format (GELF) 1.1.
|
class |
HtmlLayout
Outputs events as rows in an HTML table on an HTML page.
|
class |
JsonLayout
Appends a series of JSON events as strings serialized as bytes.
|
class |
LoggerFields
A LoggerFields container.
|
class |
PatternLayout
A flexible layout configurable with pattern string.
|
class |
Rfc5424Layout
Formats a log event in accordance with RFC 5424.
|
class |
SerializedLayout
Formats a
LogEvent in its Java serialized form. |
class |
SyslogLayout
Formats a log event as a BSD Log record.
|
class |
XmlLayout
Appends a series of
event elements as defined in the log4j.dtd. |
Modifier and Type | Class and Description |
---|---|
class |
ContextMapLookup
Looks up keys from
ThreadContext objects.. |
class |
DateLookup
Formats the current date or the date in the LogEvent.
|
class |
EnvironmentLookup
Looks up keys from environment variables.
|
class |
JavaLookup
Looks up keys related to Java: Java version, JRE version, VM version, and so on.
|
class |
JmxRuntimeInputArgumentsLookup
Maps JVM input arguments (but not main arguments) using JMX to acquire JVM arguments.
|
class |
JndiLookup
Looks up keys from JNDI resources.
|
class |
MapLookup
A map-based lookup.
|
class |
ResourceBundleLookup
Looks up keys from resource bundles.
|
class |
StructuredDataLookup
Looks up keys from
StructuredDataMessage log messages. |
class |
SystemPropertiesLookup
Looks up keys from system properties.
|
Modifier and Type | Class and Description |
---|---|
class |
MulticastDnsAdvertiser
Advertise an entity via ZeroConf/MulticastDNS and the JmDNS library.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyStoreConfiguration
Configuration of the KeyStore
|
class |
SslConfiguration
SSL Configuration
|
class |
TrustStoreConfiguration
Configuration of the TrustStore
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractStyleNameConverter.Black
Black style pattern converter.
|
static class |
AbstractStyleNameConverter.Blue
Blue style pattern converter.
|
static class |
AbstractStyleNameConverter.Cyan
Cyan style pattern converter.
|
static class |
AbstractStyleNameConverter.Green
Green style pattern converter.
|
static class |
AbstractStyleNameConverter.Magenta
Magenta style pattern converter.
|
static class |
AbstractStyleNameConverter.Red
Red style pattern converter.
|
static class |
AbstractStyleNameConverter.White
White style pattern converter.
|
static class |
AbstractStyleNameConverter.Yellow
Yellow style pattern converter.
|
class |
ClassNamePatternConverter
Formats the class name of the site of the logging request.
|
class |
DatePatternConverter
Convert and format the event's date in a StringBuilder.
|
class |
EncodingPatternConverter
Returns the event's rendered message in a StringBuilder.
|
class |
ExtendedThrowablePatternConverter
Outputs the Throwable portion of the LoggingEvent as a full stack trace
unless this converter's option is 'short', where it just outputs the first line of the trace, or if
the number of lines to print is explicitly specified.
|
class |
FileDatePatternConverter
Formats a date by delegating to
DatePatternConverter . |
class |
FileLocationPatternConverter
Returns the event's line location information in a StringBuilder.
|
class |
FullLocationPatternConverter
Format the event's line location information.
|
class |
HighlightConverter
Highlight pattern converter.
|
class |
IntegerPatternConverter
Formats an integer.
|
class |
LevelPatternConverter
Returns the event's level in a StringBuilder.
|
class |
LineLocationPatternConverter
Returns the event's line location information in a StringBuilder.
|
class |
LineSeparatorPatternConverter
Formats a line separator.
|
class |
LoggerPatternConverter
Formats a logger name.
|
class |
MapPatternConverter
Able to handle the contents of the LogEvent's MapMessage and either
output the entire contents of the properties in a similar format to the
java.util.Hashtable.toString(), or to output the value of a specific key
within the Map.
|
class |
MarkerPatternConverter
Returns the event's rendered message in a StringBuilder.
|
class |
MdcPatternConverter
Able to handle the contents of the LogEvent's MDC and either
output the entire contents of the properties in a similar format to the
java.util.Hashtable.toString(), or to output the value of a specific key
within the property bundle
when this pattern converter has the option set.
|
class |
MessagePatternConverter
Returns the event's rendered message in a StringBuilder.
|
class |
MethodLocationPatternConverter
Returns the event's line location information in a StringBuilder.
|
class |
NdcPatternConverter
Returns the event's NDC in a StringBuilder.
|
class |
RegexReplacement
Replace tokens in the LogEvent message.
|
class |
RegexReplacementConverter
Replacement pattern converter.
|
class |
RelativeTimePatternConverter
Returns the relative time in milliseconds since JVM Startup.
|
class |
RootThrowablePatternConverter
Outputs the Throwable portion of the LoggingEvent as a full stack trace
unless this converter's option is 'short', where it just outputs the first line of the trace, or if
the number of lines to print is explicitly specified.
|
class |
SequenceNumberPatternConverter
Formats the event sequence number.
|
class |
StyleConverter
Style pattern converter.
|
class |
ThreadPatternConverter
Formats the event thread name.
|
class |
ThrowablePatternConverter
Outputs the Throwable portion of the LoggingEvent as a full stack trace
unless this converter's option is 'short', where it just outputs the first line of the trace, or if
the number of lines to print is explicitly specified.
|
class |
UuidPatternConverter
Formats the event sequence number.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyValuePair
Key/Value pair configuration item.
|
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.