Package | Description |
---|---|
org.apache.log4j |
Log4j 1.x compatibility layer.
|
org.apache.logging.log4j |
Public API for Log4j 2.
|
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.appender |
Log4j 2 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.rolling.action |
Support classes for the Rolling File Appender.
|
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.plugins.convert |
TypeConverter plugins for converter strings into various types.
|
org.apache.logging.log4j.core.config.plugins.util |
Utility and manager classes for Log4j 2 plugins.
|
org.apache.logging.log4j.core.config.plugins.validation.validators |
ConstraintValidator implementations for the constraint annotations.
|
org.apache.logging.log4j.core.config.plugins.visitors |
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
|
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.osgi |
Collection of OSGi-specific classes for bundles.
|
org.apache.logging.log4j.core.pattern |
Provides classes implementing format specifiers in conversion patterns.
|
org.apache.logging.log4j.core.script |
Log4j 2 Script support.
|
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
org.apache.logging.log4j.message |
Public Message Types used for Log4j 2.
|
org.apache.logging.log4j.simple |
Simple logging implementation.
|
org.apache.logging.log4j.spi |
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
|
org.apache.logging.log4j.status |
Status API for Log4j 2.
|
org.apache.logging.log4j.util |
Internal utility classes for the Log4j 2 API.
|
org.apache.logging.slf4j |
SLF4J support.
|
Modifier and Type | Method and Description |
---|---|
static Logger |
LogManager.PrivateManager.getLogger(java.lang.String name) |
static Logger |
Logger.PrivateManager.getLogger(java.lang.String name) |
static Logger |
Category.PrivateManager.getLogger(java.lang.String name) |
Modifier and Type | Field and Description |
---|---|
private static Logger |
LogManager.LOGGER |
Modifier and Type | Method and Description |
---|---|
static Logger |
LogManager.getFormatterLogger()
Returns a formatter Logger using the fully qualified name of the calling Class as the Logger name.
|
static Logger |
LogManager.getFormatterLogger(java.lang.Class<?> clazz)
Returns a formatter Logger using the fully qualified name of the Class as the Logger name.
|
static Logger |
LogManager.getFormatterLogger(java.lang.Object value)
Returns a formatter Logger using the fully qualified name of the value's Class as the Logger name.
|
static Logger |
LogManager.getFormatterLogger(java.lang.String name)
Returns a formatter Logger with the specified name.
|
static Logger |
LogManager.getLogger()
Returns a Logger with the name of the calling class.
|
static Logger |
LogManager.getLogger(java.lang.Class<?> clazz)
Returns a Logger using the fully qualified name of the Class as the Logger name.
|
static Logger |
LogManager.getLogger(java.lang.Class<?> clazz,
MessageFactory messageFactory)
Returns a Logger using the fully qualified name of the Class as the Logger name.
|
static Logger |
LogManager.getLogger(MessageFactory messageFactory)
Returns a Logger with the name of the calling class.
|
static Logger |
LogManager.getLogger(java.lang.Object value)
Returns a Logger using the fully qualified class name of the value as the Logger name.
|
static Logger |
LogManager.getLogger(java.lang.Object value,
MessageFactory messageFactory)
Returns a Logger using the fully qualified class name of the value as the Logger name.
|
static Logger |
LogManager.getLogger(java.lang.String name)
Returns a Logger with the specified name.
|
static Logger |
LogManager.getLogger(java.lang.String name,
MessageFactory messageFactory)
Returns a Logger with the specified name.
|
protected static Logger |
LogManager.getLogger(java.lang.String fqcn,
java.lang.String name)
Returns a Logger with the specified name.
|
static Logger |
LogManager.getRootLogger()
Returns the root logger.
|
Modifier and Type | Class and Description |
---|---|
class |
Logger
The core implementation of the
Logger interface. |
Modifier and Type | Field and Description |
---|---|
protected static Logger |
AbstractLifeCycle.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Method and Description |
---|---|
protected static Logger |
AbstractLifeCycle.getStatusLogger()
Gets the status logger.
|
Modifier and Type | Field and Description |
---|---|
private static Logger |
FailoversPlugin.LOGGER |
private static Logger |
DefaultErrorHandler.LOGGER |
protected static Logger |
AbstractManager.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
protected static Logger |
PropertiesRewritePolicy.LOGGER
Allows subclasses access to the status logger without creating another instance.
|
protected static Logger |
MapRewritePolicy.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
protected static Logger |
PatternProcessor.LOGGER |
private static Logger |
FileSize.LOGGER |
protected static Logger |
AbstractRolloverStrategy.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
private static Logger |
ScriptCondition.LOGGER |
private static Logger |
IfLastModified.LOGGER |
private static Logger |
IfFileName.LOGGER |
private static Logger |
IfAccumulatedFileSize.LOGGER |
private static Logger |
IfAccumulatedFileCount.LOGGER |
private static Logger |
DeletingVisitor.LOGGER |
protected static Logger |
AbstractAction.LOGGER
Allows subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
private static Logger |
Routes.LOGGER |
private static Logger |
Route.LOGGER |
Modifier and Type | Class and Description |
---|---|
class |
AsyncLogger
AsyncLogger is a logger designed for high throughput and low latency logging.
|
Modifier and Type | Field and Description |
---|---|
private static Logger |
DisruptorUtil.LOGGER |
private static Logger |
DiscardingAsyncQueueFullPolicy.LOGGER |
private static Logger |
AsyncQueueFullPolicyFactory.LOGGER |
Modifier and Type | Field and Description |
---|---|
private static Logger |
Property.LOGGER |
private static Logger |
Configurator.LOGGER |
private static Logger |
ConfigurationScheduler.LOGGER |
protected static Logger |
ConfigurationFactory.LOGGER
Allows subclasses access to the status logger without creating another instance.
|
private static Logger |
AppenderRef.LOGGER |
Modifier and Type | Field and Description |
---|---|
private static Logger |
TypeConverters.LOGGER |
private static Logger |
TypeConverterRegistry.LOGGER |
private static Logger |
Base64Converter.LOGGER |
Modifier and Type | Field and Description |
---|---|
private static Logger |
ResolverUtil.LOGGER
An instance of Log to use for logging in this class.
|
private static Logger |
PluginRegistry.LOGGER |
private static Logger |
PluginManager.LOGGER |
private static Logger |
PluginBuilder.LOGGER |
Modifier and Type | Field and Description |
---|---|
private static Logger |
ValidPortValidator.LOGGER |
private static Logger |
ValidHostValidator.LOGGER |
private static Logger |
RequiredValidator.LOGGER |
Modifier and Type | Field and Description |
---|---|
private static Logger |
PluginVisitors.LOGGER |
protected static Logger |
AbstractPluginVisitor.LOGGER
Status logger.
|
Modifier and Type | Field and Description |
---|---|
private static Logger |
ScriptFilter.logger |
Modifier and Type | Field and Description |
---|---|
private static Logger |
ScriptPatternSelector.LOGGER |
private static Logger |
MarkerPatternSelector.LOGGER |
protected static Logger |
AbstractLayout.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
private static Logger |
SystemPropertiesLookup.LOGGER |
private static Logger |
ResourceBundleLookup.LOGGER |
private static Logger |
Log4jLookup.LOGGER |
private static Logger |
JndiLookup.LOGGER |
private static Logger |
Interpolator.LOGGER |
private static Logger |
DateLookup.LOGGER |
Modifier and Type | Field and Description |
---|---|
protected static Logger |
MulticastDnsAdvertiser.LOGGER
Status logger.
|
protected static Logger |
DatagramOutputStream.LOGGER
Allow subclasses access to the status logger without creating another instance.
|
Modifier and Type | Field and Description |
---|---|
private static Logger |
Activator.LOGGER |
Modifier and Type | Field and Description |
---|---|
private static Logger |
RegexReplacement.LOGGER |
private static Logger |
PatternParser.LOGGER |
protected static Logger |
AbstractPatternConverter.LOGGER
Allow subclasses access to the status logger.
|
Modifier and Type | Field and Description |
---|---|
private static Logger |
ScriptManager.logger |
protected static Logger |
AbstractScript.LOGGER |
Modifier and Type | Field and Description |
---|---|
private static Logger |
WatchManager.logger |
private static Logger |
UuidUtil.LOGGER |
private static Logger |
OptionConverter.LOGGER |
private static Logger |
NetUtils.LOGGER |
private static Logger |
Loader.LOGGER |
private static Logger |
FileUtils.LOGGER |
private static Logger |
ExecutorServices.LOGGER |
protected static Logger |
DefaultShutdownCallbackRegistry.LOGGER
Status logger.
|
Modifier and Type | Field and Description |
---|---|
private static Logger |
StringFormattedMessage.LOGGER |
private static Logger |
MessageFormatMessage.LOGGER |
Modifier and Type | Class and Description |
---|---|
class |
SimpleLogger
This is the default logger that is used when no suitable logging implementation is available.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedLogger
Extends the
Logger interface with methods that facilitate implementing or extending Logger s. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLogger
Base implementation of a Logger.
|
class |
ExtendedLoggerWrapper
Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.
|
Modifier and Type | Field and Description |
---|---|
private static Logger |
ThreadContextMapFactory.LOGGER |
private static Logger |
Provider.LOGGER |
Modifier and Type | Class and Description |
---|---|
class |
StatusLogger
Records events that occur in the logging system.
|
Modifier and Type | Field and Description |
---|---|
private static Logger |
Unbox.LOGGER |
private static Logger |
ProviderUtil.LOGGER |
Modifier and Type | Class and Description |
---|---|
class |
SLF4JLogger |
Modifier and Type | Field and Description |
---|---|
private static Logger |
Log4jMarkerFactory.LOGGER |