- abbreviate(String) - Method in class org.apache.logging.log4j.core.pattern.NameAbbreviator
-
Abbreviates a name in a String.
- abbreviate(String) - Method in class org.apache.logging.log4j.core.pattern.NamePatternConverter
-
Abbreviate name in string buffer.
- AbstractAction - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Abstract base class for implementations of Action.
- AbstractAction() - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
-
Constructor.
- AbstractAppender - Class in org.apache.logging.log4j.core.appender
-
Abstract base class for Appenders.
- AbstractAppender(String, Filter, Layout<? extends Serializable>) - Constructor for class org.apache.logging.log4j.core.appender.AbstractAppender
-
Constructor that defaults to suppressing exceptions.
- AbstractAppender(String, Filter, Layout<? extends Serializable>, boolean) - Constructor for class org.apache.logging.log4j.core.appender.AbstractAppender
-
Constructor.
- AbstractDatabaseAppender<T extends AbstractDatabaseManager> - Class in org.apache.logging.log4j.core.appender.db
-
An abstract Appender for writing events to a database of some type, be it relational or NoSQL.
- AbstractDatabaseAppender(String, Filter, boolean, T) - Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
Instantiates the base appender.
- AbstractDatabaseManager - Class in org.apache.logging.log4j.core.appender.db
-
Manager that allows database appenders to have their configuration reloaded without losing events.
- AbstractDatabaseManager(String, int) - Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Instantiates the base manager.
- AbstractDatabaseManager.AbstractFactoryData - Class in org.apache.logging.log4j.core.appender.db
-
Implementations should extend this class for passing data between the getManager method and the manager factory
class.
- AbstractDatabaseManager.AbstractFactoryData(int) - Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager.AbstractFactoryData
-
Constructs the base factory data.
- AbstractFilter - Class in org.apache.logging.log4j.core.filter
-
Users should extend this class to implement filters.
- AbstractFilter() - Constructor for class org.apache.logging.log4j.core.filter.AbstractFilter
-
The default constructor.
- AbstractFilter(Filter.Result, Filter.Result) - Constructor for class org.apache.logging.log4j.core.filter.AbstractFilter
-
Constructor that allows the onMatch and onMismatch actions to be set.
- AbstractFilterable - Class in org.apache.logging.log4j.core.filter
-
Enhances a Class by allowing it to contain Filters.
- AbstractFilterable(Filter) - Constructor for class org.apache.logging.log4j.core.filter.AbstractFilterable
-
- AbstractFilterable() - Constructor for class org.apache.logging.log4j.core.filter.AbstractFilterable
-
- AbstractJMSManager - Class in org.apache.logging.log4j.core.net
-
Base Class for Managers of JMS connections.
- AbstractJMSManager(String) - Constructor for class org.apache.logging.log4j.core.net.AbstractJMSManager
-
The Constructor.
- AbstractJMSReceiver - Class in org.apache.logging.log4j.core.net
-
Abstract base class for receiving LogEvents over JMS.
- AbstractJMSReceiver() - Constructor for class org.apache.logging.log4j.core.net.AbstractJMSReceiver
-
- AbstractLayout<T extends Serializable> - Class in org.apache.logging.log4j.core.layout
-
Abstract base class for Layouts.
- AbstractLayout() - Constructor for class org.apache.logging.log4j.core.layout.AbstractLayout
-
- AbstractLogEventWrapperEntity - Class in org.apache.logging.log4j.core.appender.db.jpa
-
Users of the JPA appender MUST extend this class, using JPA annotations on the concrete class and all of its
accessor methods (as needed) to map them to the proper table and columns.
- AbstractLogEventWrapperEntity() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
Instantiates this base class.
- AbstractLogEventWrapperEntity(LogEvent) - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
Instantiates this base class.
- AbstractManager - Class in org.apache.logging.log4j.core.appender
-
Abstract base class used to register managers.
- AbstractManager(String) - Constructor for class org.apache.logging.log4j.core.appender.AbstractManager
-
- AbstractOutputStreamAppender<M extends OutputStreamManager> - Class in org.apache.logging.log4j.core.appender
-
Appends log events as bytes to a byte output stream.
- AbstractOutputStreamAppender(String, Layout<? extends Serializable>, Filter, boolean, boolean, M) - Constructor for class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
- AbstractPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
AbstractPatternConverter is an abstract class that provides the
formatting functionality that derived classes need.
- AbstractPatternConverter(String, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractPatternConverter
-
Create a new pattern converter.
- AbstractRolloverStrategy - Class in org.apache.logging.log4j.core.appender.rolling
-
- AbstractRolloverStrategy() - Constructor for class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
-
- AbstractServer - Class in org.apache.logging.log4j.core
-
- AbstractServer() - Constructor for class org.apache.logging.log4j.core.AbstractServer
-
- AbstractSocketManager - Class in org.apache.logging.log4j.core.net
-
Abstract base class for managing sockets.
- AbstractSocketManager(String, OutputStream, InetAddress, String, int, Layout<? extends Serializable>) - Constructor for class org.apache.logging.log4j.core.net.AbstractSocketManager
-
The Constructor.
- AbstractStringLayout - Class in org.apache.logging.log4j.core.layout
-
Abstract base class for Layouts that result in a String.
- AbstractStringLayout(Charset) - Constructor for class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
- AbstractStyleNameConverter - Class in org.apache.logging.log4j.core.pattern
-
Style pattern converter.
- AbstractStyleNameConverter(String, List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter
-
Constructs the converter.
- AbstractStyleNameConverter.Black - Class in org.apache.logging.log4j.core.pattern
-
Black style pattern converter.
- AbstractStyleNameConverter.Black(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Black
-
Constructs the converter.
- AbstractStyleNameConverter.Blue - Class in org.apache.logging.log4j.core.pattern
-
Blue style pattern converter.
- AbstractStyleNameConverter.Blue(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Blue
-
Constructs the converter.
- AbstractStyleNameConverter.Cyan - Class in org.apache.logging.log4j.core.pattern
-
Cyan style pattern converter.
- AbstractStyleNameConverter.Cyan(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Cyan
-
Constructs the converter.
- AbstractStyleNameConverter.Green - Class in org.apache.logging.log4j.core.pattern
-
Green style pattern converter.
- AbstractStyleNameConverter.Green(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Green
-
Constructs the converter.
- AbstractStyleNameConverter.Magenta - Class in org.apache.logging.log4j.core.pattern
-
Magenta style pattern converter.
- AbstractStyleNameConverter.Magenta(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Magenta
-
Constructs the converter.
- AbstractStyleNameConverter.Red - Class in org.apache.logging.log4j.core.pattern
-
Red style pattern converter.
- AbstractStyleNameConverter.Red(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Red
-
Constructs the converter.
- AbstractStyleNameConverter.White - Class in org.apache.logging.log4j.core.pattern
-
White style pattern converter.
- AbstractStyleNameConverter.White(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.White
-
Constructs the converter.
- AbstractStyleNameConverter.Yellow - Class in org.apache.logging.log4j.core.pattern
-
Yellow style pattern converter.
- AbstractStyleNameConverter.Yellow(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Yellow
-
Constructs the converter.
- Action - Interface in org.apache.logging.log4j.core.appender.rolling.action
-
The Action interface should be implemented by any class that performs
file system actions for RollingFileAppenders after the close of
the active log file.
- actualAsyncLog(RingBufferLogEvent) - Method in class org.apache.logging.log4j.core.async.AsyncLogger
-
This method is called by the EventHandler that processes the
RingBufferLogEvent in a separate thread.
- add(T) - Method in class org.apache.logging.log4j.core.helpers.CyclicBuffer
-
Add an item as the last event in the buffer.
- add(LogEvent) - Method in class org.apache.logging.log4j.core.net.SMTPManager
-
- addAppender(Appender) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Adds an Appender to the configuration.
- addAppender(Appender, Level, Filter) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Adds an Appender to the LoggerConfig.
- addAppender(Appender) - Method in class org.apache.logging.log4j.core.Logger
-
This method is not exposed through the public API and is used primarily for unit testing.
- addComponent(String, Object) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- addComponent(String, Object) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addFilter(Filter) - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Add a filter.
- addFilter(Filter) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- addFilter(Filter) - Method in interface org.apache.logging.log4j.core.filter.Filterable
-
Adds a new Filter.
- addFilter(Filter) - Method in class org.apache.logging.log4j.core.Logger
-
This method is not exposed through the public API and is used primarily for unit testing.
- addFilter(Filter) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Add a Filter to the Configuration.
- addIfMatching(ResolverUtil.Test, String) - Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
Add the class designated by the fully qualified class name provided to the set of
resolved classes if and only if it is approved by the Test supplied.
- addListener(ConfigurationListener) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Add a listener for changes on the configuration.
- addListener(ConfigurationListener) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addLogger(String, LoggerConfig) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Adding a logger cannot be done atomically so is not allowed in an active configuration.
- addLoggerAppender(Logger, Appender) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Associates an Appender with a LoggerConfig.
- addLoggerAppender(Logger, Appender) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addLoggerFilter(Logger, Filter) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Associates a Filter with a LoggerConfig.
- addLoggerFilter(Logger, Filter) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addPackage(String) - Static method in class org.apache.logging.log4j.core.config.plugins.PluginManager
-
Adds a package name to be scanned for plugins.
- addPropertyChangeListener(PropertyChangeListener) - Method in class org.apache.logging.log4j.core.LoggerContext
-
- address - Variable in class org.apache.logging.log4j.core.net.AbstractSocketManager
-
The internet address of the host.
- advertise(Map<String, String>) - Method in class org.apache.logging.log4j.core.config.DefaultAdvertiser
-
Does nothing.
- advertise(Map<String, String>) - Method in interface org.apache.logging.log4j.core.net.Advertiser
-
- advertise(Map<String, String>) - Method in class org.apache.logging.log4j.core.net.MulticastDNSAdvertiser
-
Advertise the provided entity.
- advertisedConfiguration - Variable in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- Advertiser - Interface in org.apache.logging.log4j.core.net
-
- allLines() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Determines if all lines should be printed.
- AnsiEscape - Enum in org.apache.logging.log4j.core.pattern
-
Converts text into ANSI escape sequences.
- anyLines() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Determines if any lines should be printed.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
Actual writing occurs here.
- append(LogEvent) - Method in interface org.apache.logging.log4j.core.Appender
-
Log in Appender
specific way.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
Actual writing occurs here.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.FailoverAppender
-
Handle the Log event.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.JMSQueueAppender
-
Actual writing occurs here.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.JMSTopicAppender
-
Actual writing occurs here.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
-
Write the log entry rolling over the file when required.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
-
Modify the event and pass to the subordinate Appenders.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
-
Write the log entry rolling over the file when required.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
-
Write the log entry rolling over the file when required.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
-
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.SMTPAppender
-
Perform SMTPAppender specific appending actions, mainly adding the event
to a cyclic buffer and checking if the event triggers an e-mail to be
sent.
- Appender - Interface in org.apache.logging.log4j.core
-
Appends log events.
- AppenderAdmin - Class in org.apache.logging.log4j.core.jmx
-
Implementation of the AppenderAdminMBean
interface.
- AppenderAdmin(String, Appender) - Constructor for class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
Constructs a new AppenderAdmin
with the specified contextName
and appender.
- AppenderAdminMBean - Interface in org.apache.logging.log4j.core.jmx
-
The MBean interface for monitoring and managing an Appender
.
- AppenderControl - Class in org.apache.logging.log4j.core.config
-
Wraps an
Appender
with details an appender implementation shouldn't need to know about.
- AppenderControl(Appender, Level, Filter) - Constructor for class org.apache.logging.log4j.core.config.AppenderControl
-
Constructor.
- AppenderLoggingException - Exception in org.apache.logging.log4j.core.appender
-
Thrown from an appender when a log event could not be written.
- AppenderLoggingException(String) - Constructor for exception org.apache.logging.log4j.core.appender.AppenderLoggingException
-
Construct an exception with a message.
- AppenderLoggingException(String, Throwable) - Constructor for exception org.apache.logging.log4j.core.appender.AppenderLoggingException
-
Construct an exception with a message and underlying cause.
- AppenderLoggingException(Throwable) - Constructor for exception org.apache.logging.log4j.core.appender.AppenderLoggingException
-
Construct an exception with an underlying cause.
- AppenderRef - Class in org.apache.logging.log4j.core.config
-
An Appender reference.
- AppendersPlugin - Class in org.apache.logging.log4j.core.config.plugins
-
An Appender container.
- appendEscapingCDATA(StringBuilder, String) - Static method in class org.apache.logging.log4j.core.helpers.Transform
-
Ensures that embedded CDEnd strings (]]>) are handled properly
within message, NDC and throwable tag text.
- appendWithSeparators(StringBuilder, Iterable<?>, String) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Appends a iterable placing separators between each value, but
not before the first or after the last.
- ArrayPatternConverter - Interface in org.apache.logging.log4j.core.pattern
-
Interface implemented by PatternConverters that accept an array of objects when formatting.
- Assert - Class in org.apache.logging.log4j.core.helpers
-
Utility class providing common validation logic.
- AsyncAppender - Class in org.apache.logging.log4j.core.appender
-
Appends to one or more Appenders asynchronously.
- AsyncAppenderAdmin - Class in org.apache.logging.log4j.core.jmx
-
Implementation of the AsyncAppenderAdminMBean
interface.
- AsyncAppenderAdmin(String, AsyncAppender) - Constructor for class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
Constructs a new AsyncAppenderAdmin
with the specified contextName
and async appender.
- AsyncAppenderAdminMBean - Interface in org.apache.logging.log4j.core.jmx
-
The MBean interface for monitoring and managing an AsyncAppender
.
- AsyncLogger - Class in org.apache.logging.log4j.core.async
-
AsyncLogger is a logger designed for high throughput and low latency logging.
- AsyncLogger(LoggerContext, String, MessageFactory) - Constructor for class org.apache.logging.log4j.core.async.AsyncLogger
-
Constructs an AsyncLogger
with the specified context, name and
message factory.
- AsyncLoggerConfig - Class in org.apache.logging.log4j.core.async
-
Asynchronous Logger object that is created via configuration and can be
combined with synchronous loggers.
- AsyncLoggerConfig() - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
Default constructor.
- AsyncLoggerConfig(String, Level, boolean) - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
Constructor that sets the name, level and additive values.
- AsyncLoggerConfig(String, List<AppenderRef>, Filter, Level, boolean, Property[], Configuration, boolean) - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
- AsyncLoggerConfig.RootLogger - Class in org.apache.logging.log4j.core.async
-
An asynchronous root Logger.
- AsyncLoggerConfig.RootLogger() - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig.RootLogger
-
- AsyncLoggerContext - Class in org.apache.logging.log4j.core.async
-
LoggerContext
that creates AsyncLogger
objects.
- AsyncLoggerContext(String) - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- AsyncLoggerContext(String, Object) - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- AsyncLoggerContext(String, Object, URI) - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- AsyncLoggerContext(String, Object, String) - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- AsyncLoggerContextSelector - Class in org.apache.logging.log4j.core.async
-
ContextSelector
that returns the singleton AsyncLoggerContext
.
- AsyncLoggerContextSelector() - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
- CachedClock - Class in org.apache.logging.log4j.core.helpers
-
Implementation of the Clock
interface that tracks the time in a
private long field that is updated by a background thread once every
millisecond.
- calcLocation(String) - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- callAppender(LogEvent) - Method in class org.apache.logging.log4j.core.config.AppenderControl
-
Call the appender.
- callAppenders(LogEvent) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
- callAppenders(LogEvent) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
- charMatcher(char) - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Constructor that creates a matcher from a character.
- charSetMatcher(char[]) - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Constructor that creates a matcher from a set of characters.
- charSetMatcher(String) - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Constructor that creates a matcher from a string representing a set of characters.
- Charsets - Class in org.apache.logging.log4j.core.helpers
-
Charset utilities.
- checkConfiguration() - Method in interface org.apache.logging.log4j.core.config.ConfigurationMonitor
-
Called to determine if the configuration has changed.
- checkConfiguration() - Method in class org.apache.logging.log4j.core.config.DefaultConfigurationMonitor
-
Does nothing.
- checkConfiguration() - Method in class org.apache.logging.log4j.core.config.FileConfigurationMonitor
-
Called to determine if the configuration has changed.
- checkRollover(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Determine if a rollover should occur.
- CLASS_NAME - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
- ClassLoaderContextSelector - Class in org.apache.logging.log4j.core.selector
-
This ContextSelector chooses a LoggerContext based upon the ClassLoader of the caller.
- ClassLoaderContextSelector() - Constructor for class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- ClassNamePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the class name of the site of the logging request.
- clear() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
Release references held by ring buffer to allow objects to be
garbage-collected.
- clear() - Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
Clear the history.
- clearAppenders() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Removes all Appenders.
- clearLoggerContext() - Method in interface org.apache.logging.log4j.core.web.Log4jWebSupport
-
- Clock - Interface in org.apache.logging.log4j.core.helpers
-
Provides the time stamp used in log events.
- ClockFactory - Class in org.apache.logging.log4j.core.helpers
-
Factory for Clock
objects.
- close() - Method in class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBConnection
-
- close() - Method in class org.apache.logging.log4j.core.appender.db.nosql.mongodb.MongoDBConnection
-
- close() - Method in interface org.apache.logging.log4j.core.appender.db.nosql.NoSQLConnection
-
Closes the underlying connection.
- close() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
- close() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
- close() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
-
Cancels the action if not already initialized or waits till completion.
- close() - Method in interface org.apache.logging.log4j.core.appender.rolling.action.Action
-
Cancels the action if not already initialized or waits till completion.
- close() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- close(Closeable) - Static method in class org.apache.logging.log4j.core.helpers.Closer
-
Closes the specified Closeable
(stream or reader/writer).
- close(Statement) - Static method in class org.apache.logging.log4j.core.helpers.Closer
-
Closes the specified Statement
.
- close(Connection) - Static method in class org.apache.logging.log4j.core.helpers.Closer
-
Closes the specified Connection
.
- close() - Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
-
- close() - Method in class org.apache.logging.log4j.core.net.TCPSocketManager
-
- Closer - Class in org.apache.logging.log4j.core.helpers
-
Helper class for closing resources.
- Closer() - Constructor for class org.apache.logging.log4j.core.helpers.Closer
-
- closeSilent(Closeable) - Static method in class org.apache.logging.log4j.core.helpers.Closer
-
Closes the specified Closeable
(stream or reader/writer),
ignoring any exceptions thrown by the close operation.
- closeSilent(Statement) - Static method in class org.apache.logging.log4j.core.helpers.Closer
-
Closes the specified Statement
, ignoring any exceptions thrown by
the close operation.
- closeSilent(Connection) - Static method in class org.apache.logging.log4j.core.helpers.Closer
-
Closes the specified Connection
, ignoring any exceptions thrown
by the close operation.
- CoarseCachedClock - Class in org.apache.logging.log4j.core.helpers
-
This Clock implementation is similar to CachedClock.
- collectPlugins() - Method in class org.apache.logging.log4j.core.config.plugins.PluginManager
-
Locates all the plugins.
- collectPlugins(boolean, String) - Method in class org.apache.logging.log4j.core.config.plugins.PluginManager
-
Collects plugins, optionally obtaining them from a preload map.
- ColumnConfig - Class in org.apache.logging.log4j.core.appender.db.jdbc
-
A configuration element used to configure which event properties are logged to which columns in the database table.
- commaMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Returns a matcher which matches the comma character.
- commitAndClose() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Commits any active transaction (if applicable) and disconnects from the database (returns the connection to the
connection pool).
- commitAndClose() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JDBCDatabaseManager
-
- commitAndClose() - Method in class org.apache.logging.log4j.core.appender.db.jpa.JPADatabaseManager
-
- commitAndClose() - Method in class org.apache.logging.log4j.core.appender.db.nosql.NoSQLDatabaseManager
-
- CompositeAction - Class in org.apache.logging.log4j.core.appender.rolling.action
-
A group of Actions to be executed in sequence.
- CompositeAction(List<Action>, boolean) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.CompositeAction
-
Construct a new composite action.
- CompositeFilter - Class in org.apache.logging.log4j.core.filter
-
Composes and invokes one or more filters.
- CompositeTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
-
Triggering policy that wraps other policies.
- concatenateArrays(String[], String[]) - Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
-
- config - Variable in class org.apache.logging.log4j.core.Logger
-
config should be consistent across threads.
- config - Variable in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- Configuration - Interface in org.apache.logging.log4j.core.config
-
Interface that must be implemented to create a configuration.
- CONFIGURATION_FACTORY_PROPERTY - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Allow the ConfigurationFactory class to be specified as a system property.
- CONFIGURATION_FILE_PROPERTY - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Allow the location of the configuration file to be specified as a system property.
- ConfigurationException - Exception in org.apache.logging.log4j.core.config
-
This exception is thrown when an error occurs reading from, parsing, using, or initializing the Log4j 2
configuration.
- ConfigurationException(String) - Constructor for exception org.apache.logging.log4j.core.config.ConfigurationException
-
Construct an exception with a message.
- ConfigurationException(String, Throwable) - Constructor for exception org.apache.logging.log4j.core.config.ConfigurationException
-
Construct an exception with a message and underlying cause.
- ConfigurationFactory - Class in org.apache.logging.log4j.core.config
-
ConfigurationFactory allows the configuration implementation to be
dynamically chosen in 1 of 3 ways:
A system property named "log4j.configurationFactory" can be set with the
name of the ConfigurationFactory to be used.
ConfigurationFactory.setConfigurationFactory(ConfigurationFactory) can be called
with the instance of the ConfigurationFactory to be used.
- ConfigurationFactory() - Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- ConfigurationFactory.ConfigurationSource - Class in org.apache.logging.log4j.core.config
-
Represents the source for the logging configuration.
- ConfigurationFactory.ConfigurationSource() - Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- ConfigurationFactory.ConfigurationSource(InputStream) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- ConfigurationFactory.ConfigurationSource(InputStream, File) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- ConfigurationFactory.ConfigurationSource(InputStream, String) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- ConfigurationListener - Interface in org.apache.logging.log4j.core.config
-
Interface used to allow components to be notified when the configuration changes.
- ConfigurationMonitor - Interface in org.apache.logging.log4j.core.config
-
Interface that must be implemented to provide notification of configuration changes.
- Configurator - Class in org.apache.logging.log4j.core.config
-
Initializes and configure the Logging system.
- configureSubstitutor(Property[], Configuration) - Static method in class org.apache.logging.log4j.core.config.plugins.PropertiesPlugin
-
Create the Properties component.
- connectAndStart() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Connects to the database and starts a transaction (if applicable).
- connectAndStart() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JDBCDatabaseManager
-
- connectAndStart() - Method in class org.apache.logging.log4j.core.appender.db.jpa.JPADatabaseManager
-
- connectAndStart() - Method in class org.apache.logging.log4j.core.appender.db.nosql.NoSQLDatabaseManager
-
- ConnectionSource - Interface in org.apache.logging.log4j.core.appender.db.jdbc
-
- ConsoleAppender - Class in org.apache.logging.log4j.core.appender
-
ConsoleAppender appends log events to System.out
or
System.err
using a layout specified by the user.
- ConsoleAppender.Target - Enum in org.apache.logging.log4j.core.appender
-
Enumeration of console destinations.
- Constants - Class in org.apache.logging.log4j.core.helpers
-
Log4j Constants.
- CONTEXT_ATTRIBUTE - Static variable in interface org.apache.logging.log4j.core.web.Log4jWebSupport
-
The attribute key for the
ServletContext
attribute that the
LoggerContext
is stored in.
- CONTEXT_PROPERTIES - Static variable in interface org.apache.logging.log4j.core.config.Configuration
-
Key for storing the Context properties.
- ContextAnchor - Class in org.apache.logging.log4j.core.impl
-
Anchor for the ThreadContext.
- contextDestroyed(ServletContextEvent) - Method in class org.apache.logging.log4j.core.web.Log4jServletContextListener
-
- contextInitialized(ServletContextEvent) - Method in class org.apache.logging.log4j.core.web.Log4jServletContextListener
-
- ContextMapAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
- ContextMapAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapAttributeConverter
-
- ContextMapJsonAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
- ContextMapJsonAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapJsonAttributeConverter
-
- ContextMapLookup - Class in org.apache.logging.log4j.core.lookup
-
Looks up keys from system properties.
- ContextMapLookup() - Constructor for class org.apache.logging.log4j.core.lookup.ContextMapLookup
-
- ContextSelector - Interface in org.apache.logging.log4j.core.selector
-
Interface used to locate a LoggerContext.
- ContextSelectorAdmin - Class in org.apache.logging.log4j.core.jmx
-
Implementation of the ContextSelectorAdminMBean
interface.
- ContextSelectorAdmin(String, ContextSelector) - Constructor for class org.apache.logging.log4j.core.jmx.ContextSelectorAdmin
-
Constructs a new ContextSelectorAdmin
.
- ContextSelectorAdminMBean - Interface in org.apache.logging.log4j.core.jmx
-
The MBean interface for monitoring and managing the ContextSelector
.
- ContextStackAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
- ContextStackAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackAttributeConverter
-
- ContextStackJsonAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
- ContextStackJsonAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackJsonAttributeConverter
-
- ConverterKeys - Annotation Type in org.apache.logging.log4j.core.pattern
-
Identifies the keys that are associated with a PatternConverter.
- convertSpecialChars(String) - Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
-
- convertToDatabaseColumn(Map<String, String>) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapAttributeConverter
-
- convertToDatabaseColumn(Map<String, String>) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapJsonAttributeConverter
-
- convertToDatabaseColumn(ThreadContext.ContextStack) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackAttributeConverter
-
- convertToDatabaseColumn(ThreadContext.ContextStack) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackJsonAttributeConverter
-
- convertToDatabaseColumn(Level) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.LevelAttributeConverter
-
- convertToDatabaseColumn(Marker) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MarkerAttributeConverter
-
- convertToDatabaseColumn(Message) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MessageAttributeConverter
-
- convertToDatabaseColumn(StackTraceElement) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.StackTraceElementAttributeConverter
-
- convertToDatabaseColumn(Throwable) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ThrowableAttributeConverter
-
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapAttributeConverter
-
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapJsonAttributeConverter
-
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackAttributeConverter
-
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackJsonAttributeConverter
-
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.LevelAttributeConverter
-
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MarkerAttributeConverter
-
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MessageAttributeConverter
-
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.StackTraceElementAttributeConverter
-
- convertToEntityAttribute(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ThrowableAttributeConverter
-
- CouchDBConnection - Class in org.apache.logging.log4j.core.appender.db.nosql.couchdb
-
- CouchDBConnection(CouchDbClient) - Constructor for class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBConnection
-
- CouchDBObject - Class in org.apache.logging.log4j.core.appender.db.nosql.couchdb
-
- CouchDBObject() - Constructor for class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBObject
-
- CouchDBProvider - Class in org.apache.logging.log4j.core.appender.db.nosql.couchdb
-
- count - Variable in class org.apache.logging.log4j.core.appender.AbstractManager
-
Number of Appenders using this manager.
- createAdvertiser(String, ConfigurationFactory.ConfigurationSource, byte[], String) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- createAppender(AppenderRef[], String, String, String, String, String, Filter, Configuration, String) - Static method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
Create an AsyncAppender.
- createAppender(Layout<? extends Serializable>, Filter, String, String, String, String) - Static method in class org.apache.logging.log4j.core.appender.ConsoleAppender
-
Create a Console Appender.
- createAppender(String, String, Filter, ConnectionSource, String, String, ColumnConfig[]) - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.JDBCAppender
-
Factory method for creating a JDBC appender within the plugin manager.
- createAppender(String, String, Filter, String, String, String) - Static method in class org.apache.logging.log4j.core.appender.db.jpa.JPAAppender
-
Factory method for creating a JPA appender within the plugin manager.
- createAppender(String, String, Filter, String, NoSQLProvider<?>) - Static method in class org.apache.logging.log4j.core.appender.db.nosql.NoSQLAppender
-
Factory method for creating a NoSQL appender within the plugin manager.
- createAppender(String, String, String[], String, Configuration, Filter, String) - Static method in class org.apache.logging.log4j.core.appender.FailoverAppender
-
Create a Failover Appender.
- createAppender(String, String, String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String, String, Configuration) - Static method in class org.apache.logging.log4j.core.appender.FileAppender
-
Create a File Appender.
- createAppender(String, String, String, String, String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String) - Static method in class org.apache.logging.log4j.core.appender.JMSQueueAppender
-
Create a JMSQueueAppender.
- createAppender(String, String, String, String, String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String) - Static method in class org.apache.logging.log4j.core.appender.JMSTopicAppender
-
Create a JMSTopicAppender.
- createAppender(String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String, String, Configuration) - Static method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
-
Create a File Appender.
- createAppender(String, String, AppenderRef[], Configuration, RewritePolicy, Filter) - Static method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
-
Create a RewriteAppender.
- createAppender(String, String, String, String, String, String, TriggeringPolicy, RolloverStrategy, Layout<? extends Serializable>, Filter, String, String, String, Configuration) - Static method in class org.apache.logging.log4j.core.appender.RollingFileAppender
-
Create a RollingFileAppender.
- createAppender(String, String, String, String, String, TriggeringPolicy, RolloverStrategy, Layout<? extends Serializable>, Filter, String, String, String, Configuration) - Static method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
-
Create a RollingRandomAccessFileAppender.
- createAppender(String, String, Routes, Configuration, RewritePolicy, Filter) - Static method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
-
Create a RoutingAppender.
- createAppender(String, String, String, String, String, String, String, String, String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String) - Static method in class org.apache.logging.log4j.core.appender.SMTPAppender
-
Create a SMTPAppender.
- createAppender(String, String, String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String, Configuration) - Static method in class org.apache.logging.log4j.core.appender.SocketAppender
-
- createAppender(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, Filter, Configuration, String, String, LoggerFields[], String) - Static method in class org.apache.logging.log4j.core.appender.SyslogAppender
-
Create a SyslogAppender.
- createAppender(String, String, SSLConfiguration, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, Filter, Configuration, String, String, LoggerFields[], String) - Static method in class org.apache.logging.log4j.core.appender.TLSSyslogAppender
-
Create a SyslogAppender.
- createAppenderRef(String, String, Filter) - Static method in class org.apache.logging.log4j.core.config.AppenderRef
-
Create an Appender reference.
- createAppenders(Appender[]) - Static method in class org.apache.logging.log4j.core.config.plugins.AppendersPlugin
-
Create a Map of the Appenders.
- createColumnConfig(Configuration, String, String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
Factory method for creating a column config within the plugin manager.
- createConfiguration(Node, LogEvent) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- createConfiguration(Node, LogEvent) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- createConnectionSource(String) - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.DataSourceConnectionSource
-
Factory method for creating a connection source within the plugin manager.
- createConnectionSource(String, String) - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.FactoryMethodConnectionSource
-
Factory method for creating a connection source within the plugin manager.
- createContext(String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.net.AbstractJMSManager
-
Create the InitialContext.
- createEvent(String, Marker, String, Level, Message, List<Property>, Throwable) - Method in class org.apache.logging.log4j.core.impl.DefaultLogEventFactory
-
Creates a log event.
- createEvent(String, Marker, String, Level, Message, ThrowableProxy, Map<String, String>, ThreadContext.ContextStack, String, StackTraceElement, long) - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Create a new LogEvent.
- createEvent(String, Marker, String, Level, Message, List<Property>, Throwable) - Method in interface org.apache.logging.log4j.core.impl.LogEventFactory
-
- createFailovers(AppenderRef...) - Static method in class org.apache.logging.log4j.core.appender.FailoversPlugin
-
Returns the appender references.
- createFileAfterRollover() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
- createFileAfterRollover() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- createFilter(String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- createFilter(String, KeyValuePair[], String, String, String) - Static method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
Create the DynamicThresholdFilter.
- createFilter(KeyValuePair[], String, String, String) - Static method in class org.apache.logging.log4j.core.filter.MapFilter
-
- createFilter(String, String, String) - Static method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
Create the MarkerFilter.
- createFilter(String, String, String, String) - Static method in class org.apache.logging.log4j.core.filter.RegexFilter
-
Create a Filter that matches a regular expression.
- createFilter(KeyValuePair[], String, String, String) - Static method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
Create the StructuredDataFilter.
- createFilter(KeyValuePair[], String, String, String) - Static method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- createFilter(String, String, String) - Static method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
Create a ThresholdFilter.
- createFilter(String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.filter.TimeFilter
-
Create a TimeFilter.
- createFilters(Filter[]) - Static method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Create a CompositeFilter.
- createKeyStoreConfiguration(String, String) - Static method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
-
Create a KeyStoreConfiguration.
- createLayout(String, String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.layout.HTMLLayout
-
Create an HTML Layout.
- createLayout(String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.layout.JSONLayout
-
Creates an XML Layout.
- createLayout(String, Configuration, RegexReplacement, String, String, String) - Static method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Create a pattern layout.
- createLayout(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, LoggerFields[], Configuration) - Static method in class org.apache.logging.log4j.core.layout.RFC5424Layout
-
Create the RFC 5424 Layout.
- createLayout() - Static method in class org.apache.logging.log4j.core.layout.SerializedLayout
-
Create a SerializedLayout.
- createLayout(String, String, String, String) - Static method in class org.apache.logging.log4j.core.layout.SyslogLayout
-
Create a SyslogLayout.
- createLayout(String, String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.layout.XMLLayout
-
Creates an XML Layout.
- createList(int) - Method in class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBConnection
-
- createList(int) - Method in class org.apache.logging.log4j.core.appender.db.nosql.mongodb.MongoDBConnection
-
- createList(int) - Method in interface org.apache.logging.log4j.core.appender.db.nosql.NoSQLConnection
-
Creates an array of the specified length typed to match the
NoSQLObject
implementation appropriate for
this provider.
- createLogger(String, String, String, String, AppenderRef[], Property[], Configuration, Filter) - Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
Factory method to create a LoggerConfig.
- createLogger(String, String, String, AppenderRef[], Property[], Configuration, Filter) - Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig.RootLogger
-
- createLogger(String, String, String, String, AppenderRef[], Property[], Configuration, Filter) - Static method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Factory method to create a LoggerConfig.
- createLogger(String, String, String, AppenderRef[], Property[], Configuration, Filter) - Static method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger
-
- createLoggerFields(KeyValuePair[], String, String, String) - Static method in class org.apache.logging.log4j.core.layout.LoggerFields
-
Create a LoggerFields from KeyValuePairs.
- createLoggers(LoggerConfig[]) - Static method in class org.apache.logging.log4j.core.config.plugins.LoggersPlugin
-
Create a Loggers object to contain all the Loggers.
- createManager(String, T) - Method in interface org.apache.logging.log4j.core.appender.ManagerFactory
-
Creates a Manager.
- createManager(String, TCPSocketManager.FactoryData) - Method in class org.apache.logging.log4j.core.net.TCPSocketManager.TCPSocketManagerFactory
-
- createMap(String, String[]) - Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Creates a Map from a source array where values are ANSI escape sequences.
- createMap(String[], String[]) - Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Creates a Map from a source array where values are ANSI escape sequences.
- createNoSQLProvider(String, String, String, String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBProvider
-
Factory method for creating an Apache CouchDB provider within the plugin manager.
- createNoSQLProvider(String, String, String, String, String, String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.appender.db.nosql.mongodb.MongoDBProvider
-
Factory method for creating a MongoDB provider within the plugin manager.
- createObject() - Method in class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBConnection
-
- createObject() - Method in class org.apache.logging.log4j.core.appender.db.nosql.mongodb.MongoDBConnection
-
- createObject() - Method in interface org.apache.logging.log4j.core.appender.db.nosql.NoSQLConnection
-
- createPair(String, String) - Static method in class org.apache.logging.log4j.core.helpers.KeyValuePair
-
Create a Key/Value pair.
- createPatternParser(Configuration) - Static method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Create a PatternParser.
- createPolicy(String, KeyValuePair[]) - Static method in class org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy
-
The factory method to create the MapRewritePolicy.
- createPolicy(Configuration, Property[]) - Static method in class org.apache.logging.log4j.core.appender.rewrite.PropertiesRewritePolicy
-
The factory method to create the PropertiesRewritePolicy.
- createPolicy(TriggeringPolicy...) - Static method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
-
Create a CompositeTriggeringPolicy.
- createPolicy() - Static method in class org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy
-
- createPolicy(String) - Static method in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
-
Create a SizeBasedTriggeringPolicy.
- createPolicy(String, String) - Static method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy
-
Create a TimeBasedTriggeringPolicy.
- createProperty(String, String) - Static method in class org.apache.logging.log4j.core.config.Property
-
Create a Property.
- createRegexReplacement(String, String) - Static method in class org.apache.logging.log4j.core.pattern.RegexReplacement
-
Create a RegexReplacement.
- createRingBufferAdmin(String) - Static method in class org.apache.logging.log4j.core.async.AsyncLogger
-
Creates and returns a new RingBufferAdmin
that instruments the
ringbuffer of the AsyncLogger
.
- createRingBufferAdmin(String) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
Creates and returns a new RingBufferAdmin
that instruments the
ringbuffer of this AsyncLoggerConfig
.
- createRoute(String, String, Node) - Static method in class org.apache.logging.log4j.core.appender.routing.Route
-
Create the Route.
- createRoutes(String, Route...) - Static method in class org.apache.logging.log4j.core.appender.routing.Routes
-
Create the Routes.
- createSequence(String...) - Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Creates an ANSI escape sequence from the given
AnsiEscape names.
- createSocket(InetAddress, int) - Method in class org.apache.logging.log4j.core.net.TCPSocketManager
-
- createSocket(String, int) - Method in class org.apache.logging.log4j.core.net.TCPSocketManager
-
- createSocket(String, int) - Method in class org.apache.logging.log4j.core.net.TLSSocketManager
-
- createSocketManager(Protocol, String, int, int, boolean, Layout<? extends Serializable>) - Static method in class org.apache.logging.log4j.core.appender.SocketAppender
-
- createSocketManager(SSLConfiguration, String, int, int, boolean, Layout<? extends Serializable>) - Static method in class org.apache.logging.log4j.core.appender.TLSSyslogAppender
-
- createSSLConfiguration(KeyStoreConfiguration, TrustStoreConfiguration) - Static method in class org.apache.logging.log4j.core.net.ssl.SSLConfiguration
-
Create an SSLConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.
- createStrategy(String, String, String, String, Configuration) - Static method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
Create the DefaultRolloverStrategy.
- createTrustStoreConfiguration(String, String) - Static method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
-
Create a TrustStoreConfiguration.
- currentTimeMillis() - Method in class org.apache.logging.log4j.core.helpers.CachedClock
-
Returns the value of a private long field that is updated by a background
thread once every millisecond.
- currentTimeMillis() - Method in interface org.apache.logging.log4j.core.helpers.Clock
-
Returns the time in milliseconds since the epoch.
- currentTimeMillis() - Method in class org.apache.logging.log4j.core.helpers.CoarseCachedClock
-
Returns the value of a private long field that is updated by a background
thread once every millisecond.
- currentTimeMillis() - Method in class org.apache.logging.log4j.core.helpers.SystemClock
-
Returns the system time.
- CyclicBuffer<T> - Class in org.apache.logging.log4j.core.helpers
-
A bounded buffer containing elements of type T.
- CyclicBuffer(Class<T>, int) - Constructor for class org.apache.logging.log4j.core.helpers.CyclicBuffer
-
Instantiate a new CyclicBuffer of at most maxSize
events.
- Facility - Enum in org.apache.logging.log4j.core.net
-
The facility codes used by the Syslog system.
- FACTORY - Static variable in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
The EventFactory
for RingBufferLogEvent
s.
- FactoryMethodConnectionSource - Class in org.apache.logging.log4j.core.appender.db.jdbc
-
- FailoverAppender - Class in org.apache.logging.log4j.core.appender
-
The FailoverAppender will capture exceptions in an Appender and then route the event
to a different appender.
- FailoversPlugin - Class in org.apache.logging.log4j.core.appender
-
The array of failover Appenders.
- FILE_NAME - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
- FileAppender - Class in org.apache.logging.log4j.core.appender
-
File Appender.
- FileConfigurationMonitor - Class in org.apache.logging.log4j.core.config
-
Configuration monitor that periodically checks the timestamp of the configuration file and calls the
ConfigurationListeners when an update occurs.
- FileConfigurationMonitor(Reconfigurable, File, List<ConfigurationListener>, int) - Constructor for class org.apache.logging.log4j.core.config.FileConfigurationMonitor
-
Constructor.
- FileDatePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats an date by delegating to DatePatternConverter.
- fileFromURI(URI) - Static method in class org.apache.logging.log4j.core.helpers.FileUtils
-
Tries to convert the specified URL to a file object.
- FileLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Returns the event's line location information in a StringBuilder.
- FileManager - Class in org.apache.logging.log4j.core.appender
-
Manages actual File I/O for File Appenders.
- FileManager(String, OutputStream, boolean, boolean, String, Layout<? extends Serializable>) - Constructor for class org.apache.logging.log4j.core.appender.FileManager
-
- FileRenameAction - Class in org.apache.logging.log4j.core.appender.rolling.action
-
File rename action.
- FileRenameAction(File, File, boolean) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.FileRenameAction
-
Creates an FileRenameAction.
- FileUtils - Class in org.apache.logging.log4j.core.helpers
-
File utilities.
- Filter - Interface in org.apache.logging.log4j.core
-
Interface that must be implemented to allow custom event filtering.
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Context Filter method.
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(Logger, Level, Marker, String, Object...) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, Message, Throwable) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(LogEvent) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- filter(Map<String, String>) - Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
- filter(StructuredDataMessage) - Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
-
- Filter.Result - Enum in org.apache.logging.log4j.core
-
The result that can returned from a filter method call.
- Filterable - Interface in org.apache.logging.log4j.core.filter
-
Interface implemented by Classes that allow filtering to occur.
- filterCount() - Method in class org.apache.logging.log4j.core.Logger
-
This method is not exposed through the public API and is used primarily for unit testing.
- find(ResolverUtil.Test, String...) - Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
Attempts to discover classes that pass the test.
- findAndSubst(String, Properties) - Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
-
Find the value corresponding to key
in
props
.
- findAnnotated(Class<? extends Annotation>, String...) - Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
Attempts to discover classes that are annotated with to the annotation.
- findImplementations(Class<?>, String...) - Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
Attempts to discover classes that are assignable to the type provided.
- findInPackage(ResolverUtil.Test, String) - Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
Scans for classes starting at the package provided and descending into subpackages.
- findNamedResource(String, String...) - Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
- findSuffix(String, String...) - Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
Attempts to discover classes who's name ends with the provided suffix.
- flush() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
- flush() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Flush any buffers.
- flush() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
- flush() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- flush() - Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
-
- footer - Variable in class org.apache.logging.log4j.core.layout.AbstractLayout
-
The footer to add when the stream is closed.
- forAsyncLogger(RingBuffer<?>, String) - Static method in class org.apache.logging.log4j.core.jmx.RingBufferAdmin
-
- forAsyncLoggerConfig(RingBuffer<?>, String, String) - Static method in class org.apache.logging.log4j.core.jmx.RingBufferAdmin
-
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter
-
Formats an event into a string buffer.
- format(StringBuilder, Object...) - Method in interface org.apache.logging.log4j.core.pattern.ArrayPatternConverter
-
Format an array of Objects.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.ClassNamePatternConverter
-
Format a logging event.
- format(Date, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
-
Append formatted date to string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
-
Formats an event into a string buffer.
- format(Object, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
-
Formats an object into a string buffer.
- format(StringBuilder, Object...) - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
-
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.FileLocationPatternConverter
-
Formats an event into a string buffer.
- format(int, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Adjust the content of the buffer based on the specified lengths and alignment.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.FullLocationPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.HighlightConverter
-
Formats an event into a string buffer.
- format(StringBuilder, Object...) - Method in class org.apache.logging.log4j.core.pattern.IntegerPatternConverter
-
- format(Object, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.IntegerPatternConverter
-
Formats an object into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LevelPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LineLocationPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LineSeparatorPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
-
Formats an event into a string buffer.
- format(Object, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
-
Formats an object into a string buffer.
- format(StringBuilder, Object...) - Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
-
Format an array of Objects.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
-
Formats an event into a string buffer.
- format(Object, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
-
Formats an object into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LoggerPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.MapPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.MarkerPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.MDCPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.MessagePatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.MethodLocationPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.NDCPatternConverter
-
Formats an event into a string buffer.
- format(Object, StringBuilder) - Method in interface org.apache.logging.log4j.core.pattern.PatternConverter
-
Formats an object into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
-
- format(String) - Method in class org.apache.logging.log4j.core.pattern.RegexReplacement
-
Perform the replacement.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.RegexReplacementConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.RelativeTimePatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.RootThrowablePatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.SequenceNumberPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.StyleConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.ThreadPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.UUIDPatternConverter
-
Formats an event into a string buffer.
- formatContentToBytes(LogEvent[], LogEvent, Layout<?>) - Method in class org.apache.logging.log4j.core.net.SMTPManager
-
- formatFileName(StringBuilder, Object) - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
Format file name.
- formatFileName(StrSubstitutor, StringBuilder, Object) - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
Format file name.
- formatFileName(StringBuilder, Object...) - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
Format file name.
- FormattingInfo - Class in org.apache.logging.log4j.core.pattern
-
Modifies the output of a pattern converter for a specified minimum and maximum width and alignment.
- FormattingInfo(boolean, int, int) - Constructor for class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Creates new instance.
- formatWrapper(StringBuilder, ThrowableProxy) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Formats the specified Throwable.
- formatWrapper(StringBuilder, ThrowableProxy, List<String>) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Formats the specified Throwable.
- FullLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Format the event's line location information.
- getAbbreviator(String) - Static method in class org.apache.logging.log4j.core.pattern.NameAbbreviator
-
Gets an abbreviator.
- getActiveFileName() - Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverDescription
-
Active log file name after rollover.
- getActiveFileName() - Method in class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
-
Active log file name after rollover.
- getAdvertiser() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getAdvertiser() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getAppend() - Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverDescription
-
Specifies if active file should be opened for appending.
- getAppend() - Method in class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
-
Specifies if active file should be opened for appending.
- getAppender() - Method in class org.apache.logging.log4j.core.config.AppenderControl
-
Returns the Appender.
- getAppender(String) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Returns the Appender with the specified name.
- getAppenderRef() - Method in class org.apache.logging.log4j.core.appender.routing.Route
-
Returns the appender reference.
- getAppenderRefs() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns the Appender references.
- getAppenderRefs() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getAppenderRefs() - Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
Returns a String array with the appender refs configured for the
instrumented AsyncAppender
.
- getAppenderRefs() - Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- getAppenderRefs() - Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
-
Returns a String array with the appender refs configured for the
instrumented LoggerConfig
.
- getAppenderRefStrings() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
Returns the names of the appenders that this asyncAppender delegates to
as an array of Strings.
- getAppenders() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Returns a Map containing all the Appenders and their name.
- getAppenders() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns a Map containing all the Appenders and their name.
- getAppenders() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns all Appenders as a Map.
- getAppenders() - Method in class org.apache.logging.log4j.core.Logger
-
This method is not exposed through the public API and is used primarily for unit testing.
- getAsynchronous() - Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverDescription
-
Action to be completed after close of current active log file
and before next rollover attempt, may be executed asynchronously.
- getAsynchronous() - Method in class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
-
Action to be completed after close of current active log file
and before next rollover attempt, may be executed asynchronously.
- getAttributes() - Method in class org.apache.logging.log4j.core.config.Node
-
- getAvailable() - Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
Returns the number of available slots.
- getBufferSize() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager.AbstractFactoryData
-
Gets the buffer size.
- getBufferSize() - Method in class org.apache.logging.log4j.core.jmx.RingBufferAdmin
-
- getBufferSize() - Method in interface org.apache.logging.log4j.core.jmx.RingBufferAdminMBean
-
Returns the number of slots that the ring buffer was configured with.
- getBytes() - Method in class org.apache.logging.log4j.core.appender.TLSSyslogFrame
-
- getCaller(int) - Static method in class org.apache.logging.log4j.core.impl.ReflectiveCallerClassUtility
-
Reflectively calls getCallerClass(int)
, compensating for the additional frame on the stack, and
compensating for the Java 7u25 bug if necessary.
- getCause() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- getCharset() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
- getChildren() - Method in class org.apache.logging.log4j.core.config.Node
-
- getClasses() - Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
Provides access to the classes discovered so far.
- getClassLoader() - Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
Returns the classloader that will be used for scanning for classes.
- getClassLoader() - Static method in class org.apache.logging.log4j.core.helpers.Loader
-
Returns the ClassLoader to use.
- getClassLoader(Class<?>, Class<?>) - Static method in class org.apache.logging.log4j.core.helpers.Loader
-
- getClock() - Static method in class org.apache.logging.log4j.core.helpers.ClockFactory
-
Returns a Clock
instance depending on the value of system
property "AsyncLogger.Clock"
.
- getCode() - Method in enum org.apache.logging.log4j.core.net.Facility
-
Retrieve the value of the enumeration.
- getCode() - Method in enum org.apache.logging.log4j.core.net.Severity
-
Returns the severity code.
- getCode() - Method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Gets the escape code.
- getColumnName() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- getCommonElementCount() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Return the number of elements that are being ommitted because they are common with the parent Throwable's
stack trace.
- getComponent(String) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getComponent(String) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getCompressionLevel() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
- getConfigClassName() - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigClassName() - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Returns the class name of the Configuration
of the instrumented
LoggerContext.
- getConfigFilter() - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigFilter() - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Returns a string description of all Filters configured in the
Configuration
of the instrumented LoggerContext.
- getConfigLocation() - Method in class org.apache.logging.log4j.core.LoggerContext
-
- getConfigLocationURI() - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigLocationURI() - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Returns the configuration location URI as a String.
- getConfigMonitorClassName() - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigMonitorClassName() - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Returns the class name of the object that is monitoring the configuration
file for modifications.
- getConfigName() - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigName() - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Returns the name of the Configuration of the instrumented LoggerContext.
- getConfigProperties() - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigProperties() - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Returns a map with configured properties.
- getConfigText() - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigText(String) - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigText() - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Returns the configuration text, which may be the contents of the
configuration file or the text that was last set with a call to
setConfigText
.
- getConfigText(String) - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Returns the configuration text, which may be the contents of the
configuration file or the text that was last set with a call to
setConfigText
.
- getConfiguration(ConfigurationFactory.ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- getConfiguration(String, URI) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Returns the Configuration.
- getConfiguration(ConfigurationFactory.ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.JSONConfigurationFactory
-
- getConfiguration(ConfigurationFactory.ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.XMLConfigurationFactory
-
Returns the Configuration.
- getConfiguration() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Returns the current Configuration.
- getConfigurationMonitor() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getConfigurationMonitor() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getConnection() - Method in interface org.apache.logging.log4j.core.appender.db.jdbc.ConnectionSource
-
This should return a new connection every time it is called.
- getConnection() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.DataSourceConnectionSource
-
- getConnection() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.FactoryMethodConnectionSource
-
- getConnection() - Method in class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBProvider
-
- getConnection() - Method in class org.apache.logging.log4j.core.appender.db.nosql.mongodb.MongoDBProvider
-
- getConnection() - Method in interface org.apache.logging.log4j.core.appender.db.nosql.NoSQLProvider
-
Obtains a connection from this provider.
- getContentFormat() - Method in class org.apache.logging.log4j.core.appender.AbstractManager
-
Provide a description of the content format supported by this Manager.
- getContentFormat() - Method in class org.apache.logging.log4j.core.appender.FileManager
-
FileManager's content format is specified by: Key: "fileURI" Value: provided "advertiseURI" param
.
- getContentFormat() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
FileManager's content format is specified by:
Key: "fileURI" Value: provided "advertiseURI" param.
- getContentFormat() - Method in interface org.apache.logging.log4j.core.Layout
-
Returns a description of the content format.
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.HTMLLayout
-
HTMLLayout's format is sufficiently specified via the content type.
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.JSONLayout
-
XMLLayout's content format is specified by:
Key: "dtd" Value: "log4j-events.dtd"
Key: "version" Value: "2.0"
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.PatternLayout
-
PatternLayout's content format is specified by:
Key: "structured" Value: "false"
Key: "formatType" Value: "conversion" (format uses the keywords supported by OptionConverter)
Key: "format" Value: provided "conversionPattern" param
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.RFC5424Layout
-
RFC5424Layout's content format is specified by:
Key: "structured" Value: "true"
Key: "format" Value: "RFC5424"
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.SerializedLayout
-
SerializedLayout's format is sufficiently specified via the content type, use empty Map/unspecified.
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.SyslogLayout
-
SyslogLayout's content format is specified by:
Key: "structured" Value: "false"
Key: "dateFormat" Value: "MMM dd HH:mm:ss "
Key: "format" Value: "
TIMESTAMP PROP(HOSTNAME) MESSAGE"
Key: "formatType" Value: "logfilepatternreceiver" (format uses the keywords supported by LogFilePatternReceiver)
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.XMLLayout
-
XMLLayout's content format is specified by:
Key: "dtd" Value: "log4j-events.dtd"
Key: "version" Value: "2.0"
- getContentFormat() - Method in class org.apache.logging.log4j.core.net.AbstractSocketManager
-
AbstractSocketManager's content format is specified by:
Key: "port" Value: provided "port" param
Key: "address" Value: provided "address" param
- getContentFormat() - Method in class org.apache.logging.log4j.core.net.DatagramSocketManager
-
DatagramSocketManager's content format is specified by:
Key: "protocol" Value: "udp"
Key: "direction" Value: "out"
- getContentFormat() - Method in class org.apache.logging.log4j.core.net.TCPSocketManager
-
TCPSocketManager's content format is specified by:
Key: "protocol" Value: "tcp"
Key: "direction" Value: "out"
- getContentType() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
- getContentType() - Method in interface org.apache.logging.log4j.core.Layout
-
Returns the content type output by this layout.
- getContentType() - Method in class org.apache.logging.log4j.core.layout.HTMLLayout
-
- getContentType() - Method in class org.apache.logging.log4j.core.layout.JSONLayout
-
- getContentType() - Method in class org.apache.logging.log4j.core.layout.SerializedLayout
-
SerializedLayout returns a binary stream.
- getContentType() - Method in class org.apache.logging.log4j.core.layout.XMLLayout
-
- getContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
- getContext(String, ClassLoader, boolean, URI) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
- getContext(String, ClassLoader, Object, boolean) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Load the LoggerContext using the ContextSelector.
- getContext(String, ClassLoader, Object, boolean, URI, String) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Load the LoggerContext using the ContextSelector.
- getContext(String, ClassLoader, Object, boolean, ConfigurationFactory.ConfigurationSource) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Load the LoggerContext using the ContextSelector.
- getContext() - Method in class org.apache.logging.log4j.core.Logger
-
Returns the LoggerContext this Logger is associated with.
- getContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- getContext(String, ClassLoader, boolean, URI) - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- getContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- getContext(String, ClassLoader, boolean, URI) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- getContext(String, ClassLoader, boolean) - Method in interface org.apache.logging.log4j.core.selector.ContextSelector
-
Returns the LoggerContext.
- getContext(String, ClassLoader, boolean, URI) - Method in interface org.apache.logging.log4j.core.selector.ContextSelector
-
Returns the LoggerContext.
- getContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- getContext(String, ClassLoader, boolean, URI) - Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- getContextMap() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the context map.
- getContextMap() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getContextMap() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the immutable copy of the ThreadContext Map.
- getContextMap() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the MDC data.
- getContextName() - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getContextName() - Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
-
Returns the name of the LoggerContext that the StatusLogger
is associated with.
- getContextStack() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the context stack.
- getContextStack() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getContextStack() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns an immutable copy of the ThreadContext stack.
- getContextStack() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the NDC data.
- getConversionPattern() - Method in class org.apache.logging.log4j.core.layout.PatternLayout
-
- getConverter() - Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
-
- getCorrectedFilePathUri(String) - Static method in class org.apache.logging.log4j.core.helpers.FileUtils
-
Takes a given URI string which may contain backslashes (illegal in URIs) in it due to user input or variable
substitution and returns a URI with the backslashes replaced with forward slashes.
- getCount() - Method in class org.apache.logging.log4j.core.appender.AbstractManager
-
- getDefault() - Static method in class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Gets default instance.
- getDefaultAbbreviator() - Static method in class org.apache.logging.log4j.core.pattern.NameAbbreviator
-
Gets default abbreviator.
- getDefaultStatus() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getDefaultStyle() - Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Gets the default style.
- getDiscardIfAllFieldsAreEmpty() - Method in class org.apache.logging.log4j.core.layout.LoggerFields
-
- getElementName() - Method in class org.apache.logging.log4j.core.config.plugins.PluginType
-
- getEncoding(byte[], String) - Method in class org.apache.logging.log4j.core.net.SMTPManager
-
- getEnvironment(String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.net.AbstractJMSManager
-
Sets up the properties to pass to the InitialContext.
- getErrorHandler() - Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- getErrorHandler() - Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
-
Returns the result of calling toString
on the error handler of
this appender, or "null"
if no error handler was set.
- getErrorHandler() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getErrorHandler() - Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
Returns the result of calling toString
on the error handler of
this appender, or "null"
if no error handler was set.
- getErrorRef() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
Returns the name of the appender that any errors are logged to or null
.
- getErrorRef() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
Returns the name of the appender that any errors are logged to or null
.
- getErrorRef() - Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
Returns the name of the appender that any errors are logged to or null
.
- getEscapeChar() - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Returns the escape character.
- getExtendedStackTrace() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Format the stack trace including packaging information.
- getExtendedStackTrace(List<String>) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Format the stack trace including packaging information.
- getExternalContext() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Returns the external context.
- getFacility() - Method in class org.apache.logging.log4j.core.net.Priority
-
Returns the Facility.
- getFile() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- getFileManager(String, boolean, boolean, boolean, String, Layout<? extends Serializable>, int) - Static method in class org.apache.logging.log4j.core.appender.FileManager
-
Returns the FileManager.
- getFileManager(String, boolean, boolean, int, String, Layout<? extends Serializable>) - Static method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
Returns the RandomAccessFileManager.
- getFileManager(String, String, boolean, boolean, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>) - Static method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Returns a RollingFileManager.
- getFileName() - Method in class org.apache.logging.log4j.core.appender.FileAppender
-
Returns the file name this appender is associated with.
- getFileName() - Method in class org.apache.logging.log4j.core.appender.FileManager
-
Returns the name of the File being managed.
- getFileName() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
-
Returns the file name this appender is associated with.
- getFileName() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
Returns the name of the File being managed.
- getFileName() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
-
Returns the File name for the Appender.
- getFileName() - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
-
Returns the File name for the Appender.
- getFilePattern() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
-
Returns the file pattern used when rolling over.
- getFilePattern() - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
-
Returns the file pattern used when rolling over.
- getFileSize() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Returns the current size of the file.
- getFileTime() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Returns the time the file was created.
- getFilter() - Method in class org.apache.logging.log4j.core.config.AppenderRef
-
- getFilter() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
- getFilter() - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Returns the Filter.
- getFilter() - Method in interface org.apache.logging.log4j.core.filter.Filterable
-
Returns an Iterator for all the Filters.
- getFilter() - Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- getFilter() - Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
-
Returns a string description of all filters configured for the
instrumented Appender
.
- getFilter() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getFilter() - Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
Returns a string description of all filters configured for the
instrumented AsyncAppender
.
- getFilter() - Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- getFilter() - Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
-
Returns a string description of all filters configured for the
instrumented LoggerConfig
.
- getFilters() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- getFilters() - Method in class org.apache.logging.log4j.core.Logger
-
This method is not exposed through the public API and is used primarily for unit testing.
- getFooter() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout
-
Returns the footer, if one is available.
- getFooter() - Method in interface org.apache.logging.log4j.core.Layout
-
Returns the format for the layout format.
- getFooter() - Method in class org.apache.logging.log4j.core.layout.HTMLLayout
-
Returns the appropriate HTML footers.
- getFooter() - Method in class org.apache.logging.log4j.core.layout.JSONLayout
-
Returns appropriate JSON footer.
- getFooter() - Method in class org.apache.logging.log4j.core.layout.XMLLayout
-
Returns appropriate XML footer.
- getFormattingInfo() - Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
-
- getFQCN() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the fully qualified class name of the caller of the logger API.
- getFQCN() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getFQCN() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
The fully qualified class name of the class that was called by the caller.
- getFQCN() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Returns the fully qualified class name of the caller of the logging api.
- getHandler() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
Returns the ErrorHandler, if any.
- getHandler() - Method in interface org.apache.logging.log4j.core.Appender
-
- getHeader() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout
-
Returns the header, if one is available.
- getHeader() - Method in interface org.apache.logging.log4j.core.Layout
-
Returns the header for the layout format.
- getHeader() - Method in class org.apache.logging.log4j.core.layout.HTMLLayout
-
Returns appropriate HTML headers.
- getHeader() - Method in class org.apache.logging.log4j.core.layout.JSONLayout
-
Returns appropriate JSON headers.
- getHeader() - Method in class org.apache.logging.log4j.core.layout.SerializedLayout
-
- getHeader() - Method in class org.apache.logging.log4j.core.layout.XMLLayout
-
Returns appropriate XML headers.
- getHeaders(String, String) - Method in class org.apache.logging.log4j.core.net.SMTPManager
-
- getImplementationClassName() - Method in class org.apache.logging.log4j.core.jmx.ContextSelectorAdmin
-
- getImplementationClassName() - Method in interface org.apache.logging.log4j.core.jmx.ContextSelectorAdminMBean
-
Returns the name of the class implementing the ContextSelector
interface.
- getInputFromResource(String, ClassLoader) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Retrieve the configuration via the ClassLoader.
- getInputFromString(String, ClassLoader) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Load the configuration from the location represented by the String.
- getInputFromURI(URI) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Load the configuration from a URI.
- getInputStream() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- getInstance() - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Returns the ConfigurationFactory.
- getJDBCDatabaseManager(String, int, ConnectionSource, String, ColumnConfig[]) - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.JDBCDatabaseManager
-
Creates a JDBC manager for use within the
JDBCAppender
, or returns a suitable one if it already exists.
- getJMSQueueManager(String, String, String, String, String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.net.JMSQueueManager
-
Obtain a JMSQueueManager.
- getJMSTopicManager(String, String, String, String, String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.net.JMSTopicManager
-
Obtain a JSMTopicManager.
- getJPADatabaseManager(String, int, Class<? extends AbstractLogEventWrapperEntity>, Constructor<? extends AbstractLogEventWrapperEntity>, String) - Static method in class org.apache.logging.log4j.core.appender.db.jpa.JPADatabaseManager
-
Creates a JPA manager for use within the
JPAAppender
, or returns a suitable one if it already exists.
- getKey() - Method in class org.apache.logging.log4j.core.appender.routing.Route
-
Returns the key for this Route.
- getKey() - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- getKey() - Method in class org.apache.logging.log4j.core.helpers.KeyValuePair
-
Returns the key.
- getKeyStore() - Method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
-
- getLayout() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
Returns the Layout for the appender.
- getLayout() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
This always returns null
, as database appenders do not use a single layout.
- getLayout() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- getLayout() - Method in interface org.apache.logging.log4j.core.Appender
-
Returns this appender's layout.
- getLayout() - Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- getLayout() - Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
-
Returns the result of calling toString
on the Layout
object of the instrumented Appender
.
- getLayout() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getLayout() - Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
Returns the result of calling toString
on the Layout
object of the instrumented AsyncAppender
.
- getLevel() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the level.
- getLevel() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getLevel() - Method in class org.apache.logging.log4j.core.config.AppenderRef
-
- getLevel() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns the logging Level.
- getLevel() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the logging Level.
- getLevel() - Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- getLevel() - Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
-
Returns the LoggerConfig
level as a String.
- getLevel() - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getLevel() - Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
-
Returns the StatusLogger
level as a String.
- getLevel() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the level.
- getLevel() - Method in class org.apache.logging.log4j.core.Logger
-
Returns the Level associated with the Logger.
- getLevelMap() - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- getLines() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Returns the number of lines to write.
- getLiteral() - Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
-
- getLiteralValue() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- getLocalHostname() - Static method in class org.apache.logging.log4j.core.helpers.NetUtils
-
This method gets the network name of the machine we are running on.
- getLocation() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- getLocation() - Method in class org.apache.logging.log4j.core.impl.StackTracePackageElement
-
Returns the location of the element.
- getLocation() - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- getLogEventFactory() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns the LogEventFactory.
- getLogger(String) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Returns the LoggerConfig with the specified name.
- getLogger(String) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Obtain a Logger from the Context.
- getLogger(String, MessageFactory) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Obtain a Logger from the Context.
- getLoggerConfig(String) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Locates the appropriate LoggerConfig for a Logger name.
- getLoggerConfig(String) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Locates the appropriate LoggerConfig for a Logger name.
- getLoggerContexts() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
- getLoggerContexts() - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- getLoggerContexts() - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- getLoggerContexts() - Method in interface org.apache.logging.log4j.core.selector.ContextSelector
-
Returns a List of all the available LoggerContexts.
- getLoggerContexts() - Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- getLoggerName() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the logger name.
- getLoggerName() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getLoggerName() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the name of the Logger used to generate the event.
- getLoggerName() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the logger name.
- getLoggers() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Returns a Map of all the LoggerConfigs.
- getLoggers() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getManager(String, ManagerFactory<M, T>, T) - Static method in class org.apache.logging.log4j.core.appender.AbstractManager
-
Retrieves a Manager if it has been previously created or creates a new Manager.
- getManager() - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
Gets the manager.
- getManager() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
Returns the underlying manager in use within this appender.
- getManager(String, T, ManagerFactory<M, T>) - Static method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Implementations should define their own getManager method and call this method from that to create or get
existing managers.
- getManager(String, T, ManagerFactory<? extends OutputStreamManager, T>) - Static method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Create a Manager.
- getMap() - Method in class org.apache.logging.log4j.core.config.Loggers
-
- getMap() - Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- getMap() - Method in class org.apache.logging.log4j.core.layout.LoggerFields
-
- getMarker() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the marker.
- getMarker() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getMarker() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the Marker associated with the event, or null.
- getMarker() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the Marker associated with the event.
- getMaxIndex() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
- getMaxLength() - Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Get maximum length.
- getMdcExcludes() - Method in class org.apache.logging.log4j.core.layout.RFC5424Layout
-
- getMdcIncludes() - Method in class org.apache.logging.log4j.core.layout.RFC5424Layout
-
- getMessage() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the message.
- getMessage() - Method in class org.apache.logging.log4j.core.appender.TLSSyslogFrame
-
- getMessage() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getMessage() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the Message associated with the event.
- getMessage() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the message associated with the event.
- getMillis() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the number of milliseconds since JVM launch.
- getMillis() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getMillis() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the time in milliseconds from the epoch when the event occurred.
- getMillis() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets event time in milliseconds since midnight, January 1, 1970 UTC.
- getMimeMessage() - Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- getMimeMultipart(byte[], InternetHeaders) - Method in class org.apache.logging.log4j.core.net.SMTPManager
-
- getMinIndex() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
- getMinLength() - Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Get minimum length.
- getName() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
Returns the name of the Appender.
- getName() - Method in class org.apache.logging.log4j.core.appender.AbstractManager
-
Returns the name of the Manager.
- getName() - Method in interface org.apache.logging.log4j.core.Appender
-
Get the name of this appender.
- getName() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Returns the name of the configuration.
- getName() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns the configuration name.
- getName() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns the name of the LoggerConfig.
- getName() - Method in class org.apache.logging.log4j.core.config.Node
-
- getName() - Method in class org.apache.logging.log4j.core.config.Property
-
Returns the property name.
- getName() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Return the FQCN of the Throwable.
- getName() - Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- getName() - Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
-
Returns the name of the instrumented Appender
.
- getName() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getName() - Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
Returns the name of the instrumented AsyncAppender
.
- getName() - Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- getName() - Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
-
Returns the name of the instrumented LoggerConfig
.
- getName() - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getName() - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Returns the name of the instrumented LoggerContext
.
- getName() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Gets the name.
- getName() - Method in class org.apache.logging.log4j.core.pattern.AbstractPatternConverter
-
This method returns the name of the conversion pattern.
- getName() - Method in interface org.apache.logging.log4j.core.pattern.PatternConverter
-
Returns the name of the converter.
- getNextTime(long, int, boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
Returns the next potential rollover time.
- getNode() - Method in class org.apache.logging.log4j.core.appender.routing.Route
-
Returns the Dynamic Appender Node.
- getNoSQLDatabaseManager(String, int, NoSQLProvider<?>) - Static method in class org.apache.logging.log4j.core.appender.db.nosql.NoSQLDatabaseManager
-
Creates a NoSQL manager for use within the
NoSQLAppender
, or returns a suitable one if it already exists.
- getObject() - Method in class org.apache.logging.log4j.core.config.Node
-
- getObjectName() - Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
Returns the ObjectName
of this mbean.
- getObjectName() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
Returns the ObjectName
of this mbean.
- getObjectName() - Method in class org.apache.logging.log4j.core.jmx.ContextSelectorAdmin
-
Returns the ObjectName
of this mbean.
- getObjectName() - Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
Returns the ObjectName
of this mbean.
- getObjectName() - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
Returns the ObjectName
of this mbean.
- getObjectName() - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Returns the ObjectName
that this MBean is registered with in the
MBean server.
- getObjectName() - Method in class org.apache.logging.log4j.core.jmx.RingBufferAdmin
-
Returns the ObjectName
of this mbean.
- getObjectName() - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
Returns the ObjectName
of this mbean.
- getObjectName() - Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
-
Returns the ObjectName
that this status logger mbean is registered with.
- getOnMatch() - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Returns the Result to be returned when a match occurs.
- getOnMatch() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Returns the result that should be returned when the filter matches the event.
- getOnMatch() - Method in interface org.apache.logging.log4j.core.Filter
-
Returns the result that should be returned when the filter matches the event.
- getOnMismatch() - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Returns the Result to be returned when a match does not occur.
- getOnMismatch() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Returns the result that should be returned when the filter does not match the event.
- getOnMismatch() - Method in interface org.apache.logging.log4j.core.Filter
-
Returns the result that should be returned when the filter does not match the event.
- getOutputStream() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
- getPackageData() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Return the package data associated with the stack trace.
- getPackages() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Returns the list of packages to filter.
- getParent() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns the parent of this LoggerConfig.
- getParent() - Method in class org.apache.logging.log4j.core.config.Node
-
- getParent() - Method in class org.apache.logging.log4j.core.Logger
-
This method is only used for 1.x compatibility.
- getPassword() - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- getPasswordAsCharArray() - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- getPattern() - Method in class org.apache.logging.log4j.core.appender.routing.Routes
-
Returns the pattern.
- getPattern() - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
-
Gets the pattern string describing this date format.
- getPatternProcessor() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Returns the pattern processor.
- getPluginClass() - Method in class org.apache.logging.log4j.core.config.plugins.PluginType
-
- getPlugins() - Method in class org.apache.logging.log4j.core.config.plugins.PluginManager
-
Returns all the matching plugins.
- getPluginType(String) - Method in class org.apache.logging.log4j.core.config.plugins.PluginManager
-
Returns the type of a specified plugin.
- getPriority(Facility, Level) - Static method in class org.apache.logging.log4j.core.net.Priority
-
Returns the priority value based on the Facility and Log Level.
- getProcId() - Method in class org.apache.logging.log4j.core.layout.RFC5424Layout
-
- getProperties() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getProperties() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getProperties() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns an unmodifiable map with the configuration properties, or
null
if this LoggerConfig
does not have any configuration
properties.
- getQueueCapacity() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
- getQueueCapacity() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getQueueCapacity() - Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
- getQueueRemainingCapacity() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
- getQueueRemainingCapacity() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getQueueRemainingCapacity() - Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
- getRef() - Method in class org.apache.logging.log4j.core.config.AppenderRef
-
- getRemainingCapacity() - Method in class org.apache.logging.log4j.core.jmx.RingBufferAdmin
-
- getRemainingCapacity() - Method in interface org.apache.logging.log4j.core.jmx.RingBufferAdminMBean
-
Returns the number of available slots in the ring buffer.
- getResource(String, ClassLoader) - Static method in class org.apache.logging.log4j.core.helpers.Loader
-
This method will search for resource
in different
places.
- getResourceAsStream(String, ClassLoader) - Static method in class org.apache.logging.log4j.core.helpers.Loader
-
This method will search for resource
in different
places.
- getResources() - Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
Returns the matching resources.
- getRollingRandomAccessFileManager(String, String, boolean, boolean, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>) - Static method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- getRolloverStrategy() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Returns the rollover strategy
- getRoot() - Method in class org.apache.logging.log4j.core.config.Loggers
-
- getRootCauseStackTrace() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Format the Throwable that is the cause of this Throwable.
- getRootCauseStackTrace(List<String>) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Format the Throwable that is the cause of this Throwable.
- getRootLogger() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Returns the root Logger.
- getRoutes() - Method in class org.apache.logging.log4j.core.appender.routing.Routes
-
Returns the array of Route elements.
- getSdId() - Method in class org.apache.logging.log4j.core.layout.LoggerFields
-
- getSecretKey() - Method in interface org.apache.logging.log4j.core.helpers.SecretKeyProvider
-
- getSelector() - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Returns the ContextSelector.
- getSeparator() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Returns the stack trace separator.
- getServletContext() - Method in class org.apache.logging.log4j.core.lookup.WebLookup
-
- getSeverity() - Method in class org.apache.logging.log4j.core.net.Priority
-
Returns the Severity.
- getSeverity(Level) - Static method in enum org.apache.logging.log4j.core.net.Severity
-
Returns the Severity for the specified Level.
- getSMTPManager(String, String, String, String, String, String, String, String, int, String, String, boolean, String, int) - Static method in class org.apache.logging.log4j.core.net.SMTPManager
-
- getSocketManager(String, int, Layout<? extends Serializable>) - Static method in class org.apache.logging.log4j.core.net.DatagramSocketManager
-
Obtain a SocketManager.
- getSocketManager(String, int, int, boolean, Layout<? extends Serializable>) - Static method in class org.apache.logging.log4j.core.net.TCPSocketManager
-
Obtain a TCPSocketManager.
- getSocketManager(SSLConfiguration, String, int, int, boolean, Layout) - Static method in class org.apache.logging.log4j.core.net.TLSSocketManager
-
- getSource() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the source location information.
- getSource() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getSource() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the StackTraceElement for the caller.
- getSource() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the source of logging request.
- getSSLServerSocketFactory() - Method in class org.apache.logging.log4j.core.net.ssl.SSLConfiguration
-
- getSSLSocketFactory() - Method in class org.apache.logging.log4j.core.net.ssl.SSLConfiguration
-
- getStatus() - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getStatus() - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Returns the status of the instrumented LoggerContext
.
- getStatus() - Method in class org.apache.logging.log4j.core.LoggerContext
-
- getStatusData() - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getStatusData() - Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
-
Returns a list with the most recent StatusData
objects in the
status history.
- getStatusDataHistory() - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getStatusDataHistory() - Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
-
Returns a string array with the most recent messages in the status
history.
- getStatusLevel() - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getStrSubstitutor() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getStrSubstitutor() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getStyleClass(Object) - Method in class org.apache.logging.log4j.core.pattern.AbstractPatternConverter
-
This method returns the CSS style class that should be applied to
the LoggingEvent passed as parameter, which can be null.
- getStyleClass(Object) - Method in class org.apache.logging.log4j.core.pattern.LevelPatternConverter
-
This method returns the CSS style class that should be applied to
the LoggingEvent passed as parameter, which can be null.
- getStyleClass(Object) - Method in interface org.apache.logging.log4j.core.pattern.PatternConverter
-
This method returns the CSS style class that should be applied to
the LoggingEvent passed as parameter, which can be null.
- getSubName(String) - Static method in class org.apache.logging.log4j.core.helpers.NameUtil
-
- getSupportedCharset(String) - Static method in class org.apache.logging.log4j.core.helpers.Charsets
-
Returns a Charset, if possible the Charset for the specified charsetName
, otherwise (if the specified
charsetName
is null
or not supported) this method returns the platform default Charset.
- getSupportedCharset(String, Charset) - Static method in class org.apache.logging.log4j.core.helpers.Charsets
-
Returns a Charset, if possible the Charset for the specified charsetName
, otherwise (if the specified
charsetName
is null
or not supported) this method returns the platform default Charset.
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.JSONConfigurationFactory
-
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.XMLConfigurationFactory
-
Returns the file suffixes for XML files.
- getSuppressed() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- getSuppressedStackTrace() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Format the suppressed Throwables.
- getSynchronous() - Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverDescription
-
Action to be completed after close of current active log file
before returning control to caller.
- getSynchronous() - Method in class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
-
Action to be completed after close of current active log file
before returning control to caller.
- getThreadName() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the thread name.
- getThreadName() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getThreadName() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the name of the Thread on which the event was generated.
- getThreadName() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets thread name.
- getThrowable() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- getThrown() - Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
-
Gets the exception logged.
- getThrown() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getThrown() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the Throwable associated with the event, or null.
- getThrown() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets throwable associated with logging request.
- getThrownProxy() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the ThrowableProxy associated with the event, or null.
- getTimeBasedUUID() - Static method in class org.apache.logging.log4j.core.helpers.UUIDUtil
-
Generates Type 1 UUID.
- getTriggeringPolicy() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Returns the triggering policy
- getTrustStore() - Method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
-
- getType() - Method in class org.apache.logging.log4j.core.config.Node
-
- getValue() - Method in class org.apache.logging.log4j.core.config.Node
-
- getValue() - Method in class org.apache.logging.log4j.core.config.Property
-
Returns the property value.
- getValue() - Method in class org.apache.logging.log4j.core.helpers.KeyValuePair
-
Returns the value.
- getValue() - Method in class org.apache.logging.log4j.core.net.Priority
-
Returns the value of this Priority.
- getVariablePrefixMatcher() - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Gets the variable prefix matcher currently in use.
- getVariableResolver() - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Gets the VariableResolver that is used to lookup variables.
- getVariableSuffixMatcher() - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Gets the variable suffix matcher currently in use.
- getVersion() - Method in class org.apache.logging.log4j.core.impl.StackTracePackageElement
-
Returns the version of the element.
- getWrappedEvent() - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
All eventual accessor methods must call this method and delegate the method call to the underlying wrapped event.
- GZCompressAction - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Compresses a file using GZ compression.
- GZCompressAction(File, File, boolean) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.GZCompressAction
-
Create new instance of GZCompressAction.
- ignoreExceptions() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
Some appenders need to propagate exceptions back to the application.
- ignoreExceptions() - Method in interface org.apache.logging.log4j.core.Appender
-
Some appenders need to propagate exceptions back to the application.
- immediateFlush - Variable in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
Immediate flush means that the underlying writer or output stream
will be flushed at the end of each append operation.
- includeLocation(String) - Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
- includeLocation(String) - Static method in class org.apache.logging.log4j.core.config.LoggerConfig
-
- init(FilterConfig) - Method in class org.apache.logging.log4j.core.web.Log4jServletFilter
-
- initialize(RollingFileManager) - Method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
-
Initializes the policy.
- initialize(RollingFileManager) - Method in class org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy
-
Provide the RollingFileManager to the policy.
- initialize(RollingFileManager) - Method in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
-
Initialize the TriggeringPolicy.
- initialize(RollingFileManager) - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy
-
Initialize the policy.
- initialize(RollingFileManager) - Method in interface org.apache.logging.log4j.core.appender.rolling.TriggeringPolicy
-
Initialize the Policy.
- initialize(String, ClassLoader, String) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- initialize(String, ClassLoader, String, Object) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- initialize(String, String) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- initialize(String, ClassLoader, URI) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- initialize(String, ClassLoader, URI, Object) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- initialize(ClassLoader, ConfigurationFactory.ConfigurationSource) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- initialize(ClassLoader, ConfigurationFactory.ConfigurationSource, Object) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- insertObject(NoSQLObject<Map<String, Object>>) - Method in class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBConnection
-
- insertObject(NoSQLObject<BasicDBObject>) - Method in class org.apache.logging.log4j.core.appender.db.nosql.mongodb.MongoDBConnection
-
- insertObject(NoSQLObject<W>) - Method in interface org.apache.logging.log4j.core.appender.db.nosql.NoSQLConnection
-
Inserts the given object into the underlying NoSQL database.
- instance() - Static method in class org.apache.logging.log4j.core.helpers.CachedClock
-
- instance() - Static method in class org.apache.logging.log4j.core.helpers.CoarseCachedClock
-
Returns the singleton instance.
- instantiateByClassName(String, Class<?>, Object) - Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
-
Instantiate an object given a class name.
- instantiateByKey(Properties, String, Class<?>, Object) - Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
-
- IntegerPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats an integer.
- Integers - Class in org.apache.logging.log4j.core.helpers
-
Helps deal with integers.
- Integers() - Constructor for class org.apache.logging.log4j.core.helpers.Integers
-
- Interpolator - Class in org.apache.logging.log4j.core.lookup
-
The Interpolator is a StrLookup that acts as a proxy for all the other StrLookups.
- Interpolator(StrLookup) - Constructor for class org.apache.logging.log4j.core.lookup.Interpolator
-
- Interpolator() - Constructor for class org.apache.logging.log4j.core.lookup.Interpolator
-
Create the default Interpolator using only Lookups that work without an event.
- Interpolator(Map<String, String>) - Constructor for class org.apache.logging.log4j.core.lookup.Interpolator
-
Create the dInterpolator using only Lookups that work without an event and initial properties.
- IS_LOG4J_AUTO_INITIALIZATION_DISABLED - Static variable in interface org.apache.logging.log4j.core.web.Log4jWebSupport
-
The ServletContext
parameter name for the flag that disables Log4j's auto-initialization
in Servlet 3.0+ web applications.
- IS_LOG4J_CONTEXT_SELECTOR_NAMED - Static variable in interface org.apache.logging.log4j.core.web.Log4jWebSupport
-
The ServletContext
parameter name for the JNDI flag.
- isActive() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- isActive() - Method in class org.apache.logging.log4j.core.config.JSONConfigurationFactory
-
- isAdditive() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns the valid of the additive flag.
- isAdditive() - Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- isAdditive() - Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
-
Returns whether the instrumented LoggerConfig
is additive.
- isAdditive() - Method in class org.apache.logging.log4j.core.Logger
-
This method is not exposed through the public API and is present only to support the Log4j 1.2
compatibility bridge.
- isAnd() - Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- isAppend() - Method in class org.apache.logging.log4j.core.appender.FileManager
-
Returns the append status.
- isBlocking() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
Returns true
if this AsyncAppender will block when the queue is full,
or false
if events are dropped when the queue is full.
- isBlocking() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
Returns true
if this AsyncAppender will block when the queue is full,
or false
if events are dropped when the queue is full.
- isBlocking() - Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
Returns true
if this AsyncAppender will block when the queue is
full, or false
if events are dropped when the queue is full.
- isClob() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- isClosed() - Method in class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBConnection
-
- isClosed() - Method in class org.apache.logging.log4j.core.appender.db.nosql.mongodb.MongoDBConnection
-
- isClosed() - Method in interface org.apache.logging.log4j.core.appender.db.nosql.NoSQLConnection
-
Indicates whether the underlying connection is closed.
- isComplete() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
-
Tests if the action is complete.
- isComplete() - Method in interface org.apache.logging.log4j.core.appender.rolling.action.Action
-
Determines if action has been completed.
- isDeferChildren() - Method in class org.apache.logging.log4j.core.config.plugins.PluginType
-
- isEmpty() - Method in class org.apache.logging.log4j.core.helpers.CyclicBuffer
-
Determines if the buffer contains elements.
- isEmpty(CharSequence) - Static method in class org.apache.logging.log4j.core.helpers.Strings
-
Checks if a CharSequence is empty ("") or null.
- isEnabled(Level, Marker, String) - Method in class org.apache.logging.log4j.core.Logger
-
- isEnabled(Level, Marker, String, Throwable) - Method in class org.apache.logging.log4j.core.Logger
-
- isEnabled(Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.Logger
-
- isEnabled(Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.Logger
-
- isEnabled(Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.Logger
-
- isEnableSubstitutionInVariables() - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Returns a flag whether substitution is done in variable names.
- isEndOfBatch() - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
Indicates whether this event is the last one in a batch.
- isEndOfBatch() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
- isEndOfBatch() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- isEndOfBatch() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
Returns true
if this event is the end of a batch, false
otherwise.
- isEndOfBatch() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- isEndOfBatch() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Returns true
if this event is the last one in a batch, false
otherwise.
- isEqual(String) - Method in enum org.apache.logging.log4j.core.net.Facility
-
Determine if this enumeration matches the specified name (ignoring case).
- isEqual(String) - Method in enum org.apache.logging.log4j.core.net.Protocol
-
Determine if the String matches this enum.
- isEqual(String) - Method in enum org.apache.logging.log4j.core.net.Severity
-
Determine if the name matches this Severity.
- isEventTimestamp() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- isExact() - Method in class org.apache.logging.log4j.core.impl.StackTracePackageElement
-
Returns the indicator of whether this is an exact match.
- isFile(URL) - Static method in class org.apache.logging.log4j.core.helpers.FileUtils
-
- isFiltered(LogEvent) - Method in class org.apache.logging.log4j.core.appender.SMTPAppender
-
Capture all events in CyclicBuffer.
- isFiltered(LogEvent) - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Determine if the LogEvent should be processed or ignored.
- isFiltered(LogEvent) - Method in interface org.apache.logging.log4j.core.filter.Filterable
-
Determines if the event should be filtered.
- isIgnoreExceptions() - Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- isIgnoreExceptions() - Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
-
Returns how exceptions thrown on the instrumented Appender
are
handled.
- isIgnoreExceptions() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- isIgnoreExceptions() - Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
Returns how exceptions thrown on the instrumented AsyncAppender
are handled.
- isIncludeLocation() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
Returns true
if this AsyncAppender will take a snapshot of the stack with
every log event to determine the class and method where the logging call
was made.
- isIncludeLocation() - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
Indicates whether the source of the logging request is required downstream.
- isIncludeLocation() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- isIncludeLocation() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns the value of logger configuration attribute includeLocation
,
or, if no such attribute was configured, true
if logging is
synchronous or false
if logging is asynchronous.
- isIncludeLocation() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- isIncludeLocation() - Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
Returns true
if this AsyncAppender will take a snapshot of the stack with
every log event to determine the class and method where the logging call
was made.
- isIncludeLocation() - Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
Returns true
if this AsyncAppender will take a snapshot of the
stack with every log event to determine the class and method where the
logging call was made.
- isIncludeLocation() - Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- isIncludeLocation() - Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
-
Returns whether the instrumented LoggerConfig
is configured to
include location.
- isIncludeLocation() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Returns whether the source of the logging request is required downstream.
- isLeftAligned() - Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Determine if left aligned.
- isLocking() - Method in class org.apache.logging.log4j.core.appender.FileManager
-
Returns the lock status.
- isMatch(char[], int, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Returns the number of matching characters, zero for no match.
- isMatch(char[], int) - Method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Returns the number of matching characters, zero for no match.
- isNotEmpty(CharSequence) - Static method in class org.apache.logging.log4j.core.helpers.Strings
-
Checks if a CharSequence is not empty ("") and not null.
- isNotNull(T, String) - Static method in class org.apache.logging.log4j.core.helpers.Assert
-
Throws a NullPointerException
if the specified parameter is
null
, otherwise returns the specified parameter.
- isObjectPrintable() - Method in class org.apache.logging.log4j.core.config.plugins.PluginType
-
- isOpen() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Returns the status of the stream.
- isRoot() - Method in class org.apache.logging.log4j.core.config.Node
-
- isRunning() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
- isShutdownHookEnabled - Variable in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- isShutdownHookEnabled() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- isShutdownHookEnabled() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- isStarted() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
Returns true if the Appender is started, false otherwise.
- isStarted() - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Determine if the the Filter has started.
- isStarted() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- isStarted() - Method in interface org.apache.logging.log4j.core.LifeCycle
-
- isStarted() - Method in class org.apache.logging.log4j.core.LoggerContext
-
- isSupported() - Static method in class org.apache.logging.log4j.core.impl.ReflectiveCallerClassUtility
-
Indicates whether getCallerClass(int)
can be used on this JVM.
- isTriggeringEvent(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
-
Determines if a rollover should occur.
- isTriggeringEvent(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy
-
Determine if a rollover should be triggered.
- isTriggeringEvent(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
-
Returns true if a rollover should occur.
- isTriggeringEvent(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy
-
Determine whether a rollover should occur.
- isTriggeringEvent(LogEvent) - Method in interface org.apache.logging.log4j.core.appender.rolling.TriggeringPolicy
-
Determines if a rollover may be appropriate at this time.
- isUnicode() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- iterator() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- Layout<T extends Serializable> - Interface in org.apache.logging.log4j.core
-
Lays out a
LogEvent in different formats.
- LevelAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
- LevelAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.LevelAttributeConverter
-
- LevelPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Returns the event's level in a StringBuilder.
- LifeCycle - Interface in org.apache.logging.log4j.core
-
- LINE_NUMBER - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
- LINE_SEP - Static variable in class org.apache.logging.log4j.core.helpers.Constants
-
Line separator.
- LineLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Returns the event's line location information in a StringBuilder.
- LineSeparatorPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats a line separator.
- listeners - Variable in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Listeners for configuration changes.
- LiteralPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats a string literal.
- LiteralPatternConverter(Configuration, String) - Constructor for class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
-
Create a new instance.
- load() - Method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
-
- load() - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- load() - Method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
-
- loadClass(String) - Static method in class org.apache.logging.log4j.core.helpers.Loader
-
Load a Class by name.
- Loader - Class in org.apache.logging.log4j.core.helpers
-
Load resources (or images) from various sources.
- LOCALIZED_MESSAGE - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
- locateContext(String, String) - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- locateContext(String, Object, URI) - Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- locateContext(String, Object, URI) - Method in interface org.apache.logging.log4j.core.selector.NamedContextSelector
-
Locate the LoggerContext with the specified name.
- log(LogEvent) - Method in class org.apache.logging.log4j.core.AbstractServer
-
- log(Marker, String, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.async.AsyncLogger
-
- log(String, Marker, String, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Logs an event.
- log(LogEvent) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Logs an event.
- log(StatusData) - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- log(Marker, String, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.Logger
-
- LOG4J_CONFIG_LOCATION - Static variable in interface org.apache.logging.log4j.core.web.Log4jWebSupport
-
The ServletContext
parameter name for the location of the configuration.
- LOG4J_CONTEXT_NAME - Static variable in interface org.apache.logging.log4j.core.web.Log4jWebSupport
-
The
ServletContext
parameter name for the name of the
LoggerContext
.
- LOG4J_CONTEXT_SELECTOR - Static variable in class org.apache.logging.log4j.core.helpers.Constants
-
Name of the system property to use to identify the ContextSelector Class.
- LOG4J_DEFAULT_STATUS_LEVEL - Static variable in class org.apache.logging.log4j.core.helpers.Constants
-
- LOG4J_LOG_EVENT_FACTORY - Static variable in class org.apache.logging.log4j.core.helpers.Constants
-
Name of the system property to use to identify the LogEvent factory.
- Log4jContextFactory - Class in org.apache.logging.log4j.core.impl
-
Factory to locate a ContextSelector and then load a LoggerContext.
- Log4jContextFactory() - Constructor for class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Constructor that initializes the ContextSelector.
- Log4jLogEvent - Class in org.apache.logging.log4j.core.impl
-
Implementation of a LogEvent.
- Log4jLogEvent(long) - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- Log4jLogEvent(String, Marker, String, Level, Message, Throwable) - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Constructor.
- Log4jLogEvent(String, Marker, String, Level, Message, List<Property>, Throwable) - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Constructor.
- Log4jLogEvent(String, Marker, String, Level, Message, Throwable, Map<String, String>, ThreadContext.ContextStack, String, StackTraceElement, long) - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Constructor.
- Log4jServletContainerInitializer - Class in org.apache.logging.log4j.core.web
-
In a Servlet 3.0 or newer environment, this initializer is responsible for starting up Log4j logging before anything
else happens in application initialization.
- Log4jServletContainerInitializer() - Constructor for class org.apache.logging.log4j.core.web.Log4jServletContainerInitializer
-
- Log4jServletContextListener - Class in org.apache.logging.log4j.core.web
-
In environments older than Servlet 3.0, this initializer is responsible for starting up Log4j logging before anything
else happens in application initialization.
- Log4jServletContextListener() - Constructor for class org.apache.logging.log4j.core.web.Log4jServletContextListener
-
- Log4jServletFilter - Class in org.apache.logging.log4j.core.web
-
This is responsible for the following:
Clearing the logger context when the application has finished starting up.
Setting the logger context before processing a request and clearing it after processing a request.
Setting the logger context when the application is starting to shut down.
This filter is a once-per-request filter.
- Log4jServletFilter() - Constructor for class org.apache.logging.log4j.core.web.Log4jServletFilter
-
- Log4jWebSupport - Interface in org.apache.logging.log4j.core.web
-
Specifies an interface for setting and clearing a thread-bound
LoggerContext
in a Java EE web application.
- LogEvent - Interface in org.apache.logging.log4j.core
-
- logEvent(LogEvent) - Method in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- LogEventFactory - Interface in org.apache.logging.log4j.core.impl
-
- LogEventPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
LoggingEventPatternConverter is a base class for pattern converters
that can format information from instances of LoggingEvent.
- LogEventPatternConverter(String, String) - Constructor for class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
-
Constructs an instance of LoggingEventPatternConverter.
- LOGGER - Static variable in class org.apache.logging.log4j.core.appender.AbstractManager
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.appender.rewrite.PropertiesRewritePolicy
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
- LOGGER - Static variable in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.config.Configurator
-
- LOGGER - Static variable in class org.apache.logging.log4j.core.config.LoggerConfig
-
- LOGGER - Static variable in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
- LOGGER - Static variable in class org.apache.logging.log4j.core.layout.AbstractLayout
-
Allow subclasses access to the status logger without creating another instance.
- Logger - Class in org.apache.logging.log4j.core
-
- Logger(LoggerContext, String, MessageFactory) - Constructor for class org.apache.logging.log4j.core.Logger
-
The constructor.
- logger - Variable in class org.apache.logging.log4j.core.net.AbstractJMSReceiver
-
Logger to capture diagnostics.
- LOGGER - Static variable in class org.apache.logging.log4j.core.net.DatagramOutputStream
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.net.MulticastDNSAdvertiser
-
- LOGGER - Static variable in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- LOGGER - Static variable in class org.apache.logging.log4j.core.pattern.AbstractPatternConverter
-
Allow subclasses access to the status logger.
- Logger.PrivateConfig - Class in org.apache.logging.log4j.core
-
The binding between a Logger and its configuration.
- Logger.PrivateConfig(Configuration, Logger) - Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- Logger.PrivateConfig(Logger.PrivateConfig, Level) - Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- Logger.PrivateConfig(Logger.PrivateConfig, LoggerConfig) - Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- LoggerConfig - Class in org.apache.logging.log4j.core.config
-
Logger object that is created via configuration.
- LoggerConfig() - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
-
Default constructor.
- LoggerConfig(String, Level, boolean) - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
-
Constructor that sets the name, level and additive values.
- LoggerConfig(String, List<AppenderRef>, Filter, Level, boolean, Property[], Configuration, boolean) - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
-
- loggerConfig - Variable in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- LoggerConfig.RootLogger - Class in org.apache.logging.log4j.core.config
-
The root Logger.
- LoggerConfig.RootLogger() - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger
-
- LoggerConfigAdmin - Class in org.apache.logging.log4j.core.jmx
-
Implementation of the LoggerConfigAdminMBean
interface.
- LoggerConfigAdmin(String, LoggerConfig) - Constructor for class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
Constructs a new LoggerConfigAdmin
with the specified contextName
and logger config.
- LoggerConfigAdminMBean - Interface in org.apache.logging.log4j.core.jmx
-
The MBean interface for monitoring and managing a LoggerConfig
.
- LoggerContext - Class in org.apache.logging.log4j.core
-
The LoggerContext is the anchor for the logging system.
- LoggerContext(String) - Constructor for class org.apache.logging.log4j.core.LoggerContext
-
Constructor taking only a name.
- LoggerContext(String, Object) - Constructor for class org.apache.logging.log4j.core.LoggerContext
-
Constructor taking a name and a reference to an external context.
- LoggerContext(String, Object, URI) - Constructor for class org.apache.logging.log4j.core.LoggerContext
-
Constructor taking a name, external context and a configuration URI.
- LoggerContext(String, Object, String) - Constructor for class org.apache.logging.log4j.core.LoggerContext
-
Constructor taking a name external context and a configuration location
String.
- LoggerContext.Status - Enum in org.apache.logging.log4j.core
-
Status of the LoggerContext.
- LoggerContextAdmin - Class in org.apache.logging.log4j.core.jmx
-
Implementation of the LoggerContextAdminMBean
interface.
- LoggerContextAdmin(LoggerContext, Executor) - Constructor for class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
Constructs a new LoggerContextAdmin
with the Executor
to
be used for sending Notification
s asynchronously to listeners.
- LoggerContextAdminMBean - Interface in org.apache.logging.log4j.core.jmx
-
The MBean interface for monitoring and managing a LoggerContext
.
- LoggerFields - Class in org.apache.logging.log4j.core.layout
-
A LoggerFields container.
- LoggerPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats a logger name.
- Loggers - Class in org.apache.logging.log4j.core.config
-
- Loggers(ConcurrentMap<String, LoggerConfig>, LoggerConfig) - Constructor for class org.apache.logging.log4j.core.config.Loggers
-
- LoggersPlugin - Class in org.apache.logging.log4j.core.config.plugins
-
Container of Logger objects.
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.ContextMapLookup
-
Looks up the value from the ThreadContext Map.
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.ContextMapLookup
-
Looks up the value from the ThreadContext Map.
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.DateLookup
-
Looks up the value of the environment variable.
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.DateLookup
-
Looks up the value of the environment variable.
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.EnvironmentLookup
-
Looks up the value of the environment variable.
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.EnvironmentLookup
-
Looks up the value of the environment variable.
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.Interpolator
-
Resolves the specified variable.
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.Interpolator
-
Resolves the specified variable.
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.JndiLookup
-
Looks up the value of the JNDI resource.
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.JndiLookup
-
Looks up the value of the JNDI resource.
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.MapLookup
-
Looks up a String key to a String value using the map.
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.MapLookup
-
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.ResourceBundleLookup
-
Looks up the value for the key in the format "BundleName:BundleKey".
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.ResourceBundleLookup
-
Looks up the value for the key in the format "BundleName:BundleKey".
- lookup(String) - Method in interface org.apache.logging.log4j.core.lookup.StrLookup
-
Looks up a String key to a String value.
- lookup(LogEvent, String) - Method in interface org.apache.logging.log4j.core.lookup.StrLookup
-
Looks up a String key to a String value possibly using the current LogEvent.
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.StructuredDataLookup
-
Looks up the value for the key.
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.StructuredDataLookup
-
Looks up the value for the key using the data in the LogEvent.
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.SystemPropertiesLookup
-
Looks up the value for the key.
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.SystemPropertiesLookup
-
Looks up the value for the key using the data in the LogEvent.
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.WebLookup
-
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.WebLookup
-
- lookup(Context, String) - Static method in class org.apache.logging.log4j.core.net.AbstractJMSManager
-
Looks up the name in the context.
- lookup(Context, String) - Method in class org.apache.logging.log4j.core.net.AbstractJMSReceiver
-
Looks up an object from the Context.
- lookup(Context, String) - Static method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- RandomAccessFileAppender - Class in org.apache.logging.log4j.core.appender
-
File Appender.
- RandomAccessFileManager - Class in org.apache.logging.log4j.core.appender
-
Extends OutputStreamManager but instead of using a buffered output stream,
this class uses a ByteBuffer
and a RandomAccessFile
to do the
I/O.
- RandomAccessFileManager(RandomAccessFile, String, OutputStream, boolean, int, String, Layout<? extends Serializable>) - Constructor for class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
- Reconfigurable - Interface in org.apache.logging.log4j.core.config
-
Interface to be implemented by Configurations that can be reconfigured at runtime.
- reconfigure() - Method in class org.apache.logging.log4j.core.config.JSONConfiguration
-
- reconfigure() - Method in interface org.apache.logging.log4j.core.config.Reconfigurable
-
- reconfigure() - Method in class org.apache.logging.log4j.core.config.XMLConfiguration
-
- reconfigure() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Reconfigure the context.
- ReflectiveCallerClassUtility - Class in org.apache.logging.log4j.core.impl
-
Utility class that handles the instability of the Sun/OpenJDK
sun.reflect.Reflection.getCallerClass(int)
method.
Background: This method, available only in the Oracle/Sun/OpenJDK implementations of the Java
Virtual Machine, is a much more efficient mechanism for determining the
Class
of the caller of a particular
method.
- RegexFilter - Class in org.apache.logging.log4j.core.filter
-
This filter returns the onMatch result if the message matches the regular expression.
- RegexReplacement - Class in org.apache.logging.log4j.core.pattern
-
Replace tokens in the LogEvent message.
- RegexReplacementConverter - Class in org.apache.logging.log4j.core.pattern
-
Replacement pattern converter.
- RelativeTimePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Returns the relative time in milliseconds since JVM Startup.
- RelativeTimePatternConverter() - Constructor for class org.apache.logging.log4j.core.pattern.RelativeTimePatternConverter
-
Private constructor.
- release() - Method in class org.apache.logging.log4j.core.appender.AbstractManager
-
Called to signify that this Manager is no longer required by an Appender.
- releaseSub() - Method in class org.apache.logging.log4j.core.appender.AbstractManager
-
May be overridden by Managers to perform processing while the Manager is being released and the
lock is held.
- releaseSub() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
- releaseSub() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Default hook to write footer during close.
- releaseSub() - Method in class org.apache.logging.log4j.core.net.JMSQueueManager
-
- releaseSub() - Method in class org.apache.logging.log4j.core.net.JMSTopicManager
-
- removeAll() - Method in class org.apache.logging.log4j.core.helpers.CyclicBuffer
-
Removes all the elements from the buffer and returns them.
- removeAppender(String) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Remove an Appender.
- removeAppender(String) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Removes the Appender with the specific name.
- removeAppender(Appender) - Method in class org.apache.logging.log4j.core.Logger
-
This method is not exposed through the public API and is used primarily for unit testing.
- removeConfigurationFactory(ConfigurationFactory) - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Remove the ConfigurationFactory.
- removeContext(LoggerContext) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
- removeContext(LoggerContext) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Removes knowledge of a LoggerContext.
- removeContext(LoggerContext) - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- removeContext(LoggerContext) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- removeContext(LoggerContext) - Method in interface org.apache.logging.log4j.core.selector.ContextSelector
-
Remove any references to the LoggerContext.
- removeContext(LoggerContext) - Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- removeContext(String) - Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- removeContext(String) - Method in interface org.apache.logging.log4j.core.selector.NamedContextSelector
-
Locate the LoggerContext with the specified name using the default configuration.
- removeFilter(Filter) - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Remove a Filter.
- removeFilter(Filter) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- removeFilter(Filter) - Method in interface org.apache.logging.log4j.core.filter.Filterable
-
Removes a Filter.
- removeFilter(Filter) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Removes a Filter from the current Configuration.
- removeListener(ConfigurationListener) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Remove a ConfigurationListener.
- removeListener(ConfigurationListener) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- removeLogger(String) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Removing a logger cannot be done atomically so is not allowed in an active configuration.
- removePropertyChangeListener(PropertyChangeListener) - Method in class org.apache.logging.log4j.core.LoggerContext
-
- replace(Object, Map<String, String>) - Static method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables in the given source object with
their matching values from the map.
- replace(Object, Map<String, String>, String, String) - Static method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables in the given source object with
their matching values from the map.
- replace(Object, Properties) - Static method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables in the given source object with their matching
values from the properties.
- replace(String) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(String, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(LogEvent, String, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(char[]) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(LogEvent, char[]) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(char[], int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(LogEvent, char[], int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(StringBuffer) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(LogEvent, StringBuffer) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(StringBuffer, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(LogEvent, StringBuffer, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(StringBuilder) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(StringBuilder, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(LogEvent, StringBuilder, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(Object) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables in the given source object with
their matching values from the resolver.
- replace(LogEvent, Object) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables in the given source object with
their matching values from the resolver.
- replaceIn(StringBuffer) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables within the given source buffer
with their matching values from the resolver.
- replaceIn(StringBuffer, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables within the given source buffer
with their matching values from the resolver.
- replaceIn(LogEvent, StringBuffer, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables within the given source buffer
with their matching values from the resolver.
- replaceIn(StringBuilder) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceIn(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceIn(StringBuilder, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceIn(LogEvent, StringBuilder, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceManager(M) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
- replaceManager(T) - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
Replaces the underlying manager in use within this appender.
- reportException(Exception) - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
-
Capture exception.
- reportException(Exception) - Method in class org.apache.logging.log4j.core.appender.rolling.action.GZCompressAction
-
Capture exception.
- reportException(Exception) - Method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
-
Capture exception.
- reregisterMBeansAfterReconfigure() - Static method in class org.apache.logging.log4j.core.jmx.Server
-
- reregisterMBeansAfterReconfigure(MBeanServer) - Static method in class org.apache.logging.log4j.core.jmx.Server
-
- resetConfigurationFactory() - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Reset the ConfigurationFactory to the default.
- ResolverUtil - Class in org.apache.logging.log4j.core.config.plugins
-
ResolverUtil is used to locate classes that are available in the/a class path and meet
arbitrary conditions.
- ResolverUtil() - Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
- ResolverUtil.AnnotatedWith - Class in org.apache.logging.log4j.core.config.plugins
-
A Test that checks to see if each class is annotated with a specific annotation.
- ResolverUtil.AnnotatedWith(Class<? extends Annotation>) - Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.AnnotatedWith
-
Constructs an AnnotatedWith test for the specified annotation type.
- ResolverUtil.ClassTest - Class in org.apache.logging.log4j.core.config.plugins
-
Test against a Class.
- ResolverUtil.ClassTest() - Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.ClassTest
-
- ResolverUtil.IsA - Class in org.apache.logging.log4j.core.config.plugins
-
A Test that checks to see if each class is assignable to the provided class.
- ResolverUtil.IsA(Class<?>) - Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.IsA
-
Constructs an IsA test using the supplied Class as the parent class/interface.
- ResolverUtil.NameEndsWith - Class in org.apache.logging.log4j.core.config.plugins
-
A Test that checks to see if each class name ends with the provided suffix.
- ResolverUtil.NameEndsWith(String) - Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.NameEndsWith
-
Constructs a NameEndsWith test using the supplied suffix.
- ResolverUtil.NameIs - Class in org.apache.logging.log4j.core.config.plugins
-
A Test that checks to see if the class name matches.
- ResolverUtil.NameIs(String) - Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.NameIs
-
- ResolverUtil.ResourceTest - Class in org.apache.logging.log4j.core.config.plugins
-
Test against a resource.
- ResolverUtil.ResourceTest() - Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.ResourceTest
-
- ResolverUtil.Test - Interface in org.apache.logging.log4j.core.config.plugins
-
A simple interface that specifies how to test classes to determine if they
are to be included in the results produced by the ResolverUtil.
- resolveVariable(LogEvent, String, StringBuilder, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Internal method that resolves the value of a variable.
- ResourceBundleLookup - Class in org.apache.logging.log4j.core.lookup
-
Looks up keys from resource bundles.
- ResourceBundleLookup() - Constructor for class org.apache.logging.log4j.core.lookup.ResourceBundleLookup
-
- rewrite(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy
-
Rewrite the event.
- rewrite(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rewrite.PropertiesRewritePolicy
-
Rewrite the event.
- rewrite(LogEvent) - Method in interface org.apache.logging.log4j.core.appender.rewrite.RewritePolicy
-
Rewrite a logging event.
- RewriteAppender - Class in org.apache.logging.log4j.core.appender.rewrite
-
This Appender allows the logging event to be manipulated before it is processed by other Appenders.
- RewritePolicy - Interface in org.apache.logging.log4j.core.appender.rewrite
-
Interface to be implemented by components that support modifications to the LogEvent.
- RFC5424 - Static variable in class org.apache.logging.log4j.core.appender.SyslogAppender
-
- RFC5424Layout - Class in org.apache.logging.log4j.core.layout
-
Formats a log event in accordance with RFC 5424.
- RingBufferAdmin - Class in org.apache.logging.log4j.core.jmx
-
Instruments an LMAX Disruptor ring buffer.
- RingBufferAdmin(RingBuffer<?>, String) - Constructor for class org.apache.logging.log4j.core.jmx.RingBufferAdmin
-
- RingBufferAdminMBean - Interface in org.apache.logging.log4j.core.jmx
-
The MBean interface for monitoring and managing an LMAX Disruptor ring
buffer.
- RingBufferLogEvent - Class in org.apache.logging.log4j.core.async
-
When the Disruptor is started, the RingBuffer is populated with event
objects.
- RingBufferLogEvent() - Constructor for class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- RingBufferLogEventHandler - Class in org.apache.logging.log4j.core.async
-
This event handler gets passed messages from the RingBuffer as they become
available.
- RingBufferLogEventHandler() - Constructor for class org.apache.logging.log4j.core.async.RingBufferLogEventHandler
-
- RingBufferLogEventTranslator - Class in org.apache.logging.log4j.core.async
-
This class is responsible for writing elements that make up a log event into
the ringbuffer RingBufferLogEvent
.
- RingBufferLogEventTranslator() - Constructor for class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
-
- RollingFileAppender - Class in org.apache.logging.log4j.core.appender
-
An appender that writes to files and can roll over at intervals.
- RollingFileManager - Class in org.apache.logging.log4j.core.appender.rolling
-
The Rolling File Manager.
- RollingFileManager(String, String, OutputStream, boolean, long, long, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>) - Constructor for class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
- RollingRandomAccessFileAppender - Class in org.apache.logging.log4j.core.appender
-
An appender that writes to random access files and can roll over at
intervals.
- RollingRandomAccessFileManager - Class in org.apache.logging.log4j.core.appender.rolling
-
Extends RollingFileManager but instead of using a buffered output stream,
this class uses a ByteBuffer
and a RandomAccessFile
to do the
I/O.
- RollingRandomAccessFileManager(RandomAccessFile, String, String, OutputStream, boolean, boolean, long, long, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>) - Constructor for class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- rollover(RollingFileManager) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
Perform the rollover.
- rollover(RollingFileManager) - Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverStrategy
-
Prepare for a rollover.
- RolloverDescription - Interface in org.apache.logging.log4j.core.appender.rolling
-
Description of actions needed to complete rollover.
- RolloverDescriptionImpl - Class in org.apache.logging.log4j.core.appender.rolling
-
Description of actions needed to complete rollover.
- RolloverDescriptionImpl(String, boolean, Action, Action) - Constructor for class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
-
Create new instance.
- RolloverFrequency - Enum in org.apache.logging.log4j.core.appender.rolling
-
Enumeration of rollover frequency values.
- RolloverStrategy - Interface in org.apache.logging.log4j.core.appender.rolling
-
A RollingPolicy
specifies the actions taken on a logging file rollover.
- rootNode - Variable in class org.apache.logging.log4j.core.config.BaseConfiguration
-
The root node of the configuration.
- RootThrowablePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Outputs the Throwable portion of the LoggingEvent as a full stacktrace
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.
- Route - Class in org.apache.logging.log4j.core.appender.routing
-
A Route to an appender.
- Routes - Class in org.apache.logging.log4j.core.appender.routing
-
Used to contain the individual Route elements.
- RoutingAppender - Class in org.apache.logging.log4j.core.appender.routing
-
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.
- run() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
- run() - Method in class org.apache.logging.log4j.core.appender.rolling.action.CompositeAction
- run() - Method in class org.apache.logging.log4j.core.net.SocketServer
-
Accept incoming events and processes them.
- run() - Method in class org.apache.logging.log4j.core.net.UDPSocketServer
-
Accept incoming events and processes them.
- SecretKeyProvider - Interface in org.apache.logging.log4j.core.helpers
-
- send(Serializable) - Method in class org.apache.logging.log4j.core.net.AbstractJMSManager
-
Send the message.
- send(Serializable, Session, MessageProducer) - Method in class org.apache.logging.log4j.core.net.AbstractJMSManager
-
Send the Object.
- send(Serializable) - Method in class org.apache.logging.log4j.core.net.JMSQueueManager
-
- send(Serializable) - Method in class org.apache.logging.log4j.core.net.JMSTopicManager
-
- sendEvents(Layout<?>, LogEvent) - Method in class org.apache.logging.log4j.core.net.SMTPManager
-
Send the contents of the cyclic buffer as an e-mail message.
- sendMultipartMessage(MimeMessage, MimeMultipart) - Method in class org.apache.logging.log4j.core.net.SMTPManager
-
- SequenceNumberPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the event sequence number.
- serialize(Log4jLogEvent, boolean) - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- SerializedLayout - Class in org.apache.logging.log4j.core.layout
-
Format a LogEvent in its serialized form.
- Server - Class in org.apache.logging.log4j.core.jmx
-
Creates MBeans to instrument various classes in the log4j class hierarchy.
- set(String, Object) - Method in class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBObject
-
- set(String, NoSQLObject<Map<String, Object>>) - Method in class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBObject
-
- set(String, Object[]) - Method in class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBObject
-
- set(String, NoSQLObject<Map<String, Object>>[]) - Method in class org.apache.logging.log4j.core.appender.db.nosql.couchdb.CouchDBObject
-
- set(String, Object) - Method in class org.apache.logging.log4j.core.appender.db.nosql.mongodb.MongoDBObject
-
- set(String, NoSQLObject<BasicDBObject>) - Method in class org.apache.logging.log4j.core.appender.db.nosql.mongodb.MongoDBObject
-
- set(String, Object[]) - Method in class org.apache.logging.log4j.core.appender.db.nosql.mongodb.MongoDBObject
-
- set(String, NoSQLObject<BasicDBObject>[]) - Method in class org.apache.logging.log4j.core.appender.db.nosql.mongodb.MongoDBObject
-
- set(String, Object) - Method in interface org.apache.logging.log4j.core.appender.db.nosql.NoSQLObject
-
Sets the value of a property on this object to a String or primitive.
- set(String, NoSQLObject<W>) - Method in interface org.apache.logging.log4j.core.appender.db.nosql.NoSQLObject
-
Sets the value of a property on this object to a nested complex object.
- set(String, Object[]) - Method in interface org.apache.logging.log4j.core.appender.db.nosql.NoSQLObject
-
Sets the value of a property on this object to an array of Strings or primitives.
- set(String, NoSQLObject<W>[]) - Method in interface org.apache.logging.log4j.core.appender.db.nosql.NoSQLObject
-
Sets the value of a property on this object to an array of nested complex objects.
- setAdditive(boolean) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Sets the additive setting.
- setAdditive(boolean) - Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- setAdditive(boolean) - Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
-
Sets whether the instrumented LoggerConfig
should be additive.
- setAdditive(boolean) - Method in class org.apache.logging.log4j.core.Logger
-
This method is not exposed through the public API and is present only to support the Log4j 1.2
compatibility bridge.
- setAdvertiser(Advertiser) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- setAdvertiser(Advertiser) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- setClassLoader(ClassLoader) - Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
Sets an explicit ClassLoader that should be used when scanning for classes.
- setConfigLocation(URI) - Method in class org.apache.logging.log4j.core.LoggerContext
-
- setConfigLocationURI(String) - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- setConfigLocationURI(String) - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Sets the configuration location to the specified URI.
- setConfigText(String, String) - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- setConfigText(String, String) - Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Sets the configuration text.
- setConfigurationFactory(ConfigurationFactory) - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Set the configuration factory.
- setConfigurationMonitor(ConfigurationMonitor) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- setConfigurationMonitor(ConfigurationMonitor) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- setContextMap(Map<String, String>) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setContextStack(ThreadContext.ContextStack) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setConversionPattern(String) - Method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Set the ConversionPattern option.
- setEnableSubstitutionInVariables(boolean) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets a flag whether substitution is done in variable names.
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- setEndOfBatch(boolean) - Method in interface org.apache.logging.log4j.core.LogEvent
-
Sets whether this event is the last one in a batch.
- setEscapeChar(char) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the escape character.
- setExternalContext(Object) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Set the external context.
- setFile(File) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- setFooter(byte[]) - Method in class org.apache.logging.log4j.core.layout.AbstractLayout
-
Set the footer.
- setFQCN(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setFrom(String) - Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- setHandler(ErrorHandler) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
The handler must be set before the appender is started.
- setHandler(ErrorHandler) - Method in interface org.apache.logging.log4j.core.Appender
-
- setHeader(byte[]) - Method in class org.apache.logging.log4j.core.layout.AbstractLayout
-
Set the header.
- setIncludeLocation(boolean) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
- setIncludeLocation(boolean) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- setIncludeLocation(boolean) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- setIncludeLocation(boolean) - Method in interface org.apache.logging.log4j.core.LogEvent
-
Sets whether the source of the logging request is required downstream.
- setInputStream(InputStream) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- setLevel(Level) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setLevel(Level) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Sets the logging Level.
- setLevel(String) - Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- setLevel(String) - Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
-
Sets the LoggerConfig
level to the specified value.
- setLevel(String) - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- setLevel(String) - Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
-
Sets the StatusLogger
level to the specified value.
- setLevel(Level) - Method in class org.apache.logging.log4j.core.Logger
-
This method is not exposed through the public API and is provided primarily for unit testing.
- setLocation(String) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- setLocation(String) - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- setLogEventFactory(LogEventFactory) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Sets the LogEventFactory.
- setLoggerAdditive(Logger, boolean) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Marks a LoggerConfig as additive.
- setLoggerAdditive(Logger, boolean) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- setLoggerContext() - Method in interface org.apache.logging.log4j.core.web.Log4jWebSupport
-
Sets the logger context so that code executing afterwards can easily and quickly access loggers via
LogManager.getLogger()
.
- setLoggerName(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setMarker(Marker) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setMessage(Message) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setMessage(String) - Method in class org.apache.logging.log4j.core.appender.TLSSyslogFrame
-
- setMillis(long) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setName(String) - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Set the name of the configuration.
- setObject(Object) - Method in class org.apache.logging.log4j.core.config.Node
-
- setOutputStream(OutputStream) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
- setParent(LoggerConfig) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Sets the parent of this LoggerConfig.
- setPassword(String) - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- setRecipients(Message.RecipientType, String) - Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- setReplyTo(String) - Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- setSequenceCallback(Sequence) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEventHandler
-
- setSource(StackTraceElement) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setSubject(String) - Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- setThreadName(String) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setThrown(Throwable) - Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setup() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- setup() - Method in class org.apache.logging.log4j.core.config.JSONConfiguration
-
- setup() - Method in class org.apache.logging.log4j.core.config.XMLConfiguration
-
- setValue(String) - Method in class org.apache.logging.log4j.core.config.Node
-
- setValues(AsyncLogger, String, Marker, String, Level, Message, Throwable, Map<String, String>, ThreadContext.ContextStack, String, StackTraceElement, long) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- setValues(AsyncLogger, String, Marker, String, Level, Message, Throwable, Map<String, String>, ThreadContext.ContextStack, String, StackTraceElement, long) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
-
- setVariablePrefix(char) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the variable prefix to use.
- setVariablePrefix(String) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the variable prefix to use.
- setVariablePrefixMatcher(StrMatcher) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the variable prefix matcher currently in use.
- setVariableResolver(StrLookup) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the VariableResolver that is used to lookup variables.
- setVariableSuffix(char) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the variable suffix to use.
- setVariableSuffix(String) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the variable suffix to use.
- setVariableSuffixMatcher(StrMatcher) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the variable suffix matcher currently in use.
- Severity - Enum in org.apache.logging.log4j.core.net
-
Severity values used by the Syslog system.
- shutdown() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
This method is called from the
AbstractManager.release()
method when the appender is stopped or the appender's manager
is replaced.
- shutdown(LoggerContext) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Shuts down the given logging context.
- shutdown() - Method in class org.apache.logging.log4j.core.net.SocketServer
-
Shutdown the server.
- shutdown() - Method in class org.apache.logging.log4j.core.net.UDPSocketServer
-
Shutdown the server.
- shutdownInternal() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Implementations should implement this method to perform any proprietary disconnection / shutdown operations.
- shutdownInternal() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JDBCDatabaseManager
-
- shutdownInternal() - Method in class org.apache.logging.log4j.core.appender.db.jpa.JPADatabaseManager
-
- shutdownInternal() - Method in class org.apache.logging.log4j.core.appender.db.nosql.NoSQLDatabaseManager
-
- SIMPLE_CONVERSION_PATTERN - Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
-
A simple pattern.
- singleQuoteMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Returns a matcher which matches the single quote character.
- size() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- SizeBasedTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
-
- SizeBasedTriggeringPolicy() - Constructor for class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
-
Constructs a new instance.
- SizeBasedTriggeringPolicy(long) - Constructor for class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
-
Constructs a new instance.
- SMTPAppender - Class in org.apache.logging.log4j.core.appender
-
Send an e-mail when a specific logging event occurs, typically on errors or
fatal errors.
- SMTPManager - Class in org.apache.logging.log4j.core.net
-
Manager for sending SMTP events.
- SMTPManager(String, Session, MimeMessage, SMTPManager.FactoryData) - Constructor for class org.apache.logging.log4j.core.net.SMTPManager
-
- SocketAppender - Class in org.apache.logging.log4j.core.appender
-
An Appender that delivers events over socket connections.
- SocketAppender(String, Layout<? extends Serializable>, Filter, AbstractSocketManager, boolean, boolean, Advertiser) - Constructor for class org.apache.logging.log4j.core.appender.SocketAppender
-
- SocketServer - Class in org.apache.logging.log4j.core.net
-
Listens for events over a socket connection.
- SocketServer(int) - Constructor for class org.apache.logging.log4j.core.net.SocketServer
-
Constructor.
- SPACE - Static variable in class org.apache.logging.log4j.core.appender.TLSSyslogFrame
-
- spaceMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Returns a matcher which matches the space character.
- splitMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Matches the same characters as StringTokenizer,
namely space, tab, newline and formfeed.
- SSLConfiguration - Class in org.apache.logging.log4j.core.net.ssl
-
SSL Configuration
- SSLConfigurationDefaults - Class in org.apache.logging.log4j.core.net.ssl
-
- SSLConfigurationDefaults() - Constructor for class org.apache.logging.log4j.core.net.ssl.SSLConfigurationDefaults
-
- SSLConfigurationException - Exception in org.apache.logging.log4j.core.net.ssl
-
- SSLConfigurationException(Exception) - Constructor for exception org.apache.logging.log4j.core.net.ssl.SSLConfigurationException
-
- StackTraceElementAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
-
- StackTraceElementAttributeConverter() - Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.StackTraceElementAttributeConverter
-
- StackTracePackageElement - Class in org.apache.logging.log4j.core.impl
-
Package data for a StackTraceElement.
- StackTracePackageElement(String, String, boolean) - Constructor for class org.apache.logging.log4j.core.impl.StackTracePackageElement
-
Constructor that takes the location, version, and exact match flag.
- start() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
Start the Appender.
- start() - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
- start() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
- start() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
- start() - Method in class org.apache.logging.log4j.core.appender.FailoverAppender
-
- start() - Method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
-
- start() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
-
- start() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Initialize the configuration.
- start() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- start() - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Mark the Filter as started.
- start() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- start() - Method in interface org.apache.logging.log4j.core.LifeCycle
-
- start() - Method in class org.apache.logging.log4j.core.LoggerContext
-
- start(Configuration) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Start with a specific configuration.
- startFilter() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
- startFilter() - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Make the Filter available for use.
- startup() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
This method is called within the appender when the appender is started.
- startupInternal() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Implementations should implement this method to perform any proprietary startup operations.
- startupInternal() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JDBCDatabaseManager
-
- startupInternal() - Method in class org.apache.logging.log4j.core.appender.db.jpa.JPADatabaseManager
-
- startupInternal() - Method in class org.apache.logging.log4j.core.appender.db.nosql.NoSQLDatabaseManager
-
- StatusLoggerAdmin - Class in org.apache.logging.log4j.core.jmx
-
Implementation of the StatusLoggerAdminMBean
interface.
- StatusLoggerAdmin(String, Executor) - Constructor for class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
Constructs a new StatusLoggerAdmin
with the Executor
to
be used for sending Notification
s asynchronously to listeners.
- StatusLoggerAdminMBean - Interface in org.apache.logging.log4j.core.jmx
-
The MBean interface for monitoring and managing the StatusLogger
.
- stop() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
Stop the Appender.
- stop() - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
- stop() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
- stop() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
- stop() - Method in class org.apache.logging.log4j.core.appender.FileAppender
-
- stop() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
-
- stop() - Method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
-
- stop() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
-
- stop() - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
-
- stop() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
-
- stop() - Method in class org.apache.logging.log4j.core.appender.SocketAppender
-
- stop() - Static method in class org.apache.logging.log4j.core.async.AsyncLogger
-
- stop() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- stop() - Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
Tear down the configuration.
- stop() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
- stop() - Method in class org.apache.logging.log4j.core.config.JSONConfiguration
-
- stop() - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Mark the Filter as stopped.
- stop() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- stop() - Method in interface org.apache.logging.log4j.core.LifeCycle
-
- stop() - Method in class org.apache.logging.log4j.core.LoggerContext
-
- stopFilter() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
- stopFilter() - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Cleanup the Filter.
- StoreConfiguration - Class in org.apache.logging.log4j.core.net.ssl
-
- StoreConfiguration(String, String) - Constructor for class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- StoreConfigurationException - Exception in org.apache.logging.log4j.core.net.ssl
-
- StoreConfigurationException(Exception) - Constructor for exception org.apache.logging.log4j.core.net.ssl.StoreConfigurationException
-
- stringMatcher(String) - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Constructor that creates a matcher from a string.
- Strings - Class in org.apache.logging.log4j.core.helpers
-
- Strings() - Constructor for class org.apache.logging.log4j.core.helpers.Strings
-
- StrLookup - Interface in org.apache.logging.log4j.core.lookup
-
Lookup a String key to a String value.
- StrMatcher - Class in org.apache.logging.log4j.core.lookup
-
A matcher class that can be queried to determine if a character array
portion matches.
- StrMatcher() - Constructor for class org.apache.logging.log4j.core.lookup.StrMatcher
-
Constructor.
- StrSubstitutor - Class in org.apache.logging.log4j.core.lookup
-
Substitutes variables within a string by values.
- StrSubstitutor() - Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Creates a new instance with defaults for variable prefix and suffix
and the escaping character.
- StrSubstitutor(Map<String, String>) - Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(Map<String, String>, String, String) - Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(Map<String, String>, String, String, char) - Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(StrLookup) - Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(StrLookup, String, String, char) - Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(StrLookup, StrMatcher, StrMatcher, char) - Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Creates a new instance and initializes it.
- StructuredDataFilter - Class in org.apache.logging.log4j.core.filter
-
Filter based on data in a StructuredDataMessage.
- StructuredDataLookup - Class in org.apache.logging.log4j.core.lookup
-
Looks up keys from system properties.
- StructuredDataLookup() - Constructor for class org.apache.logging.log4j.core.lookup.StructuredDataLookup
-
- StyleConverter - Class in org.apache.logging.log4j.core.pattern
-
Style pattern converter.
- substitute(LogEvent, StringBuilder, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Internal method that substitutes the variables.
- substitutor - Variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- substVars(String, Properties) - Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
-
Perform variable substitution in string val
from the
values of keys found in the system propeties.
- SUFFIXES - Static variable in class org.apache.logging.log4j.core.config.JSONConfigurationFactory
-
The file extensions supported by this factory.
- SUFFIXES - Static variable in class org.apache.logging.log4j.core.config.XMLConfigurationFactory
-
Valid file extensions for XML files.
- SUPPORT_ATTRIBUTE - Static variable in interface org.apache.logging.log4j.core.web.Log4jWebSupport
-
The attribute key for the ServletContext
attribute that the singleton support instance
is stored in.
- SyslogAppender - Class in org.apache.logging.log4j.core.appender
-
The Syslog Appender.
- SyslogAppender(String, Layout<? extends Serializable>, Filter, boolean, boolean, AbstractSocketManager, Advertiser) - Constructor for class org.apache.logging.log4j.core.appender.SyslogAppender
-
- SyslogLayout - Class in org.apache.logging.log4j.core.layout
-
Formats a log event as a BSD Log record.
- SyslogLayout(Facility, boolean, String, Charset) - Constructor for class org.apache.logging.log4j.core.layout.SyslogLayout
-
- SystemClock - Class in org.apache.logging.log4j.core.helpers
-
Implementation of the Clock
interface that returns the system time.
- SystemClock() - Constructor for class org.apache.logging.log4j.core.helpers.SystemClock
-
- SystemPropertiesLookup - Class in org.apache.logging.log4j.core.lookup
-
Looks up keys from system properties.
- SystemPropertiesLookup() - Constructor for class org.apache.logging.log4j.core.lookup.SystemPropertiesLookup
-