Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abbreviate(String, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.NameAbbreviator
-
Abbreviates a name in a String.
- abbreviate(String, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.NamePatternConverter
-
Abbreviate name in string buffer.
- ABSOLUTE - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ABSOLUTE time format:
"HH:mm:ss,SSS"
. - ABSOLUTE_MICROS - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ABSOLUTE time format with microsecond precision:
"HH:mm:ss,nnnnnn"
. - ABSOLUTE_NANOS - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ABSOLUTE time format with nanosecond precision:
"HH:mm:ss,nnnnnnnnn"
. - ABSOLUTE_PERIOD - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ABSOLUTE time format variation with period separator:
"HH:mm:ss.SSS"
. - 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
-
Deprecated.
- AbstractAppender(String, Filter, Layout<? extends Serializable>, boolean) - Constructor for class org.apache.logging.log4j.core.appender.AbstractAppender
-
Deprecated.
- AbstractAppender(String, Filter, Layout<? extends Serializable>, boolean, Property[]) - Constructor for class org.apache.logging.log4j.core.appender.AbstractAppender
-
Constructor.
- AbstractAppender.Builder<B extends AbstractAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
-
Subclasses can extend this abstract Builder.
- AbstractBuilder() - Constructor for class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- AbstractConfiguration - Class in org.apache.logging.log4j.core.config
-
The base Configuration.
- AbstractConfiguration(LoggerContext, ConfigurationSource) - Constructor for class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Constructor.
- AbstractConfigurationAwareLookup - Class in org.apache.logging.log4j.core.lookup
-
StrLookup that is ConfigurationAware.
- AbstractConfigurationAwareLookup() - Constructor for class org.apache.logging.log4j.core.lookup.AbstractConfigurationAwareLookup
- AbstractConnectionSource - Class in org.apache.logging.log4j.core.appender.db.jdbc
- AbstractConnectionSource() - Constructor for class org.apache.logging.log4j.core.appender.db.jdbc.AbstractConnectionSource
- AbstractCsvLayout - Class in org.apache.logging.log4j.core.layout
-
A superclass for Comma-Separated Value (CSV) layouts.
- AbstractCsvLayout(Configuration, Charset, CSVFormat, String, String) - Constructor for class org.apache.logging.log4j.core.layout.AbstractCsvLayout
- 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
- AbstractDatabaseAppender(String, Filter, Layout<? extends Serializable>, boolean, Property[], T) - Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
Instantiates the base appender.
- AbstractDatabaseAppender(String, Filter, Layout<? extends Serializable>, boolean, T) - Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
- AbstractDatabaseAppender.Builder<B extends AbstractDatabaseAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender.db
- 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
-
Deprecated.
- AbstractDatabaseManager(String, int, Layout<? extends Serializable>) - Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Deprecated.
- AbstractDatabaseManager(String, int, Layout<? extends Serializable>, Configuration) - Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Constructs 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.
- AbstractDriverManagerConnectionSource - Class in org.apache.logging.log4j.core.appender.db.jdbc
-
A
ConnectionSource
that uses a JDBC connection string, a user name, and a password to callDriverManager.getConnection(String, String, String)
. - AbstractDriverManagerConnectionSource(String, String, String, char[], char[], Property[]) - Constructor for class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- AbstractDriverManagerConnectionSource.Builder<B extends AbstractDriverManagerConnectionSource.Builder<B>> - Class in org.apache.logging.log4j.core.appender.db.jdbc
-
Builds DriverManagerConnectionSource instances.
- AbstractFactoryData(int, Layout<? extends Serializable>) - Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager.AbstractFactoryData
-
Deprecated.
- AbstractFactoryData(Configuration) - Constructor for class org.apache.logging.log4j.core.appender.AbstractManager.AbstractFactoryData
-
Constructs the base factory data.
- AbstractFactoryData(Configuration, int, Layout<? extends Serializable>) - Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager.AbstractFactoryData
-
Constructs the base factory data.
- AbstractFileAppender<M extends OutputStreamManager> - Class in org.apache.logging.log4j.core.appender
-
Abstract File Appender.
- AbstractFileAppender.Builder<B extends AbstractFileAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
-
Builds FileAppender instances.
- 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.
- AbstractFilter.AbstractFilterBuilder<B extends AbstractFilter.AbstractFilterBuilder<B>> - Class in org.apache.logging.log4j.core.filter
- AbstractFilterable - Class in org.apache.logging.log4j.core.filter
-
Enhances a Class by allowing it to contain Filters.
- AbstractFilterable() - Constructor for class org.apache.logging.log4j.core.filter.AbstractFilterable
- AbstractFilterable(Filter) - Constructor for class org.apache.logging.log4j.core.filter.AbstractFilterable
- AbstractFilterable(Filter, Property[]) - Constructor for class org.apache.logging.log4j.core.filter.AbstractFilterable
- AbstractFilterable.Builder<B extends AbstractFilterable.Builder<B>> - Class in org.apache.logging.log4j.core.filter
-
Subclasses can extend this abstract Builder.
- AbstractFilterBuilder() - Constructor for class org.apache.logging.log4j.core.filter.AbstractFilter.AbstractFilterBuilder
- AbstractKeyStoreConfiguration - Class in org.apache.logging.log4j.core.net.ssl
-
Configuration of the KeyStore
- AbstractKeyStoreConfiguration(String, char[], String) - Constructor for class org.apache.logging.log4j.core.net.ssl.AbstractKeyStoreConfiguration
-
Deprecated.
- AbstractKeyStoreConfiguration(String, String, String) - Constructor for class org.apache.logging.log4j.core.net.ssl.AbstractKeyStoreConfiguration
-
Deprecated.
- AbstractKeyStoreConfiguration(String, PasswordProvider, String) - Constructor for class org.apache.logging.log4j.core.net.ssl.AbstractKeyStoreConfiguration
- AbstractLayout<T extends Serializable> - Class in org.apache.logging.log4j.core.layout
-
Abstract base class for Layouts.
- AbstractLayout(byte[], byte[]) - Constructor for class org.apache.logging.log4j.core.layout.AbstractLayout
-
Deprecated.
- AbstractLayout(Configuration, byte[], byte[]) - Constructor for class org.apache.logging.log4j.core.layout.AbstractLayout
-
Constructs a layout with an optional header and footer.
- AbstractLayout.Builder<B extends AbstractLayout.Builder<B>> - Class in org.apache.logging.log4j.core.layout
-
Subclasses can extend this abstract Builder.
- AbstractLifeCycle - Class in org.apache.logging.log4j.core
-
A life cycle to be extended.
- AbstractLifeCycle() - Constructor for class org.apache.logging.log4j.core.AbstractLifeCycle
- AbstractLogEvent - Class in org.apache.logging.log4j.core
-
An abstract log event implementation with default values for all methods.
- AbstractLogEvent() - Constructor for class org.apache.logging.log4j.core.AbstractLogEvent
- AbstractLookup - Class in org.apache.logging.log4j.core.lookup
-
A default lookup for others to extend.
- AbstractLookup() - Constructor for class org.apache.logging.log4j.core.lookup.AbstractLookup
- AbstractManager - Class in org.apache.logging.log4j.core.appender
-
Abstract base class used to register managers.
- AbstractManager(LoggerContext, String) - Constructor for class org.apache.logging.log4j.core.appender.AbstractManager
- AbstractManager.AbstractFactoryData - Class in org.apache.logging.log4j.core.appender
-
Implementations should extend this class for passing data between the getManager method and the manager factory class.
- AbstractNoSqlConnection<W,
T extends NoSqlObject<W>> - Class in org.apache.logging.log4j.core.appender.nosql -
Facilitates implementations of
NoSqlConnection
. - AbstractNoSqlConnection() - Constructor for class org.apache.logging.log4j.core.appender.nosql.AbstractNoSqlConnection
- 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
- AbstractOutputStreamAppender(String, Layout<? extends Serializable>, Filter, boolean, boolean, Property[], M) - Constructor for class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
Instantiates a WriterAppender and set the output destination to a new
OutputStreamWriter
initialized withos
as itsOutputStream
. - AbstractOutputStreamAppender.Builder<B extends AbstractOutputStreamAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
-
Subclasses can extend this abstract Builder.
- AbstractPathAction - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Abstract action for processing files that are accepted by the specified PathFilters.
- AbstractPathAction(String, boolean, int, PathCondition[], StrSubstitutor) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
-
Creates a new AbstractPathAction that starts scanning for files to process from the specified base path.
- 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.
- AbstractPluginVisitor<A extends Annotation> - Class in org.apache.logging.log4j.core.config.plugins.visitors
-
Base class for PluginVisitor implementations.
- AbstractPluginVisitor(Class<A>) - Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
This constructor must be overridden by implementation classes as a no-arg constructor.
- AbstractRolloverStrategy - Class in org.apache.logging.log4j.core.appender.rolling
- AbstractRolloverStrategy(StrSubstitutor) - Constructor for class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- AbstractScript - Class in org.apache.logging.log4j.core.script
-
Container for the language and body of a script.
- AbstractScript(String, String, String) - Constructor for class org.apache.logging.log4j.core.script.AbstractScript
- AbstractSocketManager - Class in org.apache.logging.log4j.core.net
-
Abstract base class for managing sockets.
- AbstractSocketManager(String, OutputStream, InetAddress, String, int, Layout<? extends Serializable>, boolean, int) - Constructor for class org.apache.logging.log4j.core.net.AbstractSocketManager
-
Constructs a new instance.
- 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
- AbstractStringLayout(Charset, byte[], byte[]) - Constructor for class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
Builds a new layout.
- AbstractStringLayout(Configuration, Charset, AbstractStringLayout.Serializer, AbstractStringLayout.Serializer) - Constructor for class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
Builds a new layout.
- AbstractStringLayout.Builder<B extends AbstractStringLayout.Builder<B>> - Class in org.apache.logging.log4j.core.layout
- AbstractStringLayout.Serializer - Interface in org.apache.logging.log4j.core.layout
- AbstractStringLayout.Serializer2 - Interface in org.apache.logging.log4j.core.layout
-
Variation of
AbstractStringLayout.Serializer
that avoids allocating temporary objects. - 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.Blue - Class in org.apache.logging.log4j.core.pattern
-
Blue style pattern converter.
- AbstractStyleNameConverter.Cyan - Class in org.apache.logging.log4j.core.pattern
-
Cyan style pattern converter.
- AbstractStyleNameConverter.Green - Class in org.apache.logging.log4j.core.pattern
-
Green style pattern converter.
- AbstractStyleNameConverter.Magenta - Class in org.apache.logging.log4j.core.pattern
-
Magenta style pattern converter.
- AbstractStyleNameConverter.Red - Class in org.apache.logging.log4j.core.pattern
-
Red style pattern converter.
- AbstractStyleNameConverter.White - Class in org.apache.logging.log4j.core.pattern
-
White style pattern converter.
- AbstractStyleNameConverter.Yellow - Class in org.apache.logging.log4j.core.pattern
-
Yellow style pattern converter.
- AbstractTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
-
Abstract convenience class for triggering policies that extend
AbstractLifeCycle
and implementTriggeringPolicy
. - AbstractTriggeringPolicy() - Constructor for class org.apache.logging.log4j.core.appender.rolling.AbstractTriggeringPolicy
- AbstractWatcher - Class in org.apache.logging.log4j.core.util
-
Watcher for configuration files.
- AbstractWatcher(Configuration, Reconfigurable, List<ConfigurationListener>) - Constructor for class org.apache.logging.log4j.core.util.AbstractWatcher
- AbstractWatcher.ReconfigurationRunnable - Class in org.apache.logging.log4j.core.util
-
Helper class for triggering a reconfiguration in a background thread.
- AbstractWriterAppender<M extends WriterManager> - Class in org.apache.logging.log4j.core.appender
-
Appends log events as strings to a writer.
- AbstractWriterAppender(String, StringLayout, Filter, boolean, boolean, M) - Constructor for class org.apache.logging.log4j.core.appender.AbstractWriterAppender
- AbstractWriterAppender(String, StringLayout, Filter, boolean, boolean, Property[], M) - Constructor for class org.apache.logging.log4j.core.appender.AbstractWriterAppender
-
Instantiates.
- accept(Path, Path, BasicFileAttributes) - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileCount
- accept(Path, Path, BasicFileAttributes) - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileSize
- accept(Path, Path, BasicFileAttributes) - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAll
- accept(Path, Path, BasicFileAttributes) - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAny
- accept(Path, Path, BasicFileAttributes) - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfFileName
- accept(Path, Path, BasicFileAttributes) - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified
- accept(Path, Path, BasicFileAttributes) - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfNot
- accept(Path, Path, BasicFileAttributes) - Method in interface org.apache.logging.log4j.core.appender.rolling.action.PathCondition
-
Returns
true
if the specified candidate path should be deleted,false
otherwise. - accept(PathCondition[], Path, Path, BasicFileAttributes) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.IfAll
-
Returns
true
if all the specified conditions accept the specified path,false
otherwise. - ACCEPT - Enum constant in enum org.apache.logging.log4j.core.Filter.Result
-
The event will be processed without further filtering based on the log Level.
- 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.
- Activator - Class in org.apache.logging.log4j.core.osgi
-
OSGi BundleActivator.
- Activator() - Constructor for class org.apache.logging.log4j.core.osgi.Activator
- 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(AppenderControl) - Method in class org.apache.logging.log4j.core.config.AppenderControlArraySet
-
Adds an AppenderControl to this set.
- add(AppenderComponentBuilder) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Adds an AppenderComponent.
- add(AppenderComponentBuilder) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- add(AppenderRefComponentBuilder) - Method in interface org.apache.logging.log4j.core.config.builder.api.LoggableComponentBuilder
-
Add an Appender reference to the Logger component.
- add(Component, ComponentBuilder<?>) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- add(CustomLevelComponentBuilder) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Adds a CustomLevel component.
- add(CustomLevelComponentBuilder) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- add(FilterComponentBuilder) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Adds a Filter component.
- add(FilterComponentBuilder) - Method in interface org.apache.logging.log4j.core.config.builder.api.FilterableComponentBuilder
-
Adds a Filter to the component.
- add(FilterComponentBuilder) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- add(LayoutComponentBuilder) - Method in interface org.apache.logging.log4j.core.config.builder.api.AppenderComponentBuilder
-
Adds a Layout to the Appender component.
- add(LoggerComponentBuilder) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Adds a Logger component.
- add(LoggerComponentBuilder) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- add(RootLoggerComponentBuilder) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Adds the root Logger component.
- add(RootLoggerComponentBuilder) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- add(ScriptComponentBuilder) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Adds a ScriptComponent.
- add(ScriptComponentBuilder) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- add(ScriptFileComponentBuilder) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Adds a ScriptFileComponent.
- add(ScriptFileComponentBuilder) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- add(LogEvent) - Method in class org.apache.logging.log4j.core.net.MailManager
-
Adds an event to the cyclic buffer.
- add(LogEvent) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- add(T) - Method in class org.apache.logging.log4j.core.util.CyclicBuffer
-
Adds an item as the last event in the buffer.
- Add - Enum constant in enum org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy.Mode
-
Keys should be added.
- addAppender(Appender) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Adds an Appender to the configuration.
- addAppender(Appender) - Method in interface org.apache.logging.log4j.core.config.Configuration
- 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.
- addAppender(Appender, Level, Filter) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Adds an Appender to the LoggerConfig.
- addAttribute(String, boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
-
Adds a boolean attribute.
- addAttribute(String, int) - Method in interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
-
Adds an integer attribute.
- addAttribute(String, Enum<?>) - Method in interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
-
Adds an enumeration attribute.
- addAttribute(String, Object) - Method in interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
-
Adds an Object attribute.
- addAttribute(String, String) - Method in class org.apache.logging.log4j.core.config.builder.api.Component
- addAttribute(String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
-
Adds a String attribute.
- addAttribute(String, Level) - Method in interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
-
Adds a logging Level attribute.
- addAuthorization(URLConnection) - Method in interface org.apache.logging.log4j.core.util.AuthorizationProvider
- addAuthorization(URLConnection) - Method in class org.apache.logging.log4j.core.util.BasicAuthorizationProvider
- addCharset(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ScriptFileComponentBuilder
- addComponent(String, Object) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- addComponent(String, Object) - Method in interface org.apache.logging.log4j.core.config.Configuration
- addComponent(Component) - Method in class org.apache.logging.log4j.core.config.builder.api.Component
- addComponent(ComponentBuilder<?>) - Method in interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
-
Adds a sub component.
- addFilter(Filter) - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Adds 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
-
Adds a Filter to the Configuration.
- addIfMatching(ResolverUtil.Test, String) - Method in class org.apache.logging.log4j.core.config.plugins.util.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.
- addIsWatched(boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ScriptFileComponentBuilder
- addIsWatched(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ScriptFileComponentBuilder
- additionalFields - Variable in class org.apache.logging.log4j.core.layout.YamlLayout
- addLanguage(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ScriptFileComponentBuilder
- addListener(ConfigurationListener) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
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.AbstractConfiguration
-
Add a loggerConfig.
- addLogger(String, LoggerConfig) - Method in interface org.apache.logging.log4j.core.config.Configuration
- addLoggerAppender(Logger, Appender) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
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.AbstractConfiguration
-
Associates a Filter with a LoggerConfig.
- addLoggerFilter(Logger, Filter) - Method in interface org.apache.logging.log4j.core.config.Configuration
- addNotificationListener(NotificationListener, NotificationFilter, Object) - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
- addPackage(String) - Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
-
Deprecated.
- addPackages(Collection<String>) - Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
-
Deprecated.
- addProperty(String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Adds a Property key and value.
- addProperty(String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- addPropertyChangeListener(PropertyChangeListener) - Method in class org.apache.logging.log4j.core.LoggerContext
- addRolloverListener(RolloverListener) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Add a RolloverListener.
- addRootProperty(String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Add the properties for the root node.
- addRootProperty(String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- addScript(AbstractScript) - Method in class org.apache.logging.log4j.core.script.ScriptManager
- addShutdownCallback(Runnable) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- addShutdownCallback(Runnable) - Method in class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
- addShutdownCallback(Runnable) - Method in interface org.apache.logging.log4j.core.util.ShutdownCallbackRegistry
-
Adds a Runnable shutdown callback to this class.
- addShutdownListener(LoggerContextShutdownAware) - Method in class org.apache.logging.log4j.core.LoggerContext
- addToSet(int, int, int, int) - Method in class org.apache.logging.log4j.core.util.CronExpression
- 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.
- Advertiser - Interface in org.apache.logging.log4j.core.net
- afterLogEvent() - Method in class org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy
- afterLogEvent() - Method in class org.apache.logging.log4j.core.config.AwaitUnconditionallyReliabilityStrategy
- afterLogEvent() - Method in class org.apache.logging.log4j.core.config.DefaultReliabilityStrategy
- afterLogEvent() - Method in class org.apache.logging.log4j.core.config.LockingReliabilityStrategy
- afterLogEvent() - Method in interface org.apache.logging.log4j.core.config.ReliabilityStrategy
-
Called after a log event was logged.
- ALERT - Enum constant in enum org.apache.logging.log4j.core.net.Severity
-
Action must be taken immediately.
- aliases - Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- ALL - Enum constant in enum org.apache.logging.log4j.core.config.LoggerConfig.LoggerConfigPredicate
- ALL_SPEC - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- ALL_SPEC_INT - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- allLines() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Determines if all lines should be printed.
- ALLOWED_PROTOCOLS - Static variable in class org.apache.logging.log4j.core.net.UrlConnectionFactory
- annotation - Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- ANNUALLY - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover annually.
- 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(char) - Method in class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Appends a single character to this Writer.
- append(CharSequence) - Method in class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Appends a character sequence to this Writer.
- append(CharSequence, int, int) - Method in class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Appends a portion of a character sequence to the
StringBuilder
. - append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
Actual writing occurs here.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.AbstractWriterAppender
-
Actual writing occurs here.
- append(LogEvent) - Method in interface org.apache.logging.log4j.core.Appender
-
Logs a LogEvent using whatever logic this Appender wishes to use.
- 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.CountingNoOpAppender
- 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.HttpAppender
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqAppender
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.NullAppender
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
-
Modifies the event and pass to the subordinate Appenders.
- append(LogEvent) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
-
Writes 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.ScriptAppenderSelector
- 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
LogEvent
s. - 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
. - AppenderComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Builder for constructing Appender Components.
- 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.
- AppenderControlArraySet - Class in org.apache.logging.log4j.core.config
-
Data structure with similar semantics to CopyOnWriteArraySet, but giving direct access to the underlying array.
- AppenderControlArraySet() - Constructor for class org.apache.logging.log4j.core.config.AppenderControlArraySet
- 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
-
Constructs an exception with a message.
- AppenderLoggingException(String, Object...) - Constructor for exception org.apache.logging.log4j.core.appender.AppenderLoggingException
-
Constructs an exception with a message.
- AppenderLoggingException(String, Throwable) - Constructor for exception org.apache.logging.log4j.core.appender.AppenderLoggingException
-
Constructs an exception with a message and underlying cause.
- AppenderLoggingException(Throwable) - Constructor for exception org.apache.logging.log4j.core.appender.AppenderLoggingException
-
Constructs an exception with an underlying cause.
- AppenderLoggingException(Throwable, String, Object...) - Constructor for exception org.apache.logging.log4j.core.appender.AppenderLoggingException
-
Constructs an exception with a message.
- AppenderRef - Class in org.apache.logging.log4j.core.config
-
An Appender reference.
- AppenderRefComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing AppenderRef Components.
- AppenderSet - Class in org.apache.logging.log4j.core.appender
-
A deferred plugin for appenders.
- AppenderSet.Builder - Class in org.apache.logging.log4j.core.appender
- AppendersPlugin - Class in org.apache.logging.log4j.core.config
-
An Appender container.
- appendEscapingCData(StringBuilder, String) - Static method in class org.apache.logging.log4j.core.util.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.
- apply(Socket) - Method in class org.apache.logging.log4j.core.net.SocketOptions
-
Applies the values in this builder to the given socket.
- apply(Socket) - Method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- applyRules(Calendar, StringBuffer) - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.
- Arbiter - Interface in org.apache.logging.log4j.core.config.arbiters
-
Interface used to check for portions of the configuration that may be optionally included.
- ArrayBlockingQueueFactory<E> - Class in org.apache.logging.log4j.core.async
-
Factory for creating instances of
ArrayBlockingQueue
. - ArrayBlockingQueueFactory() - Constructor for class org.apache.logging.log4j.core.async.ArrayBlockingQueueFactory
- ArrayPatternConverter - Interface in org.apache.logging.log4j.core.pattern
-
PatternConverter
s implement this interface to accept an array of objects when formatting. - ArrayUtils - Class in org.apache.logging.log4j.core.util
-
Copied from Apache Commons Lang (including the
@since
tags.) - ArrayUtils() - Constructor for class org.apache.logging.log4j.core.util.ArrayUtils
- asBuilder() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- asBuilder() - Method in class org.apache.logging.log4j.core.async.AsyncWaitStrategyFactoryConfig.Builder
- asBuilder() - Method in class org.apache.logging.log4j.core.config.arbiters.ClassArbiter.Builder
- asBuilder() - Method in class org.apache.logging.log4j.core.config.arbiters.DefaultArbiter.Builder
- asBuilder() - Method in class org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter.Builder
- asBuilder() - Method in class org.apache.logging.log4j.core.config.arbiters.ScriptArbiter.Builder
- asBuilder() - Method in class org.apache.logging.log4j.core.config.arbiters.SelectArbiter.Builder
- asBuilder() - Method in class org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter.Builder
- asBuilder() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- asBuilder() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- asBuilder() - Method in class org.apache.logging.log4j.core.filter.AbstractFilter.AbstractFilterBuilder
- asBuilder() - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder
- asBuilder() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns a new fully initialized
Log4jLogEvent.Builder
containing a copy of all fields of this event. - asBuilder() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
- asMap() - Method in class org.apache.logging.log4j.core.config.AppenderControlArraySet
-
Returns all Appenders as a Map.
- Assert - Class in org.apache.logging.log4j.core.util
-
Utility class providing common validation logic.
- AsyncAppender - Class in org.apache.logging.log4j.core.appender
-
Appends to one or more Appenders asynchronously.
- AsyncAppender.Builder<B extends AsyncAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
- 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
. - ASYNCHRONOUS_ONLY - Enum constant in enum org.apache.logging.log4j.core.config.LoggerConfig.LoggerConfigPredicate
- 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, AsyncLoggerDisruptor) - 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(String, List<AppenderRef>, Filter, Level, boolean, Property[], Configuration, boolean) - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig
- AsyncLoggerConfig.Builder<B extends AsyncLoggerConfig.Builder<B>> - Class in org.apache.logging.log4j.core.async
- AsyncLoggerConfig.RootLogger - Class in org.apache.logging.log4j.core.async
-
An asynchronous root Logger.
- AsyncLoggerConfig.RootLogger.Builder<B extends AsyncLoggerConfig.RootLogger.Builder<B>> - Class in org.apache.logging.log4j.core.async
- AsyncLoggerConfigDefaultExceptionHandler - Class in org.apache.logging.log4j.core.async
-
Default disruptor exception handler for errors that occur in the AsyncLogger background thread.
- AsyncLoggerConfigDefaultExceptionHandler() - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfigDefaultExceptionHandler
- AsyncLoggerConfigDelegate - Interface in org.apache.logging.log4j.core.async
-
Encapsulates the mechanism used to log asynchronously.
- AsyncLoggerConfigDisruptor - Class in org.apache.logging.log4j.core.async
-
Helper class decoupling the
AsyncLoggerConfig
class from the LMAX Disruptor library. - AsyncLoggerConfigDisruptor(AsyncWaitStrategyFactory) - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor
- AsyncLoggerConfigDisruptor.Log4jEventWrapper - Class in org.apache.logging.log4j.core.async
-
RingBuffer events contain all information necessary to perform the work in a separate thread.
- AsyncLoggerContext - Class in org.apache.logging.log4j.core.async
-
LoggerContext
that createsAsyncLogger
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, String) - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContext
- AsyncLoggerContext(String, Object, URI) - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContext
- AsyncLoggerContextSelector - Class in org.apache.logging.log4j.core.async
-
ContextSelector
that managesAsyncLoggerContext
instances. - AsyncLoggerContextSelector() - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
- AsyncLoggerDefaultExceptionHandler - Class in org.apache.logging.log4j.core.async
-
Default disruptor exception handler for errors that occur in the AsyncLogger background thread.
- AsyncLoggerDefaultExceptionHandler() - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerDefaultExceptionHandler
- AsyncQueueFullMessageUtil - Class in org.apache.logging.log4j.core.async
-
Consider this class private.
- AsyncQueueFullPolicy - Interface in org.apache.logging.log4j.core.async
-
Policy for deciding whether to discard the event, enqueue it or log the event on the current thread when the queue is full.
- AsyncQueueFullPolicyFactory - Class in org.apache.logging.log4j.core.async
-
Creates
AsyncQueueFullPolicy
instances based on user-specified system properties. - AsyncQueueFullPolicyFactory() - Constructor for class org.apache.logging.log4j.core.async.AsyncQueueFullPolicyFactory
- AsyncWaitStrategyFactory - Interface in org.apache.logging.log4j.core.async
-
This interface allows users to configure a custom Disruptor WaitStrategy used for Async Loggers and Async LoggerConfigs.
- AsyncWaitStrategyFactoryConfig - Class in org.apache.logging.log4j.core.async
-
This class allows users to configure the factory used to create an instance of the LMAX disruptor WaitStrategy used by Async Loggers in the log4j configuration.
- AsyncWaitStrategyFactoryConfig(String) - Constructor for class org.apache.logging.log4j.core.async.AsyncWaitStrategyFactoryConfig
- AsyncWaitStrategyFactoryConfig.Builder<B extends AsyncWaitStrategyFactoryConfig.Builder<B>> - Class in org.apache.logging.log4j.core.async
-
Builds AsyncWaitStrategyFactoryConfig instances.
- atLevel(Level) - Method in class org.apache.logging.log4j.core.Logger
- ATTR_CLASS - Static variable in class org.apache.logging.log4j.core.jackson.StackTraceElementConstants
- ATTR_CLASS_LOADER_NAME - Static variable in class org.apache.logging.log4j.core.jackson.StackTraceElementConstants
- ATTR_CLASS_NAME - Static variable in class org.apache.logging.log4j.core.config.arbiters.ClassArbiter.Builder
- ATTR_FILE - Static variable in class org.apache.logging.log4j.core.jackson.StackTraceElementConstants
- ATTR_LINE - Static variable in class org.apache.logging.log4j.core.jackson.StackTraceElementConstants
- ATTR_MARKER - Static variable in class org.apache.logging.log4j.core.filter.MarkerFilter
- ATTR_MATCH - Static variable in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- ATTR_MATCH - Static variable in class org.apache.logging.log4j.core.filter.StringMatchFilter
- ATTR_METHOD - Static variable in class org.apache.logging.log4j.core.jackson.StackTraceElementConstants
- ATTR_MODULE - Static variable in class org.apache.logging.log4j.core.jackson.StackTraceElementConstants
- ATTR_MODULE_VERSION - Static variable in class org.apache.logging.log4j.core.jackson.StackTraceElementConstants
- ATTR_ON_MATCH - Static variable in class org.apache.logging.log4j.core.filter.AbstractFilter.AbstractFilterBuilder
- ATTR_ON_MISMATCH - Static variable in class org.apache.logging.log4j.core.filter.AbstractFilter.AbstractFilterBuilder
- ATTR_PROPERTY_NAME - Static variable in class org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter.Builder
- ATTR_PROPERTY_NAME - Static variable in class org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter.Builder
- ATTR_PROPERTY_VALUE - Static variable in class org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter.Builder
- ATTR_PROPERTY_VALUE - Static variable in class org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter.Builder
- AUTH - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Security/Authorization messages.
- AUTHORIZATION_PROVIDER - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- authorizationProvider(PropertiesUtil) - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- AuthorizationProvider - Interface in org.apache.logging.log4j.core.util
-
Interface to be implemented to add an Authorization header to an HTTP request.
- AUTHPRIV - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Security/Authorization messages.
- AwaitCompletionReliabilityStrategy - Class in org.apache.logging.log4j.core.config
-
ReliabilityStrategy that counts the number of threads that have started to log an event but have not completed yet, and waits for these threads to finish before allowing the appenders to be stopped.
- AwaitCompletionReliabilityStrategy(LoggerConfig) - Constructor for class org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy
- AwaitUnconditionallyReliabilityStrategy - Class in org.apache.logging.log4j.core.config
-
Reliability strategy that sleeps unconditionally for some time before allowing a Configuration to be stopped.
- AwaitUnconditionallyReliabilityStrategy(LoggerConfig) - Constructor for class org.apache.logging.log4j.core.config.AwaitUnconditionallyReliabilityStrategy
- AWK - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
B
- Base64Converter - Class in org.apache.logging.log4j.core.config.plugins.convert
- Base64Converter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.Base64Converter
- BasicAsyncLoggerContextSelector - Class in org.apache.logging.log4j.core.async
-
Returns either this Thread's context or the default
AsyncLoggerContext
. - BasicAsyncLoggerContextSelector() - Constructor for class org.apache.logging.log4j.core.async.BasicAsyncLoggerContextSelector
- BasicAuthorizationProvider - Class in org.apache.logging.log4j.core.util
-
Provides the Basic Authorization header to a request.
- BasicAuthorizationProvider(PropertiesUtil) - Constructor for class org.apache.logging.log4j.core.util.BasicAuthorizationProvider
- BasicCommandLineArguments - Class in org.apache.logging.log4j.core.tools
- BasicCommandLineArguments() - Constructor for class org.apache.logging.log4j.core.tools.BasicCommandLineArguments
- BasicContextSelector - Class in org.apache.logging.log4j.core.selector
-
Returns either this Thread's context or the default LoggerContext.
- BasicContextSelector() - Constructor for class org.apache.logging.log4j.core.selector.BasicContextSelector
- BEANSHELL - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- beforeFileTreeWalk() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileCount
- beforeFileTreeWalk() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileSize
- beforeFileTreeWalk() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAll
- beforeFileTreeWalk() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAny
- beforeFileTreeWalk() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfFileName
- beforeFileTreeWalk() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified
- beforeFileTreeWalk() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfNot
- beforeFileTreeWalk() - Method in interface org.apache.logging.log4j.core.appender.rolling.action.PathCondition
-
Invoked before a new file tree walk is started.
- beforeFileTreeWalk(PathCondition[]) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.IfAll
-
Calls
IfAll.beforeFileTreeWalk()
on all of the specified nested conditions. - beforeStopAppenders() - Method in class org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy
- beforeStopAppenders() - Method in class org.apache.logging.log4j.core.config.AwaitUnconditionallyReliabilityStrategy
- beforeStopAppenders() - Method in class org.apache.logging.log4j.core.config.DefaultReliabilityStrategy
- beforeStopAppenders() - Method in class org.apache.logging.log4j.core.config.LockingReliabilityStrategy
- beforeStopAppenders() - Method in interface org.apache.logging.log4j.core.config.ReliabilityStrategy
-
Called before all appenders are stopped.
- beforeStopConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy
- beforeStopConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.config.AwaitUnconditionallyReliabilityStrategy
- beforeStopConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.config.DefaultReliabilityStrategy
- beforeStopConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.config.LockingReliabilityStrategy
- beforeStopConfiguration(Configuration) - Method in interface org.apache.logging.log4j.core.config.ReliabilityStrategy
-
Called before the configuration is stopped.
- BG_BLACK - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Black background color.
- BG_BLUE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Blue background color.
- BG_BRIGHT_BLACK - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright black background color.
- BG_BRIGHT_BLUE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright blue background color.
- BG_BRIGHT_CYAN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright cyan background color.
- BG_BRIGHT_GREEN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright green background color.
- BG_BRIGHT_MAGENTA - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright magenta background color.
- BG_BRIGHT_RED - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright red background color.
- BG_BRIGHT_WHITE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright white background color.
- BG_BRIGHT_YELLOW - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright yellow background color.
- BG_CYAN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Cyan background color.
- BG_GREEN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Green background color.
- BG_MAGENTA - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Magenta background color.
- BG_RED - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Red background color.
- BG_WHITE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
White background color.
- BG_YELLOW - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Yellow background color.
- BigDecimalConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.BigDecimalConverter
- BigIntegerConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.BigIntegerConverter
- Black(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Black
-
Constructs the converter.
- BLACK - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Black foreground color.
- BLINK - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Blink general attribute.
- BlockingQueueFactory<E> - Interface in org.apache.logging.log4j.core.async
-
Factory for creating instances of
BlockingQueue
. - Blue(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Blue
-
Constructs the converter.
- BLUE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Blue foreground color.
- BOLD - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bold general attribute.
- BooleanConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.BooleanConverter
- Booleans - Class in org.apache.logging.log4j.core.util
-
Boolean helpers.
- BRIGHT - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Deprecated.This attribute sets font-weight as "bold" and doesn't set color brightness. Use BOLD if you need to change font-weight and BRIGHT_* to use a bright color.
- BRIGHT_BLACK - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright black foreground color.
- BRIGHT_BLUE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright blue foreground color.
- BRIGHT_CYAN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright cyan foreground color.
- BRIGHT_GREEN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright green foreground color.
- BRIGHT_MAGENTA - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright magenta foreground color.
- BRIGHT_RED - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright red foreground color.
- BRIGHT_WHITE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright white foreground color.
- BRIGHT_YELLOW - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright yellow foreground color.
- BSH - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- buffer(LogEvent) - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- build() - Method in class org.apache.logging.log4j.core.appender.AppenderSet.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.ConsoleAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.DriverManagerConnectionSource.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.nosql.NoSqlAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.OutputStreamAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.ScriptAppenderSelector.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.SocketAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.WriterAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig.Builder
- build() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig.RootLogger.Builder
- build() - Method in class org.apache.logging.log4j.core.async.AsyncWaitStrategyFactoryConfig.Builder
- build() - Method in class org.apache.logging.log4j.core.config.arbiters.ClassArbiter.Builder
- build() - Method in class org.apache.logging.log4j.core.config.arbiters.DefaultArbiter.Builder
- build() - Method in class org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter.Builder
- build() - Method in class org.apache.logging.log4j.core.config.arbiters.ScriptArbiter.Builder
- build() - Method in class org.apache.logging.log4j.core.config.arbiters.SelectArbiter.Builder
- build() - Method in class org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter.Builder
- build() - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- build() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- build() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- build() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginBuilder
-
Builds the plugin object.
- build() - Method in class org.apache.logging.log4j.core.config.properties.PropertiesConfigurationBuilder
- build() - Method in class org.apache.logging.log4j.core.filter.BurstFilter.Builder
- build() - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter.Builder
- build() - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter.Builder
- build() - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter.Builder
- build() - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter.Builder
- build() - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter.Builder
- build() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- build() - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- build() - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- build() - Method in class org.apache.logging.log4j.core.layout.JsonLayout.Builder
- build() - Method in class org.apache.logging.log4j.core.layout.LevelPatternSelector.Builder
- build() - Method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector.Builder
- build() - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- build() - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- build() - Method in class org.apache.logging.log4j.core.layout.PatternMatch.Builder
- build() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- build() - Method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector.Builder
- build() - Method in class org.apache.logging.log4j.core.layout.SyslogLayout.Builder
- build() - Method in class org.apache.logging.log4j.core.layout.XmlLayout.Builder
- build() - Method in class org.apache.logging.log4j.core.layout.YamlLayout.Builder
- build() - Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
- build() - Method in class org.apache.logging.log4j.core.net.SocketAddress.Builder
- build() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- build() - Method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- build() - Method in interface org.apache.logging.log4j.core.util.Builder
-
Builds the object after all configuration has been set.
- build() - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- build() - Method in class org.apache.logging.log4j.core.util.KeyValuePair.Builder
- build(boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Build the configuration and optionally initialize it.
- build(boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- Builder<T> - Interface in org.apache.logging.log4j.core.util
-
A type of builder that can be used to configure and create a instances using a Java DSL instead of through a configuration file.
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.AppenderSet.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.ConsoleAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.db.jdbc.DriverManagerConnectionSource.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.FileAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.MemoryMappedFileAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.nosql.NoSqlAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.OutputStreamAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.RandomAccessFileAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.ScriptAppenderSelector.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.SocketAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.appender.WriterAppender.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig.RootLogger.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.async.AsyncWaitStrategyFactoryConfig.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.config.arbiters.ClassArbiter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.config.arbiters.DefaultArbiter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.config.arbiters.ScriptArbiter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.config.arbiters.SelectArbiter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.filter.BurstFilter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.filter.DenyAllFilter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.filter.LevelMatchFilter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.filter.NoMarkerFilter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.filter.StringMatchFilter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.layout.JsonLayout.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.layout.LevelPatternSelector.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.layout.MarkerPatternSelector.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.layout.PatternMatch.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.layout.SyslogLayout.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.layout.XmlLayout.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.layout.YamlLayout.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.net.SocketAddress.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.util.KeyValuePair.Builder
- Builder(LogEvent) - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- buildExpression(String) - Method in class org.apache.logging.log4j.core.util.CronExpression
- BuiltConfiguration - Class in org.apache.logging.log4j.core.config.builder.impl
-
This is the general version of the Configuration created by the Builder.
- BuiltConfiguration(LoggerContext, ConfigurationSource, Component) - Constructor for class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- bundleChanged(BundleEvent) - Method in class org.apache.logging.log4j.core.osgi.Activator
- BundleContextSelector - Class in org.apache.logging.log4j.core.osgi
-
ContextSelector for OSGi bundles.
- BundleContextSelector() - Constructor for class org.apache.logging.log4j.core.osgi.BundleContextSelector
- BurstFilter - Class in org.apache.logging.log4j.core.filter
-
The
BurstFilter
is a logging filter that regulates logging traffic. - BurstFilter.Builder - Class in org.apache.logging.log4j.core.filter
- ByteArrayConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.ByteArrayConverter
- byteBuffer - Variable in class org.apache.logging.log4j.core.appender.OutputStreamManager
- ByteBufferDestination - Interface in org.apache.logging.log4j.core.layout
-
ByteBufferDestination is the destination that
Encoder
s write binary data to. - ByteBufferDestinationHelper - Class in org.apache.logging.log4j.core.layout
-
Helper class for ByteBufferDestination implementors.
- ByteConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.ByteConverter
- BZIP2 - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
C
- CACHED - Enum constant in enum org.apache.logging.log4j.core.async.ThreadNameCachingStrategy
- CachedClock - Class in org.apache.logging.log4j.core.util
-
Implementation of the
Clock
interface that tracks the time in a private long field that is updated by a background thread once every millisecond. - 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
- cancel() - Method in interface org.apache.logging.log4j.core.util.Cancellable
-
Cancels the execution of this Runnable callback.
- cancel(boolean) - Method in class org.apache.logging.log4j.core.config.CronScheduledFuture
- Cancellable - Interface in org.apache.logging.log4j.core.util
-
Interface to cancel a Runnable callback.
- canDeserialize(Serializable) - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- category() - Element in annotation type org.apache.logging.log4j.core.config.plugins.Plugin
-
Category to place the plugin under.
- CATEGORY - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Plugin category used to inject a ConfigurationFactory
Plugin
class. - CATEGORY - Static variable in class org.apache.logging.log4j.core.config.Node
-
Main plugin category for plugins which are represented as a configuration node.
- CATEGORY - Static variable in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters
-
The
Plugin Category
to use forTypeConverter
plugins. - CATEGORY - Static variable in interface org.apache.logging.log4j.core.lookup.StrLookup
-
Main plugin category for StrLookup plugins.
- CATEGORY - Static variable in interface org.apache.logging.log4j.core.pattern.PatternConverter
-
Main plugin category for PatternConverter plugins.
- CATEGORY - Static variable in interface org.apache.logging.log4j.core.util.Watcher
- CATEGORY_NAME - Static variable in class org.apache.logging.log4j.core.Core
- ceilingNextPowerOfTwo(int) - Static method in class org.apache.logging.log4j.core.util.Integers
-
Calculate the next power of 2, greater than or equal to x.
- CharacterConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.CharacterConverter
- CharArrayConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.CharArrayConverter
- charAt(int) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- charMatcher(char) - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Constructor that creates a matcher from a character.
- CharsetConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.CharsetConverter
- 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.
- checkFiles() - Method in class org.apache.logging.log4j.core.util.WatchManager
- checkNext(int, String, int, int) - Method in class org.apache.logging.log4j.core.util.CronExpression
- checkRollover(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Determines if a rollover should occur.
- CLASS_NAME - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- ClassArbiter - Class in org.apache.logging.log4j.core.config.arbiters
-
Conditional that determines if the specified class is present.
- ClassArbiter.Builder - Class in org.apache.logging.log4j.core.config.arbiters
- ClassConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.ClassConverter
- CLASSES - Static variable in class org.apache.logging.log4j.core.selector.CoreContextSelectors
- 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.
- clazz - Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- clear() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor.Log4jEventWrapper
-
Release references held by ring buffer to allow objects to be garbage-collected.
- 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.config.AppenderControlArraySet
-
Atomically sets the values to an empty array and returns the old array.
- clear() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
-
Resets the registry to an empty state.
- clear() - Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
Clear the history.
- clear() - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- clear() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
-
Clears all references this event has to other objects.
- clearAppenders() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Removes all Appenders.
- clearBundlePlugins(long) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
- clearCurrentFileName() - Method in interface org.apache.logging.log4j.core.appender.rolling.DirectFileRolloverStrategy
- clearCurrentFileName() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
- clearSecrets() - Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
-
Clears the secret fields in this object but still allow it to operate normally.
- clearSecrets() - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
Clears the secret fields in this object.
- CLJ - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- Clock - Interface in org.apache.logging.log4j.core.util
-
Provides the time stamp used in log events.
- CLOCK - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Clock daemon.
- ClockFactory - Class in org.apache.logging.log4j.core.util
-
Factory for
Clock
objects. - close() - Method in class org.apache.logging.log4j.core.appender.AbstractManager
-
Called to signify that this Manager is no longer required by an Appender.
- close() - Method in class org.apache.logging.log4j.core.appender.nosql.AbstractNoSqlConnection
- close() - Method in interface org.apache.logging.log4j.core.appender.nosql.NoSqlConnection
-
Closes the underlying connection.
- 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.jmx.StatusLoggerAdmin
- close() - Method in class org.apache.logging.log4j.core.LoggerContext
- close() - Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
- close() - Method in class org.apache.logging.log4j.core.util.CloseShieldOutputStream
-
Does nothing.
- close() - Method in class org.apache.logging.log4j.core.util.CloseShieldWriter
- close() - Method in class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Closing this writer has no effect.
- close(AutoCloseable) - Static method in class org.apache.logging.log4j.core.util.Closer
-
Closes an AutoCloseable or ignores if
null
. - close(Context) - Static method in class org.apache.logging.log4j.core.util.JndiCloser
-
Closes the specified
Context
. - closeImpl() - Method in class org.apache.logging.log4j.core.appender.nosql.AbstractNoSqlConnection
- closeOutputStream() - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
- closeOutputStream() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- closeOutputStream() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
- closeOutputStream() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
- closeOutputStream() - Method in class org.apache.logging.log4j.core.net.TcpSocketManager
- Closer - Class in org.apache.logging.log4j.core.util
-
Closes resources.
- closeResources(boolean) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
- CloseShieldOutputStream - Class in org.apache.logging.log4j.core.util
-
A delegating OutputStream that does not close its delegate.
- CloseShieldOutputStream(OutputStream) - Constructor for class org.apache.logging.log4j.core.util.CloseShieldOutputStream
- CloseShieldWriter - Class in org.apache.logging.log4j.core.util
- CloseShieldWriter(Writer) - Constructor for class org.apache.logging.log4j.core.util.CloseShieldWriter
- closeSilently(AutoCloseable) - Static method in class org.apache.logging.log4j.core.util.Closer
-
Closes an AutoCloseable and returns
true
if it closed without exception. - closeSilently(Context) - Static method in class org.apache.logging.log4j.core.util.JndiCloser
-
Closes the specified
Context
, ignoring any exceptions thrown by the close operation. - closeWriter() - Method in class org.apache.logging.log4j.core.appender.WriterManager
- CoarseCachedClock - Class in org.apache.logging.log4j.core.util
-
This Clock implementation is similar to CachedClock.
- collectPlugins() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
-
Locates all the plugins.
- collectPlugins(List<String>) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
-
Locates all the plugins including search of specific packages.
- collectPluginsByCategory(String) - Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginUtil
-
Shortcut for collecting plugins matching with the given
category
. - collectPluginsByCategoryAndPackage(String, List<String>) - Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginUtil
-
Short for collecting plugins matching with the given
category
in providedpackages
. - 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.
- ColumnConfig.Builder - Class in org.apache.logging.log4j.core.appender.db.jdbc
- ColumnMapping - Class in org.apache.logging.log4j.core.appender.db
-
A configuration element for specifying a database column name mapping.
- ColumnMapping.Builder - Class in org.apache.logging.log4j.core.appender.db
-
Builder for
ColumnMapping
. - COMMA_SEPARATOR - Static variable in class org.apache.logging.log4j.core.util.Patterns
-
A pattern string for comma separated lists with optional whitespace.
- COMMA_SPACE_SEPARATOR - Static variable in class org.apache.logging.log4j.core.util.Patterns
-
A pattern string for lists separated by commas with optional whitespace or just whitespace.
- 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.nosql.NoSqlDatabaseManager
- CommonsCompressAction - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Compresses a file using bzip2 compression.
- CommonsCompressAction(String, File, File, boolean) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.CommonsCompressAction
-
Creates new instance of Bzip2CompressAction.
- compact - Variable in class org.apache.logging.log4j.core.layout.YamlLayout
- COMPACT - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.COMPACT time format:
"yyyyMMddHHmmssSSS"
. - COMPACT_EOL - Static variable in class org.apache.logging.log4j.core.layout.YamlLayout
- compare(Class<?>, Class<?>) - Method in class org.apache.logging.log4j.core.config.OrderComparator
- compare(PathWithAttributes, PathWithAttributes) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PathSortByModificationTime
- compareTo(Delayed) - Method in class org.apache.logging.log4j.core.config.CronScheduledFuture
- compareTo(Duration) - Method in class org.apache.logging.log4j.core.appender.rolling.action.Duration
-
Deprecated.
- complete - Variable in class org.apache.logging.log4j.core.layout.YamlLayout
- Component - Class in org.apache.logging.log4j.core.config.builder.api
-
Container for building Configurations.
- Component() - Constructor for class org.apache.logging.log4j.core.config.builder.api.Component
- Component(String) - Constructor for class org.apache.logging.log4j.core.config.builder.api.Component
- Component(String, String) - Constructor for class org.apache.logging.log4j.core.config.builder.api.Component
- Component(String, String, String) - Constructor for class org.apache.logging.log4j.core.config.builder.api.Component
- ComponentBuilder<T extends ComponentBuilder<T>> - Interface in org.apache.logging.log4j.core.config.builder.api
-
Builds arbitrary components and is the base type for the provided components.
- COMPOSITE_SOURCE - Static variable in class org.apache.logging.log4j.core.config.ConfigurationSource
-
ConfigurationSource to use with
CompositeConfiguration
. - 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.
- CompositeConfiguration - Class in org.apache.logging.log4j.core.config.composite
-
A Composite Configuration.
- CompositeConfiguration(List<? extends AbstractConfiguration>) - Constructor for class org.apache.logging.log4j.core.config.composite.CompositeConfiguration
-
Construct the CompositeConfiguration.
- CompositeFilter - Class in org.apache.logging.log4j.core.filter
-
Composes and invokes one or more filters.
- CompositeFilterComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Wraps multiple Filter Component builders.
- CompositeTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
-
Triggering policy that wraps other triggering policies.
- concatenateArrays(String[], String[]) - Static method in class org.apache.logging.log4j.core.util.OptionConverter
- config - Variable in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
The current Configuration associated with the LoggerConfig.
- CONFIG_PASSWORD - Static variable in class org.apache.logging.log4j.core.util.BasicAuthorizationProvider
- CONFIG_USER_NAME - Static variable in class org.apache.logging.log4j.core.util.BasicAuthorizationProvider
- configuration - Variable in class org.apache.logging.log4j.core.appender.ConfigurationFactoryData
-
This field is public to follow the style of existing FactoryData classes.
- configuration - Variable in class org.apache.logging.log4j.core.layout.AbstractLayout
-
The current Configuration.
- configuration - Variable in class org.apache.logging.log4j.core.lookup.AbstractConfigurationAwareLookup
- 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
-
Allows the ConfigurationFactory class to be specified as a system property.
- CONFIGURATION_FILE_PROPERTY - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Allows the location of the configuration file to be specified as a system property.
- ConfigurationAware - Interface in org.apache.logging.log4j.core.config
-
Indicates that a class requests the current Configuration to be injected.
- ConfigurationBuilder<T extends Configuration> - Interface in org.apache.logging.log4j.core.config.builder.api
-
Interface for building logging configurations.
- ConfigurationBuilderFactory - Class in org.apache.logging.log4j.core.config.builder.api
-
Provides methods to create ConfigurationBuilders.
- ConfigurationBuilderFactory() - Constructor for class org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory
- 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
-
Constructs an exception with a message.
- ConfigurationException(String, Throwable) - Constructor for exception org.apache.logging.log4j.core.config.ConfigurationException
-
Constructs an exception with a message and underlying cause.
- ConfigurationException(Throwable) - Constructor for exception org.apache.logging.log4j.core.config.ConfigurationException
-
Constructs an exception with a message and underlying cause.
- ConfigurationFactory - Class in org.apache.logging.log4j.core.config
-
Factory class for parsed
Configuration
objects from a configuration file. - ConfigurationFactory() - Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory
- ConfigurationFactoryData - Class in org.apache.logging.log4j.core.appender
-
Factory Data that carries a configuration.
- ConfigurationFactoryData(Configuration) - Constructor for class org.apache.logging.log4j.core.appender.ConfigurationFactoryData
- ConfigurationFileWatcher - Class in org.apache.logging.log4j.core.config
-
Watcher for configuration files.
- ConfigurationFileWatcher(Configuration, Reconfigurable, List<ConfigurationListener>, long) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationFileWatcher
- ConfigurationListener - Interface in org.apache.logging.log4j.core.config
-
Interface used to allow components to be notified when the configuration changes.
- ConfigurationScheduler - Class in org.apache.logging.log4j.core.config
- ConfigurationScheduler() - Constructor for class org.apache.logging.log4j.core.config.ConfigurationScheduler
- ConfigurationScheduler(String) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationScheduler
- ConfigurationScheduler.CronRunnable - Class in org.apache.logging.log4j.core.config
- ConfigurationSource - Class in org.apache.logging.log4j.core.config
-
Represents the source for the logging configuration.
- ConfigurationSource(InputStream) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationSource
-
Constructs a new
ConfigurationSource
with the specified input stream. - ConfigurationSource(InputStream, File) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationSource
-
Constructs a new
ConfigurationSource
with the specified input stream that originated from the specified file. - ConfigurationSource(InputStream, URL) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationSource
-
Constructs a new
ConfigurationSource
with the specified input stream that originated from the specified URL. - ConfigurationSource(InputStream, URL, long) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationSource
-
Constructs a new
ConfigurationSource
with the specified input stream that originated from the specified URL. - ConfigurationSource(InputStream, Path) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationSource
-
Constructs a new
ConfigurationSource
with the specified input stream that originated from the specified path. - ConfigurationSource(Source, byte[], long) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationSource
-
Constructs a new
ConfigurationSource
with the specified source. - ConfigurationStrSubstitutor - Class in org.apache.logging.log4j.core.lookup
-
RuntimeStrSubstitutor
is aStrSubstitutor
which only supports recursive evaluation of lookups. - ConfigurationStrSubstitutor() - Constructor for class org.apache.logging.log4j.core.lookup.ConfigurationStrSubstitutor
- ConfigurationStrSubstitutor(Map<String, String>) - Constructor for class org.apache.logging.log4j.core.lookup.ConfigurationStrSubstitutor
- ConfigurationStrSubstitutor(Properties) - Constructor for class org.apache.logging.log4j.core.lookup.ConfigurationStrSubstitutor
- ConfigurationStrSubstitutor(StrLookup) - Constructor for class org.apache.logging.log4j.core.lookup.ConfigurationStrSubstitutor
- ConfigurationStrSubstitutor(StrSubstitutor) - Constructor for class org.apache.logging.log4j.core.lookup.ConfigurationStrSubstitutor
- 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.PropertiesPlugin
-
Creates 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.nosql.NoSqlDatabaseManager
- ConnectionSource - Interface in org.apache.logging.log4j.core.appender.db.jdbc
-
Configuration element for
JdbcAppender
. - connectionString - Variable in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- ConsoleAppender - Class in org.apache.logging.log4j.core.appender
-
Appends log events to
System.out
orSystem.err
using a layout specified by the user. - ConsoleAppender.Builder<B extends ConsoleAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
-
Builds ConsoleAppender instances.
- ConsoleAppender.Target - Enum in org.apache.logging.log4j.core.appender
-
Enumeration of console destinations.
- Constants - Class in org.apache.logging.log4j.core.util
-
Log4j Constants.
- Constraint - Annotation Type in org.apache.logging.log4j.core.config.plugins.validation
-
Meta annotation to mark an annotation as a validation constraint.
- ConstraintValidator<A extends Annotation> - Interface in org.apache.logging.log4j.core.config.plugins.validation
-
Interface that
Constraint
annotations must implement to perform validation logic. - ConstraintValidators - Class in org.apache.logging.log4j.core.config.plugins.validation
-
Utility class to locate an appropriate
ConstraintValidator
implementation for an annotation. - containsKey(String) - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- CONTEXT_MAP - Static variable in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- 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.
- ContextDataAsEntryListDeserializer - Class in org.apache.logging.log4j.core.jackson
-
Consider this class private.
- ContextDataAsEntryListSerializer - Class in org.apache.logging.log4j.core.jackson
-
Consider this class private.
- ContextDataAsEntryListSerializer() - Constructor for class org.apache.logging.log4j.core.jackson.ContextDataAsEntryListSerializer
- ContextDataDeserializer - Class in org.apache.logging.log4j.core.jackson
-
Consider this class private.
- ContextDataFactory - Class in org.apache.logging.log4j.core.impl
-
Factory for creating the StringMap instances used to initialize LogEvents' context data.
- ContextDataFactory() - Constructor for class org.apache.logging.log4j.core.impl.ContextDataFactory
- ContextDataInjector - Interface in org.apache.logging.log4j.core
-
Responsible for initializing the context data of LogEvents.
- ContextDataInjectorFactory - Class in org.apache.logging.log4j.core.impl
-
Factory for ContextDataInjectors.
- ContextDataInjectorFactory() - Constructor for class org.apache.logging.log4j.core.impl.ContextDataInjectorFactory
- ContextDataProvider - Interface in org.apache.logging.log4j.core.util
-
Source of context data to be added to each log event.
- contextDataProviders - Static variable in class org.apache.logging.log4j.core.impl.ThreadContextDataInjector
-
ContextDataProviders loaded via OSGi.
- ContextDataSerializer - Class in org.apache.logging.log4j.core.jackson
-
Consider this class private.
- ContextDataSerializer() - Constructor for class org.apache.logging.log4j.core.jackson.ContextDataSerializer
- ContextMapLookup - Class in org.apache.logging.log4j.core.lookup
-
Looks up keys from the context.
- 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
. - contextShutdown(LoggerContext) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- conversionType - Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.EnumConverter
- convert(String) - Method in interface org.apache.logging.log4j.core.config.plugins.convert.TypeConverter
-
Converts a String to a given type.
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.BigDecimalConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.BigIntegerConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.BooleanConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.ByteArrayConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.ByteConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.CharacterConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.CharArrayConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.CharsetConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.ClassConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.CronExpressionConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.DoubleConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.DurationConverter
-
Deprecated.
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.FileConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.FloatConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.InetAddressConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.IntegerConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.LevelConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.LongConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.PathConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.PatternConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.SecurityProviderConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.ShortConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.StringConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.UriConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.UrlConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.UuidConverter
- convert(String, Class<? extends T>, Object) - Static method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters
-
Converts a String to a given class if a TypeConverter is available for that class.
- convert(String, Object) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
Converts the given value into the configured type falling back to the provided default value.
- 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.util.OptionConverter
- convertToNode(Node, Component) - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- copy(Reader, Writer) - Static method in class org.apache.logging.log4j.core.util.IOUtils
-
Copies chars from a
Reader
to aWriter
. - copy(PathCondition...) - Static method in interface org.apache.logging.log4j.core.appender.rolling.action.PathCondition
-
Copies the given input.
- copyLarge(Reader, Writer) - Static method in class org.apache.logging.log4j.core.util.IOUtils
-
Copies chars from a large (over 2GB)
Reader
to aWriter
. - copyLarge(Reader, Writer, char[]) - Static method in class org.apache.logging.log4j.core.util.IOUtils
-
Copies chars from a large (over 2GB)
Reader
to aWriter
. - copyProperties(List<Property>, StringMap) - Static method in class org.apache.logging.log4j.core.impl.ThreadContextDataInjector
-
Copies key-value pairs from the specified property list into the specified
StringMap
. - Core - Class in org.apache.logging.log4j.core
- Core() - Constructor for class org.apache.logging.log4j.core.Core
- CoreContextSelectors - Class in org.apache.logging.log4j.core.selector
- CoreContextSelectors() - Constructor for class org.apache.logging.log4j.core.selector.CoreContextSelectors
- count - Variable in class org.apache.logging.log4j.core.appender.AbstractManager
-
Number of Appenders using this manager.
- CountingNoOpAppender - Class in org.apache.logging.log4j.core.appender
-
No-Operation Appender that counts events.
- CountingNoOpAppender(String, Layout<?>) - Constructor for class org.apache.logging.log4j.core.appender.CountingNoOpAppender
- create() - Static method in class org.apache.logging.log4j.core.async.AsyncQueueFullPolicyFactory
-
Creates and returns
AsyncQueueFullPolicy
instances based on user-specified system properties. - create() - Static method in enum org.apache.logging.log4j.core.async.ThreadNameCachingStrategy
- create(int) - Method in class org.apache.logging.log4j.core.async.ArrayBlockingQueueFactory
- create(int) - Method in interface org.apache.logging.log4j.core.async.BlockingQueueFactory
-
Creates a new BlockingQueue with the specified maximum capacity.
- create(int) - Method in class org.apache.logging.log4j.core.async.DisruptorBlockingQueueFactory
- create(int) - Method in class org.apache.logging.log4j.core.async.JCToolsBlockingQueueFactory
- create(int) - Method in class org.apache.logging.log4j.core.async.LinkedTransferQueueFactory
- create(FixedDateFormat.FixedFormat) - Static method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.Returns a new
FixedDateFormat
object for the specifiedFixedFormat
and aTimeZone.getDefault()
TimeZone. - create(FixedDateFormat.FixedFormat, TimeZone) - Static method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.Returns a new
FixedDateFormat
object for the specifiedFixedFormat
and TimeZone. - createAdvertiser(String, ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- createAdvertiser(String, ConfigurationSource, byte[], String) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- createAgeCondition(Duration, PathCondition...) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified
-
Deprecated.since 2.24.0 use
IfLastModified.newBuilder()
instead. - createAndCondition(PathCondition...) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.IfAll
-
Create a Composite PathCondition whose components all need to accept before this condition accepts.
- createAppender(String) - Static method in class org.apache.logging.log4j.core.appender.CountingNoOpAppender
-
Creates a CountingNoOp Appender.
- createAppender(String) - Static method in class org.apache.logging.log4j.core.appender.NullAppender
- createAppender(String, int, String, SslConfiguration, int, int, boolean, String, boolean, boolean, Facility, String, int, boolean, String, String, String, boolean, String, String, String, String, String, String, String, Filter, Configuration, Charset, String, LoggerFields[], boolean) - Static method in class org.apache.logging.log4j.core.appender.SyslogAppender
-
Deprecated.
- createAppender(String, int, Protocol, SslConfiguration, int, int, boolean, String, boolean, boolean, Layout<? extends Serializable>, Filter, boolean, Configuration) - Static method in class org.apache.logging.log4j.core.appender.SocketAppender
-
Deprecated.Deprecated in 2.7; use
SocketAppender.newBuilder()
- createAppender(String, String) - Method in class org.apache.logging.log4j.core.appender.AppenderSet
- 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
-
Deprecated.
- createAppender(String, 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
-
Deprecated.
- 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.RollingRandomAccessFileAppender
-
Deprecated.
- createAppender(String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String, String, Configuration) - Static method in class org.apache.logging.log4j.core.appender.MemoryMappedFileAppender
-
Deprecated.
- 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
-
Deprecated.
- createAppender(String, String, String, SslConfiguration, int, String, String, String, String, String, Layout<? extends Serializable>, Filter, String, Configuration) - Static method in class org.apache.logging.log4j.core.appender.SocketAppender
-
Deprecated.Deprecated in 2.5; use
SocketAppender.newBuilder()
- createAppender(String, String, Routes, Configuration, RewritePolicy, PurgePolicy, Filter) - Static method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
-
Deprecated.Since 2.7; use
RoutingAppender.newBuilder()
- createAppender(String, String, AppenderRef[], Configuration, RewritePolicy, Filter) - Static method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
-
Creates a RewriteAppender.
- createAppender(String, String, Filter, String, NoSqlProvider<?>) - Static method in class org.apache.logging.log4j.core.appender.nosql.NoSqlAppender
-
Deprecated.since 2.11.0; use
NoSqlAppender.Builder
. - createAppender(String, String, Filter, ConnectionSource, String, String, ColumnConfig[]) - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender
-
Deprecated.
- createAppender(String, Layout<?>, Filter, Property[], boolean, long, long, boolean, byte[], boolean, long, long, long, long, int, long, long, long, int, long, int, long, long, long, boolean) - Static method in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqAppender
- createAppender(AppenderRef[], String, boolean, long, int, String, boolean, Filter, Configuration, boolean) - Static method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
Deprecated.use
AsyncAppender.Builder
instead - createAppender(Configuration, 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
-
Deprecated.Use
SmtpAppender.newBuilder()
to create and configure aSmtpAppender.Builder
instance. - createAppender(Layout<? extends Serializable>, Filter, OutputStream, String, boolean, boolean) - Static method in class org.apache.logging.log4j.core.appender.OutputStreamAppender
-
Creates an OutputStream Appender.
- createAppender(Layout<? extends Serializable>, Filter, String, boolean, String, Property[], Configuration, String) - Static method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender
-
Deprecated.
- createAppender(Layout<? extends Serializable>, Filter, String, String, String, String) - Static method in class org.apache.logging.log4j.core.appender.ConsoleAppender
-
Deprecated.Deprecated in 2.7; use
ConsoleAppender.newBuilder()
. - createAppender(Layout<? extends Serializable>, Filter, ConsoleAppender.Target, String, boolean, boolean, boolean) - Static method in class org.apache.logging.log4j.core.appender.ConsoleAppender
-
Deprecated.Deprecated in 2.7; use
ConsoleAppender.newBuilder()
. - createAppender(StringLayout, Filter, Writer, String, boolean, boolean) - Static method in class org.apache.logging.log4j.core.appender.WriterAppender
-
Creates a WriterAppender.
- createAppenderRef(String, Level, 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.AppendersPlugin
-
Creates a Map of the Appenders.
- createBindings(AbstractScript) - Method in class org.apache.logging.log4j.core.script.ScriptManager
- createColumnConfig(Configuration, String, String, String, String, String, String) - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
Deprecated.
- createCompressAction(String, String, boolean, int) - Method in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
- createCondition(AbstractScript, Configuration) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.ScriptCondition
-
Creates the ScriptCondition.
- createConfiguration(Node, LogEvent) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- createConfiguration(Node, LogEvent) - Method in interface org.apache.logging.log4j.core.config.Configuration
- createConnection(URL) - Static method in class org.apache.logging.log4j.core.net.UrlConnectionFactory
- createConnection(URL, long, SslConfiguration, AuthorizationProvider) - Static method in class org.apache.logging.log4j.core.net.UrlConnectionFactory
- 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, URI) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
- createContext(String, URI) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- createContextData() - Static method in class org.apache.logging.log4j.core.impl.ContextDataFactory
- createContextData(int) - Static method in class org.apache.logging.log4j.core.impl.ContextDataFactory
- createContextData(Map<String, String>) - Static method in class org.apache.logging.log4j.core.impl.ContextDataFactory
- createContextData(ReadOnlyStringMap) - Static method in class org.apache.logging.log4j.core.impl.ContextDataFactory
- createCustomLevels(CustomLevelConfig[]) - Static method in class org.apache.logging.log4j.core.config.CustomLevels
-
Create a CustomLevels object to contain all the CustomLevelConfigs.
- createDaemonThreadFactory(String) - Static method in class org.apache.logging.log4j.core.util.Log4jThreadFactory
-
Creates a new daemon thread factory.
- createDefaultAppenderForLayout(Layout<? extends Serializable>) - Static method in class org.apache.logging.log4j.core.appender.ConsoleAppender
- createDefaultLayout() - Static method in class org.apache.logging.log4j.core.layout.CsvLogEventLayout
- createDefaultLayout() - Static method in class org.apache.logging.log4j.core.layout.CsvParameterLayout
- createDefaultLayout() - Static method in class org.apache.logging.log4j.core.layout.HtmlLayout
-
Creates an HTML Layout using the default settings.
- createDefaultLayout() - Static method in class org.apache.logging.log4j.core.layout.JsonLayout
-
Creates a JSON Layout using the default settings.
- createDefaultLayout() - Static method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Creates a PatternLayout using the default options.
- createDefaultLayout() - Static method in class org.apache.logging.log4j.core.layout.XmlLayout
-
Creates an XML Layout using the default settings.
- createDefaultLayout() - Static method in class org.apache.logging.log4j.core.layout.YamlLayout
-
Creates a YAML Layout using the default settings.
- createDefaultLayout(Configuration) - Static method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Creates a PatternLayout using the default options and the given configuration.
- createDeflaterOutputStream(OutputStream) - Method in enum org.apache.logging.log4j.core.layout.GelfLayout.CompressionType
- createDeleteAction(String, boolean, int, boolean, PathSorter, PathCondition[], ScriptCondition, Configuration) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.DeleteAction
-
Create a DeleteAction.
- createEvent(String, Marker, String, StackTraceElement, Level, Message, List<Property>, Throwable) - Method in class org.apache.logging.log4j.core.impl.DefaultLogEventFactory
-
Creates a log event.
- createEvent(String, Marker, String, StackTraceElement, Level, Message, List<Property>, Throwable) - Method in interface org.apache.logging.log4j.core.impl.LocationAwareLogEventFactory
- createEvent(String, Marker, String, StackTraceElement, Level, Message, List<Property>, Throwable) - Method in interface org.apache.logging.log4j.core.impl.LogEventFactory
- createEvent(String, Marker, String, StackTraceElement, Level, Message, List<Property>, Throwable) - Method in class org.apache.logging.log4j.core.impl.ReusableLogEventFactory
-
Creates a log event.
- createEvent(String, Marker, String, Level, Message, Throwable, ThrowableProxy, Map<String, String>, ThreadContext.ContextStack, String, StackTraceElement, long) - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Deprecated.use
Log4jLogEvent.Builder
instead. This method will be removed in an upcoming release. - 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, List<Property>, Throwable) - Method in interface org.apache.logging.log4j.core.impl.LogEventFactory
- createEvent(String, Marker, String, Level, Message, List<Property>, Throwable) - Method in class org.apache.logging.log4j.core.impl.ReusableLogEventFactory
-
Creates a log event.
- createFactory() - Static method in class org.apache.logging.log4j.core.async.ArrayBlockingQueueFactory
- createFactory() - Static method in class org.apache.logging.log4j.core.async.LinkedTransferQueueFactory
- createFactory(SpinPolicy) - Static method in class org.apache.logging.log4j.core.async.DisruptorBlockingQueueFactory
- createFactory(JCToolsBlockingQueueFactory.WaitStrategy) - Static method in class org.apache.logging.log4j.core.async.JCToolsBlockingQueueFactory
- 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
- createFileCountCondition(int, PathCondition...) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileCount
-
Create an IfAccumulatedFileCount condition.
- createFileSizeCondition(String, PathCondition...) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileSize
-
Create an IfAccumulatedFileSize condition.
- createFileVisitor(Path, List<PathCondition>) - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
-
Creates a new
FileVisitor<Path>
to pass to theFiles.walkFileTree(Path, Set, int, FileVisitor)
method when theAbstractPathAction.execute()
method is invoked. - createFileVisitor(Path, List<PathCondition>) - Method in class org.apache.logging.log4j.core.appender.rolling.action.DeleteAction
- createFileVisitor(Path, List<PathCondition>) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction
- createFilter(String, String[], Boolean, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.RegexFilter
-
Creates a Filter that matches a regular expression.
- createFilter(String, String, String, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.TimeFilter
-
Creates a TimeFilter.
- createFilter(String, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
Creates the MarkerFilter.
- createFilter(String, KeyValuePair[], Level, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
Creates a DynamicThresholdFilter.
- createFilter(AbstractScript, Filter.Result, Filter.Result, Configuration) - Static method in class org.apache.logging.log4j.core.filter.ScriptFilter
-
Creates the ScriptFilter.
- createFilter(KeyValuePair[], String, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.MapFilter
- createFilter(KeyValuePair[], String, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
Creates the StructuredDataFilter.
- createFilter(KeyValuePair[], String, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- createFilter(Level, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
Creates a ThresholdFilter.
- createFilter(Level, Level, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
-
Creates an instance with the provided properties.
- createFilters(Filter...) - Static method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Creates a CompositeFilter.
- createFormat(String, Character, Character, Character, QuoteMode, String, String) - Static method in class org.apache.logging.log4j.core.layout.AbstractCsvLayout
- createIfSupported(String...) - Static method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.
- createInjector() - Static method in class org.apache.logging.log4j.core.impl.ContextDataInjectorFactory
-
Returns a new
ContextDataInjector
instance based on the value of system propertylog4j2.ContextDataInjector
. - createKeyStoreConfiguration(String, char[], String, String) - Static method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
- createKeyStoreConfiguration(String, char[], String, String) - Static method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
- createKeyStoreConfiguration(String, char[], String, String, String, String) - Static method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
-
Creates a KeyStoreConfiguration.
- createKeyStoreConfiguration(String, char[], String, String, String, String) - Static method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
-
Creates a KeyStoreConfiguration.
- createKeyStoreConfiguration(String, String, String, String) - Static method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
- createKeyStoreConfiguration(String, String, String, String) - Static method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
- createLayout() - Static method in class org.apache.logging.log4j.core.layout.MessageLayout
- createLayout() - Static method in class org.apache.logging.log4j.core.layout.SerializedLayout
-
Deprecated.
- createLayout(boolean, boolean, boolean, boolean, Charset, boolean) - Static method in class org.apache.logging.log4j.core.layout.XmlLayout
-
Deprecated.Use
XmlLayout.newBuilder()
instead - createLayout(boolean, String, String, Charset, String, String) - Static method in class org.apache.logging.log4j.core.layout.HtmlLayout
-
Deprecated.
- createLayout(String, PatternSelector, Configuration, RegexReplacement, Charset, boolean, boolean, String, String) - Static method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Deprecated.Use
PatternLayout.newBuilder()
instead. This will be private in a future version. - createLayout(String, KeyValuePair[], GelfLayout.CompressionType, int, boolean) - Static method in class org.apache.logging.log4j.core.layout.GelfLayout
-
Deprecated.Use
GelfLayout.newBuilder()
instead - createLayout(CSVFormat) - Static method in class org.apache.logging.log4j.core.layout.CsvLogEventLayout
- createLayout(CSVFormat) - Static method in class org.apache.logging.log4j.core.layout.CsvParameterLayout
- createLayout(Configuration, boolean, boolean, boolean, boolean, boolean, boolean, String, String, Charset, boolean) - Static method in class org.apache.logging.log4j.core.layout.JsonLayout
-
Deprecated.Use
JsonLayout.newBuilder()
instead - createLayout(Configuration, boolean, boolean, String, String, Charset, boolean) - Static method in class org.apache.logging.log4j.core.layout.YamlLayout
-
Deprecated.Use
YamlLayout.newBuilder()
instead - createLayout(Configuration, String, Character, Character, Character, QuoteMode, String, String, Charset, String, String) - Static method in class org.apache.logging.log4j.core.layout.CsvLogEventLayout
- createLayout(Configuration, String, Character, Character, Character, QuoteMode, String, String, Charset, String, String) - Static method in class org.apache.logging.log4j.core.layout.CsvParameterLayout
- createLayout(Facility, boolean, String, Charset) - Static method in class org.apache.logging.log4j.core.layout.SyslogLayout
-
Deprecated.
- createLayout(Facility, String, int, boolean, String, String, String, boolean, String, String, String, String, String, String, String, boolean, LoggerFields[], Configuration) - Static method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
Deprecated.Use
instead
- createLevel(String, int) - Static method in class org.apache.logging.log4j.core.config.CustomLevelConfig
-
Creates a CustomLevelConfig object.
- createList(int) - Method in interface org.apache.logging.log4j.core.appender.nosql.NoSqlConnection
-
Creates an array of the specified length typed to match the
NoSqlObject
implementation appropriate for this provider. - createLogger(boolean, Level, String, String, AppenderRef[], Property[], Configuration, Filter) - Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
Deprecated.
- createLogger(boolean, Level, String, String, AppenderRef[], Property[], Configuration, Filter) - Static method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Deprecated.
- createLogger(String, String, String, String, AppenderRef[], Property[], Configuration, Filter) - Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
- createLogger(String, String, String, AppenderRef[], Property[], Configuration, Filter) - Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig.RootLogger
- createLogger(String, Level, String, String, AppenderRef[], Property[], Configuration, Filter) - Static method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Deprecated.
- createLogger(String, Level, String, AppenderRef[], Property[], Configuration, Filter) - Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig.RootLogger
-
Deprecated.
- createLogger(String, Level, String, AppenderRef[], Property[], Configuration, Filter) - Static method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger
-
Deprecated.
- createLoggerFields(KeyValuePair[], String, String, boolean) - 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.LoggersPlugin
-
Create a Loggers object to contain all the Loggers.
- createManager(String, MailManager.FactoryData) - Method in interface org.apache.logging.log4j.core.net.MailManagerFactory
- createManager(String, MailManager.FactoryData) - Method in class org.apache.logging.log4j.core.net.SmtpManager.SMTPManagerFactory
- createManager(String, T) - Method in interface org.apache.logging.log4j.core.appender.ManagerFactory
-
Creates a Manager.
- createManager(String, T) - 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.
- createMemento() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
Creates and returns a new immutable copy of this
RingBufferLogEvent
. - createMemento() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
-
Creates and returns a new immutable copy of this
MutableLogEvent
. - createMemento(LogEvent) - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- createMemento(LogEvent, boolean) - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Creates and returns a new immutable copy of this
Log4jLogEvent
. - createMessage(Serializable) - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager
-
Creates a TextMessage, MapMessage, or ObjectMessage from a Serializable object.
- createMessageConsumer() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager
-
Creates a MessageConsumer on this Destination using the current Session.
- createMessageProducer(Session, Destination) - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager
-
Creates a MessageProducer on this Destination using the current Session.
- createNameCondition(String, String, PathCondition...) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.IfFileName
-
Creates a IfFileName condition that returns true if either the specified glob pattern or the regular expression matches the relative path.
- createNotCondition(PathCondition) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.IfNot
-
Create an IfNot PathCondition.
- createObject() - Method in interface org.apache.logging.log4j.core.appender.nosql.NoSqlConnection
-
Instantiates and returns a
NoSqlObject
instance whose properties can be configured before ultimate insertion viaNoSqlConnection.insertObject(NoSqlObject)
. - createOrCondition(PathCondition...) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.IfAny
-
Create a Composite PathCondition: accepts if any of the nested conditions accepts.
- createOutputStream() - Method in class org.apache.logging.log4j.core.appender.FileManager
- createOutputStream() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- createParentDir(File) - Method in class org.apache.logging.log4j.core.appender.FileManager
- createParentDir(File) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- createPatternParser(Configuration) - Static method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Creates a PatternParser.
- createPluginObject(PluginType<?>, Node) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
This method is used by Arbiters to create specific children.
- createPolicy() - Static method in class org.apache.logging.log4j.core.appender.rolling.NoOpTriggeringPolicy
- createPolicy(long) - 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
-
Deprecated.
- createPolicy(String, KeyValuePair[]) - Static method in class org.apache.logging.log4j.core.appender.rewrite.LoggerNameLevelRewritePolicy
-
Creates a policy to rewrite levels for a given logger name.
- createPolicy(String, KeyValuePair[]) - Static method in class org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy
-
The factory method to create the MapRewritePolicy.
- createPolicy(TriggeringPolicy...) - Static method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
-
Creates a CompositeTriggeringPolicy.
- createPolicy(Configuration, String, String) - Static method in class org.apache.logging.log4j.core.appender.rolling.CronTriggeringPolicy
-
Creates a ScheduledTriggeringPolicy.
- createPolicy(Configuration, Property[]) - Static method in class org.apache.logging.log4j.core.appender.rewrite.PropertiesRewritePolicy
-
Creates a PropertiesRewritePolicy.
- createProperties(String, String, String, String, String, Properties) - Static method in class org.apache.logging.log4j.core.net.JndiManager
-
Creates JNDI Properties with the provided configuration information.
- createProperty(String, String) - Static method in class org.apache.logging.log4j.core.config.Property
-
Creates a Property.
- createProperty(String, String, String) - Static method in class org.apache.logging.log4j.core.config.Property
-
Creates a Property.
- createProperty(String, String, Configuration) - Static method in class org.apache.logging.log4j.core.config.Property
-
Creates a Property.
- createPurgePolicy(String, String, String, Configuration) - Static method in class org.apache.logging.log4j.core.appender.routing.IdlePurgePolicy
-
Create the PurgePolicy
- createReference(String, Configuration) - Static method in class org.apache.logging.log4j.core.script.ScriptRef
- createRegexReplacement(Pattern, String) - Static method in class org.apache.logging.log4j.core.pattern.RegexReplacement
-
Create a RegexReplacement.
- createRingBufferAdmin() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
Creates and returns a new
RingBufferAdmin
that instruments the ringbuffer of theAsyncLogger
objects in thisLoggerContext
. - createRingBufferAdmin(String) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
Creates and returns a new
RingBufferAdmin
that instruments the ringbuffer of thisAsyncLoggerConfig
. - createRingBufferAdmin(String, String) - Method in interface org.apache.logging.log4j.core.async.AsyncLoggerConfigDelegate
-
Creates and returns a new
RingBufferAdmin
that instruments the ringbuffer of thisAsyncLoggerConfig
. - createRingBufferAdmin(String, String) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor
- 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
-
Deprecated.since 2.7; use
Routes.newBuilder()
. - createScript(String, String, String) - Static method in class org.apache.logging.log4j.core.script.Script
- createScript(String, String, String, Boolean, Charset) - Static method in class org.apache.logging.log4j.core.script.ScriptFile
- createScripts(AbstractScript[]) - Static method in class org.apache.logging.log4j.core.config.ScriptsPlugin
-
Return the array of scripts
- createSelector(PatternMatch[], String, boolean, boolean, Configuration) - Static method in class org.apache.logging.log4j.core.layout.LevelPatternSelector
-
Deprecated.Use
LevelPatternSelector.newBuilder()
instead. - createSelector(PatternMatch[], String, boolean, boolean, Configuration) - Static method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector
-
Deprecated.Use
MarkerPatternSelector.newBuilder()
instead. - createSelector(AbstractScript, PatternMatch[], String, boolean, boolean, Configuration) - Static method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector
-
Deprecated.Use
ScriptPatternSelector.newBuilder()
instead. - createSequence(String...) - Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Creates an ANSI escape sequence from the given AnsiEscape names.
- createSerializer(Configuration, RegexReplacement, String, String, PatternSelector, boolean, boolean) - Static method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Deprecated.Use
PatternLayout.newSerializerBuilder()
instead. - createSocket(InetSocketAddress) - Method in class org.apache.logging.log4j.core.net.SslSocketManager
- createSocket(InetSocketAddress) - Method in class org.apache.logging.log4j.core.net.TcpSocketManager
- createSocket(InetSocketAddress, SocketOptions, int) - Static method in class org.apache.logging.log4j.core.net.TcpSocketManager
- createSocketManager(String, Protocol, String, int, int, SslConfiguration, int, boolean, Layout<? extends Serializable>, int) - Static method in class org.apache.logging.log4j.core.appender.SocketAppender
- createSocketManager(String, Protocol, String, int, int, SslConfiguration, int, boolean, Layout<? extends Serializable>, int, SocketOptions) - Static method in class org.apache.logging.log4j.core.appender.SocketAppender
-
Creates an AbstractSocketManager for TCP, UDP, and SSL.
- createSorter(boolean) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.PathSortByModificationTime
-
Create a PathSorter that sorts by lastModified time.
- createSSLConfiguration(String, KeyStoreConfiguration, TrustStoreConfiguration) - Static method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
-
Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.
- createSSLConfiguration(String, KeyStoreConfiguration, TrustStoreConfiguration, boolean) - Static method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
-
Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.
- createStrategy(String, String, String, String, Action[], boolean, Configuration) - Static method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
Deprecated.Since 2.9 Usage of Builder API is preferable
- createStrategy(String, String, Action[], boolean, Configuration) - Static method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
-
Deprecated.Since 2.9 Usage of Builder API is preferable
- createThreadFactory(String) - Static method in class org.apache.logging.log4j.core.util.Log4jThreadFactory
-
Creates a new thread factory.
- createWaitStrategy() - Method in interface org.apache.logging.log4j.core.async.AsyncWaitStrategyFactory
-
Creates and returns a non-null implementation of the LMAX Disruptor's WaitStrategy interface.
- createWaitStrategyFactory() - Method in class org.apache.logging.log4j.core.async.AsyncWaitStrategyFactoryConfig
- CRITICAL - Enum constant in enum org.apache.logging.log4j.core.net.Severity
-
Critical conditions.
- CRON - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Clock daemon.
- CronExpression - Class in org.apache.logging.log4j.core.util
-
Provides a parser and evaluator for unix-like cron expressions.
- CronExpression(String) - Constructor for class org.apache.logging.log4j.core.util.CronExpression
-
Constructs a new
CronExpression
based on the specified parameter. - CronExpressionConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.CronExpressionConverter
- CronRunnable(Runnable, CronExpression) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationScheduler.CronRunnable
- CronScheduledFuture<V> - Class in org.apache.logging.log4j.core.config
- CronScheduledFuture(ScheduledFuture<V>, Date) - Constructor for class org.apache.logging.log4j.core.config.CronScheduledFuture
- CronTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
-
Rolls a file over based on a cron schedule.
- CSI - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
The Control Sequence Introducer (or Control Sequence Initiator).
- CsvLogEventLayout - Class in org.apache.logging.log4j.core.layout
-
A Comma-Separated Value (CSV) layout to log events.
- CsvLogEventLayout(Configuration, Charset, CSVFormat, String, String) - Constructor for class org.apache.logging.log4j.core.layout.CsvLogEventLayout
- CsvParameterLayout - Class in org.apache.logging.log4j.core.layout
-
A Comma-Separated Value (CSV) layout to log event parameters.
- CsvParameterLayout(Configuration, Charset, CSVFormat, String, String) - Constructor for class org.apache.logging.log4j.core.layout.CsvParameterLayout
- currentTimeMillis() - Method in class org.apache.logging.log4j.core.util.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.util.Clock
-
Returns the time in milliseconds since the epoch.
- currentTimeMillis() - Method in class org.apache.logging.log4j.core.util.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.util.SystemClock
-
Returns the system time.
- currentTimeMillis() - Method in class org.apache.logging.log4j.core.util.SystemMillisClock
-
Returns the system time.
- CustomLevelComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing CustomLevel Components.
- CustomLevelConfig - Class in org.apache.logging.log4j.core.config
-
Descriptor of a custom Level object that is created via configuration.
- CustomLevels - Class in org.apache.logging.log4j.core.config
-
Container for CustomLevelConfig objects.
- CustomLoggerGenerator - Class in org.apache.logging.log4j.core.tools
-
Wrapper around
Generate.CustomLogger
. - CustomLoggerGenerator() - Constructor for class org.apache.logging.log4j.core.tools.CustomLoggerGenerator
- Cyan(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Cyan
-
Constructs the converter.
- CYAN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Cyan foreground color.
- CyclicBuffer<T> - Class in org.apache.logging.log4j.core.util
-
A bounded buffer containing elements of type T.
- CyclicBuffer(Class<T>, int) - Constructor for class org.apache.logging.log4j.core.util.CyclicBuffer
-
Instantiates a new CyclicBuffer of at most
maxSize
events.
D
- DAEMON - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
System daemons.
- DAILY - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover daily.
- DatagramOutputStream - Class in org.apache.logging.log4j.core.net
-
OutputStream for UDP connections.
- DatagramOutputStream(String, int, byte[], byte[]) - Constructor for class org.apache.logging.log4j.core.net.DatagramOutputStream
-
The Constructor.
- DatagramSocketManager - Class in org.apache.logging.log4j.core.net
-
Socket Manager for UDP connections.
- DatagramSocketManager(String, OutputStream, InetAddress, String, int, Layout<? extends Serializable>, int) - Constructor for class org.apache.logging.log4j.core.net.DatagramSocketManager
-
The Constructor.
- DataSourceConnectionSource - Class in org.apache.logging.log4j.core.appender.db.jdbc
-
A
JdbcAppender
connection source that uses aDataSource
to connect to the database. - DATE - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.DATE_AND_TIME time format:
"dd MMM yyyy HH:mm:ss,SSS"
. - DATE_PERIOD - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.DATE_AND_TIME time format variation with period separator:
"dd MMM yyyy HH:mm:ss.SSS"
. - DateLookup - Class in org.apache.logging.log4j.core.lookup
-
Formats the current date or the date in the LogEvent.
- DateLookup() - Constructor for class org.apache.logging.log4j.core.lookup.DateLookup
- DatePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Converts and formats the event's date in a StringBuilder.
- DatePrinter - Interface in org.apache.logging.log4j.core.util.datetime
-
Deprecated.Starting with version
2.25.0
, this class is assumed to be internal and planned to be removed in the next major release. - DateTypeConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Utility methods for Date classes.
- DAY_OF_MONTH - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- DAY_OF_WEEK - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- dayMap - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- daysOfMonth - Variable in class org.apache.logging.log4j.core.util.CronExpression
- daysOfWeek - Variable in class org.apache.logging.log4j.core.util.CronExpression
- DbAppenderLoggingException - Exception in org.apache.logging.log4j.core.appender.db
-
Wraps a database exception like a JDBC SQLException.
- DbAppenderLoggingException(String, Object...) - Constructor for exception org.apache.logging.log4j.core.appender.db.DbAppenderLoggingException
-
Constructs an exception with a message.
- DbAppenderLoggingException(String, Throwable) - Constructor for exception org.apache.logging.log4j.core.appender.db.DbAppenderLoggingException
-
Constructs an exception with a message and underlying cause.
- DbAppenderLoggingException(Throwable, String, Object...) - Constructor for exception org.apache.logging.log4j.core.appender.db.DbAppenderLoggingException
-
Constructs an exception with a message.
- DEBUG - Enum constant in enum org.apache.logging.log4j.core.net.Severity
-
Debug level messages.
- decrementScheduledItems() - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
-
Decrement the number of threads in the pool
- decryptPassword(String) - Method in interface org.apache.logging.log4j.core.util.PasswordDecryptor
- DEFAULT - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Default foreground color.
- DEFAULT - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.DEFAULT time format:
"yyyy-MM-dd HH:mm:ss,SSS"
. - DEFAULT - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Default instance of
ThrowableFormatOptions
. - DEFAULT_BUFFER_SIZE - Static variable in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
The default buffer size.
- DEFAULT_CHARSET - Static variable in class org.apache.logging.log4j.core.layout.AbstractCsvLayout
- DEFAULT_CONVERSION_PATTERN - Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
-
Default pattern string for log output.
- DEFAULT_ENTERPRISE_NUMBER - Static variable in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
The default example enterprise number from RFC5424.
- DEFAULT_EOL - Static variable in class org.apache.logging.log4j.core.layout.YamlLayout
- DEFAULT_ESCAPE - Static variable in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Constant for the default escape character.
- DEFAULT_FONT_FAMILY - Static variable in class org.apache.logging.log4j.core.layout.HtmlLayout
-
Default font family: "arial,sans-serif".
- DEFAULT_FORMAT - Static variable in class org.apache.logging.log4j.core.layout.AbstractCsvLayout
- DEFAULT_ID - Static variable in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
The default event id.
- DEFAULT_LANGUAGE - Static variable in class org.apache.logging.log4j.core.script.AbstractScript
- DEFAULT_LEVEL - Static variable in class org.apache.logging.log4j.core.config.DefaultConfiguration
-
The System Property used to specify the logging level.
- DEFAULT_MAX_LEVEL - Static variable in class org.apache.logging.log4j.core.filter.LevelRangeFilter
-
THe default maximum level threshold.
- DEFAULT_MDCID - Static variable in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
Default MDC ID: "mdc" .
- DEFAULT_MICROS - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.DEFAULT time format with microsecond precision:
"yyyy-MM-dd HH:mm:ss,nnnnnn"
. - DEFAULT_MIN_LEVEL - Static variable in class org.apache.logging.log4j.core.filter.LevelRangeFilter
-
The default minimum level threshold.
- DEFAULT_NAME - Static variable in class org.apache.logging.log4j.core.config.DefaultConfiguration
-
The name of the default configuration.
- DEFAULT_NANOS - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.DEFAULT time format with nanosecond precision:
"yyyy-MM-dd HH:mm:ss,nnnnnnnnn"
. - DEFAULT_ON_MATCH - Static variable in class org.apache.logging.log4j.core.filter.LevelRangeFilter
-
The default result on a match.
- DEFAULT_ON_MISMATCH - Static variable in class org.apache.logging.log4j.core.filter.LevelRangeFilter
-
The default result on a mismatch.
- DEFAULT_PATTERN - Static variable in class org.apache.logging.log4j.core.config.DefaultConfiguration
-
The default Pattern used for the default Layout.
- DEFAULT_PERIOD - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.DEFAULT time format variation with period separator:
"yyyy-MM-dd HH:mm:ss.SSS"
. - DEFAULT_PORT - Static variable in class org.apache.logging.log4j.core.net.SslSocketManager
- DEFAULT_PREFIX - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
File name prefix for standard configurations.
- DEFAULT_PREFIX - Static variable in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Constant for the default variable prefix.
- DEFAULT_RECONNECT_INTERVAL_MILLIS - Static variable in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
- DEFAULT_RECONNECT_INTERVAL_MILLIS - Static variable in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- DEFAULT_RECONNECTION_DELAY_MILLIS - Static variable in class org.apache.logging.log4j.core.net.TcpSocketManager
-
The default reconnection delay (30000 milliseconds or 30 seconds).
- DEFAULT_STOP_TIMEOUT - Static variable in class org.apache.logging.log4j.core.AbstractLifeCycle
- DEFAULT_STOP_TIMEOUT - Static variable in interface org.apache.logging.log4j.core.selector.ContextSelector
- DEFAULT_STOP_TIMEUNIT - Static variable in class org.apache.logging.log4j.core.AbstractLifeCycle
- DEFAULT_STRING_BUILDER_SIZE - Static variable in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
Default length for new StringBuilder instances: 1024 .
- DEFAULT_SUFFIX - Static variable in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Constant for the default variable suffix.
- DEFAULT_TIMEOUT_MILLIS - Static variable in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaManager
- DEFAULT_VALUE_DELIMITER - Static variable in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- DEFAULT_VALUE_DELIMITER_STRING - Static variable in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Constant for the default value delimiter of a variable.
- DEFAULT_VALUE_ESCAPE_DELIMITER - Static variable in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- DefaultAdvertiser - Class in org.apache.logging.log4j.core.config
-
The default advertiser does not do anything.
- DefaultAdvertiser() - Constructor for class org.apache.logging.log4j.core.config.DefaultAdvertiser
- DefaultArbiter - Class in org.apache.logging.log4j.core.config.arbiters
-
Default Condition for a Select Condition.
- DefaultArbiter() - Constructor for class org.apache.logging.log4j.core.config.arbiters.DefaultArbiter
- DefaultArbiter.Builder - Class in org.apache.logging.log4j.core.config.arbiters
- DefaultAsyncQueueFullPolicy - Class in org.apache.logging.log4j.core.async
-
Default router: enqueue the event for asynchronous logging in the background thread, unless the current thread is the background thread and the queue is full (enqueueing would cause a deadlock).
- DefaultAsyncQueueFullPolicy() - Constructor for class org.apache.logging.log4j.core.async.DefaultAsyncQueueFullPolicy
- defaultBoolean() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Specifies the default boolean value to use.
- defaultByte() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Specifies the default byte value to use.
- defaultChar() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Specifies the default byte value to use.
- defaultClass() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Specifies the default
Class
value to use. - DefaultConfiguration - Class in org.apache.logging.log4j.core.config
-
The default configuration writes all output to the Console using the default logging level.
- DefaultConfiguration() - Constructor for class org.apache.logging.log4j.core.config.DefaultConfiguration
-
Constructor to create the default configuration.
- DefaultConfigurationBuilder<T extends BuiltConfiguration> - Class in org.apache.logging.log4j.core.config.builder.impl
- DefaultConfigurationBuilder() - Constructor for class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- DefaultConfigurationBuilder(Class<T>) - Constructor for class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- defaultContextName() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
- defaultContextName() - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- defaultDouble() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Specifies the default double floating point value to use.
- DefaultErrorHandler - Class in org.apache.logging.log4j.core.appender
-
The default
ErrorHandler
implementation falling back toStatusLogger
. - DefaultErrorHandler(Appender) - Constructor for class org.apache.logging.log4j.core.appender.DefaultErrorHandler
- DefaultExceptionStyleMap - Static variable in class org.apache.logging.log4j.core.pattern.JAnsiTextRenderer
- defaultFloat() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Specifies the default floating point value to use.
- defaultInt() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Specifies the default integer value to use.
- DefaultKafkaProducerFactory - Class in org.apache.logging.log4j.core.appender.mom.kafka
-
Creates Apache Kafka
Producer
instances. - DefaultKafkaProducerFactory() - Constructor for class org.apache.logging.log4j.core.appender.mom.kafka.DefaultKafkaProducerFactory
- DefaultLogEventFactory - Class in org.apache.logging.log4j.core.impl
-
Always creates new LogEvent instances.
- DefaultLogEventFactory() - Constructor for class org.apache.logging.log4j.core.impl.DefaultLogEventFactory
- DefaultLoggerContextAccessor - Class in org.apache.logging.log4j.core
-
Default implementation using the Core LoggerContext.
- DefaultLoggerContextAccessor() - Constructor for class org.apache.logging.log4j.core.DefaultLoggerContextAccessor
- defaultLong() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Specifies the default long value to use.
- DefaultMergeStrategy - Class in org.apache.logging.log4j.core.config.composite
-
The default merge strategy for composite configurations.
- DefaultMergeStrategy() - Constructor for class org.apache.logging.log4j.core.config.composite.DefaultMergeStrategy
- DefaultNoSqlObject - Class in org.apache.logging.log4j.core.appender.nosql
-
Default implementation of
NoSqlObject
. - DefaultNoSqlObject() - Constructor for class org.apache.logging.log4j.core.appender.nosql.DefaultNoSqlObject
-
Constructs a new instance.
- DefaultReliabilityStrategy - Class in org.apache.logging.log4j.core.config
-
Reliability strategy that assumes reconfigurations will never take place.
- DefaultReliabilityStrategy(LoggerConfig) - Constructor for class org.apache.logging.log4j.core.config.DefaultReliabilityStrategy
- DefaultRolloverStrategy - Class in org.apache.logging.log4j.core.appender.rolling
-
When rolling over,
DefaultRolloverStrategy
renames files according to an algorithm as described below. - DefaultRolloverStrategy(int, int, boolean, int, StrSubstitutor, Action[], boolean) - Constructor for class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
Deprecated.Since 2.9 Added tempCompressedFilePatternString parameter
- DefaultRolloverStrategy(int, int, boolean, int, StrSubstitutor, Action[], boolean, String) - Constructor for class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
Constructs a new instance.
- DefaultRolloverStrategy.Builder - Class in org.apache.logging.log4j.core.appender.rolling
-
Builds DefaultRolloverStrategy instances.
- defaultShort() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Specifies the default long value to use.
- DefaultShutdownCallbackRegistry - Class in org.apache.logging.log4j.core.util
-
ShutdownRegistrationStrategy that simply uses
Runtime.addShutdownHook(Thread)
. - DefaultShutdownCallbackRegistry() - Constructor for class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
-
Constructs a DefaultShutdownRegistrationStrategy.
- DefaultShutdownCallbackRegistry(ThreadFactory) - Constructor for class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
-
Constructs a DefaultShutdownRegistrationStrategy using the given
ThreadFactory
. - defaultString() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Specifies the default value this attribute should use if none is provided or if the provided value is invalid.
- deferChildren() - Element in annotation type org.apache.logging.log4j.core.config.plugins.Plugin
- defineAttributeView(Path) - Method in class org.apache.logging.log4j.core.appender.FileManager
- defineFilePosixAttributeView(Path, Set<PosixFilePermission>, String, String) - Static method in class org.apache.logging.log4j.core.util.FileUtils
-
Define file POSIX attribute view on a path/file.
- DEFLATE - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
- delete(Path) - Method in class org.apache.logging.log4j.core.appender.rolling.action.DeleteAction
-
Deletes the specified file.
- delete(Path) - Method in class org.apache.logging.log4j.core.appender.rolling.action.DeletingVisitor
-
Deletes the specified file.
- DeleteAction - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Rollover or scheduled action for deleting old log files that are accepted by the specified PathFilters.
- deleteAppender(String) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
-
Deletes the specified appender.
- DeletingVisitor - Class in org.apache.logging.log4j.core.appender.rolling.action
-
FileVisitor that deletes files that are accepted by all PathFilters.
- DeletingVisitor(Path, List<? extends PathCondition>, boolean) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.DeletingVisitor
-
Constructs a new DeletingVisitor.
- DENY - Enum constant in enum org.apache.logging.log4j.core.Filter.Result
-
The event should not be processed.
- DenyAllFilter - Class in org.apache.logging.log4j.core.filter
-
This filter causes all logging events to be dropped.
- DenyAllFilter.Builder - Class in org.apache.logging.log4j.core.filter
- deserialize(JsonParser, DeserializationContext) - Method in class org.apache.logging.log4j.core.jackson.ContextDataAsEntryListDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.apache.logging.log4j.core.jackson.ContextDataDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.apache.logging.log4j.core.jackson.ListOfMapEntryDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.apache.logging.log4j.core.jackson.Log4jStackTraceElementDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class org.apache.logging.log4j.core.jackson.SimpleMessageDeserializer
- deserialize(Serializable) - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- DIM - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Dim general attribute.
- directEncodeEvent(LogEvent) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
- directEncodeEvent(LogEvent) - Method in class org.apache.logging.log4j.core.appender.SocketAppender
- DirectFileRolloverStrategy - Interface in org.apache.logging.log4j.core.appender.rolling
-
Created by rgoers on 1/12/17.
- DirectWriteRolloverStrategy - Class in org.apache.logging.log4j.core.appender.rolling
-
When rolling over,
DirectWriteRolloverStrategy
writes directly to the file as resolved by the file pattern. - DirectWriteRolloverStrategy(int, int, StrSubstitutor, Action[], boolean) - Constructor for class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
-
Deprecated.Since 2.9 Added tempCompressedFilePatternString parameter
- DirectWriteRolloverStrategy(int, int, StrSubstitutor, Action[], boolean, String) - Constructor for class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
-
Constructs a new instance.
- DirectWriteRolloverStrategy.Builder - Class in org.apache.logging.log4j.core.appender.rolling
-
Builds DirectWriteRolloverStrategy instances.
- DISCARD - Enum constant in enum org.apache.logging.log4j.core.async.EventRoute
-
Discards the event (so it is not logged at all).
- DiscardingAsyncQueueFullPolicy - Class in org.apache.logging.log4j.core.async
-
Discarding router extends the DefaultAsyncQueueFullPolicy by first verifying if the queue is fuller than the specified threshold ratio; if this is the case, log events more specific than the specified threshold level are dropped.
- DiscardingAsyncQueueFullPolicy(Level) - Constructor for class org.apache.logging.log4j.core.async.DiscardingAsyncQueueFullPolicy
-
Constructs a router that will discard events equal or less specific than the specified threshold level when the queue is full.
- DisruptorBlockingQueueFactory<E> - Class in org.apache.logging.log4j.core.async
-
Factory for creating instances of
DisruptorBlockingQueue
. - doConfigure() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- doConfigure() - Method in class org.apache.logging.log4j.core.config.DefaultConfiguration
- doesMatchClass() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry.PluginTest
- doesMatchClass() - Method in interface org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.Test
- doesMatchResource() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry.PluginTest
- doesMatchResource() - Method in interface org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.Test
- DOMAIN - Static variable in class org.apache.logging.log4j.core.jmx.Server
-
The domain part, or prefix ("org.apache.logging.log4j2") of the
ObjectName
of all MBeans that instrument Log4J2 components. - DoubleConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.DoubleConverter
- doubleQuoteMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Returns a matcher which matches the double quote character.
- drain(ByteBuffer) - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
- drain(ByteBuffer) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Drains the ByteBufferDestination's buffer into the destination.
- drain(ByteBuffer) - Method in interface org.apache.logging.log4j.core.layout.ByteBufferDestination
-
Consumes the buffer content and returns a buffer with more available space (which may or may not be the same instance).
- driverClassName - Variable in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- DriverManagerConnectionSource - Class in org.apache.logging.log4j.core.appender.db.jdbc
-
A
ConnectionSource
that uses a JDBC connection string, a user name, and a password to callDriverManager.getConnection(String, String, String)
. - DriverManagerConnectionSource(String, String, String, char[], char[], Property[]) - Constructor for class org.apache.logging.log4j.core.appender.db.jdbc.DriverManagerConnectionSource
- DriverManagerConnectionSource.Builder<B extends DriverManagerConnectionSource.Builder<B>> - Class in org.apache.logging.log4j.core.appender.db.jdbc
-
Builds DriverManagerConnectionSource instances.
- DummyNanoClock - Class in org.apache.logging.log4j.core.util
-
Implementation of the
NanoClock
interface that always returns a fixed value. - DummyNanoClock() - Constructor for class org.apache.logging.log4j.core.util.DummyNanoClock
- DummyNanoClock(long) - Constructor for class org.apache.logging.log4j.core.util.DummyNanoClock
-
Constructs a new DummyNanoClock with the specified value to return.
- Duration - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Deprecated.since 2.24.0 use
Duration
instead. - DurationConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.DurationConverter
-
Deprecated.
- DynamicThresholdFilter - Class in org.apache.logging.log4j.core.filter
-
Compares against a log level that is associated with a context value.
E
- EJS - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- ELEMENT_TYPE - Static variable in interface org.apache.logging.log4j.core.Appender
-
Main plugin element type for Appender plugins.
- ELEMENT_TYPE - Static variable in interface org.apache.logging.log4j.core.async.BlockingQueueFactory
-
The
element type
to use for plugins implementing this interface. - ELEMENT_TYPE - Static variable in interface org.apache.logging.log4j.core.config.arbiters.Arbiter
- ELEMENT_TYPE - Static variable in interface org.apache.logging.log4j.core.Filter
-
Main plugin element type for Filter plugins.
- ELEMENT_TYPE - Static variable in interface org.apache.logging.log4j.core.Layout
-
Main plugin element type for Layout plugins.
- ELEMENT_TYPE - Static variable in interface org.apache.logging.log4j.core.layout.PatternSelector
- ELEMENT_TYPE - Static variable in interface org.apache.logging.log4j.core.util.Watcher
- elementType() - Element in annotation type org.apache.logging.log4j.core.config.plugins.Plugin
-
Name of the corresponding category of elements this plugin belongs under.
- ELT_CAUSE - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_CAUSE - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_CONTEXT_MAP - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_CONTEXT_MAP - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_CONTEXT_STACK - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_CONTEXT_STACK - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_CONTEXT_STACK_ITEM - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_END_OF_BATCH - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_EVENT - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_EXTENDED_STACK_TRACE - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_EXTENDED_STACK_TRACE - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_EXTENDED_STACK_TRACE_ITEM - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_INSTANT - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_INSTANT - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_LEVEL - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_LOGGER_FQCN - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_LOGGER_NAME - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_MARKER - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_MARKER - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_MESSAGE - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_MESSAGE - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_NANO_TIME - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_PARENTS - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_PARENTS - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_SOURCE - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_SOURCE - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_SUPPRESSED - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_SUPPRESSED - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_SUPPRESSED_ITEM - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_THREAD - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_THROWN - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_THROWN - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- ELT_TIME_MILLIS - Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
- ELT_TIME_MILLIS - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- EMERG - Enum constant in enum org.apache.logging.log4j.core.net.Severity
-
System is unusable.
- EMPTY - Static variable in annotation type org.apache.logging.log4j.core.config.plugins.Plugin
-
Value of the elementType when none is specified.
- EMPTY_ARRAY - Static variable in class org.apache.logging.log4j.core.appender.db.ColumnMapping
-
The empty array.
- EMPTY_ARRAY - Static variable in interface org.apache.logging.log4j.core.Appender
-
Empty array.
- EMPTY_ARRAY - Static variable in interface org.apache.logging.log4j.core.appender.rolling.action.PathCondition
-
The empty array.
- EMPTY_ARRAY - Static variable in class org.apache.logging.log4j.core.config.Property
- EMPTY_ARRAY - Static variable in interface org.apache.logging.log4j.core.Filter
-
The empty array.
- EMPTY_ARRAY - Static variable in class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Empty array.
- EMPTY_ARRAY - Static variable in class org.apache.logging.log4j.core.pattern.PatternFormatter
-
The empty array.
- EMPTY_ARRAY - Static variable in class org.apache.logging.log4j.core.util.KeyValuePair
-
The empty array.
- emptyFrozenContextData() - Static method in class org.apache.logging.log4j.core.impl.ContextDataFactory
-
An empty pre-frozen IndexedStringMap.
- emptyVariableOutput() - Method in class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
- emptyVariableOutput() - Method in class org.apache.logging.log4j.core.pattern.MdcPatternConverter
- emptyVariableOutput() - Method in class org.apache.logging.log4j.core.pattern.NdcPatternConverter
- ENABLE_DIRECT_ENCODERS - Static variable in class org.apache.logging.log4j.core.util.Constants
-
Kill switch for garbage-free Layout behaviour that encodes LogEvents directly into
ByteBufferDestination
s without creating intermediate temporary Objects. - ENABLE_THREADLOCALS - Static variable in class org.apache.logging.log4j.core.util.Constants
-
Kill switch for object pooling in ThreadLocals that enables much of the LOG4J2-1270 no-GC behaviour.
- encode(StringBuilder, ByteBufferDestination) - Method in class org.apache.logging.log4j.core.layout.LockingStringBuilderEncoder
- encode(StringBuilder, ByteBufferDestination) - Method in class org.apache.logging.log4j.core.layout.StringBuilderEncoder
- encode(LogEvent, ByteBufferDestination) - Method in class org.apache.logging.log4j.core.layout.AbstractLayout
-
Encodes the specified source LogEvent to some binary representation and writes the result to the specified destination.
- encode(LogEvent, ByteBufferDestination) - Method in class org.apache.logging.log4j.core.layout.GelfLayout
- encode(LogEvent, ByteBufferDestination) - Method in class org.apache.logging.log4j.core.layout.PatternLayout
- encode(T, ByteBufferDestination) - Method in interface org.apache.logging.log4j.core.layout.Encoder
-
Encodes the specified source object to some binary representation and writes the result to the specified destination.
- encodeContent(byte[], String, ByteArrayOutputStream) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- encodeContentToBytes(byte[], String) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- encodeIsoChars(CharSequence, int, byte[], int, int) - Static method in class org.apache.logging.log4j.core.util.StringEncoder
-
Deprecated.No longer necessary given better performance in Java 8
- Encoder<T> - Interface in org.apache.logging.log4j.core.layout
-
Objects implementing the
Encoder
interface know how to convert an object to some binary representation and write the result to aByteBuffer
, ideally without creating temporary objects. - ENCODER_BYTE_BUFFER_SIZE - Static variable in class org.apache.logging.log4j.core.util.Constants
-
Default size of ByteBuffers used to encode LogEvents without allocating temporary objects.
- ENCODER_CHAR_BUFFER_SIZE - Static variable in class org.apache.logging.log4j.core.util.Constants
-
Size of CharBuffers used by text encoders.
- encodeSingleByteChars(CharSequence) - Static method in class org.apache.logging.log4j.core.util.StringEncoder
-
Deprecated.No longer necessary given better performance in Java 8
- encodeString(CharSequence, int, int, byte[]) - Static method in class org.apache.logging.log4j.core.util.StringEncoder
-
Deprecated.No longer necessary given better performance in Java 8
- encodeText(CharsetEncoder, CharBuffer, ByteBuffer, StringBuilder, ByteBufferDestination) - Static method in class org.apache.logging.log4j.core.layout.TextEncoderHelper
-
Converts the specified text to bytes and writes the resulting bytes to the specified destination.
- encodeText(CharsetEncoder, CharBuffer, ByteBufferDestination) - Static method in class org.apache.logging.log4j.core.layout.TextEncoderHelper
-
Deprecated.
- EncodingPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Converter that encodes the output from a pattern using a specified format.
- EndOfBatchPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the EndOfBatch.
- ENQUEUE - Enum constant in enum org.apache.logging.log4j.core.async.EventRoute
-
Enqueues the event for asynchronous logging in the background thread.
- enqueueEvent(LogEvent, AsyncLoggerConfig) - Method in interface org.apache.logging.log4j.core.async.AsyncLoggerConfigDelegate
-
Enqueues the
LogEvent
on the mixed configuration ringbuffer. - enqueueEvent(LogEvent, AsyncLoggerConfig) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor
- ensureInitialized() - Static method in class org.apache.logging.log4j.core.util.ExecutorServices
-
No-op method which can be invoked to ensure this class has been initialized per jls-12.4.2.
- ENTERPRISE_ID_PATTERN - Static variable in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
For now, avoid too restrictive OID checks to allow for easier transition
- EnumConverter<E extends Enum<E>> - Class in org.apache.logging.log4j.core.config.plugins.convert
- EnumConverter(Class<E>) - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.EnumConverter
- EnvironmentArbiter - Class in org.apache.logging.log4j.core.config.arbiters
-
Condition that determines if the specified environment variable is set.
- EnvironmentArbiter.Builder - Class in org.apache.logging.log4j.core.config.arbiters
- EnvironmentLookup - Class in org.apache.logging.log4j.core.lookup
-
Looks up keys from environment variables.
- EnvironmentLookup() - Constructor for class org.apache.logging.log4j.core.lookup.EnvironmentLookup
- EOF - Static variable in class org.apache.logging.log4j.core.util.IOUtils
-
Represents the end-of-file (or stream).
- eol - Variable in class org.apache.logging.log4j.core.layout.YamlLayout
- EPOCH_MILLIS - Enum constant in enum org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Formats milliseconds since epoch, including the nanosecond fraction; e.g.,
1581082727982.123456
. - EPOCH_MILLIS_NANOS - Enum constant in enum org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Formats the nanosecond fraction of milliseconds since epoch; e.g.,
123456
. - EPOCH_MILLIS_ROUNDED - Enum constant in enum org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Formats milliseconds since epoch, excluding the nanosecond fraction; e.g.,
1581082727982
. - EPOCH_NANOS - Enum constant in enum org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Formats nanoseconds since epoch; e.g.,
1581082727982123456
. - EPOCH_SECONDS - Enum constant in enum org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Formats seconds since epoch, including the nanosecond fraction; e.g.,
1581082727.982123456
. - EPOCH_SECONDS_NANOS - Enum constant in enum org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Formats the nanosecond fraction of seconds since epoch; e.g.,
982123456
. - EPOCH_SECONDS_ROUNDED - Enum constant in enum org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Formats seconds since epoch, excluding the nanosecond fraction; e.g.,
1581082727
. - equals(Object) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- equals(Object) - Method in class org.apache.logging.log4j.core.appender.rolling.action.Duration
-
Deprecated.
- equals(Object) - Method in class org.apache.logging.log4j.core.appender.TlsSyslogFrame
- equals(Object) - Method in class org.apache.logging.log4j.core.config.AppenderControl
- equals(Object) - Method in class org.apache.logging.log4j.core.config.CustomLevelConfig
- equals(Object) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- equals(Object) - Method in class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
Deprecated.
- equals(Object) - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- equals(Object) - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- equals(Object) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- equals(Object) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.
- equals(Object) - Method in class org.apache.logging.log4j.core.jackson.MapEntry
- equals(Object) - Method in class org.apache.logging.log4j.core.layout.PatternMatch
- equals(Object) - Method in class org.apache.logging.log4j.core.Logger
- equals(Object) - Method in class org.apache.logging.log4j.core.net.ssl.AbstractKeyStoreConfiguration
- equals(Object) - Method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
- equals(Object) - Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
- equals(Object) - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
- equals(Object) - Method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
- equals(Object) - Method in class org.apache.logging.log4j.core.time.MutableInstant
- equals(Object) - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Compares two objects for equality.
- equals(Object) - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.Compares two objects for equality.
- equals(Object) - Method in class org.apache.logging.log4j.core.util.KeyValuePair
- equals(Object) - Method in class org.apache.logging.log4j.core.util.Source
- equals(String, StringBuilder, int, int) - Method in class org.apache.logging.log4j.core.pattern.EqualsBaseReplacementConverter
-
Returns true if the specified String equals the specified section of the specified StringBuilder.
- equals(String, StringBuilder, int, int) - Method in class org.apache.logging.log4j.core.pattern.EqualsIgnoreCaseReplacementConverter
- equals(String, StringBuilder, int, int) - Method in class org.apache.logging.log4j.core.pattern.EqualsReplacementConverter
- EqualsBaseReplacementConverter - Class in org.apache.logging.log4j.core.pattern
-
Equals pattern converter.
- EqualsBaseReplacementConverter(String, String, List<PatternFormatter>, String, String, PatternParser) - Constructor for class org.apache.logging.log4j.core.pattern.EqualsBaseReplacementConverter
-
Construct the converter.
- EqualsIgnoreCaseReplacementConverter - Class in org.apache.logging.log4j.core.pattern
-
Equals ignore case pattern converter.
- equalsImpl(Object) - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- equalsImpl(Object) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- EqualsReplacementConverter - Class in org.apache.logging.log4j.core.pattern
-
Equals pattern converter.
- error(String) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
Handle an error with a message using the
ErrorHandler
configured for this Appender. - error(String) - Method in class org.apache.logging.log4j.core.appender.DefaultErrorHandler
-
Handle an error with a message.
- error(String) - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Deprecated.Use
StatusLogger.getLogger()
and thenAbstractLogger.error(String)
instead. - error(String) - Method in interface org.apache.logging.log4j.core.ErrorHandler
-
Handle an error with a message.
- error(String, Throwable) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
Handle an error with a message and an exception using the
ErrorHandler
configured for this Appender. - error(String, Throwable) - Method in class org.apache.logging.log4j.core.appender.DefaultErrorHandler
-
Handle an error with a message and an exception.
- error(String, Throwable) - Method in interface org.apache.logging.log4j.core.ErrorHandler
-
Handle an error with a message and an exception.
- error(String, LogEvent, Throwable) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
Handle an error with a message, exception, and a logging event, using the
ErrorHandler
configured for this Appender. - error(String, LogEvent, Throwable) - Method in class org.apache.logging.log4j.core.appender.DefaultErrorHandler
-
Handle an error with a message, an exception, and a logging event.
- error(String, LogEvent, Throwable) - Method in interface org.apache.logging.log4j.core.ErrorHandler
-
Handle an error with a message, and exception and a logging event.
- ERROR - Enum constant in enum org.apache.logging.log4j.core.net.Severity
-
Error conditions.
- ErrorHandler - Interface in org.apache.logging.log4j.core
-
Appenders may delegate their error handling to
ErrorHandlers
. - errorMessage(T, List<InetSocketAddress>) - Method in class org.apache.logging.log4j.core.net.TcpSocketManager.TcpSocketManagerFactory
- escape(String) - Static method in class org.apache.logging.log4j.core.jmx.Server
-
Either returns the specified name as is, or returns a quoted value containing the specified name with the special characters (comma, equals, colon, quote, asterisk, or question mark) preceded with a backslash.
- ESCAPE_DELIMITER_STRING - Static variable in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- escapeHtmlTags(String) - Static method in class org.apache.logging.log4j.core.util.Transform
-
This method takes a string which may contain HTML tags (ie, <b>, <table>, etc) and replaces any '<', '>' , '&' or '"' characters with respective predefined entity references.
- escapeJsonControlCharacters(String) - Static method in class org.apache.logging.log4j.core.util.Transform
-
This method takes a string which may contain JSON reserved chars and escapes them.
- evaluate(String) - Method in class org.apache.logging.log4j.core.lookup.AbstractLookup
-
Calls
evaluate(null, key)
in the implementation. - evaluate(String) - Method in class org.apache.logging.log4j.core.lookup.PropertiesLookup
- evaluate(String) - Method in interface org.apache.logging.log4j.core.lookup.StrLookup
-
Same as
StrLookup.lookup(String)
, but provides additional metadata describing the result. - evaluate(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.Interpolator
-
Resolves the specified variable.
- evaluate(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.PropertiesLookup
- evaluate(LogEvent, String) - Method in interface org.apache.logging.log4j.core.lookup.StrLookup
-
Same as
StrLookup.lookup(LogEvent, String)
, but provides additional metadata describing the result. - evaluate(StrSubstitutor) - Method in class org.apache.logging.log4j.core.config.Property
-
Evaluate this property with the provided substitutor.
- evaluateConditions(List<Arbiter>) - Method in class org.apache.logging.log4j.core.config.arbiters.SelectArbiter
- eventCount - Variable in class org.apache.logging.log4j.core.layout.AbstractLayout
-
The number of events successfully processed by this layout.
- EventLookup - Class in org.apache.logging.log4j.core.lookup
-
Looks up values from the log event.
- EventLookup() - Constructor for class org.apache.logging.log4j.core.lookup.EventLookup
- EventRoute - Enum in org.apache.logging.log4j.core.async
-
Enumeration over the different destinations where a log event can be sent.
- EVERY_MILLISECOND - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover every millisecond.
- EVERY_MINUTE - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover every minute.
- EVERY_SECOND - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover every second.
- execute() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
-
Performs action.
- execute() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
- execute() - Method in interface org.apache.logging.log4j.core.appender.rolling.action.Action
-
Perform an action.
- execute() - Method in class org.apache.logging.log4j.core.appender.rolling.action.CommonsCompressAction
-
Compresses.
- execute() - Method in class org.apache.logging.log4j.core.appender.rolling.action.CompositeAction
-
Execute sequence of actions.
- execute() - Method in class org.apache.logging.log4j.core.appender.rolling.action.DeleteAction
- execute() - Method in class org.apache.logging.log4j.core.appender.rolling.action.FileRenameAction
-
Rename file.
- execute() - Method in class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
-
Compress.
- execute() - Method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
-
Compresses.
- execute(boolean) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
Event processor that reads the event from the ringbuffer can call this method.
- execute(File, File, boolean) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.FileRenameAction
-
Rename file.
- execute(File, File, boolean) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
-
Deprecated.In favor of
GzCompressAction.execute(File, File, boolean, int)
. - execute(File, File, boolean, int) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
-
Compress a file.
- execute(File, File, boolean, int) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
-
Compresses a file.
- execute(String, File, File, boolean) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.CommonsCompressAction
-
Compresses a file.
- execute(String, Bindings) - Method in class org.apache.logging.log4j.core.script.ScriptManager
- execute(FileVisitor<Path>) - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
- execute(FileVisitor<Path>) - Method in class org.apache.logging.log4j.core.appender.rolling.action.DeleteAction
- ExecutorServices - Class in org.apache.logging.log4j.core.util
- ExecutorServices() - Constructor for class org.apache.logging.log4j.core.util.ExecutorServices
- expressionParsed - Variable in class org.apache.logging.log4j.core.util.CronExpression
- ExtendedClassInfo - Class in org.apache.logging.log4j.core.impl
-
Deprecated.
- ExtendedClassInfo(boolean, String, String) - Constructor for class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
Deprecated.Constructs a new instance.
- ExtendedLoggerGenerator - Class in org.apache.logging.log4j.core.tools
-
Wrapper around
Generate.ExtendedLogger
. - ExtendedLoggerGenerator() - Constructor for class org.apache.logging.log4j.core.tools.ExtendedLoggerGenerator
- ExtendedStackTraceElement - Class in org.apache.logging.log4j.core.impl
-
Deprecated.
- ExtendedStackTraceElement(StackTraceElement, ExtendedClassInfo) - Constructor for class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- ExtendedStackTraceElement(String, String, String, int, boolean, String, String) - Constructor for class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.Called from Jackson for XML and JSON IO.
- ExtendedThrowablePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
ThrowablePatternConverter
variant where the renderedStackTraceElement
s are enriched with the enclosing JAR file and its version information, if available. - ExtensionLanguageMapping - Enum in org.apache.logging.log4j.core.util
F
- 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
forRingBufferLogEvent
s. - FACTORY - Static variable in class org.apache.logging.log4j.core.net.SmtpManager
- FactoryData(String, String, String, String, String, String, AbstractStringLayout.Serializer, String, String, int, String, String, boolean, int, SslConfiguration, String) - Constructor for class org.apache.logging.log4j.core.net.MailManager.FactoryData
- FactoryMethodConnectionSource - Class in org.apache.logging.log4j.core.appender.db.jdbc
-
A
JdbcAppender
connection source that uses a public static factory method to obtain aConnection
orDataSource
. - 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.
- FastDateFormat - Class in org.apache.logging.log4j.core.util.datetime
-
Deprecated.Starting with version
2.25.0
, this class is assumed to be internal and planned to be removed in the next major release. - FastDateFormat(String, TimeZone, Locale) - Constructor for class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Constructs a new FastDateFormat.
- FastDateFormat(String, TimeZone, Locale, Date) - Constructor for class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Constructs a new FastDateFormat.
- FastDatePrinter - Class in org.apache.logging.log4j.core.util.datetime
-
Deprecated.Starting with version
2.25.0
, this class is assumed to be internal and planned to be removed in the next major release. - FastDatePrinter(String, TimeZone, Locale) - Constructor for class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.Constructs a new FastDatePrinter.
- FG_BLACK - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Black foreground color.
- FG_BLUE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Blue foreground color.
- FG_BRIGHT_BLACK - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright black foreground color.
- FG_BRIGHT_BLUE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright blue foreground color.
- FG_BRIGHT_CYAN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright cyan foreground color.
- FG_BRIGHT_GREEN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright green foreground color.
- FG_BRIGHT_MAGENTA - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright magenta foreground color.
- FG_BRIGHT_RED - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright red foreground color.
- FG_BRIGHT_WHITE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright white foreground color.
- FG_BRIGHT_YELLOW - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright yellow foreground color.
- FG_CYAN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Cyan foreground color.
- FG_DEFAULT - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Default foreground color.
- FG_GREEN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Green foreground color.
- FG_MAGENTA - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Magenta foreground color.
- FG_RED - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Red foreground color.
- FG_WHITE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
White foreground color.
- FG_YELLOW - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Yellow foreground color.
- FILE_NAME - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- FileAppender - Class in org.apache.logging.log4j.core.appender
-
File Appender.
- FileAppender.Builder<B extends FileAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
-
Builds FileAppender instances.
- FileConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.FileConverter
- FileDatePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats a date by delegating to
DatePatternConverter
. - FileExtension - Enum in org.apache.logging.log4j.core.appender.rolling
-
Enumerates over supported file extensions for compression.
- fileFromUri(URI) - Static method in class org.apache.logging.log4j.core.util.FileUtils
-
Tries to convert the specified URI 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>, boolean, ByteBuffer) - Constructor for class org.apache.logging.log4j.core.appender.FileManager
-
Deprecated.
- FileManager(String, OutputStream, boolean, boolean, String, Layout<? extends Serializable>, int, boolean) - Constructor for class org.apache.logging.log4j.core.appender.FileManager
-
Deprecated.
- FileManager(LoggerContext, String, OutputStream, boolean, boolean, boolean, String, Layout<? extends Serializable>, boolean, ByteBuffer) - Constructor for class org.apache.logging.log4j.core.appender.FileManager
-
Deprecated.
- FileManager(LoggerContext, String, OutputStream, boolean, boolean, boolean, String, Layout<? extends Serializable>, String, String, String, boolean, ByteBuffer) - Constructor for class org.apache.logging.log4j.core.appender.FileManager
- fileModified(File) - Method in class org.apache.logging.log4j.core.config.ConfigurationFileWatcher
- fileModified(File) - Method in class org.apache.logging.log4j.core.script.ScriptManager
- fileModified(File) - Method in interface org.apache.logging.log4j.core.util.FileWatcher
-
Called when a
WatchManager
detects that the givenFile
changed. - fileModified(File) - Method in class org.apache.logging.log4j.core.util.WrappedFileWatcher
- 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.
- FileSize - Class in org.apache.logging.log4j.core.appender.rolling
-
FileSize utility class.
- FileUtils - Class in org.apache.logging.log4j.core.util
-
File utilities.
- FileWatcher - Interface in org.apache.logging.log4j.core.util
-
Watches for changes in a
File
and performs an action when the file is modified. - filter(Map<String, String>) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Context Filter method.
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(LogEvent) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.RegexFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.ScriptFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
- filter(LogEvent) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- 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(Logger, Level, Marker, Object, Throwable) - 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.BurstFilter
- filter(Logger, Level, Marker, Object, Throwable) - 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.DenyAllFilter
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(Logger, Level, Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, Object, Throwable) - 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.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, Object, Throwable) - 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.ScriptFilter
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, Object, Throwable) - 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.ThresholdFilter
- filter(Logger, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, String) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, String, Object) - 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, String, Object) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(Logger, Level, Marker, String, Object) - 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, String, Object) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, String, Object) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, String, Object) - 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, String, Object) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, String, Object) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, String, Object) - 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, String, Object) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, String, Object...) - 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, String, Object...) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(Logger, Level, Marker, String, Object...) - 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, String, Object...) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, String, Object...) - 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.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.RegexFilter
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.ScriptFilter
- filter(Logger, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, String, Object...) - 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, String, Object...) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
Appender Filter method.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.BurstFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.core.Filter
-
Filter an event.
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- filter(Logger, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(Logger, Level, Marker, Message, 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.BurstFilter
- filter(Logger, Level, Marker, Message, 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.DenyAllFilter
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- filter(Logger, Level, Marker, Message, Throwable) - 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.LevelMatchFilter
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(Logger, Level, Marker, Message, 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.MutableThreadContextMapFilter
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- filter(Logger, Level, Marker, Message, 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.ScriptFilter
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
- filter(Logger, Level, Marker, Message, 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.ThresholdFilter
- filter(Logger, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- filter(MapMessage<?, ?>) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- filter(StructuredDataMessage) - Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
- filter(ReadOnlyStringMap) - Method in class org.apache.logging.log4j.core.filter.MapFilter
- Filter - Interface in org.apache.logging.log4j.core
-
Interface that must be implemented to allow custom event filtering.
- 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.
- FilterableComponentBuilder<T extends ComponentBuilder<T>> - Interface in org.apache.logging.log4j.core.config.builder.api
-
Component builder that can add Filters.
- FilterComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing Filter Components.
- 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.util.ResolverUtil
-
Attempts to discover classes that pass the test.
- findAndSubst(String, Properties) - Static method in class org.apache.logging.log4j.core.util.OptionConverter
-
Find the value corresponding to
key
inprops
. - findCompatibleConverter(Type) - Method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverterRegistry
-
Finds a
TypeConverter
for the givenType
, falling back to an assignment-compatible TypeConverter if none exist for the given type. - findInPackage(ResolverUtil.Test, String) - Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
-
Scans for classes starting at the package provided and descending into subpackages.
- findNextWhiteSpace(int, String) - Method in class org.apache.logging.log4j.core.util.CronExpression
- findPluginFactoryMethod(Class<?>) - Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginUtil
-
Finds the
PluginFactory
-annotated static method of the given class. - findValidators(Annotation...) - Static method in class org.apache.logging.log4j.core.config.plugins.validation.ConstraintValidators
-
Finds all relevant
ConstraintValidator
objects from an array of annotations. - findVisitor(Class<? extends Annotation>) - Static method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitors
-
Creates a PluginVisitor instance for the given annotation class using metadata provided by the annotation's
PluginVisitorStrategy
annotation. - FixedDateFormat - Class in org.apache.logging.log4j.core.util.datetime
-
Deprecated.Starting with version
2.25.0
, this class is assumed to be internal and planned to be removed in the next major release. - FixedDateFormat.FixedFormat - Enum in org.apache.logging.log4j.core.util.datetime
-
Deprecated.Enumeration over the supported date/time format patterns.
- FixedDateFormat.FixedTimeZoneFormat - Enum in org.apache.logging.log4j.core.util.datetime
-
Deprecated.Fixed time zone formats.
- FloatConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.FloatConverter
- flush() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
This method is called automatically when the buffer size reaches its maximum or at the beginning of a call to
AbstractDatabaseManager.shutdown()
. - flush() - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
- flush() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Flushes 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.appender.WriterManager
-
Flushes any buffers.
- flush() - Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
- flush() - Method in class org.apache.logging.log4j.core.util.CloseShieldOutputStream
- flush() - Method in class org.apache.logging.log4j.core.util.CloseShieldWriter
- flush() - Method in class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Flushing this writer has no effect.
- flushBuffer(ByteBuffer) - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
- flushBuffer(ByteBuffer) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Drains the ByteBufferDestination's buffer into the destination.
- flushDestination() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Calls
flush()
on the underlying output stream. - 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
- ForCopyOnWriteThreadContextMap() - Constructor for class org.apache.logging.log4j.core.impl.ThreadContextDataInjector.ForCopyOnWriteThreadContextMap
- ForDefaultThreadContextMap() - Constructor for class org.apache.logging.log4j.core.impl.ThreadContextDataInjector.ForDefaultThreadContextMap
- forEach(BiConsumer<String, ? super V>) - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- forEach(TriConsumer<String, ? super V, S>, S) - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- forEachParameter(ParameterConsumer<S>, S) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- forEachParameter(ParameterConsumer<S>, S) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- ForGarbageFreeThreadContextMap() - Constructor for class org.apache.logging.log4j.core.impl.ThreadContextDataInjector.ForGarbageFreeThreadContextMap
- forLogEvent(LogEvent) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginBuilder
-
Specifies the LogEvent that may be used to provide extra context for string substitutions.
- 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(long) - Method in interface org.apache.logging.log4j.core.util.datetime.DatePrinter
-
Deprecated.Formats a millisecond
long
value. - format(long) - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Formats a millisecond
long
value. - format(long) - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.
- format(long) - Method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.
- format(long, char[], int) - Method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.
- format(long, B) - Method in interface org.apache.logging.log4j.core.util.datetime.DatePrinter
-
Deprecated.Formats a millisecond
long
value into the suppliedAppendable
. - format(long, B) - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Formats a millisecond
long
value into the suppliedStringBuffer
. - format(long, B) - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.
- format(long, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
-
Deprecated.Starting with version
2.25.0
, this method is deprecated and planned to be removed in the next major release. - format(Object, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- format(Object) - Method in class org.apache.logging.log4j.core.util.datetime.Format
-
Deprecated.
- format(Object, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.IntegerPatternConverter
-
Formats an object into a string buffer.
- format(Object, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LineSeparatorPatternConverter
-
Formats an object 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(Object, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
-
Formats an object 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(Object, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.RepeatPatternConverter
-
Adds the repeated String to the buffer.
- format(Object, StringBuilder, FieldPosition) - Method in interface org.apache.logging.log4j.core.util.datetime.DatePrinter
-
Deprecated.Formats a
Date
,Calendar
orLong
(milliseconds) object. - format(Object, StringBuilder, FieldPosition) - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Formats a
Date
,Calendar
orLong
(milliseconds) object. - format(Object, StringBuilder, FieldPosition) - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.Use {
FastDatePrinter.format(Date)
, {FastDatePrinter.format(Calendar)
, {FastDatePrinter.format(long)
, or {FastDatePrinter.format(Object)
- format(Object, StringBuilder, FieldPosition) - Method in class org.apache.logging.log4j.core.util.datetime.Format
-
Deprecated.
- format(String) - Method in class org.apache.logging.log4j.core.pattern.RegexReplacement
-
Perform the replacement.
- format(StringBuilder, Object...) - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- format(StringBuilder, Object...) - Method in interface org.apache.logging.log4j.core.pattern.ArrayPatternConverter
-
Formats an array of Objects.
- format(StringBuilder, Object...) - Method in class org.apache.logging.log4j.core.pattern.IntegerPatternConverter
- format(StringBuilder, Object...) - Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
-
Formats an array of Objects.
- format(Calendar) - Method in interface org.apache.logging.log4j.core.util.datetime.DatePrinter
-
Deprecated.Formats a
Calendar
object. - format(Calendar) - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Formats a
Calendar
object. - format(Calendar) - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.
- format(Calendar, B) - Method in interface org.apache.logging.log4j.core.util.datetime.DatePrinter
-
Deprecated.Formats a
Calendar
object into the suppliedAppendable
. - format(Calendar, B) - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Formats a
Calendar
object into the suppliedStringBuffer
. - format(Calendar, B) - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.
- format(Date) - Method in interface org.apache.logging.log4j.core.util.datetime.DatePrinter
-
Deprecated.Formats a
Date
object using aGregorianCalendar
. - format(Date) - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Formats a
Date
object using aGregorianCalendar
. - format(Date) - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.
- format(Date, B) - Method in interface org.apache.logging.log4j.core.util.datetime.DatePrinter
-
Deprecated.Formats a
Date
object into the suppliedAppendable
using aGregorianCalendar
. - format(Date, B) - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Formats a
Date
object into the suppliedStringBuffer
using aGregorianCalendar
. - format(Date, B) - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.
- format(Date, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
-
Deprecated.Starting with version
2.25.0
, this method is deprecated and planned to be removed in the next major release. - format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.ClassNamePatternConverter
-
Format a logging event.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.EncodingPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.EndOfBatchPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.EqualsBaseReplacementConverter
-
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(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(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(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.LoggerFqcnPatternConverter
-
Formats an event 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.MarkerSimpleNamePatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.MaxLengthConverter
- 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
- 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.NanoTimePatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.NdcPatternConverter
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.ProcessIdPatternConverter
-
Formats an event into a string buffer.
- 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.RepeatPatternConverter
-
Adds the repeated String to the 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.ThreadIdPatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.ThreadNamePatternConverter
-
Formats an event into a string buffer.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.ThreadPriorityPatternConverter
-
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.
- format(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.VariablesNotEmptyReplacementConverter
-
Formats an event into a string buffer.
- format(Instant) - Method in interface org.apache.logging.log4j.core.util.internal.instant.InstantFormatter
- format(Instant, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
-
Deprecated.Starting with version
2.25.0
, this method is deprecated and planned to be removed in the next major release. - Format - Class in org.apache.logging.log4j.core.util.datetime
-
Deprecated.Starting with version
2.25.0
, this class is assumed to be internal and planned to be removed in the next major release. - Format() - Constructor for class org.apache.logging.log4j.core.util.datetime.Format
-
Deprecated.
- FORMAT_MESSAGES_IN_BACKGROUND - Static variable in class org.apache.logging.log4j.core.util.Constants
-
Supports user request LOG4J2-898 to have the option to format a message in the background thread.
- FORMAT_MESSAGES_PATTERN_DISABLE_LOOKUPS - Static variable in class org.apache.logging.log4j.core.util.Constants
-
Deprecated.no longer used, lookups are only used when
%m{lookups}
is specified - formatContentToBytes(LogEvent[], LogEvent, Layout<?>) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- formatExtendedStackTraceTo(StringBuilder, List<String>, TextRenderer, String, String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the stack trace including packaging information.
- formatFileName(StringBuilder, boolean, 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
-
Formats file name.
- formatFileName(StrSubstitutor, StringBuilder, boolean, Object) - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
Formats file name.
- formatFileName(StrSubstitutor, StringBuilder, Object) - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
Formats file name.
- formatInstant(Instant) - Method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.
- formatInstant(Instant, char[], int) - Method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.
- formatters - Variable in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
-
Deprecated.Kept for binary backward compatibility.
- 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, boolean) - Constructor for class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Creates new instance.
- FormattingInfo(boolean, int, int, boolean, boolean) - Constructor for class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Creates new instance.
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.core.impl.MementoMessage
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.core.time.MutableInstant
- formatTo(StringBuilder, Instant) - Method in interface org.apache.logging.log4j.core.util.internal.instant.InstantFormatter
- formatTo(StringBuilder, Instant) - Method in enum org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
- formatWrapper(StringBuilder, ThrowableProxy, String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the specified Throwable.
- formatWrapper(StringBuilder, ThrowableProxy, List<String>, String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the specified Throwable.
- formatWrapper(StringBuilder, ThrowableProxy, List<String>, TextRenderer, String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the specified Throwable.
- formatWrapper(StringBuilder, ThrowableProxy, List<String>, TextRenderer, String, String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the specified Throwable.
- formatXml(Source, Result) - Static method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- fqcn - Variable in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
- FREEMARKER - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- freeze() - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- fromMillis(long, Class<D>) - Static method in class org.apache.logging.log4j.core.config.plugins.convert.DateTypeConverter
-
Create a Date-related object from a timestamp in millis.
- fromResource(String, ClassLoader) - Static method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Retrieves the configuration via the ClassLoader.
- fromUri(URI) - Static method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Loads the configuration from a URI.
- FTL - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- FTP - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
FTP daemon.
- FULL - Static variable in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.FULL locale dependent date or time style.
- FULL - Static variable in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.FULL locale dependent date or time style.
- FullLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Format the event's line location information.
G
- GelfLayout - Class in org.apache.logging.log4j.core.layout
-
Lays out events in the Graylog Extended Log Format (GELF) 1.1.
- GelfLayout(String, KeyValuePair[], GelfLayout.CompressionType, int, boolean) - Constructor for class org.apache.logging.log4j.core.layout.GelfLayout
-
Deprecated.Use
GelfLayout.newBuilder()
instead - GelfLayout.Builder<B extends GelfLayout.Builder<B>> - Class in org.apache.logging.log4j.core.layout
- GelfLayout.CompressionType - Enum in org.apache.logging.log4j.core.layout
- Generate - Class in org.apache.logging.log4j.core.tools
-
Generates source code for custom or extended logger wrappers.
- Generate.CustomLogger - Class in org.apache.logging.log4j.core.tools
-
Generates source code for custom logger wrappers that only provide convenience methods for the specified custom levels, not for the standard built-in levels.
- Generate.ExtendedLogger - Class in org.apache.logging.log4j.core.tools
-
Generates source code for extended logger wrappers that provide convenience methods for the specified custom levels, and by extending
org.apache.logging.log4j.spi.ExtendedLoggerWrapper
, inherit the convenience methods for the built-in levels provided by theLogger
interface. - generateCustom(String[], PrintStream) - Static method in class org.apache.logging.log4j.core.tools.Generate
-
Generates source code for custom logger wrappers that only provide convenience methods for the specified custom levels, not for the standard built-in levels.
- generateExtend(String[], PrintStream) - Static method in class org.apache.logging.log4j.core.tools.Generate
-
Generates source code for extended logger wrappers that provide convenience methods for the specified custom levels.
- get() - Method in class org.apache.logging.log4j.core.config.AppenderControlArraySet
-
Returns the underlying array.
- get() - Method in class org.apache.logging.log4j.core.config.CronScheduledFuture
- get() - Method in class org.apache.logging.log4j.core.Logger
- get(long, TimeUnit) - Method in class org.apache.logging.log4j.core.config.CronScheduledFuture
- get(TemporalField) - Method in class org.apache.logging.log4j.core.time.MutableInstant
- getAbbreviator(String) - Static method in class org.apache.logging.log4j.core.pattern.NameAbbreviator
-
Gets an abbreviator.
- getActions() - Method in class org.apache.logging.log4j.core.appender.rolling.action.CompositeAction
- 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.
- getActiveLoggerConfig(Supplier<LoggerConfig>) - Method in class org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy
- getActiveLoggerConfig(Supplier<LoggerConfig>) - Method in class org.apache.logging.log4j.core.config.AwaitUnconditionallyReliabilityStrategy
- getActiveLoggerConfig(Supplier<LoggerConfig>) - Method in class org.apache.logging.log4j.core.config.DefaultReliabilityStrategy
- getActiveLoggerConfig(Supplier<LoggerConfig>) - Method in class org.apache.logging.log4j.core.config.LockingReliabilityStrategy
- getActiveLoggerConfig(Supplier<LoggerConfig>) - Method in interface org.apache.logging.log4j.core.config.ReliabilityStrategy
-
For internal use by the ReliabilityStrategy; returns the LoggerConfig to use.
- getActualConnectionString() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- getActualTrafficClass() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- getAdditionalFields() - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- getAdditionalFields() - Method in class org.apache.logging.log4j.core.layout.JsonLayout.Builder
- getAddress() - Method in class org.apache.logging.log4j.core.net.SocketAddress
- getAdvertise() - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- getAdvertiser() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getAdvertiser() - Method in interface org.apache.logging.log4j.core.config.Configuration
- getAdvertiseUri() - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- getAdvertiseUri() - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- getAdvertiseUri() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- getAge() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified
-
Deprecated.since 2.24.0. In 3.0.0 the signature will change.
- getAllCategories() - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginCache
-
Returns all categories of plugins in this cache.
- getAllDeclaredFields(Class<?>) - Static method in class org.apache.logging.log4j.core.util.TypeUtil
-
Gets all declared fields for the given class (including superclasses).
- getAllowedLanguages() - Method in class org.apache.logging.log4j.core.script.ScriptManager
- 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.appender.DefaultErrorHandler
- 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.AbstractConfiguration
-
Returns the Appender with the specified name.
- getAppender(String) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns the Appender with the specified name.
- getAppenderName() - Method in class org.apache.logging.log4j.core.config.AppenderControl
-
Returns the name the appender had when this AppenderControl was constructed.
- 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.appender.AsyncAppender
-
Gets all Appenders.
- getAppenders() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
-
Returns an unmodifiable view of the appenders created by this
RoutingAppender
. - getAppenders() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
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.
- getAppenderSet() - Method in class org.apache.logging.log4j.core.appender.ScriptAppenderSelector.Builder
- getAppName() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getArray() - Method in class org.apache.logging.log4j.core.util.ObjectArrayIterator
-
Gets the array that this iterator is iterating over.
- 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.
- getAsyncLoggerConfigDelegate() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getAsyncLoggerConfigDelegate() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns the
AsyncLoggerConfigDelegate
shared by allAsyncLoggerConfig
instances defined in this Configuration. - getAsyncWaitStrategyFactory() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getAsyncWaitStrategyFactory() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns the
AsyncWaitStrategyFactory
defined in this Configuration; this factory is used to create the LMAX disruptorWaitStrategy
used by the disruptor ringbuffer for Async Loggers. - getAttributes() - Method in class org.apache.logging.log4j.core.appender.rolling.action.PathWithAttributes
-
Returns the attributes.
- getAttributes() - Method in class org.apache.logging.log4j.core.config.builder.api.Component
- getAttributes() - Method in class org.apache.logging.log4j.core.config.Node
- getAuthorizationProvider() - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- getAvailable() - Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
Returns the number of available slots.
- getBandwidth() - Method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- getBasePath() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
-
Returns the base path from where to start scanning for files to delete.
- getBasePathString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
-
Returns the base path as it was specified in the configuration.
- getBcc() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getBufferSize() - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
- 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.appender.FileManager
-
Returns the buffer size to use if the appender was configured with BufferedIO=true, otherwise returns a negative number.
- getBufferSize() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
-
Returns the size of the file manager's buffer.
- getBufferSize() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
Returns the buffer capacity.
- getBufferSize() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
Returns the buffer capacity.
- getBufferSize() - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
-
Returns the size of the file manager's buffer.
- 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.
- getBufferSize() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getBuilder() - Method in interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
-
Retrieves the ConfigurationBuilder.
- getBuilder() - Method in class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Returns the underlying builder.
- getByExtension(String) - Static method in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- getByLanguage(String) - Static method in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- getByteBuffer() - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
- getByteBuffer() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Returns this
ByteBufferDestination
's buffer. - getByteBuffer() - Method in interface org.apache.logging.log4j.core.layout.ByteBufferDestination
-
Returns the buffer to write to.
- getBytes(String) - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- getCanonicalLocalHostname() - Static method in class org.apache.logging.log4j.core.util.NetUtils
-
This method gets the FQDN of the machine we are running on.
- getCategory() - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- getCategory() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
- getCategory(String) - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginCache
-
Gets or creates a category of plugins.
- getCauseProxy() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.
- getCauseStackTraceAsString(String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the Throwable that is the cause of this Throwable.
- getCauseStackTraceAsString(List<String>, String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the Throwable that is the cause of this Throwable.
- getCauseStackTraceAsString(List<String>, TextRenderer, String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the Throwable that is the cause of this Throwable.
- getCauseStackTraceAsString(List<String>, TextRenderer, String, String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the Throwable that is the cause of this Throwable.
- getCc() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getCharset() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder
- getCharset() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- getCharset() - Method in interface org.apache.logging.log4j.core.StringLayout
-
Gets the Charset this layout uses to encode Strings into bytes.
- getCharset(String, Charset) - Method in enum org.apache.logging.log4j.core.appender.ConsoleAppender.Target
- getCharsetName() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getChildren() - Method in class org.apache.logging.log4j.core.config.Node
- getClasses() - Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
-
Provides access to the classes discovered so far.
- getClassLoader() - Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
-
Returns the ClassLoader that will be used for scanning for classes.
- getClassLoader() - Static method in class org.apache.logging.log4j.core.util.Loader
-
Returns the ClassLoader to use.
- getClassLoader(Class<?>, Class<?>) - Static method in class org.apache.logging.log4j.core.util.Loader
- getClassName() - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- getClassName() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- getClock() - Static method in class org.apache.logging.log4j.core.util.ClockFactory
-
Returns a
Clock
instance depending on the value of system propertyClockFactory.PROPERTY_NAME
. - 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
- getColumnNameKey() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
- getCommonElementCount() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Returns the number of elements that are being omitted because they are common with the parent Throwable's stack trace.
- getComponent(String) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getComponent(String) - Method in interface org.apache.logging.log4j.core.config.Configuration
- getComponents() - Method in class org.apache.logging.log4j.core.config.builder.api.Component
- getCompressionLevel() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- getCompressionLevel() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
- getCompressionLevelStr() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
- getCompressionLevelStr() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
- getCompressionThreshold() - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- getCompressionType() - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- getConfig() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
- getConfig() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
- getConfig() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- getConfig() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- 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
-
Returns the initial configuration location or
null
. - 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.
- 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.
- getConfigs() - Method in class org.apache.logging.log4j.core.filter.mutable.KeyValuePairConfig
- getConfigText() - 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 class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
- 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() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- getConfiguration() - Method in class org.apache.logging.log4j.core.appender.AbstractManager.AbstractFactoryData
-
Gets my configuration.
- getConfiguration() - Method in class org.apache.logging.log4j.core.appender.AppenderSet.Builder
- getConfiguration() - Method in class org.apache.logging.log4j.core.appender.ConfigurationFactoryData
- getConfiguration() - Method in class org.apache.logging.log4j.core.appender.HttpManager
- getConfiguration() - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- getConfiguration() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- getConfiguration() - Method in class org.apache.logging.log4j.core.appender.ScriptAppenderSelector.Builder
- getConfiguration() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
- getConfiguration() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout
- getConfiguration() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Returns the current Configuration.
- getConfiguration() - Method in class org.apache.logging.log4j.core.util.AbstractWatcher
- getConfiguration(LoggerContext, String, URI) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Returns the Configuration.
- getConfiguration(LoggerContext, String, URI, ClassLoader) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Returns the Configuration obtained using a given ClassLoader.
- getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.json.JsonConfigurationFactory
- getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.properties.PropertiesConfigurationFactory
- getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
-
Returns the Configuration.
- getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.yaml.YamlConfigurationFactory
- getConfigurationSource() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getConfigurationSource() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns the source of this configuration.
- getConfigurationStrSubstitutor() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getConfigurationStrSubstitutor() - Method in interface org.apache.logging.log4j.core.config.Configuration
- getConfigurationWatchers() - Method in class org.apache.logging.log4j.core.util.WatchManager
-
Return the ConfigurationWaatchers.
- getConnection() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- 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 interface org.apache.logging.log4j.core.appender.nosql.NoSqlProvider
-
Obtains a connection from this provider.
- getConnectionFactoryName() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager.JmsManagerConfiguration
- getConnectionSource() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
- getConnectionString() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- getConnectionString() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- getConnectionTime() - Method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- getConnectTimeoutMillis() - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- getConnectTimeoutMillis() - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- getConnectTimeoutMillis() - Method in class org.apache.logging.log4j.core.net.TcpSocketManager
- 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.MemoryMappedFileManager
-
Gets this FileManager's content format specified by:
- getContentFormat() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
Gets this FileManager's content format specified by:
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.GelfLayout
- 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.JsonLayout
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Gets this PatternLayout's content format.
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
Gets this Rfc5424Layout's content format.
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.SyslogLayout
-
Gets this SyslogLayout's content format.
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.XmlLayout
-
Gets this XmlLayout's content format.
- getContentFormat() - Method in class org.apache.logging.log4j.core.layout.YamlLayout
- getContentFormat() - Method in class org.apache.logging.log4j.core.net.AbstractSocketManager
-
Gets this AbstractSocketManager's content format.
- getContentFormat() - Method in class org.apache.logging.log4j.core.net.DatagramSocketManager
-
Gets this DatagramSocketManager's content format.
- getContentFormat() - Method in class org.apache.logging.log4j.core.net.TcpSocketManager
-
Gets this TcpSocketManager's content format.
- getContentType() - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- getContentType() - Method in class org.apache.logging.log4j.core.layout.AbstractCsvLayout
- getContentType() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- getContentType() - Method in class org.apache.logging.log4j.core.layout.GelfLayout
- 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.MessageLayout
- getContentType() - Method in class org.apache.logging.log4j.core.layout.SerializedLayout
-
Deprecated.SerializedLayout returns a binary stream.
- getContentType() - Method in class org.apache.logging.log4j.core.layout.XmlLayout
- getContentType() - Method in class org.apache.logging.log4j.core.layout.YamlLayout
- getContext() - Static method in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqManager
- getContext() - Method in class org.apache.logging.log4j.core.Logger
-
Returns the LoggerContext this Logger is associated with.
- getContext() - Static method in class org.apache.logging.log4j.core.LoggerContext
-
Returns the current LoggerContext.
- getContext(boolean) - Static method in class org.apache.logging.log4j.core.LoggerContext
-
Returns a LoggerContext.
- getContext(ClassLoader, boolean, URI) - Static method in class org.apache.logging.log4j.core.LoggerContext
-
Returns a LoggerContext.
- getContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.core.async.BasicAsyncLoggerContextSelector
- getContext(String, ClassLoader, boolean) - 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) - 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.async.BasicAsyncLoggerContextSelector
- getContext(String, ClassLoader, boolean, URI) - Method in class org.apache.logging.log4j.core.osgi.BundleContextSelector
- getContext(String, ClassLoader, boolean, URI) - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
- getContext(String, ClassLoader, boolean, URI) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- getContext(String, ClassLoader, boolean, URI) - Method in interface org.apache.logging.log4j.core.selector.ContextSelector
-
Returns the LoggerContext.
- getContext(String, ClassLoader, boolean, URI) - Method in class org.apache.logging.log4j.core.selector.JndiContextSelector
- getContext(String, ClassLoader, Object, boolean) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Loads the LoggerContext using the ContextSelector.
- getContext(String, ClassLoader, Object, boolean, URI, String) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Loads the LoggerContext using the ContextSelector.
- getContext(String, ClassLoader, Object, boolean, List<URI>, String) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- getContext(String, ClassLoader, Object, boolean, Configuration) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Loads the LoggerContext using the ContextSelector using the provided Configuration
- getContext(String, ClassLoader, Object, boolean, ConfigurationSource) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Loads the LoggerContext using the ContextSelector.
- getContext(String, ClassLoader, Map.Entry<String, Object>, boolean) - Method in interface org.apache.logging.log4j.core.selector.ContextSelector
-
Returns the LoggerContext.
- getContext(String, ClassLoader, Map.Entry<String, Object>, boolean, URI) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- getContext(String, ClassLoader, Map.Entry<String, Object>, boolean, URI) - Method in interface org.apache.logging.log4j.core.selector.ContextSelector
-
Returns the LoggerContext.
- getContext(String, ClassLoader, Map.Entry<String, Object>, boolean, URI, String) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- getContextData() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- getContextData() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getContextData() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the
ReadOnlyStringMap
containing context data key-value pairs. - getContextData() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getContextData() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Returns the
ReadOnlyStringMap
object holding context data key-value pairs. - getContextMap() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
Returns
Collections.emptyMap()
. - 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 class org.apache.logging.log4j.core.impl.MutableLogEvent
- getContextMap() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Deprecated.use
LogEvent.getContextData()
instead - 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.AbstractLogEvent
- 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 class org.apache.logging.log4j.core.impl.MutableLogEvent
- getContextStack() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the context stack (also known as Nested Diagnostic Context or NDC).
- getConversionPattern() - Method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Gets the conversion pattern.
- getConverter() - Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
- getCount() - Method in class org.apache.logging.log4j.core.appender.AbstractManager
- getCount() - Method in class org.apache.logging.log4j.core.appender.CountingNoOpAppender
- getCronExpression() - Method in class org.apache.logging.log4j.core.appender.rolling.CronTriggeringPolicy
- getCronExpression() - Method in class org.apache.logging.log4j.core.util.CronExpression
- getCurrentFileName(RollingFileManager) - Method in interface org.apache.logging.log4j.core.appender.rolling.DirectFileRolloverStrategy
- getCurrentFileName(RollingFileManager) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
- getCurrentFileTime() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- getCustomActions() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
- getCustomActions() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- getCustomActions() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
- getCustomActions() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
- getCustomLevels() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getCustomLevels() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns a list of descriptors of the custom levels defined in the current configuration.
- getCustomLevels() - Method in class org.apache.logging.log4j.core.config.CustomLevels
-
Returns a list of the
CustomLevelConfig
objects created during configuration. - getDateInstance(int) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a date formatter instance using the specified style in the default time zone and locale.
- getDateInstance(int, Locale) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a date formatter instance using the specified style and locale in the default time zone.
- getDateInstance(int, TimeZone) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a date formatter instance using the specified style and time zone in the default locale.
- getDateInstance(int, TimeZone, Locale) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a date formatter instance using the specified style, time zone and locale.
- getDatePattern() - Method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.Returns the date part of the pattern.
- getDatePatternLength() - Method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.Returns the length of the date part of the resulting formatted string.
- getDateTimeInstance(int, int) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a date/time formatter instance using the specified style in the default time zone and locale.
- getDateTimeInstance(int, int, Locale) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a date/time formatter instance using the specified style and locale in the default time zone.
- getDateTimeInstance(int, int, TimeZone) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a date/time formatter instance using the specified style and time zone in the default locale.
- getDateTimeInstance(int, int, TimeZone, Locale) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a date/time formatter instance using the specified style, time zone and locale.
- getDayOfWeekNumber(String) - Method in class org.apache.logging.log4j.core.util.CronExpression
- getDefault() - Static method in class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Gets default instance.
- getDefault() - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- getDefaultAbbreviator() - Static method in class org.apache.logging.log4j.core.pattern.NameAbbreviator
-
Gets default abbreviator.
- getDefaultCharset() - Method in enum org.apache.logging.log4j.core.appender.ConsoleAppender.Target
- getDefaultConstructor(Class<T>) - Static method in class org.apache.logging.log4j.core.util.ReflectionUtil
-
Gets the default (no-arg) constructor for a given class.
- getDefaultId() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- getDefaultLevel() - Static method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getDefaultLookup() - Method in class org.apache.logging.log4j.core.lookup.Interpolator
- getDefaultManager() - Static method in class org.apache.logging.log4j.core.net.JndiManager
-
Gets the default JndiManager using the default
InitialContext
. - getDefaultManager(String) - Static method in class org.apache.logging.log4j.core.net.JndiManager
-
Gets a named JndiManager using the default
InitialContext
. - getDefaultPrefix() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- getDefaultRoute() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- getDefaultRouteScript() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- getDefaultRouteScript() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- getDefaultStatus() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getDefaultStyle() - Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Gets the default style.
- getDelay(TimeUnit) - Method in class org.apache.logging.log4j.core.config.CronScheduledFuture
- getDeleteFilters() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAll
- getDeleteFilters() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAny
- getDestination() - Method in class org.apache.logging.log4j.core.appender.rolling.action.CommonsCompressAction
- getDestination() - Method in class org.apache.logging.log4j.core.appender.rolling.action.FileRenameAction
-
Gets the destination.
- getDestination() - Method in class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
- getDestination() - Method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
- getDestinationName() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager.JmsManagerConfiguration
- getDiscardCount(AsyncQueueFullPolicy) - Static method in class org.apache.logging.log4j.core.async.DiscardingAsyncQueueFullPolicy
- getDiscardIfAllFieldsAreEmpty() - Method in class org.apache.logging.log4j.core.layout.LoggerFields
- getDriverClassName() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- getDriverClassName() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- getElementName() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
- getEligibleFiles(String, String) - Method in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- getEligibleFiles(String, String, boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
-
Deprecated.
- getEligibleFiles(String, String, String, boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- getEligibleFiles(RollingFileManager) - Method in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- getEligibleFiles(RollingFileManager, boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- getEncoding(byte[], String) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- getEndIndex() - Method in class org.apache.logging.log4j.core.util.ObjectArrayIterator
-
Gets the end index to loop to.
- getEndpoints() - Method in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqManager
- getEnterpriseNumber() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getEnterpriseNumber() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- getEpochMillisecond() - Method in interface org.apache.logging.log4j.core.time.Instant
-
Gets the number of milliseconds from the Java epoch of 1970-01-01T00:00:00Z.
- getEpochMillisecond() - Method in class org.apache.logging.log4j.core.time.MutableInstant
- getEpochSecond() - Method in interface org.apache.logging.log4j.core.time.Instant
-
Gets the number of seconds from the Java epoch of 1970-01-01T00:00:00Z.
- getEpochSecond() - Method in class org.apache.logging.log4j.core.time.MutableInstant
- 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. - getErrorPrefix() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- getErrorPrefix() - Method in interface org.apache.logging.log4j.core.util.Builder
-
Prefix to use to report errors from this builder.
- 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.
- getEscapeNL() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getEscapeNL() - Method in class org.apache.logging.log4j.core.layout.SyslogLayout.Builder
- getEventPrefix() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getEventRoute(Level) - Method in interface org.apache.logging.log4j.core.async.AsyncLoggerConfigDelegate
-
Returns the
EventRoute
for the event with the specified level. - getEventRoute(Level) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor
- getEventSerializer() - Method in class org.apache.logging.log4j.core.layout.PatternLayout
- getExact() - Method in class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
Deprecated.
- getExact() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- getExceptionPattern() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getExcludes() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getExplicitLevel() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Allows callers to determine the Level assigned to this LoggerConfig.
- getExpressionSetSummary(ArrayList<Integer>) - Method in class org.apache.logging.log4j.core.util.CronExpression
- getExpressionSetSummary(Set<Integer>) - Method in class org.apache.logging.log4j.core.util.CronExpression
- getExpressionSummary() - Method in class org.apache.logging.log4j.core.util.CronExpression
- getExtendedStackTrace() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Gets the stack trace including packaging information.
- getExtendedStackTraceAsString() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the stack trace including packaging information.
- getExtendedStackTraceAsString(String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the stack trace including packaging information.
- getExtendedStackTraceAsString(List<String>, String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the stack trace including packaging information.
- getExtendedStackTraceAsString(List<String>, TextRenderer, String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the stack trace including packaging information.
- getExtendedStackTraceAsString(List<String>, TextRenderer, String, String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats the stack trace including packaging information.
- getExtension() - Method in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
- getExtension() - Method in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- getExternalContext() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Returns the external context.
- getExtraClassInfo() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- getFacility() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getFacility() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- getFacility() - Method in class org.apache.logging.log4j.core.layout.SyslogLayout.Builder
- getFacility() - Method in class org.apache.logging.log4j.core.layout.SyslogLayout
-
Gets the facility.
- getFacility() - Method in class org.apache.logging.log4j.core.net.Priority
-
Returns the Facility.
- getFactoryClassName() - Method in class org.apache.logging.log4j.core.async.AsyncWaitStrategyFactoryConfig.Builder
- getFastDateFormat() - Method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.Returns the
FastDateFormat
object for formatting the date part of the pattern ornull
if the pattern does not have a date part. - getFastDateFormat(TimeZone) - Method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.Returns the
FastDateFormat
object for formatting the date part of the pattern ornull
if the pattern does not have a date part. - getFieldValue(Field, Object) - Static method in class org.apache.logging.log4j.core.util.ReflectionUtil
-
Gets the value of a
Field
, making it accessible if required. - getFile() - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Returns the file configuration source, or
null
if this configuration source is based on an URL or has neither a file nor an URL. - getFile() - Method in class org.apache.logging.log4j.core.util.Source
-
Gets the file configuration source, or
null
if this configuration source is based on an URL or has neither a file nor an URL. - getFileExtension() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- getFileExtension() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- getFileExtension(File) - Static method in class org.apache.logging.log4j.core.util.FileUtils
- getFileGroup() - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- getFileGroup() - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- getFileGroup() - Method in class org.apache.logging.log4j.core.appender.FileManager
-
Returns file group if defined and the OS supports POSIX/group file attribute view, null otherwise.
- getFileGroup() - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction
-
Returns file group if defined and the OS supports POSIX/group file attribute view, null otherwise.
- getFileGroup() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- getFileIndex() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
- getFileManager(String, boolean, boolean, boolean, boolean, String, Layout<? extends Serializable>, int, String, String, String, Configuration) - 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.MemoryMappedFileManager
-
Returns the MemoryMappedFileManager.
- getFileManager(String, boolean, boolean, int, String, Layout<? extends Serializable>, Configuration) - 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>, int, boolean, boolean, String, String, String, Configuration) - 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.AbstractFileAppender.Builder
- getFileName() - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender
-
Returns the file name this appender is associated with.
- getFileName() - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- 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.MemoryMappedFileAppender
-
Returns the file name this appender is associated with.
- getFileName() - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
-
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.rolling.RollingFileManager
-
Returns the name of the File being managed.
- getFileName() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- 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.
- getFileName() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- getFileOwner() - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- getFileOwner() - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- getFileOwner() - Method in class org.apache.logging.log4j.core.appender.FileManager
-
Returns file owner if defined and the OS supports owner file attribute view, null otherwise.
- getFileOwner() - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction
-
Returns file owner if defined and the OS supports owner file attribute view, null otherwise.
- getFileOwner() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- getFilePattern() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- 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.
- getFilePermissions() - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- getFilePermissions() - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- getFilePermissions() - Method in class org.apache.logging.log4j.core.appender.FileManager
-
Returns POSIX file permissions if defined and the OS supports POSIX file attribute, null otherwise.
- getFilePermissions() - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction
-
Returns POSIX file permissions if defined and the OS supports POSIX file attribute, null otherwise.
- getFilePermissions() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- 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.Builder
- getFilter() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
- getFilter() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- getFilter() - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder
- 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
. - getFilterName() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getFilters() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Deprecated.
- 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.
- getFiltersArray() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- getFinalFireTime() - Method in class org.apache.logging.log4j.core.util.CronExpression
-
NOT YET IMPLEMENTED: Returns the final time that the
CronExpression
will match. - getFireTime() - Method in class org.apache.logging.log4j.core.config.CronScheduledFuture
- getFixedTimeZoneFormat() - Method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.Returns the optional time zone format.
- getFontSize() - Method in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- getFontSize(String) - Static method in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- getFooter() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
- getFooter() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout
-
Returns the footer, if one is available.
- getFooter() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
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.
- getFooter() - Method in class org.apache.logging.log4j.core.layout.YamlLayout
-
Returns appropriate YAML footer.
- getFooterSerializer() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder
- getFooterSerializer() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- getFormat() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getFormat() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getFormat() - Method in class org.apache.logging.log4j.core.impl.MementoMessage
- getFormat() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getFormat() - Method in class org.apache.logging.log4j.core.layout.AbstractCsvLayout
- getFormat() - Method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.Returns the full pattern of the selected fixed format.
- getFormattedMessage() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getFormattedMessage() - Method in class org.apache.logging.log4j.core.impl.MementoMessage
- getFormattedMessage() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getFormatters(LogEvent) - Method in class org.apache.logging.log4j.core.layout.LevelPatternSelector
- getFormatters(LogEvent) - Method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector
- getFormatters(LogEvent) - Method in interface org.apache.logging.log4j.core.layout.PatternSelector
- getFormatters(LogEvent) - Method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector
- getFormattingInfo() - Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
- getFrequency() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- getFrom() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- 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
-
Gets the
ErrorHandler
used for handling exceptions. - getHardware() - Method in class org.apache.logging.log4j.core.lookup.JavaLookup
-
Accessible through the Lookup key
hw
. - getHeader() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
- getHeader() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout
-
Returns the header, if one is available.
- getHeader() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
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 header.
- getHeader() - Method in class org.apache.logging.log4j.core.layout.SerializedLayout
-
Deprecated.
- getHeader() - Method in class org.apache.logging.log4j.core.layout.XmlLayout
-
Returns appropriate XML headers.
- getHeader() - Method in class org.apache.logging.log4j.core.layout.YamlLayout
-
Returns appropriate YAML header.
- getHeaders() - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- getHeaders(String, String) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- getHeaderSerializer() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder
- getHeaderSerializer() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- getHost() - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- getHost() - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- getHost() - Method in class org.apache.logging.log4j.core.net.AbstractSocketManager
-
Gets the host.
- getHostName() - Method in class org.apache.logging.log4j.core.net.SocketAddress
- getId() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getId() - Method in class org.apache.logging.log4j.core.util.WatchManager
- getIgnorePackages() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Returns the list of packages to ignore (filter out).
- getImmediateFail() - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- getImmediateFlush() - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
Gets the immediate flush setting.
- 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. - getIncludeLocation() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- getIncludeLocation() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- getIncludes() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getInputFromString(String, ClassLoader) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Deprecated.
- getInputStream() - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Returns the input stream that this configuration source was constructed with.
- getInstance() - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Returns the ConfigurationFactory.
- getInstance() - Static method in class org.apache.logging.log4j.core.config.OrderComparator
-
Returns a singleton instance of this class.
- getInstance() - Static method in class org.apache.logging.log4j.core.config.plugins.convert.TypeConverterRegistry
-
Gets the singleton instance of the TypeConverterRegistry.
- getInstance() - Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
-
Returns the global PluginRegistry instance.
- getInstance() - Static method in class org.apache.logging.log4j.core.impl.DefaultLogEventFactory
- getInstance() - Static method in class org.apache.logging.log4j.core.pattern.PlainTextRenderer
- getInstance() - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a formatter instance using the default pattern in the default locale.
- getInstance() - Static method in class org.apache.logging.log4j.core.util.NullOutputStream
-
Gets the singleton instance.
- getInstance(String) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a formatter instance using the specified pattern in the default locale.
- getInstance(String, Locale) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a formatter instance using the specified pattern and locale.
- getInstance(String, TimeZone) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a formatter instance using the specified pattern and time zone.
- getInstance(String, TimeZone, Locale) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a formatter instance using the specified pattern, time zone and locale.
- getInstance(List<String>) - Static method in class org.apache.logging.log4j.core.util.WatcherFactory
- getInstant() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- getInstant() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getInstant() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the Instant when the message was logged.
- getInstant() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getInstant() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Returns the Instant when the message was logged.
- getInterval() - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- getInterval() - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy
- getIntervalSeconds() - Method in class org.apache.logging.log4j.core.util.WatchManager
-
Gets how often this manager checks for file modifications.
- getIntLevel() - Method in class org.apache.logging.log4j.core.config.CustomLevelConfig
-
Returns the custom level intLevel that determines the strength of the custom level relative to the built-in levels.
- getJDBCDatabaseManager(String, int, ConnectionSource, String, ColumnConfig[]) - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
- getJeroMqManager(String, long, long, boolean, byte[], boolean, long, long, long, long, int, long, long, long, int, long, int, long, long, long, boolean, List<String>) - Static method in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqManager
- getJmsManager(String, Properties, String, String, String, char[], boolean, long) - Static method in class org.apache.logging.log4j.core.appender.mom.JmsManager
-
Gets a JmsManager using the specified configuration parameters.
- getJmsManagerConfiguration() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager
- getJndiManager() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager.JmsManagerConfiguration
- getJndiManager(String, String, String, String, String, Properties) - Static method in class org.apache.logging.log4j.core.net.JndiManager
-
Gets a JndiManager with the provided configuration information.
- getJndiManager(Properties) - Static method in class org.apache.logging.log4j.core.net.JndiManager
-
Gets a JndiManager with the provided configuration information.
- getJndiProperties() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager.JmsManagerConfiguration
- 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.config.plugins.processor.PluginEntry
- getKey() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
- getKey() - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- getKey() - Method in class org.apache.logging.log4j.core.jackson.MapEntry
- getKey() - Method in class org.apache.logging.log4j.core.layout.PatternMatch
-
Returns the key.
- getKey() - Method in class org.apache.logging.log4j.core.util.KeyValuePair
-
Returns the key.
- getKeyManagerFactoryAlgorithm() - Method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
- getKeyStore() - Method in class org.apache.logging.log4j.core.net.ssl.AbstractKeyStoreConfiguration
- getKeyStoreConfig() - Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
- getKeyStoreType() - Method in class org.apache.logging.log4j.core.net.ssl.AbstractKeyStoreConfiguration
- getLanguage() - Method in class org.apache.logging.log4j.core.script.AbstractScript
- getLanguage() - Method in class org.apache.logging.log4j.core.script.ScriptRef
- getLanguage() - Method in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- getLastDayOfMonth(int, int) - Method in class org.apache.logging.log4j.core.util.CronExpression
- getLastModified() - Method in class org.apache.logging.log4j.core.config.ConfigurationFileWatcher
- getLastModified() - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Returns the last modification time known when the
ConfigurationSource
was created. - getLastModified() - Method in class org.apache.logging.log4j.core.config.HttpWatcher
- getLastModified() - Method in class org.apache.logging.log4j.core.util.AbstractWatcher
- getLastModified() - Method in interface org.apache.logging.log4j.core.util.Watcher
-
Returns the time the source was last modified or 0 if it is not available.
- getLastModified() - Method in class org.apache.logging.log4j.core.util.WrappedFileWatcher
- getLatency() - Method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- getLayout() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- 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.AbstractDatabaseManager.AbstractFactoryData
-
Gets the layout.
- getLayout() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- getLayout() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
- getLayout() - Method in interface org.apache.logging.log4j.core.Appender
-
Returns the Layout used by this Appender if applicable.
- 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 theLayout
object of the instrumentedAppender
. - 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 theLayout
object of the instrumentedAsyncAppender
. - getLength() - Method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.Returns the length of the resulting formatted date and time strings in the ROOT locale.
- getLength() - Method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedTimeZoneFormat
-
Deprecated.
- getLength() - Method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.Returns the length of the resulting formatted date and time strings.
- getLength(Object) - Static method in class org.apache.logging.log4j.core.util.ArrayUtils
-
Returns the length of the specified array.
- getLevel() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- getLevel() - Method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
- 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.Builder
- getLevel() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns the logging Level.
- getLevel() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- getLevel() - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- getLevel() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the logging Level.
- getLevel() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- 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
-
Gets the Level associated with the Logger.
- getLevelAndRefs() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- getLevelAndRefs() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- getLevelAndRefs(Level, AppenderRef[], String, Configuration) - Static method in class org.apache.logging.log4j.core.config.LoggerConfig
- getLevelMap() - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- getLevelName() - Method in class org.apache.logging.log4j.core.config.CustomLevelConfig
-
Returns the custom level name.
- getLineNumber() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- getLines() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Returns the number of lines to write.
- getListeners() - Method in class org.apache.logging.log4j.core.LoggerContext
- getListeners() - Method in class org.apache.logging.log4j.core.util.AbstractWatcher
- getListeners() - Method in interface org.apache.logging.log4j.core.util.Watcher
-
Returns the list of listeners for this configuration.
- getListeners() - Method in class org.apache.logging.log4j.core.util.WrappedFileWatcher
- getLiteral() - Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
- getLiteralValue() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- getLiteralValue() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
- getLocale() - Method in class org.apache.logging.log4j.core.lookup.JavaLookup
-
Accessible through the Lookup key
locale
. - getLocale() - Method in interface org.apache.logging.log4j.core.util.datetime.DatePrinter
-
Deprecated.Gets the locale used by this printer.
- getLocale() - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets the locale used by this formatter.
- getLocale() - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.
- getLocale() - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- getLocale() - Method in interface org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter
- getLocalHostname() - Static method in class org.apache.logging.log4j.core.util.NetUtils
-
This method gets the network name of the machine we are running on.
- getLocalizedMessage() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.
- getLocation() - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Returns a string describing the configuration source file or URL, or
null
if this configuration source has neither a file nor an URL. - getLocation() - Method in class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
Deprecated.
- getLocation() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- getLocation() - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
- getLocation() - Method in class org.apache.logging.log4j.core.util.Source
-
Gets a string describing the configuration source file or URI, or
null
if this configuration source has neither a file nor an URI. - getLogEventFactory() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns the LogEventFactory.
- getLogger() - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- getLogger(String) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Returns the LoggerConfig with the specified name.
- getLogger(String) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Gets a Logger from the Context.
- getLogger(String, MessageFactory) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Obtains a logger from the context.
- getLoggerConfig(String) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
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.
- getLoggerContext() - Method in class org.apache.logging.log4j.core.appender.AbstractManager
-
Gets the logger context used to create this instance or null.
- getLoggerContext() - Method in class org.apache.logging.log4j.core.appender.ConfigurationFactoryData
-
Gets the LoggerContext from the Configuration or null.
- getLoggerContext() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getLoggerContext() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Gets the logger context.
- getLoggerContext() - Method in class org.apache.logging.log4j.core.config.properties.PropertiesConfigurationBuilder
- getLoggerContext() - Method in class org.apache.logging.log4j.core.DefaultLoggerContextAccessor
- getLoggerContext() - Method in interface org.apache.logging.log4j.core.LoggerContextAccessor
- getLoggerContextFactory() - Method in class org.apache.logging.log4j.core.impl.Log4jProvider
- getLoggerContexts() - Method in class org.apache.logging.log4j.core.async.BasicAsyncLoggerContextSelector
- 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
- getLoggerFields() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getLoggerFqcn() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- getLoggerFqcn() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getLoggerFqcn() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
The fully qualified class name of the class that was called by the caller.
- getLoggerFqcn() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getLoggerFqcn() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Returns the fully qualified class name of the caller of the logging API.
- getLoggerName() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- getLoggerName() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getLoggerName() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- 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 class org.apache.logging.log4j.core.impl.MutableLogEvent
- getLoggerName() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the logger name.
- getLoggerRegistry() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Deprecated.since 2.25.0 without a replacement.
- getLoggers() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Returns a Map of all the LoggerConfigs.
- getLoggers() - Method in interface org.apache.logging.log4j.core.config.Configuration
- getLoggers() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Gets a collection of the current loggers.
- getLong(TemporalField) - Method in class org.apache.logging.log4j.core.time.MutableInstant
- getLoopback() - Static method in class org.apache.logging.log4j.core.net.SocketAddress
-
Creates a SocketAddress corresponding to
localhost:0
. - getMacAddress() - Static method in class org.apache.logging.log4j.core.util.NetUtils
-
Returns the local network interface's MAC address if possible.
- getMacAddressString() - Static method in class org.apache.logging.log4j.core.util.NetUtils
-
Returns the mac address, if it is available, as a string with each byte separated by a ":" character.
- getManager() - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
Gets the manager.
- getManager() - Method in class org.apache.logging.log4j.core.appender.AbstractWriterAppender
-
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() - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender
- getManager() - Method in class org.apache.logging.log4j.core.appender.SmtpAppender
- getManager(String, int, Layout<? extends Serializable>, ConnectionSource, String, ColumnConfig[], ColumnMapping[]) - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
-
Deprecated.
- getManager(String, int, Layout<? extends Serializable>, ConnectionSource, String, ColumnConfig[], ColumnMapping[], boolean, long) - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
- getManager(String, int, Layout<? extends Serializable>, ConnectionSource, String, ColumnConfig[], ColumnMapping[], boolean, long, boolean) - 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. - 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(String, T, ManagerFactory<? extends OutputStreamManager, T>) - Static method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Creates a Manager.
- getManager(String, T, ManagerFactory<? extends WriterManager, T>) - Static method in class org.apache.logging.log4j.core.appender.WriterManager
-
Creates a Manager.
- 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(LoggerContext, String, String, boolean, Property[], String) - Static method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaManager
-
Deprecated.
- getManagerName() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getMap() - Method in class org.apache.logging.log4j.core.config.Loggers
- getMap() - Method in class org.apache.logging.log4j.core.filter.MapFilter
-
Deprecated.use
MapFilter.getStringMap()
instead - getMap() - Method in class org.apache.logging.log4j.core.layout.LoggerFields
- getMap() - Method in class org.apache.logging.log4j.core.lookup.MapLookup
- getMarker() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- 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 class org.apache.logging.log4j.core.impl.MutableLogEvent
- getMarker() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the Marker associated with the event.
- getMax() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
- getMaxDepth() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
-
Returns the maximum number of directory levels to visit.
- getMaxFiles() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
- getMaxFiles() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
- getMaxFileSize() - Method in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- 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.
- getMaxLengthEstimate() - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets an estimate for the maximum string length that the formatter will produce.
- getMaxLengthEstimate() - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.Gets an estimate for the maximum string length that the formatter will produce.
- getMaxLevel() - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- getMaxRandomDelay() - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- getMdcExcludes() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- getMdcId() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getMdcId() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- getMdcIncludes() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- getMdcPrefix() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getMessage() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- 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 class org.apache.logging.log4j.core.impl.MutableLogEvent
- getMessage() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.
- getMessage() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the message associated with the event.
- getMethod() - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- getMethodName() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- getMimeMessage() - Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
Deprecated.
- getMimeMultipart(byte[], InternetHeaders) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- getMin() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
- 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.
- getMinLevel() - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- getMonthNumber(String) - Method in class org.apache.logging.log4j.core.util.CronExpression
- getMsgId() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getMutableInstant() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- getName() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- 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 class org.apache.logging.log4j.core.appender.db.ColumnMapping
- getName() - Method in interface org.apache.logging.log4j.core.Appender
-
Gets the name of this Appender.
- getName() - Method in class org.apache.logging.log4j.core.appender.rolling.action.CommonsCompressAction
- getName() - Method in class org.apache.logging.log4j.core.appender.ScriptAppenderSelector.Builder
- getName() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Returns the name of the configuration.
- getName() - Method in interface org.apache.logging.log4j.core.config.builder.api.AppenderComponentBuilder
-
Returns the name of the Appender.
- getName() - Method in interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
-
Returns the name of the component, if any.
- 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.plugins.processor.PluginEntry
- 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
-
Deprecated.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.
- getName() - Method in class org.apache.logging.log4j.core.script.AbstractScript
- getNameKey() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- getNanoClock() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getNanoClock() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns the
NanoClock
instance for this configuration. - getNanoClock() - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the
NanoClock
to use for creating the nanoTime timestamp of log events. - getNanoOfMillisecond() - Method in interface org.apache.logging.log4j.core.time.Instant
-
Gets the number of nanoseconds, later along the time-line, from the start of the millisecond.
- getNanoOfMillisecond() - Method in class org.apache.logging.log4j.core.time.MutableInstant
- getNanoOfSecond() - Method in interface org.apache.logging.log4j.core.time.Instant
-
Gets the number of nanoseconds, later along the time-line, from the start of the second.
- getNanoOfSecond() - Method in class org.apache.logging.log4j.core.time.MutableInstant
- getNanoTime() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- getNanoTime() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getNanoTime() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- getNanoTime() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getNanoTime() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Returns the value of the running Java Virtual Machine's high-resolution time source when this event was created, or a dummy value if it is known that this value will not be used downstream.
- getNestedConditions() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileCount
- getNestedConditions() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileSize
- getNestedConditions() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfFileName
- getNestedConditions() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified
- getNextFileTime() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- getNextInvalidTimeAfter(Date) - Method in class org.apache.logging.log4j.core.util.CronExpression
-
Returns the next date/time after the given date/time which does not satisfy the expression
- getNextRolloverMillis() - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy
- getNextTime(long, int, boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
Returns the next potential rollover time.
- getNextValidTimeAfter(Date) - Method in class org.apache.logging.log4j.core.util.CronExpression
-
Returns the next date/time after the given date/time which satisfies the cron expression.
- getNode() - Method in class org.apache.logging.log4j.core.appender.AppenderSet.Builder
- 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.nosql.NoSqlDatabaseManager
- getNoSqlDatabaseManager(String, int, NoSqlProvider<?>, KeyValuePair[], Configuration) - Static method in class org.apache.logging.log4j.core.appender.nosql.NoSqlDatabaseManager
-
Creates a NoSQL manager for use within the
NoSqlAppender
, or returns a suitable one if it already exists. - getNumericValue(String, int) - Method in class org.apache.logging.log4j.core.util.CronExpression
- getObject() - Method in class org.apache.logging.log4j.core.config.Node
- getObject(Class<T>) - Method in class org.apache.logging.log4j.core.config.Node
-
Returns this node's object cast to the given class.
- getObject(String) - Method in class org.apache.logging.log4j.core.LoggerContext
- getObjectMapper() - Method in class org.apache.logging.log4j.core.config.json.JsonConfiguration
- getObjectMapper() - Method in class org.apache.logging.log4j.core.config.yaml.YamlConfiguration
- getObjectMessageAsJsonObject() - Method in class org.apache.logging.log4j.core.layout.JsonLayout.Builder
- 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.AbstractFilterBuilder
- 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.AbstractFilterBuilder
- 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.
- getOperatingSystem() - Method in class org.apache.logging.log4j.core.lookup.JavaLookup
-
Accessible through the Lookup key
os
. - getOptions() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
-
Returns whether to follow symbolic links or not.
- getOptions() - Method in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
- getOrCreateLayout() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- getOrCreateLayout(Charset) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- getOutputStream() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- getParameter() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- getParameterCount() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getParameterCount() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getParameters() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getParameters() - Method in class org.apache.logging.log4j.core.impl.MementoMessage
- getParameters() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- 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.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- getPassword() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- getPassword() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager.JmsManagerConfiguration
- getPassword() - Method in interface org.apache.logging.log4j.core.net.ssl.PasswordProvider
-
Returns a new char[] array with the password characters.
- getPassword() - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
Deprecated.Use getPasswordAsCharArray()
- getPasswordAsCharArray() - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
- getPath() - Method in class org.apache.logging.log4j.core.appender.rolling.action.PathWithAttributes
-
Returns the path.
- getPath() - Method in class org.apache.logging.log4j.core.script.ScriptFile
- getPath() - Method in class org.apache.logging.log4j.core.util.Source
-
Gets this source as a Path.
- getPathConditions() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
-
Returns the list of PathCondition objects.
- getPattern() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- getPattern() - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- getPattern() - Method in class org.apache.logging.log4j.core.layout.PatternMatch
-
Returns the pattern.
- getPattern() - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- getPattern() - Method in interface org.apache.logging.log4j.core.util.datetime.DatePrinter
-
Deprecated.Gets the pattern used by this printer.
- getPattern() - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets the pattern used by this formatter.
- getPattern() - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.
- getPattern() - Method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.Returns the full pattern.
- getPattern() - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- getPattern() - Method in interface org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter
- getPattern(LogEvent, ConcurrentMap<Object, Object>) - Method in class org.apache.logging.log4j.core.appender.routing.Routes
-
Returns the pattern.
- getPatternConverters() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- getPatternFields() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- getPatternProcessor() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Returns the pattern processor.
- getPatternScript() - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- getPatternScript() - Method in class org.apache.logging.log4j.core.appender.routing.Routes
-
Gets the optional script that decides which route to pick.
- getPerformancePreferences() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- getPluginClass() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
- getPluginManager() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getPluginManager() - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- getPluginPackages() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getPluginPackages() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns the list of packages to scan for plugins for this Configuration.
- getPlugins() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
-
Returns all the matching plugins.
- getPluginsByCategoryByBundleId() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
- getPluginType() - Method in class org.apache.logging.log4j.core.config.builder.api.Component
- getPluginType(String) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
-
Returns the type of a specified plugin.
- getPolicy() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- getPort() - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- getPort() - Method in class org.apache.logging.log4j.core.net.AbstractSocketManager
-
Gets the port.
- getPort() - Method in class org.apache.logging.log4j.core.net.SocketAddress
- getPrecision() - Method in interface org.apache.logging.log4j.core.util.internal.instant.InstantFormatter
- getPrecision() - Method in enum org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
- getPrevFileTime() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- getPrevFireTime(Date) - Method in class org.apache.logging.log4j.core.util.CronExpression
- 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.
- getProcessId() - Method in class org.apache.logging.log4j.core.pattern.ProcessIdPatternConverter
-
Returns the process ID.
- getProcId() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- getProductString() - Static method in class org.apache.logging.log4j.core.Version
- getProperties() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- getProperties() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- getProperties() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getProperties() - Method in interface org.apache.logging.log4j.core.config.Configuration
- getProperties() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- getProperties() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Deprecated.use
LoggerConfig.getPropertyList()
instead - getProperties() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- getPropertyArray() - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder
- getPropertyArray() - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
- getPropertyList() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns an unmodifiable list with the configuration properties, or
null
if thisLoggerConfig
does not have any configuration properties. - getProtocol() - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- getProtocol() - Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
- getPurgePolicy() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- getPurgePolicy() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- 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
- getQueueSize() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
Returns the number of elements in the queue.
- getRawValue() - Method in class org.apache.logging.log4j.core.config.Property
-
Returns the original raw property value without substitution.
- getReadTimeoutMillis() - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- getReceiveBufferSize() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- getReconnectDelayMillis() - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- getReconnectIntervalMillis() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
- getReconnectIntervalMillis() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager.JmsManagerConfiguration
- getReconnectionDelayMillis() - Method in class org.apache.logging.log4j.core.net.TcpSocketManager
- getRef() - Method in class org.apache.logging.log4j.core.config.AppenderRef
- getRefs() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- getRefs() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- getRegionLength() - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileAppender
-
Returns the length of the memory mapped region.
- getRegionLength() - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
-
Returns the length of the memory mapped region.
- getReliabilityStrategy() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns the object responsible for ensuring log events are delivered to a working appender, even during or after a reconfiguration.
- getReliabilityStrategy(LoggerConfig) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getReliabilityStrategy(LoggerConfig) - Method in interface org.apache.logging.log4j.core.config.Configuration
- getReliabilityStrategy(LoggerConfig) - Static method in class org.apache.logging.log4j.core.config.ReliabilityStrategyFactory
-
Returns a new
ReliabilityStrategy
instance based on the value of system propertylog4j.ReliabilityStrategy
. - 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.
- getReplyTo() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getRequired() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getResource(String, ClassLoader) - Static method in class org.apache.logging.log4j.core.util.Loader
-
This method will search for
resource
in different places. - getResourceAsStream(String, ClassLoader) - Static method in class org.apache.logging.log4j.core.util.Loader
-
This method will search for
resource
in different places. - getResources() - Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
-
Returns the matching resources.
- getRetryCount() - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
- getRewritePolicy() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- getRewritePolicy() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- getRfc1349TrafficClass() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- getRollingRandomAccessFileManager(String, String, boolean, boolean, int, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>, String, String, String, Configuration) - 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
- getRootCause(Throwable) - Static method in class org.apache.logging.log4j.core.util.Throwables
-
Extracts the deepest exception in the causal chain of the given
throwable
. - getRootLogger() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Returns the root Logger.
- getRootLogger() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns the root Logger.
- getRootLogger() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Gets the root logger.
- getRootNode() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getRoute(long, Level) - Method in interface org.apache.logging.log4j.core.async.AsyncQueueFullPolicy
-
Returns the appropriate route for the current log event, given the specified parameters.
- getRoute(long, Level) - Method in class org.apache.logging.log4j.core.async.DefaultAsyncQueueFullPolicy
- getRoute(long, Level) - Method in class org.apache.logging.log4j.core.async.DiscardingAsyncQueueFullPolicy
- getRoute(String) - Method in class org.apache.logging.log4j.core.appender.routing.Routes
- getRoutes() - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- getRoutes() - Method in class org.apache.logging.log4j.core.appender.routing.Routes
-
Returns the array of Route elements.
- getRoutes() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- getRoutes() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- getRuntime() - Method in class org.apache.logging.log4j.core.lookup.JavaLookup
-
Accessible through the Lookup key
runtime
. - getScheduler() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getScheduler() - Method in interface org.apache.logging.log4j.core.config.Configuration
- getScript() - Method in class org.apache.logging.log4j.core.appender.ScriptAppenderSelector.Builder
- getScript(String) - Method in class org.apache.logging.log4j.core.script.ScriptManager
- getScriptManager() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getScriptManager() - Method in interface org.apache.logging.log4j.core.config.Configuration
- getScriptStaticVariables() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- getScriptText() - Method in class org.apache.logging.log4j.core.script.AbstractScript
- getScriptText() - Method in class org.apache.logging.log4j.core.script.ScriptRef
- getSdId() - Method in class org.apache.logging.log4j.core.layout.LoggerFields
- getSecondFractionDigits() - Method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.Returns the number of digits specifying the fraction of the second to show
- getSecretKey() - Method in interface org.apache.logging.log4j.core.util.SecretKeyProvider
-
Returns this SecretKey.
- getSelector() - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Returns the ContextSelector.
- getSendBufferSize() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- getSeparator() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Returns the stack trace separator.
- 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.
- getShutdownCallbackRegistry() - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Returns the ShutdownCallbackRegistry
- getShutdownTimeoutMillis() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getShutdownTimeoutMillis() - Method in interface org.apache.logging.log4j.core.config.Configuration
- getSmtpHost() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getSmtpManager(Configuration, String, String, String, String, String, String, String, String, int, String, String, boolean, String, int, SslConfiguration) - Static method in class org.apache.logging.log4j.core.net.SmtpManager
-
Deprecated.
- getSmtpPassword() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getSmtpPort() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getSmtpProtocol() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getSmtpUsername() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getSocket() - Method in class org.apache.logging.log4j.core.net.TcpSocketManager
-
USE AT YOUR OWN RISK, method is public for testing purpose only for now.
- getSocketAddress() - Method in class org.apache.logging.log4j.core.net.SocketAddress
- getSocketManager(String, int, int, int, boolean, Layout<? extends Serializable>, int) - Static method in class org.apache.logging.log4j.core.net.TcpSocketManager
- getSocketManager(String, int, int, int, boolean, Layout<? extends Serializable>, int, SocketOptions) - Static method in class org.apache.logging.log4j.core.net.TcpSocketManager
-
Obtains a TcpSocketManager.
- getSocketManager(String, int, Layout<? extends Serializable>, int) - Static method in class org.apache.logging.log4j.core.net.DatagramSocketManager
-
Obtain a SocketManager.
- getSocketManager(SslConfiguration, String, int, int, int, boolean, Layout<? extends Serializable>, int) - Static method in class org.apache.logging.log4j.core.net.SslSocketManager
- getSocketManager(SslConfiguration, String, int, int, int, boolean, Layout<? extends Serializable>, int, SocketOptions) - Static method in class org.apache.logging.log4j.core.net.SslSocketManager
- getSocketOptions() - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- getSocketOptions() - Method in class org.apache.logging.log4j.core.net.TcpSocketManager
-
USE AT YOUR OWN RISK, method is public for testing purpose only for now.
- getSoLinger() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- getSortedPaths() - Method in class org.apache.logging.log4j.core.appender.rolling.action.SortingVisitor
- getSoTimeout() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- getSource() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- getSource() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- getSource() - Method in class org.apache.logging.log4j.core.appender.rolling.action.CommonsCompressAction
- getSource() - Method in class org.apache.logging.log4j.core.appender.rolling.action.FileRenameAction
-
Gets the source.
- getSource() - Method in class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
- getSource() - Method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
- 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 class org.apache.logging.log4j.core.impl.MutableLogEvent
-
Returns the StackTraceElement for the caller.
- getSource() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the source of logging request.
- getSource() - Method in class org.apache.logging.log4j.core.util.AbstractWatcher
- getSource() - Method in interface org.apache.logging.log4j.core.util.Watcher
-
Returns the Source being monitored.
- getSqlStatement() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
- getSslConfiguration() - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- getSslConfiguration() - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- getSslConfiguration() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getSslConfiguration() - Static method in class org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory
- getSslContext() - Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
- getSslServerSocketFactory() - Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
-
Deprecated.
- getSslSocketFactory() - Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
-
Deprecated.
- getStackTrace() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.
- getStackTraceElement() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- getStartIndex() - Method in class org.apache.logging.log4j.core.util.ObjectArrayIterator
-
Gets the start index to loop from.
- getState() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- getState() - Method in interface org.apache.logging.log4j.core.LifeCycle
-
Gets the life-cycle state.
- getState() - Method in class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
- getStaticFieldValue(Field) - Static method in class org.apache.logging.log4j.core.util.ReflectionUtil
-
Gets the value of a static
Field
, making it accessible if required. - 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
. - getStatusConfiguration() - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- 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
- getStatusLogger() - Static method in class org.apache.logging.log4j.core.AbstractLifeCycle
-
Gets the status logger.
- getStrategy() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- getStringBuilder() - Static method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
Returns a
StringBuilder
that this Layout implementation can use to write the formatted log event to. - getStringBuilderEncoder() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
Returns a
Encoder<StringBuilder>
that this Layout implementation can use for encoding log events. - getStringLayout() - Method in class org.apache.logging.log4j.core.appender.AbstractWriterAppender
- getStringMap() - Method in class org.apache.logging.log4j.core.filter.MapFilter
-
Returns the IndexedStringMap with
List<String>
values that this MapFilter was constructed with. - getStrLookupMap() - Method in class org.apache.logging.log4j.core.lookup.Interpolator
- getStrSubstitutor() - Method in class org.apache.logging.log4j.core.appender.AbstractManager
-
Gets my configuration's StrSubstitutor or null.
- getStrSubstitutor() - Method in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- getStrSubstitutor() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
- getStrSubstitutor() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- 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.
- getStyleMap() - Method in class org.apache.logging.log4j.core.pattern.JAnsiTextRenderer
- getSubject() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getSubjectSerializer() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getSubName(String) - Static method in class org.apache.logging.log4j.core.util.NameUtil
- getSuffix() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- getSuffix(LogEvent) - Method in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
-
Deprecated.Planned to be removed without a replacement
- getSupportedSourceVersion() - Method in class org.apache.logging.log4j.core.config.plugins.processor.GraalVmProcessor
- getSupportedSourceVersion() - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.json.JsonConfigurationFactory
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.properties.PropertiesConfigurationFactory
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
-
Returns the file suffixes for XML files.
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.yaml.YamlConfigurationFactory
- getSuppressedProxies() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Gets proxies for suppressed exceptions.
- getSuppressedStackTrace(String) - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Formats 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.
- getSyntaxAndPattern() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfFileName
-
Returns the baseDir-relative path pattern of the files to delete.
- getTableName() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
- getTarget() - Method in class org.apache.logging.log4j.core.appender.ConsoleAppender
- getTempCompressedFilePattern() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
- getTempCompressedFilePattern() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- getTempCompressedFilePattern() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
- getTempCompressedFilePattern() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
- getTestPrefix() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- getTextRenderer() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Returns the message rendered.
- getThreadContextClassLoader() - Static method in class org.apache.logging.log4j.core.util.Loader
-
Returns the ClassLoader of current thread if possible, or falls back to the system ClassLoader if none is available.
- getThreadContextMapInstance() - Method in class org.apache.logging.log4j.core.impl.Log4jProvider
- getThreadId() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- getThreadId() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getThreadId() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEventHandler
-
Returns the thread ID of the background consumer thread, or
-1
if the background thread has not started yet. - getThreadId() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- getThreadId() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getThreadId() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the thread ID.
- getThreadName() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- 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 class org.apache.logging.log4j.core.impl.MutableLogEvent
- getThreadName() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the thread name.
- getThreadPriority() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- getThreadPriority() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getThreadPriority() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- getThreadPriority() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getThreadPriority() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the thread priority.
- getThresholdBytes() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileSize
- getThresholdCount() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileCount
- getThresholdLevel() - Method in class org.apache.logging.log4j.core.async.DiscardingAsyncQueueFullPolicy
- getThrowable() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getThrowable() - Method in class org.apache.logging.log4j.core.impl.MementoMessage
-
Always returns null.
- getThrowable() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getThrowable() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.The throwable or null if this object is deserialized from XML or JSON.
- getThrown() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- 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 class org.apache.logging.log4j.core.impl.MutableLogEvent
- 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.AbstractLogEvent
- getThrownProxy() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getThrownProxy() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns the ThrowableProxy associated with the event, or null.
- getThrownProxy() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
-
Returns the ThrowableProxy associated with the event, or null.
- getThrownProxy() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets throwable proxy associated with logging request.
- getTimeAfter(Date) - Method in class org.apache.logging.log4j.core.util.CronExpression
- getTimeBasedUuid() - Static method in class org.apache.logging.log4j.core.util.UuidUtil
-
Generates Type 1 UUID.
- getTimeBefore(Date) - Method in class org.apache.logging.log4j.core.util.CronExpression
- getTimeInstance(int) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a time formatter instance using the specified style in the default time zone and locale.
- getTimeInstance(int, Locale) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a time formatter instance using the specified style and locale in the default time zone.
- getTimeInstance(int, TimeZone) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a time formatter instance using the specified style and time zone in the default locale.
- getTimeInstance(int, TimeZone, Locale) - Static method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a time formatter instance using the specified style, time zone and locale.
- getTimeMillis() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- getTimeMillis() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- getTimeMillis() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Gets event time in milliseconds since midnight, January 1, 1970 UTC.
- getTimeMillis() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getTimeMillis() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets event time in milliseconds since midnight, January 1, 1970 UTC.
- getTimeZone() - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- getTimeZone() - Method in class org.apache.logging.log4j.core.util.CronExpression
-
Returns the time zone for which this
CronExpression
will be resolved. - getTimeZone() - Method in interface org.apache.logging.log4j.core.util.datetime.DatePrinter
-
Deprecated.Gets the time zone used by this printer.
- getTimeZone() - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets the time zone used by this formatter.
- getTimeZone() - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.
- getTimeZone() - Method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.Returns the time zone.
- getTimeZone() - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- getTimeZone() - Method in interface org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter
- getTitle() - Method in class org.apache.logging.log4j.core.layout.HtmlLayout
-
For testing purposes.
- getTo() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- getTopic() - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
- getTopic() - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaManager
- getTrafficClass() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- getTriggeringPolicies() - Method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
- getTriggeringPolicy() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Returns the triggering policy.
- getTriggeringPolicy() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
-
Returns the triggering policy.
- getTrustManagerFactoryAlgorithm() - Method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
- getTrustStoreConfig() - Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
- getType() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- getType() - Method in class org.apache.logging.log4j.core.config.Node
- getURI() - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Returns a URI representing the configuration resource or null if it cannot be determined.
- getURI() - Method in class org.apache.logging.log4j.core.util.Source
-
Gets the configuration source URI, or
null
if this configuration source is based on a file or has neither a file nor an URI. - getUrl() - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- getURL() - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Returns the configuration source URL, or
null
if this configuration source is based on a file or has neither a file nor an URL. - getURL() - Method in class org.apache.logging.log4j.core.util.Source
-
Gets the configuration source URL.
- getUserName() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- getUserName() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- getUserName() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager.JmsManagerConfiguration
- getValue() - Method in class org.apache.logging.log4j.core.config.builder.api.Component
- 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.jackson.MapEntry
- getValue() - Method in class org.apache.logging.log4j.core.net.Priority
-
Returns the value of this Priority.
- getValue() - Method in class org.apache.logging.log4j.core.util.KeyValuePair
-
Returns the value.
- getValue(int, String, int) - Method in class org.apache.logging.log4j.core.util.CronExpression
- getValue(String) - Method in interface org.apache.logging.log4j.core.ContextDataInjector
-
Retrieves a single context data value.
- getValue(String) - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- getValue(String) - Method in class org.apache.logging.log4j.core.impl.ThreadContextDataInjector.ForCopyOnWriteThreadContextMap
- getValue(String) - Method in interface org.apache.logging.log4j.core.util.ContextDataProvider
-
Retrieves a single context data value.
- getValueDelimiterMatcher() - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Gets the variable default value delimiter matcher currently in use.
- 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.config.ConfigurationFactory
- getVersion() - Method in class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
Deprecated.
- getVersion() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- getVirtualMachine() - Method in class org.apache.logging.log4j.core.lookup.JavaLookup
-
Accessible through the Lookup key
vm
. - getWatchers() - Method in class org.apache.logging.log4j.core.util.WatchManager
-
Deprecated.use getConfigurationWatchers.
- getWatchManager() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getWatchManager() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Return the WatchManager.
- getWrappedFilter() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfNot
- getWriter() - Method in class org.apache.logging.log4j.core.appender.WriterManager
- getZContext() - Static method in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqManager
- GraalVmProcessor - Class in org.apache.logging.log4j.core.config.plugins.processor
-
Java annotation processor that generates GraalVM metadata.
- GraalVmProcessor() - Constructor for class org.apache.logging.log4j.core.config.plugins.processor.GraalVmProcessor
- Green(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Green
-
Constructs the converter.
- GREEN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Green foreground color.
- GROOVY - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- GVY - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- GZ - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
- 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
-
Deprecated.
- GzCompressAction(File, File, boolean, int) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
-
Create new instance of GzCompressAction.
- GZIP - Enum constant in enum org.apache.logging.log4j.core.layout.GelfLayout.CompressionType
H
- handleEventException(Throwable, long, AsyncLoggerConfigDisruptor.Log4jEventWrapper) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDefaultExceptionHandler
- handleOnShutdownException(Throwable) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDefaultExceptionHandler
- handleOnStartException(Throwable) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDefaultExceptionHandler
- handlesThrowable() - Method in class org.apache.logging.log4j.core.pattern.EncodingPatternConverter
- handlesThrowable() - Method in class org.apache.logging.log4j.core.pattern.HighlightConverter
- handlesThrowable() - Method in class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
-
Normally pattern converters are not meant to handle Exceptions although few pattern converters might.
- handlesThrowable() - Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
-
Normally pattern formatters are not meant to handle Exceptions although few pattern formatters might.
- handlesThrowable() - Method in class org.apache.logging.log4j.core.pattern.StyleConverter
- handlesThrowable() - Method in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
-
Indicates this converter handles
Throwable
s. - hasAppenders() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
- hasChildren() - Method in class org.apache.logging.log4j.core.config.Node
- hasContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.core.async.BasicAsyncLoggerContextSelector
- hasContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Checks to see if a LoggerContext is installed.
- hasContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.core.osgi.BundleContextSelector
- hasContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
- hasContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- hasContext(String, ClassLoader, boolean) - Method in interface org.apache.logging.log4j.core.selector.ContextSelector
-
Checks to see if a LoggerContext is installed.
- hasContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.core.selector.JndiContextSelector
- hasEventListeners() - Method in class org.apache.logging.log4j.core.util.WatchManager
- hasFilter() - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Determines if a Filter is present.
- hasFilter() - Method in interface org.apache.logging.log4j.core.filter.Filterable
-
Determine if a Filter is present.
- hashCode() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- hashCode() - Method in class org.apache.logging.log4j.core.appender.rolling.action.Duration
-
Deprecated.
- hashCode() - Method in class org.apache.logging.log4j.core.appender.TlsSyslogFrame
- hashCode() - Method in class org.apache.logging.log4j.core.config.AppenderControl
- hashCode() - Method in class org.apache.logging.log4j.core.config.CustomLevelConfig
- hashCode() - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- hashCode() - Method in class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
Deprecated.
- hashCode() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- hashCode() - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- hashCode() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- hashCode() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.
- hashCode() - Method in class org.apache.logging.log4j.core.jackson.MapEntry
- hashCode() - Method in class org.apache.logging.log4j.core.layout.PatternMatch
- hashCode() - Method in class org.apache.logging.log4j.core.Logger
- hashCode() - Method in class org.apache.logging.log4j.core.net.ssl.AbstractKeyStoreConfiguration
- hashCode() - Method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
- hashCode() - Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
- hashCode() - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
- hashCode() - Method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
- hashCode() - Method in class org.apache.logging.log4j.core.time.MutableInstant
- hashCode() - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Returns a hash code compatible with equals.
- hashCode() - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.Returns a hash code compatible with equals.
- hashCode() - Method in class org.apache.logging.log4j.core.util.KeyValuePair
- hashCode() - Method in class org.apache.logging.log4j.core.util.Source
- hashCodeImpl() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- hashCodeImpl() - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- hasLogger(String) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Determines if the specified Logger exists.
- hasLogger(String, MessageFactory) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Determines if the specified Logger exists.
- hasLogger(String, Class<? extends MessageFactory>) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Determines if the specified Logger exists.
- hasManager(String) - Static method in class org.apache.logging.log4j.core.appender.AbstractManager
-
Determines if a Manager with the specified name exists.
- hasNext() - Method in class org.apache.logging.log4j.core.util.ObjectArrayIterator
-
Returns true if there are more elements to return from the array.
- hasOutputStream() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- hasPackages() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Determines if there are any packages to filter.
- header - Variable in class org.apache.logging.log4j.core.layout.AbstractLayout
-
The header to include when the stream is opened.
- HexConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Converts Strings to hex.
- HexConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.HexConverter
- HH - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedTimeZoneFormat
-
Deprecated.Offset like
-07
. - HHCMM - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedTimeZoneFormat
-
Deprecated.Offset like
-07:00
. - HHMM - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedTimeZoneFormat
-
Deprecated.Offset like
-0700
. - HIDDEN - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Normal general attribute.
- HighlightConverter - Class in org.apache.logging.log4j.core.pattern
-
Highlight pattern converter.
- host - Variable in class org.apache.logging.log4j.core.net.AbstractSocketManager
-
The name of the host.
- HostResolver() - Constructor for class org.apache.logging.log4j.core.net.TcpSocketManager.HostResolver
- HOUR - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- HOURLY - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover every hour.
- hours - Variable in class org.apache.logging.log4j.core.util.CronExpression
- HS - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- HtmlLayout - Class in org.apache.logging.log4j.core.layout
-
Outputs events as rows in an HTML table on an HTML page.
- HtmlLayout.Builder - Class in org.apache.logging.log4j.core.layout
- HtmlLayout.FontSize - Enum in org.apache.logging.log4j.core.layout
-
Possible font sizes
- HtmlTextRenderer - Class in org.apache.logging.log4j.core.pattern
-
TODO Renders an input as HTML output.
- HtmlTextRenderer(String[]) - Constructor for class org.apache.logging.log4j.core.pattern.HtmlTextRenderer
- HttpAppender - Class in org.apache.logging.log4j.core.appender
-
Sends log events over HTTP.
- HttpAppender.Builder<B extends HttpAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
-
Builds HttpAppender instances.
- HttpManager - Class in org.apache.logging.log4j.core.appender
- HttpManager(Configuration, LoggerContext, String) - Constructor for class org.apache.logging.log4j.core.appender.HttpManager
- HttpURLConnectionManager - Class in org.apache.logging.log4j.core.appender
- HttpURLConnectionManager(Configuration, LoggerContext, String, URL, String, int, int, Property[], SslConfiguration, boolean) - Constructor for class org.apache.logging.log4j.core.appender.HttpURLConnectionManager
- HttpWatcher - Class in org.apache.logging.log4j.core.config
- HttpWatcher(Configuration, Reconfigurable, List<ConfigurationListener>, long) - Constructor for class org.apache.logging.log4j.core.config.HttpWatcher
I
- ID_KEY - Static variable in class org.apache.logging.log4j.core.lookup.StructuredDataLookup
-
Key to obtain the id of a structured message.
- IdlePurgePolicy - Class in org.apache.logging.log4j.core.appender.routing
-
Policy is purging appenders that were not in use specified time in minutes
- IdlePurgePolicy(long, long, ConfigurationScheduler) - Constructor for class org.apache.logging.log4j.core.appender.routing.IdlePurgePolicy
- IfAccumulatedFileCount - Class in org.apache.logging.log4j.core.appender.rolling.action
-
PathCondition that accepts paths after some count threshold is exceeded during the file tree walk.
- IfAccumulatedFileSize - Class in org.apache.logging.log4j.core.appender.rolling.action
-
PathCondition that accepts paths after the accumulated file size threshold is exceeded during the file tree walk.
- IfAll - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Composite
PathCondition
that only accepts objects that are accepted by all component conditions. - IfAny - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Composite
PathCondition
that accepts objects that are accepted by any component conditions. - IfFileName - Class in org.apache.logging.log4j.core.appender.rolling.action
-
PathCondition that accepts files for deletion if their relative path matches either a glob pattern or a regular expression.
- IfLastModified - Class in org.apache.logging.log4j.core.appender.rolling.action
-
PathCondition that accepts paths that are older than the specified duration.
- IfLastModified.Builder - Class in org.apache.logging.log4j.core.appender.rolling.action
- IfNot - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Wrapper
PathCondition
that accepts objects that are rejected by the wrapped component filter. - 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.AbstractWriterAppender
-
Immediate flush means that the underlying writer 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
- includeLocation(String, Configuration) - Static method in class org.apache.logging.log4j.core.config.LoggerConfig
- includeNullDelimiter - Variable in class org.apache.logging.log4j.core.layout.YamlLayout
- incrementScheduledItems() - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
-
Increment the number of threads in the pool.
- inetAddress - Variable in class org.apache.logging.log4j.core.net.AbstractSocketManager
-
The Internet address of the host.
- InetAddressConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.InetAddressConverter
- INFO - Enum constant in enum org.apache.logging.log4j.core.net.Severity
-
Informational messages.
- init(ProcessingEnvironment) - Method in class org.apache.logging.log4j.core.config.plugins.processor.GraalVmProcessor
- init(MutableInstant) - Method in interface org.apache.logging.log4j.core.time.PreciseClock
-
Initializes the specified instant with time information as accurate as available on this platform.
- initFrom(LogEvent) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
-
Initialize the fields of this
MutableLogEvent
from another event. - initFrom(Instant) - Method in class org.apache.logging.log4j.core.time.MutableInstant
- initFrom(Clock) - Method in class org.apache.logging.log4j.core.time.MutableInstant
- initFromEpochMilli(long, int) - Method in class org.apache.logging.log4j.core.time.MutableInstant
-
Updates the fields of this
MutableInstant
from the specified epoch millis. - initFromEpochSecond(long, int) - Method in class org.apache.logging.log4j.core.time.MutableInstant
-
Updates the fields of this
MutableInstant
from the specified instant components. - INITIAL_REUSABLE_MESSAGE_SIZE - Static variable in class org.apache.logging.log4j.core.util.Constants
-
Initial StringBuilder size used in RingBuffer LogEvents to store the contents of reusable Messages.
- initialize() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- initialize() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- initialize() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Initialize the configuration.
- initialize() - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Configures and initializes the StatusLogger using the configured options in this instance.
- initialize() - Method in interface org.apache.logging.log4j.core.LifeCycle
- initialize() - Method in class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
- initialize(A) - Method in interface org.apache.logging.log4j.core.config.plugins.validation.ConstraintValidator
-
Called before this validator is used with the constraint annotation value.
- initialize(ClassLoader, Configuration) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- initialize(ClassLoader, Configuration, Object) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- initialize(ClassLoader, ConfigurationSource) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- initialize(ClassLoader, ConfigurationSource, Object) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- 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, 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(String, ClassLoader, URI, Map.Entry<String, Object>) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- initialize(String, ClassLoader, List<URI>, Object) - Static method in class org.apache.logging.log4j.core.config.Configurator
- initialize(String, String) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- 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.CronTriggeringPolicy
-
Initializes the policy.
- initialize(RollingFileManager) - Method in class org.apache.logging.log4j.core.appender.rolling.NoOpTriggeringPolicy
- 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
-
Initializes the policy.
- initialize(RollingFileManager) - Method in interface org.apache.logging.log4j.core.appender.rolling.TriggeringPolicy
-
Initializes this triggering policy.
- initialize(RoutingAppender) - Method in class org.apache.logging.log4j.core.appender.routing.IdlePurgePolicy
- initialize(RoutingAppender) - Method in interface org.apache.logging.log4j.core.appender.routing.PurgePolicy
-
Initializes with routing appender
- initialize(Configuration) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Initializes the Logging Context.
- initialize(NotBlank) - Method in class org.apache.logging.log4j.core.config.plugins.validation.validators.NotBlankValidator
- initialize(Required) - Method in class org.apache.logging.log4j.core.config.plugins.validation.validators.RequiredValidator
- initialize(ValidHost) - Method in class org.apache.logging.log4j.core.config.plugins.validation.validators.ValidHostValidator
- initialize(ValidPort) - Method in class org.apache.logging.log4j.core.config.plugins.validation.validators.ValidPortValidator
- initializeBuilder(Log4jLogEvent.Builder) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
Initializes the specified
Log4jLogEvent.Builder
from thisRingBufferLogEvent
. - initializeBuilder(Log4jLogEvent.Builder) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
-
Initializes the specified
Log4jLogEvent.Builder
from thisMutableLogEvent
. - initializeClass(String, ClassLoader) - Static method in class org.apache.logging.log4j.core.util.Loader
-
Loads and initializes a named Class using a given ClassLoader.
- INITIALIZED - Enum constant in enum org.apache.logging.log4j.core.LifeCycle.State
-
Initialized but not yet started.
- initializeWatchers(Reconfigurable, ConfigurationSource, int) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- INITIALIZING - Enum constant in enum org.apache.logging.log4j.core.LifeCycle.State
-
Object is in its initial state and not yet initialized.
- initKeyManagerFactory() - Method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
-
Deprecated.Planned to be removed in the next major release
- initServiceProviders() - Static method in class org.apache.logging.log4j.core.impl.ThreadContextDataInjector
-
Deprecated.no-op
- initTrustManagerFactory() - Method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
-
Deprecated.Planned to be removed in the next major release
- injectContextData(List<Property>, StringMap) - Method in interface org.apache.logging.log4j.core.ContextDataInjector
-
Returns a
StringMap
object initialized with the specified properties and the appropriate context data. - injectContextData(List<Property>, StringMap) - Method in class org.apache.logging.log4j.core.impl.ThreadContextDataInjector.ForCopyOnWriteThreadContextMap
-
If there are no configuration properties, this injector will return the thread context's internal data structure.
- injectContextData(List<Property>, StringMap) - Method in class org.apache.logging.log4j.core.impl.ThreadContextDataInjector.ForDefaultThreadContextMap
-
Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.
- injectContextData(List<Property>, StringMap) - Method in class org.apache.logging.log4j.core.impl.ThreadContextDataInjector.ForGarbageFreeThreadContextMap
-
Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.
- insertObject(NoSqlObject<W>) - Method in interface org.apache.logging.log4j.core.appender.nosql.NoSqlConnection
-
Inserts the given object into the underlying NoSQL database.
- instance() - Static method in class org.apache.logging.log4j.core.util.CachedClock
- instance() - Static method in class org.apache.logging.log4j.core.util.CoarseCachedClock
-
Returns the singleton instance.
- INSTANCE - Static variable in class org.apache.logging.log4j.core.appender.rolling.NoOpTriggeringPolicy
- INSTANCE - Static variable in class org.apache.logging.log4j.core.DefaultLoggerContextAccessor
-
Singleton instance.
- INSTANCE - Static variable in class org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier
-
Singleton instance.
- INSTANCE - Static variable in class org.apache.logging.log4j.core.net.TcpSocketManager.HostResolver
-
Singleton instance.
- Instant - Interface in org.apache.logging.log4j.core.time
-
Models a point in time, suitable for event timestamps.
- InstantFormatter - Interface in org.apache.logging.log4j.core.util.internal.instant
-
Contract for formatting
Instant
s. - instantiate(Class<T>) - Static method in class org.apache.logging.log4j.core.util.ReflectionUtil
-
Constructs a new
T
object using the default constructor of its class. - instantiate(String, Class<T>, Configuration, Reconfigurable, List<ConfigurationListener>, long) - Static method in class org.apache.logging.log4j.core.util.WatcherFactory
- instantiateByClassName(String, Class<?>, Object) - Static method in class org.apache.logging.log4j.core.util.OptionConverter
-
Instantiate an object given a class name.
- instantiateByKey(Properties, String, Class<?>, Object) - Static method in class org.apache.logging.log4j.core.util.OptionConverter
- instantiatePlugin(Class<V>) - Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginUtil
-
Instantiates the given plugin using its no-arg
PluginFactory
-annotated static method. - InstantNumberFormatter - Enum in org.apache.logging.log4j.core.util.internal.instant
-
Formats an
Instant
numerically; e.g., formats its epoch1 seconds. - InstantPatternFormatter - Interface in org.apache.logging.log4j.core.util.internal.instant
-
Contract for formatting
Instant
s using a date and time formatting pattern. - InstantPatternFormatter.Builder - Class in org.apache.logging.log4j.core.util.internal.instant
- instantToMillisAndNanos(long, int, long[]) - Static method in class org.apache.logging.log4j.core.time.MutableInstant
-
Updates the elements of the specified
long[]
result array from the specified instant components. - IntegerConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.IntegerConverter
- IntegerPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats an integer.
- Integers - Class in org.apache.logging.log4j.core.util
-
Helps deal with integers.
- InternalAsyncUtil - Class in org.apache.logging.log4j.core.async
-
Helper class providing some async logging-related functionality.
- InternalAsyncUtil() - Constructor for class org.apache.logging.log4j.core.async.InternalAsyncUtil
- Interpolator - Class in org.apache.logging.log4j.core.lookup
-
Proxies all the other
StrLookup
s. - Interpolator() - Constructor for class org.apache.logging.log4j.core.lookup.Interpolator
-
Create the default Interpolator.
- Interpolator(Map<String, String>) - Constructor for class org.apache.logging.log4j.core.lookup.Interpolator
-
Creates the default Interpolator with the provided properties.
- Interpolator(StrLookup) - Constructor for class org.apache.logging.log4j.core.lookup.Interpolator
- Interpolator(StrLookup, List<String>) - Constructor for class org.apache.logging.log4j.core.lookup.Interpolator
-
Constructs an Interpolator using a given StrLookup and a list of packages to find Lookup plugins in.
- IOUtils - Class in org.apache.logging.log4j.core.util
-
Copied from Apache Commons IO revision 1686747.
- IOUtils() - Constructor for class org.apache.logging.log4j.core.util.IOUtils
- IPTOS_LOWCOST - Enum constant in enum org.apache.logging.log4j.core.net.Rfc1349TrafficClass
-
IPTOS_LOWCOST (0x02)
- IPTOS_LOWDELAY - Enum constant in enum org.apache.logging.log4j.core.net.Rfc1349TrafficClass
-
IPTOS_LOWDELAY (0x10)
- IPTOS_NORMAL - Enum constant in enum org.apache.logging.log4j.core.net.Rfc1349TrafficClass
-
IPTOS_NORMAL (0x00)
- IPTOS_RELIABILITY - Enum constant in enum org.apache.logging.log4j.core.net.Rfc1349TrafficClass
-
IPTOS_RELIABILITY (0x04)
- IPTOS_THROUGHPUT - Enum constant in enum org.apache.logging.log4j.core.net.Rfc1349TrafficClass
-
IPTOS_THROUGHPUT (0x08)
- IS_WEB_APP - Static variable in class org.apache.logging.log4j.core.util.Constants
-
true
if we think we are running in a web container, based on the boolean value of system property "log4j2.isWebapp", or (if this system property is not set) whether thejavax.servlet.Servlet
class is present in the classpath. - isAccessible(T) - Static method in class org.apache.logging.log4j.core.util.ReflectionUtil
-
Indicates whether or not a
Member
is both public and is contained in a public class. - isActive() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- isActive() - Method in class org.apache.logging.log4j.core.config.json.JsonConfigurationFactory
- isActive() - Method in class org.apache.logging.log4j.core.config.yaml.YamlConfigurationFactory
- 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.
- isAdditivity() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- isAdditivity() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- isAdvertise() - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- isAdvertise() - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- isAdvertise() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- isAnd() - Method in class org.apache.logging.log4j.core.filter.MapFilter
- isAppend() - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- isAppend() - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- isAppend() - Method in class org.apache.logging.log4j.core.appender.FileManager
-
Returns the append status.
- isAppend() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- isAssignable(Type, Type) - Static method in class org.apache.logging.log4j.core.util.TypeUtil
-
Indicates if two
Type
s are assignment compatible. - isAttributeViewEnabled() - Method in class org.apache.logging.log4j.core.appender.FileManager
-
Returns true if file attribute view enabled for this file manager.
- isBlocking() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
Returns
true
if this AsyncAppender will block when the queue is full, orfalse
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, orfalse
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, orfalse
if events are dropped when the queue is full. - isBuffered() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- isBufferedIo() - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
- isCachingEnabled() - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- isCancelled() - Method in class org.apache.logging.log4j.core.config.CronScheduledFuture
- isClassAvailable(String) - Static method in class org.apache.logging.log4j.core.util.Loader
-
Determines if a named Class can be loaded or not.
- isClassLoaderDependent() - Method in class org.apache.logging.log4j.core.async.BasicAsyncLoggerContextSelector
- isClassLoaderDependent() - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- isClassLoaderDependent() - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
- isClassLoaderDependent() - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- isClassLoaderDependent() - Method in interface org.apache.logging.log4j.core.selector.ContextSelector
-
Determines whether or not this ContextSelector depends on the callers classloader.
- isClassLoaderDependent() - Method in class org.apache.logging.log4j.core.selector.JndiContextSelector
- isClob() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
- isClosed() - Method in class org.apache.logging.log4j.core.appender.nosql.AbstractNoSqlConnection
- isClosed() - Method in interface org.apache.logging.log4j.core.appender.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.
- isCondition() - Method in interface org.apache.logging.log4j.core.config.arbiters.Arbiter
- isCondition() - Method in class org.apache.logging.log4j.core.config.arbiters.ClassArbiter
- isCondition() - Method in class org.apache.logging.log4j.core.config.arbiters.DefaultArbiter
-
Always returns true since it is the default.
- isCondition() - Method in class org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter
-
Returns true if either the environment variable is defined (it has any value) or the property value matches the requested value.
- isCondition() - Method in class org.apache.logging.log4j.core.config.arbiters.ScriptArbiter
-
Returns the boolean result of the Script.
- isCondition() - Method in class org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter
-
Returns true if either the property name is defined (it has any value) or the property value matches the requested value.
- isCreateOnDemand() - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- isCreateOnDemand() - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- isCreateOnDemand() - Method in class org.apache.logging.log4j.core.appender.FileManager
-
Returns the lazy-create.
- isCreateOnDemand() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- isDefer() - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- isDeferChildren() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
- isDeleteSource() - Method in class org.apache.logging.log4j.core.appender.rolling.action.CommonsCompressAction
- isDeleteSource() - Method in class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
- isDeleteSource() - Method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
- isDirectWrite() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- isDone() - Method in class org.apache.logging.log4j.core.config.CronScheduledFuture
- isEmpty() - Method in class org.apache.logging.log4j.core.config.AppenderControlArraySet
- isEmpty() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Returns whether this composite contains any filters.
- isEmpty() - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- isEmpty() - Method in class org.apache.logging.log4j.core.util.CyclicBuffer
-
Determines if the buffer contains elements.
- isEmpty(byte[]) - Static method in class org.apache.logging.log4j.core.util.ArrayUtils
-
Checks if an array of Objects is empty or
null
. - isEmpty(Object) - Static method in class org.apache.logging.log4j.core.util.Assert
-
Checks if an object has empty semantics.
- isEnabled(Level, Marker, CharSequence, Throwable) - 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, String) - 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, String, Object...) - Method in class org.apache.logging.log4j.core.Logger
- isEnabled(Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.core.Logger
- isEnabled(Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.core.Logger
- isEnabled(Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.Logger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.Logger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.Logger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.Logger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.Logger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.core.Logger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - 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, 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.AbstractLogEvent
- isEndOfBatch() - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
-
Deprecated.end-of-batch on the event is used instead.
- isEndOfBatch() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
Deprecated.end-of-batch on the event is used instead.
- isEndOfBatch() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
Deprecated.end-of-batch on the event is used instead.
- 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 class org.apache.logging.log4j.core.impl.MutableLogEvent
- 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
-
Determines 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.
- isEquivalent(long, int, long, int) - Method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.Returns
true
if the old and new date values will result in the same formatted output,false
if results may differ. - isEventTimestamp() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
- isExecutorServiceSet() - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
- isFile(URL) - Static method in class org.apache.logging.log4j.core.util.FileUtils
- isFilePosixAttributeViewSupported() - Static method in class org.apache.logging.log4j.core.util.FileUtils
-
Check if POSIX file attribute view is supported on the default FileSystem.
- 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.
- isFollowSymbolicLinks() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
-
Returns whether to follow symbolic links or not.
- isFrozen() - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- isHelp() - Method in class org.apache.logging.log4j.core.tools.BasicCommandLineArguments
- isIgnoreExceptions() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- 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. - isImmediateFail() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
- isImmediateFail() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager.JmsManagerConfiguration
- isImmediateFlush() - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
- isImmediateFlush() - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
-
Returns
true
if the content of the buffer should be forced to the storage device on every write,false
otherwise. - isIncludeLocation() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- 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.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 orfalse
if logging is asynchronous. - isIncludeLocation() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- isIncludeLocation() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- 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.
- isIncludeMdc() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- isIncludeMdc() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- isIncludeNewLine() - Method in class org.apache.logging.log4j.core.layout.SyslogLayout.Builder
- isIncludeNewLineDelimiter() - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- isIncludeNullDelimiter() - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- isIncludeStacktrace() - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- isIncludeThreadContext() - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- isInitialized() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- isInstanceOf(Class<?>) - Method in class org.apache.logging.log4j.core.config.Node
-
Determines if this node's object is an instance of the given class.
- isInterrupted() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
- isJansiAvailable() - Static method in class org.apache.logging.log4j.core.util.Loader
-
Deprecated.Since 2.25.0 without a replacement.
- isJndiContextSelectorEnabled() - Static method in class org.apache.logging.log4j.core.net.JndiManager
-
Tests whether the JNDI system properties for ContextSelector is currently enabled.
- isJndiEnabled() - Static method in class org.apache.logging.log4j.core.net.JndiManager
-
Tests whether any JNDI system properties are currently enabled.
- isJndiJdbcEnabled() - Static method in class org.apache.logging.log4j.core.net.JndiManager
-
Tests whether the JNDI system properties for JDBC is currently enabled.
- isJndiJmsEnabled() - Static method in class org.apache.logging.log4j.core.net.JndiManager
-
Tests whether the JNDI system properties for JMS is currently enabled.
- isJndiLookupEnabled() - Static method in class org.apache.logging.log4j.core.net.JndiManager
-
Tests whether the JNDI system properties for Lookup is currently enabled.
- isKeepAlive() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- isLeapYear(int) - Method in class org.apache.logging.log4j.core.util.CronExpression
- isLeftAligned() - Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Determine if left aligned.
- isLeftTruncate() - Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Determine if left truncated.
- isLegacyFormattersEnabled() - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- isLocationInfo() - Method in class org.apache.logging.log4j.core.layout.HtmlLayout
-
For testing purposes.
- isLocking() - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- isLocking() - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- isLocking() - Method in class org.apache.logging.log4j.core.appender.FileManager
-
Returns the lock status.
- isLocking() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- isLookupEvaluationAllowedInValue() - Method in interface org.apache.logging.log4j.core.lookup.LookupResult
-
True if the
LookupResult.value()
should be re-evaluated for other lookups. - isMatch(char[], int) - Method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Returns the number of matching characters, zero for no match.
- 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.
- isModified() - Method in class org.apache.logging.log4j.core.config.ConfigurationFileWatcher
- isModified() - Method in class org.apache.logging.log4j.core.config.HttpWatcher
- isModified() - Method in class org.apache.logging.log4j.core.util.AbstractWatcher
- isModified() - Method in interface org.apache.logging.log4j.core.util.Watcher
-
Periodically called to determine if the configuration has been modified.
- isModified() - Method in class org.apache.logging.log4j.core.util.WrappedFileWatcher
- isModulate() - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- isNativeMethod() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- isNewLine() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- isNonEmpty(Object) - Static method in class org.apache.logging.log4j.core.util.Assert
-
Opposite of
Assert.isEmpty(Object)
. - ISO8601 - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ISO8601 time format:
"yyyy-MM-dd'T'HH:mm:ss,SSS"
. - ISO8601_BASIC - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ISO8601_BASIC time format:
"yyyyMMdd'T'HHmmss,SSS"
. - ISO8601_BASIC_PERIOD - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ISO8601_BASIC time format:
"yyyyMMdd'T'HHmmss.SSS"
. - ISO8601_OFFSET_DATE_TIME_HH - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ISO8601 time format:
"yyyy-MM-dd'T'HH:mm:ss,SSSX"
with a time zone like-07
. - ISO8601_OFFSET_DATE_TIME_HHCMM - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ISO8601 time format:
"yyyy-MM-dd'T'HH:mm:ss,SSSXXX"
with a time zone like-07:00
. - ISO8601_OFFSET_DATE_TIME_HHMM - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ISO8601 time format:
"yyyy-MM-dd'T'HH:mm:ss,SSSXX"
with a time zone like-0700
. - ISO8601_PERIOD - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ISO8601 time format:
"yyyy-MM-dd'T'HH:mm:ss.SSS"
. - ISO8601_PERIOD_MICROS - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.ISO8601 time format with support for microsecond precision:
"yyyy-MM-dd'T'HH:mm:ss.nnnnnn"
. - isObjectPrintable() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
- isOobInline() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- isOpen() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Returns the status of the stream.
- isOpen() - Method in class org.apache.logging.log4j.core.appender.WriterManager
-
Returns the status of the stream.
- isPopulated() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- isPrintable() - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- isPropertiesAsList() - Method in class org.apache.logging.log4j.core.layout.JsonLayout.Builder
- isPropertiesRequireLookup() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
- isRecentFirst() - Method in class org.apache.logging.log4j.core.appender.rolling.action.PathSortByModificationTime
-
Returns whether this sorter sorts recent files first.
- isRenameEmptyFiles() - Method in class org.apache.logging.log4j.core.appender.rolling.action.FileRenameAction
-
Whether to rename empty files.
- isRenameEmptyFiles() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- isRetry() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager.JmsManagerConfiguration
- isReuseAddress() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- isRoot() - Method in class org.apache.logging.log4j.core.config.Node
- isRunning() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Indicates whether the manager is currently connected
AbstractDatabaseManager.startup()
has been called andAbstractDatabaseManager.shutdown()
has not been called). - isSatisfiedBy(Date) - Method in class org.apache.logging.log4j.core.util.CronExpression
-
Indicates whether the given date satisfies the cron expression.
- isSelected() - Static method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
Returns
true
if the user specified this selector as the Log4jContextSelector, to make all loggers asynchronous. - isSendEventTimestamp() - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
- isShutdownHookEnabled - Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Shutdown hook is enabled by default.
- isShutdownHookEnabled() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- isShutdownHookEnabled() - Method in interface org.apache.logging.log4j.core.config.Configuration
- isShutdownHookEnabled() - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- isSmtpDebug() - Method in class org.apache.logging.log4j.core.net.MailManager.FactoryData
- isStarted() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- isStarted() - Method in interface org.apache.logging.log4j.core.LifeCycle
- isStarted() - Method in class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
-
Indicates if this can accept shutdown hooks.
- isStarting() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- isStopCustomActionsOnError() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
- isStopCustomActionsOnError() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- isStopCustomActionsOnError() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
- isStopCustomActionsOnError() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
- isStopOnError() - Method in class org.apache.logging.log4j.core.appender.rolling.action.CompositeAction
- isStopped() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- isStopped() - Method in interface org.apache.logging.log4j.core.LifeCycle
- isStopped() - Method in class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
- isStopping() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- isSupported(TemporalField) - Method in class org.apache.logging.log4j.core.time.MutableInstant
- isSyncSend() - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
- isTcpNoDelay() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- isTestMode() - Method in class org.apache.logging.log4j.core.appender.rolling.action.DeleteAction
-
Returns
true
if files are not deleted even when all conditions accept a path,false
otherwise. - isTestMode() - Method in class org.apache.logging.log4j.core.appender.rolling.action.DeletingVisitor
-
Returns
true
if files are not deleted even when all conditions accept a path,false
otherwise. - 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.CronTriggeringPolicy
-
Determines whether a rollover should occur.
- isTriggeringEvent(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rolling.NoOpTriggeringPolicy
- 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
-
Determines 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
- isUseMax() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- isValid() - Method in interface org.apache.logging.log4j.core.util.Builder
- isValid(String, Object) - Method in interface org.apache.logging.log4j.core.config.plugins.validation.ConstraintValidator
-
Indicates if the given value is valid.
- isValid(String, Object) - Method in class org.apache.logging.log4j.core.config.plugins.validation.validators.NotBlankValidator
- isValid(String, Object) - Method in class org.apache.logging.log4j.core.config.plugins.validation.validators.RequiredValidator
- isValid(String, Object) - Method in class org.apache.logging.log4j.core.config.plugins.validation.validators.ValidHostValidator
- isValid(String, Object) - Method in class org.apache.logging.log4j.core.config.plugins.validation.validators.ValidPortValidator
- isValidExpression(String) - Static method in class org.apache.logging.log4j.core.util.CronExpression
-
Indicates whether the specified cron expression can be parsed into a valid cron expression
- isValueNeedsLookup() - Method in class org.apache.logging.log4j.core.config.Property
-
Returns
true
if the value contains a substitutable property that requires a lookup to be resolved. - isVariable() - Method in class org.apache.logging.log4j.core.pattern.LineSeparatorPatternConverter
- isVariable() - Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
- isVariable() - Method in class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
- isVerifyHostname() - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- isVerifyHostName() - Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
- isWatched() - Method in class org.apache.logging.log4j.core.script.ScriptFile
- isZeroPad() - Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Determine if zero-padded.
- iterator() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
J
- JAnsiTextRenderer - Class in org.apache.logging.log4j.core.pattern
-
Renders an input as ANSI escaped output.
- JAnsiTextRenderer(String[], Map<String, String>) - Constructor for class org.apache.logging.log4j.core.pattern.JAnsiTextRenderer
- JavaLookup - Class in org.apache.logging.log4j.core.lookup
-
Looks up keys related to Java: Java version, JRE version, VM version, and so on.
- JavaLookup() - Constructor for class org.apache.logging.log4j.core.lookup.JavaLookup
- JAVASCRIPT - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JCToolsBlockingQueueFactory<E> - Class in org.apache.logging.log4j.core.async
-
Factory for creating instances of BlockingQueues backed by JCTools
MpscArrayQueue
. - JCToolsBlockingQueueFactory.WaitStrategy - Enum in org.apache.logging.log4j.core.async
- JdbcAppender - Class in org.apache.logging.log4j.core.appender.db.jdbc
-
This Appender writes logging events to a relational database using standard JDBC mechanisms.
- JdbcAppender.Builder<B extends JdbcAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender.db.jdbc
- JdbcDatabaseManager - Class in org.apache.logging.log4j.core.appender.db.jdbc
-
An
AbstractDatabaseManager
implementation for relational databases accessed via JDBC. - JdkMapAdapterStringMap - Class in org.apache.logging.log4j.core.impl
-
Provides a read-only
StringMap
view of aMap<String, String>
. - JdkMapAdapterStringMap() - Constructor for class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- JdkMapAdapterStringMap(Map<String, String>) - Constructor for class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
-
Deprecated.for performance reasons since 2.23. Use
JdkMapAdapterStringMap(Map, boolean)
instead. - JdkMapAdapterStringMap(Map<String, String>, boolean) - Constructor for class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
-
Constructs a new
StringMap
, based on a JDK map. - JELLY - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JEP - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JeroMqAppender - Class in org.apache.logging.log4j.core.appender.mom.jeromq
-
Sends log events to one or more ZeroMQ (JeroMQ) endpoints.
- JeroMqManager - Class in org.apache.logging.log4j.core.appender.mom.jeromq
-
Manager for publishing messages via JeroMq.
- JEXL - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JEXL2 - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JmsAppender - Class in org.apache.logging.log4j.core.appender.mom
-
Generic JMS Appender plugin for both queues and topics.
- JmsAppender(String, Filter, Layout<? extends Serializable>, boolean, JmsManager) - Constructor for class org.apache.logging.log4j.core.appender.mom.JmsAppender
-
Deprecated.
- JmsAppender(String, Filter, Layout<? extends Serializable>, boolean, Property[], JmsManager) - Constructor for class org.apache.logging.log4j.core.appender.mom.JmsAppender
-
Constructs a new instance.
- JmsAppender.Builder<B extends JmsAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender.mom
- JmsManager - Class in org.apache.logging.log4j.core.appender.mom
-
Consider this class private; it is only public for access by integration tests.
- JmsManager.JmsManagerConfiguration - Class in org.apache.logging.log4j.core.appender.mom
- JMX_SINGLETON - Static variable in class org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup
- JmxRuntimeInputArgumentsLookup - Class in org.apache.logging.log4j.core.lookup
-
Maps JVM input arguments (but not main arguments) using JMX to acquire JVM arguments.
- JmxRuntimeInputArgumentsLookup() - Constructor for class org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup
-
Constructor when used directly as a plugin.
- JmxRuntimeInputArgumentsLookup(Map<String, String>) - Constructor for class org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup
- JNDI_CONTEXT_NAME - Static variable in class org.apache.logging.log4j.core.util.Constants
-
JNDI context name string literal.
- JndiCloser - Class in org.apache.logging.log4j.core.util
-
Helper class for closing JNDI resources.
- JndiContextSelector - Class in org.apache.logging.log4j.core.selector
-
This class can be used to define a custom logger repository.
- JndiContextSelector() - Constructor for class org.apache.logging.log4j.core.selector.JndiContextSelector
- JndiLookup - Class in org.apache.logging.log4j.core.lookup
-
Looks up keys from JNDI resources.
- JndiLookup() - Constructor for class org.apache.logging.log4j.core.lookup.JndiLookup
-
Constructs a new instance or throw IllegalStateException if this feature is disabled.
- JndiManager - Class in org.apache.logging.log4j.core.net
-
Manages a JNDI
DirContext
. - JS - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JsonConfiguration - Class in org.apache.logging.log4j.core.config.json
-
Creates a Node hierarchy from a JSON file.
- JsonConfiguration(LoggerContext, ConfigurationSource) - Constructor for class org.apache.logging.log4j.core.config.json.JsonConfiguration
- JsonConfigurationFactory - Class in org.apache.logging.log4j.core.config.json
- JsonConfigurationFactory() - Constructor for class org.apache.logging.log4j.core.config.json.JsonConfigurationFactory
- JsonConstants - Class in org.apache.logging.log4j.core.jackson
-
Keeps constants separate from any class that may depend on third party jars.
- JsonLayout - Class in org.apache.logging.log4j.core.layout
-
Note: The JsonLayout should be considered to be deprecated.
- JsonLayout(Configuration, boolean, boolean, boolean, boolean, boolean, boolean, String, String, String, Charset, boolean) - Constructor for class org.apache.logging.log4j.core.layout.JsonLayout
-
Deprecated.Use
JsonLayout.newBuilder()
instead - JsonLayout.Builder<B extends JsonLayout.Builder<B>> - Class in org.apache.logging.log4j.core.layout
- JsonLogEventParser - Class in org.apache.logging.log4j.core.parser
-
Parses the output from JsonLayout layout into instances of
LogEvent
. - JsonLogEventParser() - Constructor for class org.apache.logging.log4j.core.parser.JsonLogEventParser
- JsonUtils - Class in org.apache.logging.log4j.core.util
-
This class is borrowed from Jackson.
- JsonUtils() - Constructor for class org.apache.logging.log4j.core.util.JsonUtils
- JUDI - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JUDO - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JY - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JYTHON - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
K
- KafkaAppender - Class in org.apache.logging.log4j.core.appender.mom.kafka
-
Sends log events to an Apache Kafka topic.
- KafkaAppender.Builder<B extends KafkaAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender.mom.kafka
-
Builds KafkaAppender instances.
- KafkaManager - Class in org.apache.logging.log4j.core.appender.mom.kafka
- KafkaManager(LoggerContext, String, String, boolean, Property[], String) - Constructor for class org.apache.logging.log4j.core.appender.mom.kafka.KafkaManager
- KafkaProducerFactory - Interface in org.apache.logging.log4j.core.appender.mom.kafka
-
Creates Apache Kafka
Producer
instances. - KERN - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Kernel messages.
- KEY - Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
-
Key to identify pattern converters.
- KEY_CONFIG_LOCATION - Static variable in class org.apache.logging.log4j.core.lookup.Log4jLookup
- KEY_CONFIG_PARENT_LOCATION - Static variable in class org.apache.logging.log4j.core.lookup.Log4jLookup
- KEYSTORE_TYPE - Static variable in class org.apache.logging.log4j.core.net.ssl.SslConfigurationDefaults
- KeyStoreConfiguration - Class in org.apache.logging.log4j.core.net.ssl
-
Configuration of the KeyStore
- KeyStoreConfiguration(String, char[], String, String) - Constructor for class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
-
Deprecated.
- KeyStoreConfiguration(String, String, String, String) - Constructor for class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
-
Deprecated.
- KeyStoreConfiguration(String, PasswordProvider, String, String) - Constructor for class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
- KeyStoreConfigurationException - Exception in org.apache.logging.log4j.core.net.ssl
- KeyStoreConfigurationException(Exception) - Constructor for exception org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
- KeyValuePair - Class in org.apache.logging.log4j.core.util
-
Key/Value pair configuration item.
- KeyValuePair(String, String) - Constructor for class org.apache.logging.log4j.core.util.KeyValuePair
-
Constructs a key/value pair.
- KeyValuePair.Builder - Class in org.apache.logging.log4j.core.util
- KeyValuePairComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing KeyValuePair Components.
- KeyValuePairConfig - Class in org.apache.logging.log4j.core.filter.mutable
-
Class representing the configuration of KeyValue pairs.
- KeyValuePairConfig() - Constructor for class org.apache.logging.log4j.core.filter.mutable.KeyValuePairConfig
L
- LARGE - Enum constant in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- larger() - Method in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- LARGER - Enum constant in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- lastdayOffset - Variable in class org.apache.logging.log4j.core.util.CronExpression
- lastdayOfMonth - Variable in class org.apache.logging.log4j.core.util.CronExpression
- lastdayOfWeek - Variable in class org.apache.logging.log4j.core.util.CronExpression
- LaxHostnameVerifier - Class in org.apache.logging.log4j.core.net.ssl
-
An HostnameVerifier which accepts everything.
- layout - Variable in class org.apache.logging.log4j.core.appender.OutputStreamManager
- layout - Variable in class org.apache.logging.log4j.core.appender.WriterManager
- Layout<T extends Serializable> - Interface in org.apache.logging.log4j.core
-
Lays out a LogEvent in different formats.
- LayoutComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing Layout Components.
- LEGACY_FORMATTERS_ENABLED - Static variable in interface org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter
- length() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- level - Variable in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
- level - Variable in class org.apache.logging.log4j.core.config.LoggerConfig.LevelAndRefs
- LevelAndRefs() - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig.LevelAndRefs
- LevelConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.LevelConverter
- LevelMatchFilter - Class in org.apache.logging.log4j.core.filter
-
This filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.
- LevelMatchFilter.Builder - Class in org.apache.logging.log4j.core.filter
- LevelPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Returns the event's level in a StringBuilder.
- LevelPatternSelector - Class in org.apache.logging.log4j.core.layout
-
Selects the pattern to use based on the Level in the LogEvent.
- LevelPatternSelector(PatternMatch[], String, boolean, boolean, Configuration) - Constructor for class org.apache.logging.log4j.core.layout.LevelPatternSelector
-
Deprecated.Use
LevelPatternSelector.newBuilder()
instead. This will be private in a future version. - LevelPatternSelector.Builder - Class in org.apache.logging.log4j.core.layout
-
Custom MarkerPatternSelector builder.
- LevelRangeFilter - Class in org.apache.logging.log4j.core.filter
-
This filter returns the
AbstractFilter.onMatch
result if the level of theLogEvent
is in the range of the configuredLevelRangeFilter.minLevel
andLevelRangeFilter.maxLevel
values, otherwise it returns theAbstractFilter.onMismatch
result. - LifeCycle - Interface in org.apache.logging.log4j.core
-
All proper Java frameworks implement some sort of object life cycle.
- LifeCycle.State - Enum in org.apache.logging.log4j.core
-
Status of a life cycle like a
LoggerContext
. - LifeCycle2 - Interface in org.apache.logging.log4j.core
-
Extends the LifeCycle interface.
- LINE_NUMBER - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- 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.
- LinkedTransferQueueFactory<E> - Class in org.apache.logging.log4j.core.async
-
Factory for creating instances of
LinkedTransferQueue
. - LinkedTransferQueueFactory() - Constructor for class org.apache.logging.log4j.core.async.LinkedTransferQueueFactory
- listeners - Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Listeners for configuration changes.
- ListOfMapEntryDeserializer - Class in org.apache.logging.log4j.core.jackson
-
Consider this class private.
- ListOfMapEntrySerializer - Class in org.apache.logging.log4j.core.jackson
-
Consider this class private.
- ListOfMapEntrySerializer() - Constructor for class org.apache.logging.log4j.core.jackson.ListOfMapEntrySerializer
- LiteralPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats a string literal.
- LiteralPatternConverter(Configuration, String, boolean) - 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.AbstractKeyStoreConfiguration
- load() - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
- loadCacheFiles(Enumeration<URL>) - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginCache
-
Loads and merges all the Log4j plugin cache files specified.
- loadClass(String) - Static method in class org.apache.logging.log4j.core.util.Loader
-
Loads a class by name.
- loadClass(String, ClassLoader) - Static method in class org.apache.logging.log4j.core.util.Loader
-
Loads a named Class using a given ClassLoader.
- loadDriver() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- loadDriver(String) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
-
Loads a JDBC driver for the given class name
- Loader - Class in org.apache.logging.log4j.core.util
-
Load resources (or images) from various sources.
- loadFromBundle(long, ClassLoader) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
- loadFromMainClassLoader() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
- loadFromPackage(String) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
- loadSystemClass(String) - Static method in class org.apache.logging.log4j.core.util.Loader
-
Load a Class in the
java.*
namespace by name. - LOCAL0 - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Local use 0.
- LOCAL1 - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Local use 1.
- LOCAL2 - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Local use 2.
- LOCAL3 - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Local use 3.
- LOCAL4 - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Local use 4.
- LOCAL5 - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Local use 5.
- LOCAL6 - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Local use 6.
- LOCAL7 - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Local use 7.
- LOCALIZED_MESSAGE - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- 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.
- locateContext(String, String) - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
- LocationAware - Interface in org.apache.logging.log4j.core.impl
-
Classes that use location information should implement this interface.
- LocationAwareLogEventFactory - Interface in org.apache.logging.log4j.core.impl
- LocationAwareReliabilityStrategy - Interface in org.apache.logging.log4j.core.config
-
Interface to ensure delivery of log events to the appropriate Appenders while including location information.
- LockingReliabilityStrategy - Class in org.apache.logging.log4j.core.config
-
ReliabilityStrategy that uses read/write locks to prevent the LoggerConfig from stopping while it is in use.
- LockingReliabilityStrategy(LoggerConfig) - Constructor for class org.apache.logging.log4j.core.config.LockingReliabilityStrategy
- LockingStringBuilderEncoder - Class in org.apache.logging.log4j.core.layout
-
Encoder for StringBuilders that locks on the ByteBufferDestination.
- LockingStringBuilderEncoder(Charset) - Constructor for class org.apache.logging.log4j.core.layout.LockingStringBuilderEncoder
- LockingStringBuilderEncoder(Charset, int) - Constructor for class org.apache.logging.log4j.core.layout.LockingStringBuilderEncoder
- log(String, String, StackTraceElement, Marker, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Logs an event.
- log(String, String, Marker, 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(LogEvent) - Method in class org.apache.logging.log4j.core.LogEventListener
- log(LogEvent, LoggerConfig.LoggerConfigPredicate) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
- log(LogEvent, LoggerConfig.LoggerConfigPredicate) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Logs an event.
- log(Level, String, Throwable) - Method in class org.apache.logging.log4j.core.appender.AbstractManager
- log(Level, Marker, String, StackTraceElement, Message, Throwable) - Method in class org.apache.logging.log4j.core.async.AsyncLogger
- log(Level, Marker, String, StackTraceElement, Message, Throwable) - Method in class org.apache.logging.log4j.core.Logger
- log(StatusData) - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
- log(Supplier<LoggerConfig>, String, String, StackTraceElement, Marker, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy
- log(Supplier<LoggerConfig>, String, String, StackTraceElement, Marker, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.config.AwaitUnconditionallyReliabilityStrategy
- log(Supplier<LoggerConfig>, String, String, StackTraceElement, Marker, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.config.DefaultReliabilityStrategy
- log(Supplier<LoggerConfig>, String, String, StackTraceElement, Marker, Level, Message, Throwable) - Method in interface org.apache.logging.log4j.core.config.LocationAwareReliabilityStrategy
-
Logs an event.
- log(Supplier<LoggerConfig>, String, String, StackTraceElement, Marker, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.config.LockingReliabilityStrategy
- log(Supplier<LoggerConfig>, String, String, Marker, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy
- log(Supplier<LoggerConfig>, String, String, Marker, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.config.AwaitUnconditionallyReliabilityStrategy
- log(Supplier<LoggerConfig>, String, String, Marker, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.config.DefaultReliabilityStrategy
- log(Supplier<LoggerConfig>, String, String, Marker, Level, Message, Throwable) - Method in class org.apache.logging.log4j.core.config.LockingReliabilityStrategy
- log(Supplier<LoggerConfig>, String, String, Marker, Level, Message, Throwable) - Method in interface org.apache.logging.log4j.core.config.ReliabilityStrategy
-
Logs an event.
- log(Supplier<LoggerConfig>, LogEvent) - Method in class org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy
- log(Supplier<LoggerConfig>, LogEvent) - Method in class org.apache.logging.log4j.core.config.AwaitUnconditionallyReliabilityStrategy
- log(Supplier<LoggerConfig>, LogEvent) - Method in class org.apache.logging.log4j.core.config.DefaultReliabilityStrategy
- log(Supplier<LoggerConfig>, LogEvent) - Method in class org.apache.logging.log4j.core.config.LockingReliabilityStrategy
- log(Supplier<LoggerConfig>, LogEvent) - Method in interface org.apache.logging.log4j.core.config.ReliabilityStrategy
-
Logs an event.
- LOG_ALERT - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Log alert.
- LOG_AUDIT - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Log audit.
- LOG4J_CONTEXT_SELECTOR - Static variable in class org.apache.logging.log4j.core.util.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.util.Constants
-
Deprecated.since 2.24.0 use
StatusLogger.DEFAULT_STATUS_LISTENER_LEVEL
instead. - LOG4J_LOG_EVENT_FACTORY - Static variable in class org.apache.logging.log4j.core.util.Constants
-
Name of the system property to use to identify the LogEvent factory.
- LOG4J1_CONFIGURATION_FILE_PROPERTY - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- LOG4J1_EXPERIMENTAL - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- LOG4J1_VERSION - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- LOG4J2_VERSION - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- 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
-
Initializes the ContextSelector from system property
Constants.LOG4J_CONTEXT_SELECTOR
. - Log4jContextFactory(ContextSelector) - Constructor for class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Initializes this factory's ContextSelector with the specified selector.
- Log4jContextFactory(ContextSelector, ShutdownCallbackRegistry) - Constructor for class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Constructs a Log4jContextFactory using the provided ContextSelector and ShutdownRegistrationStrategy.
- Log4jContextFactory(ShutdownCallbackRegistry) - Constructor for class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Constructs a Log4jContextFactory using the ContextSelector from
Constants.LOG4J_CONTEXT_SELECTOR
and the provided ShutdownRegistrationStrategy. - Log4jEventWrapper() - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor.Log4jEventWrapper
- Log4jEventWrapper(MutableLogEvent) - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor.Log4jEventWrapper
- Log4jJsonObjectMapper - Class in org.apache.logging.log4j.core.jackson
-
A Jackson JSON
ObjectMapper
initialized for Log4j. - Log4jJsonObjectMapper() - Constructor for class org.apache.logging.log4j.core.jackson.Log4jJsonObjectMapper
-
Create a new instance using the
Log4jJsonModule
. - Log4jJsonObjectMapper(boolean, boolean, boolean, boolean) - Constructor for class org.apache.logging.log4j.core.jackson.Log4jJsonObjectMapper
-
Create a new instance using the
Log4jJsonModule
. - Log4jLogEvent - Class in org.apache.logging.log4j.core.impl
-
Implementation of a LogEvent.
- Log4jLogEvent() - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Log4jLogEvent(long) - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Deprecated.use
Log4jLogEvent.Builder
instead. This constructor will be removed in an upcoming release. - Log4jLogEvent(String, Marker, String, StackTraceElement, Level, Message, List<Property>, Throwable) - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Constructor.
- Log4jLogEvent(String, Marker, String, Level, Message, Throwable) - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Deprecated.use
Log4jLogEvent.Builder
instead. This constructor will be removed in an upcoming release. - 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
-
Deprecated.use
Log4jLogEvent.Builder
instead. This constructor will be removed in an upcoming release. - Log4jLogEvent(String, Marker, String, Level, Message, List<Property>, Throwable) - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Constructor.
- Log4jLogEvent.Builder - Class in org.apache.logging.log4j.core.impl
-
LogEvent Builder helper class.
- Log4jLookup - Class in org.apache.logging.log4j.core.lookup
-
Lookup properties of Log4j
- Log4jLookup() - Constructor for class org.apache.logging.log4j.core.lookup.Log4jLookup
- Log4jProvider - Class in org.apache.logging.log4j.core.impl
-
Binding for the Log4j API.
- Log4jProvider() - Constructor for class org.apache.logging.log4j.core.impl.Log4jProvider
- Log4jStackTraceElementDeserializer - Class in org.apache.logging.log4j.core.jackson
-
Used by Jackson to deserialize a
StackTraceElement
. - Log4jStackTraceElementDeserializer() - Constructor for class org.apache.logging.log4j.core.jackson.Log4jStackTraceElementDeserializer
-
Constructs a new initialized instance.
- Log4jThread - Class in org.apache.logging.log4j.core.util
-
Prefixes thread names with
"Log4j2-"
. - Log4jThread() - Constructor for class org.apache.logging.log4j.core.util.Log4jThread
- Log4jThread(Runnable) - Constructor for class org.apache.logging.log4j.core.util.Log4jThread
- Log4jThread(Runnable, String) - Constructor for class org.apache.logging.log4j.core.util.Log4jThread
- Log4jThread(String) - Constructor for class org.apache.logging.log4j.core.util.Log4jThread
- Log4jThread(ThreadGroup, Runnable) - Constructor for class org.apache.logging.log4j.core.util.Log4jThread
- Log4jThread(ThreadGroup, Runnable, String) - Constructor for class org.apache.logging.log4j.core.util.Log4jThread
- Log4jThread(ThreadGroup, Runnable, String, long) - Constructor for class org.apache.logging.log4j.core.util.Log4jThread
- Log4jThread(ThreadGroup, String) - Constructor for class org.apache.logging.log4j.core.util.Log4jThread
- Log4jThreadFactory - Class in org.apache.logging.log4j.core.util
-
Creates
Log4jThread
s. - Log4jThreadFactory(String, boolean, int) - Constructor for class org.apache.logging.log4j.core.util.Log4jThreadFactory
-
Constructs an initialized thread factory.
- Log4jXmlObjectMapper - Class in org.apache.logging.log4j.core.jackson
-
A Jackson XML
ObjectMapper
initialized for Log4j. - Log4jXmlObjectMapper() - Constructor for class org.apache.logging.log4j.core.jackson.Log4jXmlObjectMapper
-
Create a new instance using the
Log4jXmlModule
. - Log4jXmlObjectMapper(boolean, boolean) - Constructor for class org.apache.logging.log4j.core.jackson.Log4jXmlObjectMapper
-
Create a new instance using the
Log4jXmlModule
. - Log4jYamlObjectMapper - Class in org.apache.logging.log4j.core.jackson
-
A Jackson
ObjectMapper
initialized for Log4j. - Log4jYamlObjectMapper() - Constructor for class org.apache.logging.log4j.core.jackson.Log4jYamlObjectMapper
-
Create a new instance using the
Log4jYamlModule
. - Log4jYamlObjectMapper(boolean, boolean, boolean) - Constructor for class org.apache.logging.log4j.core.jackson.Log4jYamlObjectMapper
-
Create a new instance using the
Log4jYamlModule
. - logDebug(String, Throwable) - Method in class org.apache.logging.log4j.core.appender.AbstractManager
- logError(String, Throwable) - Method in class org.apache.logging.log4j.core.appender.AbstractManager
- logEvent(LogEvent) - Method in class org.apache.logging.log4j.core.Logger.PrivateConfig
- LogEvent - Interface in org.apache.logging.log4j.core
-
Provides contextual information about a logged message.
- LogEventFactory - Interface in org.apache.logging.log4j.core.impl
- LogEventListener - Class in org.apache.logging.log4j.core
-
Base class for server classes that listen to
LogEvent
s. - LogEventListener() - Constructor for class org.apache.logging.log4j.core.LogEventListener
- LogEventParser - Interface in org.apache.logging.log4j.core.parser
-
Parse the output from a layout into instances of
LogEvent
. - 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.
- LoggableComponentBuilder<T extends ComponentBuilder<T>> - Interface in org.apache.logging.log4j.core.config.builder.api
-
Common component builder for Logger and RootLogger elements.
- logger() - Static method in class org.apache.logging.log4j.core.appender.AbstractManager
- Logger - Class in org.apache.logging.log4j.core
-
The core implementation of the
Logger
interface. - Logger(LoggerContext, String, MessageFactory) - Constructor for class org.apache.logging.log4j.core.Logger
-
Constructs an instance using the given
LoggerContext
, logger name, andMessageFactory
. - Logger(LoggerContext, String, MessageFactory, FlowMessageFactory) - Constructor for class org.apache.logging.log4j.core.Logger
-
The canonical constructor.
- LOGGER - Static variable in class org.apache.logging.log4j.core.AbstractLifeCycle
-
Allow subclasses access to the status logger without creating another instance.
- 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
-
Allows 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
-
Allows 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.async.AsyncWaitStrategyFactoryConfig
-
Status logger for internal logging.
- LOGGER - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Allows subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
Status logger.
- LOGGER - Static variable in class org.apache.logging.log4j.core.layout.AbstractLayout
-
Allow subclasses access to the status logger without creating another instance.
- LOGGER - Static variable in class org.apache.logging.log4j.core.LogEventListener
- 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
-
Status logger.
- 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 - Static variable in class org.apache.logging.log4j.core.script.AbstractScript
- LOGGER - Static variable in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- LOGGER - Static variable in class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
-
Status logger.
- Logger.LoggerProxy - Class in org.apache.logging.log4j.core
-
Serialization proxy class for Logger.
- Logger.PrivateConfig - Class in org.apache.logging.log4j.core
-
The binding between a Logger and its configuration.
- LoggerComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing Logger Components.
- loggerConfig - Variable in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
LoggerConfig to delegate the actual logging to.
- 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, List<AppenderRef>, Filter, Level, boolean, Property[], Configuration, boolean) - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
- LoggerConfig(String, Level, boolean) - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
-
Constructor that sets the name, level and additive values.
- LoggerConfig.Builder<B extends LoggerConfig.Builder<B>> - Class in org.apache.logging.log4j.core.config
-
Builds LoggerConfig instances.
- LoggerConfig.LevelAndRefs - Class in org.apache.logging.log4j.core.config
- LoggerConfig.LoggerConfigPredicate - Enum in org.apache.logging.log4j.core.config
- LoggerConfig.RootLogger - Class in org.apache.logging.log4j.core.config
-
The root Logger.
- LoggerConfig.RootLogger.Builder<B extends LoggerConfig.RootLogger.Builder<B>> - Class in org.apache.logging.log4j.core.config
-
Builds LoggerConfig instances.
- LoggerConfigAdmin - Class in org.apache.logging.log4j.core.jmx
-
Implementation of the
LoggerConfigAdminMBean
interface. - LoggerConfigAdmin(LoggerContext, LoggerConfig) - Constructor for class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
Constructs a new
LoggerConfigAdmin
with the specified LoggerContext and logger config. - LoggerConfigAdminMBean - Interface in org.apache.logging.log4j.core.jmx
-
The MBean interface for monitoring and managing a
LoggerConfig
. - loggerContext - Variable in class org.apache.logging.log4j.core.lookup.Interpolator
- 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, String) - Constructor for class org.apache.logging.log4j.core.LoggerContext
-
Constructor taking a name external context and a configuration location String.
- LoggerContext(String, Object, URI) - Constructor for class org.apache.logging.log4j.core.LoggerContext
-
Constructor taking a name, external context and a configuration URI.
- LoggerContextAccessor - Interface in org.apache.logging.log4j.core
-
Provides access to a Core Logger Context.
- 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 theExecutor
to be used for sendingNotification
s asynchronously to listeners. - LoggerContextAdminMBean - Interface in org.apache.logging.log4j.core.jmx
-
The MBean interface for monitoring and managing a
LoggerContext
. - LoggerContextAware - Interface in org.apache.logging.log4j.core.config
-
Indicates that a class requests the current LoggerContext to be injected.
- LoggerFields - Class in org.apache.logging.log4j.core.layout
-
A LoggerFields container.
- LoggerFqcnPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the Logger FQCN.
- LoggerNameLevelRewritePolicy - Class in org.apache.logging.log4j.core.appender.rewrite
-
Rewrites log event levels for a given logger name.
- LoggerPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats a logger name.
- LoggerProxy(String, MessageFactory) - Constructor for class org.apache.logging.log4j.core.Logger.LoggerProxy
- 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
-
Container of Logger objects.
- logMessage(String, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.async.AsyncLogger
- logMessage(String, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.Logger
- logMessage(AsyncAppender, LogEvent) - Method in enum org.apache.logging.log4j.core.async.EventRoute
- logMessage(AsyncLoggerConfig, LogEvent) - Method in enum org.apache.logging.log4j.core.async.EventRoute
- logMessage(AsyncLogger, String, Level, Marker, Message, Throwable) - Method in enum org.apache.logging.log4j.core.async.EventRoute
- logMessageInBackgroundThread(LogEvent) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
FOR INTERNAL USE ONLY.
- logMessageInCurrentThread(LogEvent) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
FOR INTERNAL USE ONLY.
- logWarn(String, Throwable) - Method in class org.apache.logging.log4j.core.appender.AbstractManager
- logWarningToStatusLogger() - Static method in class org.apache.logging.log4j.core.async.AsyncQueueFullMessageUtil
-
Logs a warning to the
StatusLogger
explaining why a message appears out of order in the appender. - LONG - Static variable in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.LONG locale dependent date or time style.
- LONG - Static variable in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.LONG locale dependent date or time style.
- LongConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.LongConverter
- lookup(String) - Static method in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.AbstractLookup
-
Calls
lookup(null, key)
in the implementation. - lookup(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 current date.
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.MainMapLookup
- 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(String) - Method in class org.apache.logging.log4j.core.lookup.MarkerLookup
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.PropertiesLookup
-
Looks a value from configuration properties.
- lookup(String) - Method in interface org.apache.logging.log4j.core.lookup.StrLookup
-
Looks up a String key to a String value.
- lookup(String) - Method in class org.apache.logging.log4j.core.lookup.UpperLookup
-
Converts the "key" to upper case.
- lookup(String) - Method in class org.apache.logging.log4j.core.net.JndiManager
-
Looks up a named object through this JNDI context.
- lookup(String) - Static method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.Returns the FixedFormat with the name or pattern matching the specified string or
null
if not found. - lookup(LogEvent, 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.DateLookup
-
Looks up d the current date or the date in the LogEvent.
- lookup(LogEvent, 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.EventLookup
-
Looks up the value from the logging event.
- lookup(LogEvent, 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.JavaLookup
-
Looks up the value of the environment variable.
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup
- lookup(LogEvent, 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.Log4jLookup
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.LowerLookup
-
Converts the "key" to lower case.
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.MainMapLookup
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.MapLookup
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.MarkerLookup
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.PropertiesLookup
- 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(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(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(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(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.UpperLookup
-
Converts the "key" to upper case.
- lookupForFile(String) - Static method in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
- LookupResult - Interface in org.apache.logging.log4j.core.lookup
- LowerLookup - Class in org.apache.logging.log4j.core.lookup
-
Converts values to lower case.
- LowerLookup() - Constructor for class org.apache.logging.log4j.core.lookup.LowerLookup
- LPR - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Line printer subsystem.
M
- Magenta(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Magenta
-
Constructs the converter.
- MAGENTA - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Magenta foreground color.
- MAIL - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Mail system.
- MailManager - Class in org.apache.logging.log4j.core.net
-
Parent of all managers that send e-mails.
- MailManager(LoggerContext, String) - Constructor for class org.apache.logging.log4j.core.net.MailManager
- MailManager.FactoryData - Class in org.apache.logging.log4j.core.net
- MailManagerFactory - Interface in org.apache.logging.log4j.core.net
- main(String[]) - Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
-
Deprecated.Use
PluginProcessor
instead. To do so, simply includelog4j-core
in your dependencies and make sure annotation processing is not disabled. By default, supported Java compilers will automatically use that plugin processor providedlog4j-core
is on the classpath. - main(String[]) - Static method in class org.apache.logging.log4j.core.pattern.ProcessIdPatternConverter
- main(String[]) - Static method in class org.apache.logging.log4j.core.tools.CustomLoggerGenerator
-
Delegates to
Generate.CustomLogger.main(String[])
- main(String[]) - Static method in class org.apache.logging.log4j.core.tools.ExtendedLoggerGenerator
-
Delegates to
Generate.ExtendedLogger.main(String[])
- main(String[]) - Static method in class org.apache.logging.log4j.core.tools.Generate.CustomLogger
-
Generates source code for custom logger wrappers that only provide convenience methods for the specified custom levels, not for the standard built-in levels.
- main(String[]) - Static method in class org.apache.logging.log4j.core.tools.Generate.ExtendedLogger
-
Generates source code for extended logger wrappers that provide convenience methods for the specified custom levels.
- main(String[]) - Static method in class org.apache.logging.log4j.core.Version
- MainMapLookup - Class in org.apache.logging.log4j.core.lookup
-
A map-based lookup for main arguments.
- MainMapLookup() - Constructor for class org.apache.logging.log4j.core.lookup.MainMapLookup
-
Constructor when used directly as a plugin.
- MainMapLookup(Map<String, String>) - Constructor for class org.apache.logging.log4j.core.lookup.MainMapLookup
- makeAccessible(Field) - Static method in class org.apache.logging.log4j.core.util.ReflectionUtil
-
Makes a
Field
accessible
if it is not public or if it is final. - makeAccessible(T) - Static method in class org.apache.logging.log4j.core.util.ReflectionUtil
-
Makes a
Member
accessible
if the member is not public. - makeMessageImmutable() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- makeMessageImmutable(Message) - Static method in class org.apache.logging.log4j.core.async.InternalAsyncUtil
-
Returns the specified message, with its content frozen unless system property
log4j.format.msg.async
is true or the message class is annotated withAsynchronouslyFormattable
. - makeParentDirs(File) - Static method in class org.apache.logging.log4j.core.util.FileUtils
-
Creates the parent directories for the given File.
- ManagerFactory<M,
T> - Interface in org.apache.logging.log4j.core.appender -
Creates Manager objects.
- MapEntry - Class in org.apache.logging.log4j.core.jackson
-
Consider this class private.
- MapEntry(String, String) - Constructor for class org.apache.logging.log4j.core.jackson.MapEntry
- MapFilter - Class in org.apache.logging.log4j.core.filter
-
A Filter that operates on a Map.
- MapFilter(Map<String, List<String>>, boolean, Filter.Result, Filter.Result) - Constructor for class org.apache.logging.log4j.core.filter.MapFilter
- MapLookup - Class in org.apache.logging.log4j.core.lookup
-
A map-based lookup.
- MapLookup() - Constructor for class org.apache.logging.log4j.core.lookup.MapLookup
-
Constructor when used directly as a plugin.
- MapLookup(Map<String, String>) - Constructor for class org.apache.logging.log4j.core.lookup.MapLookup
-
Creates a new instance backed by a Map.
- MapPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Able to handle the contents of the LogEvent's MapMessage and either output the entire contents of the properties in a similar format to the java.util.Hashtable.toString(), or to output the value of a specific key within the Map.
- MapRewritePolicy - Class in org.apache.logging.log4j.core.appender.rewrite
-
This policy modifies events by replacing or possibly adding keys and values to the MapMessage.
- MapRewritePolicy.Mode - Enum in org.apache.logging.log4j.core.appender.rewrite
-
An enumeration to identify whether keys not in the MapMessage should be added or whether only existing keys should be updated.
- marker - Variable in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
- MarkerFilter - Class in org.apache.logging.log4j.core.filter
-
This filter returns the onMatch result if the marker in the LogEvent is the same as or has the configured marker as a parent.
- MarkerLookup - Class in org.apache.logging.log4j.core.lookup
-
Looks-up markers.
- MarkerLookup() - Constructor for class org.apache.logging.log4j.core.lookup.MarkerLookup
- MarkerPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Returns events' full marker string in a StringBuilder.
- MarkerPatternSelector - Class in org.apache.logging.log4j.core.layout
-
Selects the pattern to use based on the Marker in the LogEvent.
- MarkerPatternSelector(PatternMatch[], String, boolean, boolean, Configuration) - Constructor for class org.apache.logging.log4j.core.layout.MarkerPatternSelector
-
Deprecated.Use
MarkerPatternSelector.newBuilder()
instead. This will be private in a future version. - MarkerPatternSelector.Builder - Class in org.apache.logging.log4j.core.layout
-
Custom MarkerPatternSelector builder.
- MarkerSimpleNamePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Appends an event's maker name to a StringBuilder.
- markEvent() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout
- matches(Class<?>) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry.PluginTest
- matches(Class<?>) - Method in interface org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.Test
-
Will be called repeatedly with candidate classes.
- matches(URI) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry.PluginTest
- matches(URI) - Method in interface org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.Test
-
Test for a resource.
- MAX_REUSABLE_MESSAGE_SIZE - Static variable in class org.apache.logging.log4j.core.util.Constants
-
Maximum size of the StringBuilders used in RingBuffer LogEvents to store the contents of reusable Messages.
- MAX_STRING_BUILDER_SIZE - Static variable in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- MAX_YEAR - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- MaxLengthConverter - Class in org.apache.logging.log4j.core.pattern
-
Max length pattern converter.
- md5(String) - Static method in class org.apache.logging.log4j.core.util.NameUtil
-
Deprecated.
- MdcPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Able to handle the contents of the LogEvent's MDC and either output the entire contents of the properties in a similar format to the java.util.Hashtable.toString(), or to output the value of a specific key within the property bundle when this pattern converter has the option set.
- MEDIUM - Enum constant in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- MEDIUM - Static variable in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.MEDIUM locale dependent date or time style.
- MEDIUM - Static variable in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.MEDIUM locale dependent date or time style.
- member - Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- memento() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- memento() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- MementoMessage - Class in org.apache.logging.log4j.core.impl
-
Consider this class private.
MementoMessage
is intended to be used when we need to make an immutable copy of aMessage
without forgetting the originalMessage.getFormat()
andMessage.getParameters()
values. - MementoMessage(String, String, Object[]) - Constructor for class org.apache.logging.log4j.core.impl.MementoMessage
- MemoryMappedFileAppender - Class in org.apache.logging.log4j.core.appender
-
Memory Mapped File Appender.
- MemoryMappedFileAppender.Builder<B extends MemoryMappedFileAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
-
Builds RandomAccessFileAppender instances.
- MemoryMappedFileManager - Class in org.apache.logging.log4j.core.appender
-
Extends OutputStreamManager but instead of using a buffered output stream, this class maps a region of a file into memory and writes to this memory region.
- MemoryMappedFileManager(RandomAccessFile, String, OutputStream, boolean, long, int, String, Layout<? extends Serializable>, boolean) - Constructor for class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
- mergConfigurations(Node, Node, PluginManager) - Method in class org.apache.logging.log4j.core.config.composite.DefaultMergeStrategy
-
Merge the source Configuration into the target Configuration.
- mergConfigurations(Node, Node, PluginManager) - Method in interface org.apache.logging.log4j.core.config.composite.MergeStrategy
-
Merge the soure node tree into the target node tree.
- merge(Action, List<Action>, boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- MERGE_STRATEGY_PROPERTY - Static variable in class org.apache.logging.log4j.core.config.composite.CompositeConfiguration
-
Allow the ConfigurationFactory class to be specified as a system property.
- mergeRootProperties(Node, AbstractConfiguration) - Method in class org.apache.logging.log4j.core.config.composite.DefaultMergeStrategy
-
Merge the root properties.
- mergeRootProperties(Node, AbstractConfiguration) - Method in interface org.apache.logging.log4j.core.config.composite.MergeStrategy
-
Merge the root node properties into the configuration.
- MergeStrategy - Interface in org.apache.logging.log4j.core.config.composite
-
Merges two configurations together
- message - Variable in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
- message() - Element in annotation type org.apache.logging.log4j.core.config.plugins.validation.constraints.NotBlank
-
The message to be logged if this constraint is violated.
- message() - Element in annotation type org.apache.logging.log4j.core.config.plugins.validation.constraints.Required
-
The message to be logged if this constraint is violated.
- message() - Element in annotation type org.apache.logging.log4j.core.config.plugins.validation.constraints.ValidHost
-
The message to be logged if this constraint is violated.
- message() - Element in annotation type org.apache.logging.log4j.core.config.plugins.validation.constraints.ValidPort
-
The message to be logged if this constraint is violated.
- MESSAGE - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- MessageLayout - Class in org.apache.logging.log4j.core.layout
- MessageLayout() - Constructor for class org.apache.logging.log4j.core.layout.MessageLayout
- MessageLayout(Configuration, byte[], byte[]) - Constructor for class org.apache.logging.log4j.core.layout.MessageLayout
- MessagePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Returns the event's rendered message in a StringBuilder.
- METHOD_NAME - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- MethodLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Returns the event's line location information in a StringBuilder.
- MILLIS_IN_SECONDS - Static variable in class org.apache.logging.log4j.core.util.Constants
-
Number of milliseconds in a second.
- millisSinceMidnight(long) - Method in class org.apache.logging.log4j.core.util.datetime.FixedDateFormat
-
Deprecated.Returns the number of milliseconds since midnight in the time zone that this
FixedDateFormat
was constructed with for the specified currentTime. - MimeMessageBuilder - Class in org.apache.logging.log4j.core.net
-
Builder for
MimeMessage
instances. - MimeMessageBuilder(Session) - Constructor for class org.apache.logging.log4j.core.net.MimeMessageBuilder
- MIN_CAL - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- MIN_DATE - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- minLines(int) - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Returns the minimum between the lines and the max lines.
- MINUTE - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- minutes - Variable in class org.apache.logging.log4j.core.util.CronExpression
- mkdir(File, boolean) - Static method in class org.apache.logging.log4j.core.util.FileUtils
-
Asserts that the given directory exists and creates it if necessary.
- mmap(FileChannel, String, long, int) - Static method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
- modified() - Method in class org.apache.logging.log4j.core.util.AbstractWatcher
- modified() - Method in interface org.apache.logging.log4j.core.util.Watcher
-
Called when the configuration has been modified.
- modified() - Method in class org.apache.logging.log4j.core.util.WrappedFileWatcher
- MONTH - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- MONTHLY - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover monthly.
- monthMap - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- months - Variable in class org.apache.logging.log4j.core.util.CronExpression
- MulticastDnsAdvertiser - Class in org.apache.logging.log4j.core.net
-
Advertise an entity via ZeroConf/MulticastDNS and the JmDNS library.
- MulticastDnsAdvertiser() - Constructor for class org.apache.logging.log4j.core.net.MulticastDnsAdvertiser
- MutableInstant - Class in org.apache.logging.log4j.core.time
-
An instantaneous point on the time line, used for high-precision log event timestamps.
- MutableInstant() - Constructor for class org.apache.logging.log4j.core.time.MutableInstant
- MutableLogEvent - Class in org.apache.logging.log4j.core.impl
-
Mutable implementation of the
LogEvent
interface. - MutableLogEvent() - Constructor for class org.apache.logging.log4j.core.impl.MutableLogEvent
- MutableLogEvent(StringBuilder, Object[]) - Constructor for class org.apache.logging.log4j.core.impl.MutableLogEvent
- MutableThreadContextMapFilter - Class in org.apache.logging.log4j.core.filter
-
Filter based on a value in the Thread Context Map (MDC).
- MutableThreadContextMapFilter.Builder - Class in org.apache.logging.log4j.core.filter
- MutableThreadContextMapFilter.FilterConfigUpdateListener - Interface in org.apache.logging.log4j.core.filter
N
- name() - Element in annotation type org.apache.logging.log4j.core.config.plugins.Plugin
-
Name of the plugin.
- NAME - Static variable in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Black
-
Black
- NAME - Static variable in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Blue
-
Blue
- NAME - Static variable in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Cyan
-
Cyan
- NAME - Static variable in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Green
-
Green
- NAME - Static variable in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Magenta
-
Magenta
- NAME - Static variable in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Red
-
Red
- NAME - Static variable in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.White
-
White
- NAME - Static variable in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Yellow
-
Yellow
- NameAbbreviator - Class in org.apache.logging.log4j.core.pattern
-
NameAbbreviator generates abbreviated logger and class names.
- NameAbbreviator() - Constructor for class org.apache.logging.log4j.core.pattern.NameAbbreviator
- NamedContextSelector - Interface in org.apache.logging.log4j.core.selector
-
ContextSelectors that have a name.
- NamePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Abstract base class for other pattern converters which can return only parts of their name.
- NamePatternConverter(String, String, String[]) - Constructor for class org.apache.logging.log4j.core.pattern.NamePatternConverter
-
Constructor.
- NameUtil - Class in org.apache.logging.log4j.core.util
- NAN - Static variable in class org.apache.logging.log4j.core.pattern.NotANumber
- NanoClock - Interface in org.apache.logging.log4j.core.util
-
Provides the high-resolution time stamp used in log events.
- nanoTime() - Method in class org.apache.logging.log4j.core.util.DummyNanoClock
-
Returns the constructor value.
- nanoTime() - Method in interface org.apache.logging.log4j.core.util.NanoClock
-
Returns the current value of the running Java Virtual Machine's high-resolution time source, in nanoseconds.
- nanoTime() - Method in class org.apache.logging.log4j.core.util.SystemNanoClock
-
Returns the system high-resolution time.
- NanoTimePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Converts and formats the event's nanoTime in a StringBuilder.
- narrow(Class<M>, AbstractManager) - Static method in class org.apache.logging.log4j.core.appender.AbstractManager
-
Returns the specified manager, cast to the specified narrow type.
- NdcPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Returns the event's NDC in a StringBuilder.
- nearestWeekday - Variable in class org.apache.logging.log4j.core.util.CronExpression
- NetUtils - Class in org.apache.logging.log4j.core.util
-
Networking-related convenience methods.
- NEUTRAL - Enum constant in enum org.apache.logging.log4j.core.Filter.Result
-
No decision could be made, further filtering should occur.
- newAppender(String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Appenders.
- newAppender(String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAppenderRef(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating AppenderRefs.
- newAppenderRef(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncBuilder() - Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
- newAsyncLogger(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Async Loggers.
- newAsyncLogger(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncLogger(String, boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Async Loggers.
- newAsyncLogger(String, boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncLogger(String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Async Loggers.
- newAsyncLogger(String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncLogger(String, String, boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Async Loggers.
- newAsyncLogger(String, String, boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncLogger(String, Level) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Async Loggers.
- newAsyncLogger(String, Level) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncLogger(String, Level, boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Async Loggers.
- newAsyncLogger(String, Level, boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncRootBuilder() - Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig.RootLogger
- newAsyncRootLogger() - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the async root Logger.
- newAsyncRootLogger() - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncRootLogger(boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the async root Logger.
- newAsyncRootLogger(boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncRootLogger(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the async root Logger.
- newAsyncRootLogger(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncRootLogger(String, boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the async root Logger.
- newAsyncRootLogger(String, boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncRootLogger(Level) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the async root Logger.
- newAsyncRootLogger(Level) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newAsyncRootLogger(Level, boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the async root Logger.
- newAsyncRootLogger(Level, boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.AppenderSet
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.AsyncAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.ConsoleAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.DriverManagerConnectionSource
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.FileAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.HttpAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.MemoryMappedFileAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.mom.JmsAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender
-
Creates a builder for a KafkaAppender.
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.nosql.NoSqlAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.OutputStreamAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
-
Creates a builder for a RandomAccessFileAppender.
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.RollingFileAppender
-
Creates a new Builder.
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.routing.Routes
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.ScriptAppenderSelector
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.SmtpAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.SocketAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.WriterAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.async.AsyncWaitStrategyFactoryConfig
- newBuilder() - Static method in class org.apache.logging.log4j.core.config.arbiters.ClassArbiter
- newBuilder() - Static method in class org.apache.logging.log4j.core.config.arbiters.DefaultArbiter
- newBuilder() - Static method in class org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter
- newBuilder() - Static method in class org.apache.logging.log4j.core.config.arbiters.ScriptArbiter
- newBuilder() - Static method in class org.apache.logging.log4j.core.config.arbiters.SelectArbiter
- newBuilder() - Static method in class org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter
- newBuilder() - Static method in class org.apache.logging.log4j.core.config.LoggerConfig
- newBuilder() - Static method in class org.apache.logging.log4j.core.filter.BurstFilter
- newBuilder() - Static method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- newBuilder() - Static method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- newBuilder() - Static method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- newBuilder() - Static method in class org.apache.logging.log4j.core.filter.NoMarkerFilter
- newBuilder() - Static method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- newBuilder() - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Returns a new empty
Log4jLogEvent.Builder
with all fields empty. - newBuilder() - Static method in class org.apache.logging.log4j.core.layout.GelfLayout
- newBuilder() - Static method in class org.apache.logging.log4j.core.layout.HtmlLayout
- newBuilder() - Static method in class org.apache.logging.log4j.core.layout.JsonLayout
- newBuilder() - Static method in class org.apache.logging.log4j.core.layout.LevelPatternSelector
-
Creates a builder for a custom ScriptPatternSelector.
- newBuilder() - Static method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector
-
Creates a builder for a custom ScriptPatternSelector.
- newBuilder() - Static method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Creates a builder for a custom PatternLayout.
- newBuilder() - Static method in class org.apache.logging.log4j.core.layout.PatternMatch
- newBuilder() - Static method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- newBuilder() - Static method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector
-
Creates a builder for a custom ScriptPatternSelector.
- newBuilder() - Static method in class org.apache.logging.log4j.core.layout.SyslogLayout
- newBuilder() - Static method in class org.apache.logging.log4j.core.layout.XmlLayout
- newBuilder() - Static method in class org.apache.logging.log4j.core.layout.YamlLayout
- newBuilder() - Static method in class org.apache.logging.log4j.core.net.SocketAddress
- newBuilder() - Static method in class org.apache.logging.log4j.core.net.SocketOptions
-
Constructs a new builder.
- newBuilder() - Static method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- newBuilder() - Static method in interface org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter
- newBuilder() - Static method in class org.apache.logging.log4j.core.util.KeyValuePair
- newCheckedInstanceOf(String, Class<T>) - Static method in class org.apache.logging.log4j.core.util.Loader
-
Loads, instantiates, and casts a Class using the default constructor.
- newCheckedInstanceOfProperty(String, Class<T>) - Static method in class org.apache.logging.log4j.core.util.Loader
-
Loads and instantiates a class given by a property name.
- newComponent(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating generic components.
- newComponent(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newComponent(String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating generic components.
- newComponent(String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newComponent(String, String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating generic components.
- newComponent(String, String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newConfigurationBuilder() - Static method in class org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory
-
Returns a new default ConfigurationBuilder to construct Log4j configurations.
- newConfigurationBuilder(Class<T>) - Static method in class org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory
- newCustomLevel(String, int) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating CustomLevels
- newCustomLevel(String, int) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newFilter(String, String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Filters.
- newFilter(String, String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newFilter(String, Filter.Result, Filter.Result) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Filters.
- newFilter(String, Filter.Result, Filter.Result) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter
-
Creates an instance of the class.
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.RootThrowablePatternConverter
-
Creates an instance of the class.
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
-
Creates an instance of the class.
- newInstance(Class<T>, String, Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter
-
Gets an instance of the class (called via reflection).
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Creates a new instance based on the array of options.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.ClassNamePatternConverter
-
Gets an instance of ClassNamePatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.EndOfBatchPatternConverter
-
Obtains an instance of EndOfBatchPatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.FileDatePatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.FileLocationPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.FullLocationPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.IntegerPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.LevelPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.LineLocationPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.LineSeparatorPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.LoggerFqcnPatternConverter
-
Obtains an instance of LoggerFqcnPatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.LoggerPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.MapPatternConverter
-
Obtains an instance of
MapPatternConverter
. - newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.MarkerPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.MarkerSimpleNamePatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.MdcPatternConverter
-
Obtains an instance of PropertiesPatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.MethodLocationPatternConverter
-
Obtains an instance of MethodLocationPatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.NanoTimePatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.NdcPatternConverter
-
Obtains an instance of NdcPatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.ProcessIdPatternConverter
-
Obtains an instance of ProcessIdPatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.RelativeTimePatternConverter
-
Obtains an instance of RelativeTimePatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.SequenceNumberPatternConverter
-
Obtains an instance of SequencePatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.ThreadIdPatternConverter
-
Obtains an instance of ThreadPatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.ThreadNamePatternConverter
-
Obtains an instance of ThreadPatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.ThreadPriorityPatternConverter
-
Obtains an instance of ThreadPatternConverter.
- newInstance(String[]) - Static method in class org.apache.logging.log4j.core.pattern.UuidPatternConverter
-
Obtains an instance of SequencePatternConverter.
- newInstance(String[], MapMessage.MapFormat) - Static method in class org.apache.logging.log4j.core.pattern.MapPatternConverter
-
Obtain an instance of
MapPatternConverter
. - newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Black
-
Gets an instance of the class (called via reflection).
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Blue
-
Gets an instance of the class (called via reflection).
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Cyan
-
Gets an instance of the class (called via reflection).
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Green
-
Gets an instance of the class (called via reflection).
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Magenta
-
Gets an instance of the class (called via reflection).
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Red
-
Gets an instance of the class (called via reflection).
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.White
-
Gets an instance of the class (called via reflection).
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Yellow
-
Gets an instance of the class (called via reflection).
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.EncodingPatternConverter
-
Creates an EncodingPatternConverter using a pattern string and an optional escape format.
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.EqualsIgnoreCaseReplacementConverter
-
Gets an instance of the class.
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.EqualsReplacementConverter
-
Gets an instance of the class.
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.HighlightConverter
-
Gets an instance of the class.
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.MaxLengthConverter
-
Gets an instance of the class.
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.MessagePatternConverter
-
Obtains an instance of pattern converter.
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.RegexReplacementConverter
-
Gets an instance of the class.
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.RepeatPatternConverter
-
Gets an instance of the class.
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.StyleConverter
-
Gets an instance of the class.
- newInstance(Configuration, String[]) - Static method in class org.apache.logging.log4j.core.pattern.VariablesNotEmptyReplacementConverter
-
Gets an instance of the class.
- newInstance(LoggerContext, String, MessageFactory) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContext
- newInstance(LoggerContext, String, MessageFactory) - Method in class org.apache.logging.log4j.core.LoggerContext
- newInstanceOf(String) - Static method in class org.apache.logging.log4j.core.util.Loader
-
Loads and instantiates a Class using the default constructor.
- newKafkaProducer(Properties) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.DefaultKafkaProducerFactory
-
Creates a new Kafka Producer from the given configuration properties.
- newKafkaProducer(Properties) - Method in interface org.apache.logging.log4j.core.appender.mom.kafka.KafkaProducerFactory
-
Creates a new Kafka Producer from the given configuration properties.
- newKeyValuePair(String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating KeyValuePair:s
- newKeyValuePair(String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newLayout(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Layouts.
- newLayout(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- NEWLINE_PATTERN - Static variable in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
Match newlines in a platform-independent manner.
- NEWLINE_PATTERN - Static variable in class org.apache.logging.log4j.core.layout.SyslogLayout
-
Match newlines in a platform-independent manner.
- newLogger(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Loggers.
- newLogger(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newLogger(String, boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Loggers.
- newLogger(String, boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newLogger(String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Loggers.
- newLogger(String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newLogger(String, String, boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Loggers.
- newLogger(String, String, boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newLogger(String, Level) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Loggers.
- newLogger(String, Level) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newLogger(String, Level, boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Loggers.
- newLogger(String, Level, boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newProperty(String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Property:s
- newProperty(String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newRootBuilder() - Static method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger
- newRootLogger() - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the root Logger.
- newRootLogger() - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newRootLogger(boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the root Logger.
- newRootLogger(boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newRootLogger(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the root Logger.
- newRootLogger(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newRootLogger(String, boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the root Logger.
- newRootLogger(String, boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newRootLogger(Level) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the root Logger.
- newRootLogger(Level) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newRootLogger(Level, boolean) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating the root Logger.
- newRootLogger(Level, boolean) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- NEWS - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Network news subsystem.
- newScript(String, String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Async Loggers.
- newScript(String, String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newScriptFile(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Async Loggers.
- newScriptFile(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newScriptFile(String, String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Returns a builder for creating Async Loggers.
- newScriptFile(String, String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- newSerializerBuilder() - Static method in class org.apache.logging.log4j.core.layout.PatternLayout
- newSyslogAppenderBuilder() - Static method in class org.apache.logging.log4j.core.appender.SyslogAppender
- newThread(Runnable) - Method in class org.apache.logging.log4j.core.util.Log4jThreadFactory
- newWatcher(Reconfigurable, List<ConfigurationListener>, long) - Method in class org.apache.logging.log4j.core.config.ConfigurationFileWatcher
- newWatcher(Reconfigurable, List<ConfigurationListener>, long) - Method in class org.apache.logging.log4j.core.config.HttpWatcher
- newWatcher(Reconfigurable, List<ConfigurationListener>, long) - Method in interface org.apache.logging.log4j.core.util.Watcher
-
Creates a new Watcher by copying the original and using the new Reconfigurable and listeners.
- newWatcher(Reconfigurable, List<ConfigurationListener>, long) - Method in class org.apache.logging.log4j.core.util.WrappedFileWatcher
- newWatcher(Source, Configuration, Reconfigurable, List<ConfigurationListener>, long) - Method in class org.apache.logging.log4j.core.util.WatcherFactory
- next() - Method in class org.apache.logging.log4j.core.util.ObjectArrayIterator
-
Returns the next element in the array.
- nextFireInterval(Date) - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
- NO_SPEC - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- NO_SPEC_INT - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- Node - Class in org.apache.logging.log4j.core.config
-
A Configuration node.
- Node() - Constructor for class org.apache.logging.log4j.core.config.Node
- Node(Node) - Constructor for class org.apache.logging.log4j.core.config.Node
- Node(Node, String, PluginType<?>) - Constructor for class org.apache.logging.log4j.core.config.Node
-
Creates a new instance of
Node
and initializes it with a name and the corresponding XML element. - NoMarkerFilter - Class in org.apache.logging.log4j.core.filter
-
This filter returns the onMatch result if there is no marker in the LogEvent.
- NoMarkerFilter.Builder - Class in org.apache.logging.log4j.core.filter
- noneMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Matches no characters.
- NoOpTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
- NoOpTriggeringPolicy() - Constructor for class org.apache.logging.log4j.core.appender.rolling.NoOpTriggeringPolicy
- NORMAL - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Normal general attribute.
- NoSqlAppender - Class in org.apache.logging.log4j.core.appender.nosql
-
This Appender writes logging events to a NoSQL database using a configured NoSQL provider.
- NoSqlAppender.Builder<B extends NoSqlAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender.nosql
-
Builds ConsoleAppender instances.
- NoSqlConnection<W,
T extends NoSqlObject<W>> - Interface in org.apache.logging.log4j.core.appender.nosql -
Represents a connection to the NoSQL database.
- NoSqlDatabaseManager<W> - Class in org.apache.logging.log4j.core.appender.nosql
-
An
AbstractDatabaseManager
implementation for all NoSQL databases. - NoSqlObject<W> - Interface in org.apache.logging.log4j.core.appender.nosql
-
Represents a simple POJO object inserted into a NoSQL object.
- NoSqlProvider<C extends NoSqlConnection<?,
? extends NoSqlObject<?>>> - Interface in org.apache.logging.log4j.core.appender.nosql -
Implementations of this class are plugins for configuring the
NoSqlAppender
with the proper provider (MongoDB, etc.). - NotANumber - Class in org.apache.logging.log4j.core.pattern
- NotBlank - Annotation Type in org.apache.logging.log4j.core.config.plugins.validation.constraints
-
Marks a plugin builder field or plugin factory parameter of type
CharSequence
that can not be blank. - NotBlankValidator - Class in org.apache.logging.log4j.core.config.plugins.validation.validators
-
Validator that checks if a
CharSequence
is not entirely composed of whitespace. - NotBlankValidator() - Constructor for class org.apache.logging.log4j.core.config.plugins.validation.validators.NotBlankValidator
- NOTICE - Enum constant in enum org.apache.logging.log4j.core.net.Severity
-
Normal but significant conditions.
- NOTIF_TYPE_DATA - Static variable in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
-
Notifications with this type have a
StatusData
userData object and anull
message. - NOTIF_TYPE_MESSAGE - Static variable in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
-
Notifications with this type have a formatted status data message string but no
StatusData
in their userData field. - NOTIF_TYPE_RECONFIGURED - Static variable in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
Notification that the
Configuration
of the instrumentedLoggerContext
has been reconfigured. - nthdayOfWeek - Variable in class org.apache.logging.log4j.core.util.CronExpression
- NTP - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
NTP subsystem.
- NULL_NAME - Static variable in class org.apache.logging.log4j.core.config.NullConfiguration
-
Name of this configuration.
- NULL_OUTPUT_STREAM - Static variable in class org.apache.logging.log4j.core.util.NullOutputStream
-
Deprecated.Deprecated in 2.7: use
NullOutputStream.getInstance()
. - NULL_SOURCE - Static variable in class org.apache.logging.log4j.core.config.ConfigurationSource
-
ConfigurationSource to use with Configurations that do not require a "real" configuration source.
- NullAppender - Class in org.apache.logging.log4j.core.appender
-
An Appender that ignores log events.
- NullConfiguration - Class in org.apache.logging.log4j.core.config
-
This configuration defaults to no logging.
- NullConfiguration() - Constructor for class org.apache.logging.log4j.core.config.NullConfiguration
- NullOutputStream - Class in org.apache.logging.log4j.core.util
-
Writes all data to the famous /dev/null.
O
- ObjectArrayIterator<E> - Class in org.apache.logging.log4j.core.util
-
An
Iterator
over an array of objects. - ObjectArrayIterator(E...) - Constructor for class org.apache.logging.log4j.core.util.ObjectArrayIterator
-
Constructs an ObjectArrayIterator that will iterate over the values in the specified array.
- ObjectArrayIterator(E[], int) - Constructor for class org.apache.logging.log4j.core.util.ObjectArrayIterator
-
Constructs an ObjectArrayIterator that will iterate over the values in the specified array from a specific start index.
- ObjectArrayIterator(E[], int, int) - Constructor for class org.apache.logging.log4j.core.util.ObjectArrayIterator
-
Construct an ObjectArrayIterator that will iterate over a range of values in the specified array.
- objectWriter - Variable in class org.apache.logging.log4j.core.layout.YamlLayout
- OFF - Enum constant in enum org.apache.logging.log4j.core.layout.GelfLayout.CompressionType
- ofMillis(long) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.Duration
-
Deprecated.
- onChange(Reconfigurable) - Method in interface org.apache.logging.log4j.core.config.ConfigurationListener
- onChange(Reconfigurable) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Causes a reconfiguration to take place when the underlying configuration file changes.
- onEvent() - Method in interface org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter.FilterConfigUpdateListener
- onEvent(RingBufferLogEvent, long, boolean) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEventHandler
- onMatch - Variable in class org.apache.logging.log4j.core.filter.AbstractFilter
-
The onMatch Result.
- onMismatch - Variable in class org.apache.logging.log4j.core.filter.AbstractFilter
-
The onMismatch Result.
- onShutdown() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEventHandler
- onStart() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEventHandler
- OnStartupTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
-
Triggers a rollover on every restart, but only if the file size is greater than zero.
- OptionConverter - Class in org.apache.logging.log4j.core.util
-
A convenience class to convert property values to specific types.
- options - Variable in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
- Order - Annotation Type in org.apache.logging.log4j.core.config
-
Identifies the relative ordering of a
ConfigurationFactory
plugin. - OrderComparator - Class in org.apache.logging.log4j.core.config
-
Comparator for classes annotated with
Order
. - OrderComparator() - Constructor for class org.apache.logging.log4j.core.config.OrderComparator
- org.apache.logging.log4j.core - package org.apache.logging.log4j.core
-
Implementation of Log4j 2.
- org.apache.logging.log4j.core.appender - package org.apache.logging.log4j.core.appender
-
Log4j 2 Appenders.
- org.apache.logging.log4j.core.appender.db - package org.apache.logging.log4j.core.appender.db
-
The classes in this package and sub packages provide appenders for various types of databases and methods for accessing databases.
- org.apache.logging.log4j.core.appender.db.jdbc - package org.apache.logging.log4j.core.appender.db.jdbc
-
The JDBC Appender supports writing log events to a relational database using standard JDBC connections.
- org.apache.logging.log4j.core.appender.mom - package org.apache.logging.log4j.core.appender.mom
-
Message oriented middleware appenders.
- org.apache.logging.log4j.core.appender.mom.jeromq - package org.apache.logging.log4j.core.appender.mom.jeromq
-
Classes and interfaces for ZeroMQ/JeroMQ support.
- org.apache.logging.log4j.core.appender.mom.kafka - package org.apache.logging.log4j.core.appender.mom.kafka
-
Classes and interfaces for Kafka appender support.
- org.apache.logging.log4j.core.appender.nosql - package org.apache.logging.log4j.core.appender.nosql
-
The NoSQL Appender supports writing log events to NoSQL databases.
- org.apache.logging.log4j.core.appender.rewrite - package org.apache.logging.log4j.core.appender.rewrite
-
Apache Flume Appender.
- org.apache.logging.log4j.core.appender.rolling - package org.apache.logging.log4j.core.appender.rolling
-
Rolling File Appender and support classes.
- org.apache.logging.log4j.core.appender.rolling.action - package org.apache.logging.log4j.core.appender.rolling.action
-
Support classes for the Rolling File Appender.
- org.apache.logging.log4j.core.appender.routing - package org.apache.logging.log4j.core.appender.routing
-
Apache Flume Appender.
- org.apache.logging.log4j.core.async - package org.apache.logging.log4j.core.async
-
Provides Asynchronous Logger classes and interfaces for low-latency logging.
- org.apache.logging.log4j.core.config - package org.apache.logging.log4j.core.config
-
Configuration of Log4j 2.
- org.apache.logging.log4j.core.config.arbiters - package org.apache.logging.log4j.core.config.arbiters
- org.apache.logging.log4j.core.config.builder.api - package org.apache.logging.log4j.core.config.builder.api
-
Configuration Builder API for programmatically configuring Log4j.
- org.apache.logging.log4j.core.config.builder.impl - package org.apache.logging.log4j.core.config.builder.impl
-
Configuration Builder Implementation.
- org.apache.logging.log4j.core.config.composite - package org.apache.logging.log4j.core.config.composite
-
Support for composite configurations.
- org.apache.logging.log4j.core.config.json - package org.apache.logging.log4j.core.config.json
-
Classes and interfaces supporting configuration of Log4j 2 with JSON.
- org.apache.logging.log4j.core.config.plugins - package org.apache.logging.log4j.core.config.plugins
-
Annotations for Log4j 2 plugins.
- org.apache.logging.log4j.core.config.plugins.convert - package org.apache.logging.log4j.core.config.plugins.convert
-
TypeConverter plugins for converter strings into various types.
- org.apache.logging.log4j.core.config.plugins.processor - package org.apache.logging.log4j.core.config.plugins.processor
-
Java annotation processor for pre-scanning Log4j 2 plugins.
- org.apache.logging.log4j.core.config.plugins.util - package org.apache.logging.log4j.core.config.plugins.util
-
Utility and manager classes for Log4j 2 plugins.
- org.apache.logging.log4j.core.config.plugins.validation - package org.apache.logging.log4j.core.config.plugins.validation
-
Constraint validators for plugin factory methods.
- org.apache.logging.log4j.core.config.plugins.validation.constraints - package org.apache.logging.log4j.core.config.plugins.validation.constraints
-
Validation annotations.
- org.apache.logging.log4j.core.config.plugins.validation.validators - package org.apache.logging.log4j.core.config.plugins.validation.validators
-
ConstraintValidator implementations for the constraint annotations.
- org.apache.logging.log4j.core.config.plugins.visitors - package org.apache.logging.log4j.core.config.plugins.visitors
-
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
- org.apache.logging.log4j.core.config.properties - package org.apache.logging.log4j.core.config.properties
-
Configuration using Properties files.
- org.apache.logging.log4j.core.config.status - package org.apache.logging.log4j.core.config.status
-
Configuration classes for the
StatusLogger
API. - org.apache.logging.log4j.core.config.xml - package org.apache.logging.log4j.core.config.xml
-
Classes and interfaces supporting configuration of Log4j 2 with XML.
- org.apache.logging.log4j.core.config.yaml - package org.apache.logging.log4j.core.config.yaml
-
Classes and interfaces supporting configuration of Log4j 2 with YAML.
- org.apache.logging.log4j.core.filter - package org.apache.logging.log4j.core.filter
-
Log4j 2 Filter support.
- org.apache.logging.log4j.core.filter.mutable - package org.apache.logging.log4j.core.filter.mutable
- org.apache.logging.log4j.core.impl - package org.apache.logging.log4j.core.impl
-
Log4j 2 private implementation classes.
- org.apache.logging.log4j.core.jackson - package org.apache.logging.log4j.core.jackson
-
Classes and interfaces for serializing and deserializing Log4j 2 log events to XML and JSON using the Jackson library.
- org.apache.logging.log4j.core.jmx - package org.apache.logging.log4j.core.jmx
-
Log4j 2 JMX support.
- org.apache.logging.log4j.core.layout - package org.apache.logging.log4j.core.layout
-
Log4j 2 Layout support.
- org.apache.logging.log4j.core.lookup - package org.apache.logging.log4j.core.lookup
-
Log4j 2 Lookups.
- org.apache.logging.log4j.core.net - package org.apache.logging.log4j.core.net
-
Log4j 2 network support.
- org.apache.logging.log4j.core.net.ssl - package org.apache.logging.log4j.core.net.ssl
-
Log4j 2 SSL support
- org.apache.logging.log4j.core.osgi - package org.apache.logging.log4j.core.osgi
-
Collection of OSGi-specific classes for bundles.
- org.apache.logging.log4j.core.parser - package org.apache.logging.log4j.core.parser
-
Parsers for the output of various layouts.
- org.apache.logging.log4j.core.pattern - package org.apache.logging.log4j.core.pattern
-
Provides classes implementing format specifiers in conversion patterns.
- org.apache.logging.log4j.core.script - package org.apache.logging.log4j.core.script
-
Log4j 2 Script support.
- org.apache.logging.log4j.core.selector - package org.apache.logging.log4j.core.selector
-
Log4j 2 Context Selectors.
- org.apache.logging.log4j.core.time - package org.apache.logging.log4j.core.time
- org.apache.logging.log4j.core.tools - package org.apache.logging.log4j.core.tools
-
Log4j 2 command line tools.
- org.apache.logging.log4j.core.util - package org.apache.logging.log4j.core.util
-
Log4j 2 helper classes.
- org.apache.logging.log4j.core.util.datetime - package org.apache.logging.log4j.core.util.datetime
-
Log4j date and time formatting classes.
- org.apache.logging.log4j.core.util.internal.instant - package org.apache.logging.log4j.core.util.internal.instant
-
Utilities for formatting log event
Instant
s. - OutputStreamAppender - Class in org.apache.logging.log4j.core.appender
-
Appends log events to a given output stream using a layout.
- OutputStreamAppender.Builder<B extends OutputStreamAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
-
Builds OutputStreamAppender instances.
- OutputStreamManager - Class in org.apache.logging.log4j.core.appender
-
Manages an OutputStream so that it can be shared by multiple Appenders and will allow appenders to reconfigure without requiring a new stream.
- OutputStreamManager(OutputStream, String, Layout<?>, boolean) - Constructor for class org.apache.logging.log4j.core.appender.OutputStreamManager
- OutputStreamManager(OutputStream, String, Layout<?>, boolean, int) - Constructor for class org.apache.logging.log4j.core.appender.OutputStreamManager
- OutputStreamManager(OutputStream, String, Layout<?>, boolean, ByteBuffer) - Constructor for class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Deprecated.
- OutputStreamManager(LoggerContext, OutputStream, String, boolean, Layout<? extends Serializable>, boolean, ByteBuffer) - Constructor for class org.apache.logging.log4j.core.appender.OutputStreamManager
P
- PACK200 - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
- PARAM_VALUE_ESCAPE_PATTERN - Static variable in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
Deprecated.
- PARK - Enum constant in enum org.apache.logging.log4j.core.async.JCToolsBlockingQueueFactory.WaitStrategy
- parse(CharSequence) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.Duration
-
Deprecated.Obtains a
Duration
from a text string such asPnDTnHnMnS
. - parse(String) - Method in class org.apache.logging.log4j.core.pattern.PatternParser
- parse(String, boolean, boolean) - Method in class org.apache.logging.log4j.core.pattern.PatternParser
- parse(String, boolean, boolean, boolean) - Method in class org.apache.logging.log4j.core.pattern.PatternParser
- parse(String, long) - Static method in class org.apache.logging.log4j.core.appender.rolling.FileSize
-
Converts a string to a number of bytes.
- parse(String, List<PatternConverter>, List<FormattingInfo>, boolean, boolean) - Method in class org.apache.logging.log4j.core.pattern.PatternParser
-
Parse a format specifier.
- parse(String, List<PatternConverter>, List<FormattingInfo>, boolean, boolean, boolean) - Method in class org.apache.logging.log4j.core.pattern.PatternParser
-
Parse a format specifier.
- parseBase64Binary(String) - Static method in class org.apache.logging.log4j.core.config.plugins.convert.Base64Converter
- parseBoolean(String, boolean) - Static method in class org.apache.logging.log4j.core.util.Booleans
-
Returns
true
ifs
is"true"
(case-insensitive),false
ifs
is"false"
(case-insensitive), anddefaultValue
ifs
is anything else (including null or empty). - ParseException - Exception in org.apache.logging.log4j.core.parser
-
Thrown when the input cannot be parsed.
- ParseException(String) - Constructor for exception org.apache.logging.log4j.core.parser.ParseException
- ParseException(String, Throwable) - Constructor for exception org.apache.logging.log4j.core.parser.ParseException
- ParseException(Throwable) - Constructor for exception org.apache.logging.log4j.core.parser.ParseException
- parseFrom(byte[]) - Method in class org.apache.logging.log4j.core.parser.JsonLogEventParser
- parseFrom(byte[]) - Method in interface org.apache.logging.log4j.core.parser.LogEventParser
-
Parses a byte array, which is expected to contain exactly one log event.
- parseFrom(byte[], int, int) - Method in class org.apache.logging.log4j.core.parser.JsonLogEventParser
- parseFrom(byte[], int, int) - Method in interface org.apache.logging.log4j.core.parser.LogEventParser
-
Parses a specified range in a byte array.
- parseFrom(String) - Method in class org.apache.logging.log4j.core.parser.JsonLogEventParser
- parseFrom(String) - Method in interface org.apache.logging.log4j.core.parser.TextLogEventParser
-
Parses a String, which is expected to contain exactly one log event.
- parseHexBinary(String) - Static method in class org.apache.logging.log4j.core.config.plugins.convert.HexConverter
- parseInt(String) - Static method in class org.apache.logging.log4j.core.util.Integers
-
Parses the string argument as a signed decimal integer.
- parseInt(String, int) - Static method in class org.apache.logging.log4j.core.appender.AbstractAppender
- parseInt(String, int) - Static method in class org.apache.logging.log4j.core.util.Integers
-
Parses the string argument as a signed decimal integer.
- parsePattern() - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.Returns a list of Rules given a pattern.
- parseToken(String, int[]) - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.Performs the parsing of tokens.
- password - Variable in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- PASSWORD_DECRYPTOR - Static variable in class org.apache.logging.log4j.core.util.BasicAuthorizationProvider
- PasswordDecryptor - Interface in org.apache.logging.log4j.core.util
-
Decrypt passwords.
- PasswordProvider - Interface in org.apache.logging.log4j.core.net.ssl
-
PasswordProvider implementations are able to produce a password from somewhere.
- PathCondition - Interface in org.apache.logging.log4j.core.appender.rolling.action
-
Filter that accepts or rejects a candidate
Path
for deletion. - PathConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.PathConverter
- PathSortByModificationTime - Class in org.apache.logging.log4j.core.appender.rolling.action
-
PathSorter
that sorts path by their LastModified attribute. - PathSortByModificationTime(boolean) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.PathSortByModificationTime
-
Constructs a new SortByModificationTime sorter.
- PathSorter - Interface in org.apache.logging.log4j.core.appender.rolling.action
-
Defines the interface of classes that can sort Paths.
- PathWithAttributes - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Tuple of a
Path
andBasicFileAttributes
, used for sorting. - PathWithAttributes(Path, BasicFileAttributes) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.PathWithAttributes
- PATTERN - Static variable in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
-
ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=Appenders,name=%s") for AppenderAdmin MBeans.
- PATTERN - Static variable in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=AsyncAppenders,name=%s" ) for AsyncAppenderAdmin MBeans.
- PATTERN - Static variable in interface org.apache.logging.log4j.core.jmx.ContextSelectorAdminMBean
-
ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=ContextSelector") for ContextSelectorAdmin MBeans.
- PATTERN - Static variable in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
-
ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=Loggers,name=%s") for LoggerConfigAdmin MBeans.
- PATTERN - Static variable in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
-
ObjectName pattern ("org.apache.logging.log4j2:type=%s" ) for LoggerContextAdmin MBeans.
- PATTERN - Static variable in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
-
ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=StatusLogger") for StatusLoggerAdmin MBeans.
- PATTERN_ASYNC_LOGGER - Static variable in interface org.apache.logging.log4j.core.jmx.RingBufferAdminMBean
-
ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=AsyncLoggerRingBuffer") for the RingBufferAdmin MBean that instruments the global
AsyncLogger
ring buffer. - PATTERN_ASYNC_LOGGER_CONFIG - Static variable in interface org.apache.logging.log4j.core.jmx.RingBufferAdminMBean
-
ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=Loggers,name=%s,subtype=RingBuffer") for RingBufferAdmin MBeans that instrument
AsyncLoggerConfig
ring buffers. - PATTERN_COUNTER - Static variable in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- PatternConverter - Interface in org.apache.logging.log4j.core.pattern
-
Interface that all PatternConverters must implement.
- PatternConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.PatternConverter
- PatternFormatter - Class in org.apache.logging.log4j.core.pattern
- PatternFormatter(LogEventPatternConverter, FormattingInfo) - Constructor for class org.apache.logging.log4j.core.pattern.PatternFormatter
- PatternLayout - Class in org.apache.logging.log4j.core.layout
-
A flexible layout configurable with pattern string.
- PatternLayout.Builder - Class in org.apache.logging.log4j.core.layout
-
Custom PatternLayout builder.
- PatternLayout.SerializerBuilder - Class in org.apache.logging.log4j.core.layout
- PatternMatch - Class in org.apache.logging.log4j.core.layout
-
PatternMatch configuration item.
- PatternMatch(String, String) - Constructor for class org.apache.logging.log4j.core.layout.PatternMatch
-
Constructs a key/value pair.
- PatternMatch.Builder - Class in org.apache.logging.log4j.core.layout
- PatternParser - Class in org.apache.logging.log4j.core.pattern
-
Most of the work of the
PatternLayout
class is delegated to the PatternParser class. - PatternParser(String) - Constructor for class org.apache.logging.log4j.core.pattern.PatternParser
-
Constructor.
- PatternParser(Configuration, String, Class<?>) - Constructor for class org.apache.logging.log4j.core.pattern.PatternParser
-
Constructor.
- PatternParser(Configuration, String, Class<?>, Class<?>) - Constructor for class org.apache.logging.log4j.core.pattern.PatternParser
-
Constructor.
- PatternProcessor - Class in org.apache.logging.log4j.core.appender.rolling
-
Parses the rollover pattern.
- PatternProcessor(String) - Constructor for class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
Constructor.
- PatternProcessor(String, PatternProcessor) - Constructor for class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
Copy constructor with another pattern as source.
- Patterns - Class in org.apache.logging.log4j.core.util
-
Pattern strings used throughout Log4j.
- PatternSelector - Interface in org.apache.logging.log4j.core.layout
-
Allows different patterns to be used with the PatternLayout based on some selection criteria.
- PlainTextRenderer - Class in org.apache.logging.log4j.core.pattern
-
Renders input unchanged.
- PlainTextRenderer() - Constructor for class org.apache.logging.log4j.core.pattern.PlainTextRenderer
- Plugin - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
Annotation that identifies a Class as a Plugin.
- PLUGIN_CACHE_FILE - Static variable in class org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor
-
The location of the plugin cache data file.
- PLUGIN_NAME - Static variable in class org.apache.logging.log4j.core.appender.ConsoleAppender
- PLUGIN_NAME - Static variable in class org.apache.logging.log4j.core.appender.FileAppender
- PLUGIN_NAME - Static variable in class org.apache.logging.log4j.core.appender.NullAppender
- PLUGIN_NAME - Static variable in class org.apache.logging.log4j.core.appender.RollingFileAppender
- PluginAliases - Annotation Type in org.apache.logging.log4j.core.config.plugins
- PluginAttribute - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
Identifies a Plugin Attribute and its default value.
- PluginAttributeVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
-
PluginVisitor implementation for
PluginAttribute
. - PluginAttributeVisitor() - Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginAttributeVisitor
- PluginBuilder - Class in org.apache.logging.log4j.core.config.plugins.util
-
Builder class to instantiate and configure a Plugin object using a PluginFactory method or PluginBuilderFactory builder class.
- PluginBuilder(PluginType<?>) - Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginBuilder
-
Constructs a PluginBuilder for a given PluginType.
- PluginBuilderAttribute - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
Marks a field as a Plugin Attribute.
- PluginBuilderAttributeVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
-
PluginVisitor for PluginBuilderAttribute.
- PluginBuilderAttributeVisitor() - Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginBuilderAttributeVisitor
- PluginBuilderFactory - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
Marks a method as a factory for custom Plugin builders.
- PluginCache - Class in org.apache.logging.log4j.core.config.plugins.processor
- PluginCache() - Constructor for class org.apache.logging.log4j.core.config.plugins.processor.PluginCache
- PluginConfiguration - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
Identifies a parameter or field as a Configuration.
- PluginConfigurationVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
-
PluginVisitor implementation for
PluginConfiguration
. - PluginConfigurationVisitor() - Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginConfigurationVisitor
- PluginElement - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
Identifies a parameter as a Plugin and corresponds with an XML element (or equivalent) in configuration files.
- PluginElementVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
-
PluginVisitor implementation for
PluginElement
. - PluginElementVisitor() - Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginElementVisitor
- PluginEntry - Class in org.apache.logging.log4j.core.config.plugins.processor
-
Memento object for storing a plugin entry to a cache file.
- PluginEntry() - Constructor for class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- PluginFactory - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
Identifies a Method as the factory to create the plugin.
- PluginLoggerContext - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
Identifies a parameter or field as a LoggerContext.
- PluginLoggerContextVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
-
PluginVisitor implementation for
PluginConfiguration
. - PluginLoggerContextVisitor() - Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginLoggerContextVisitor
- pluginManager - Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
The plugin manager.
- PluginManager - Class in org.apache.logging.log4j.core.config.plugins.util
-
Loads and manages all the plugins.
- PluginManager(String) - Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginManager
-
Constructs a PluginManager for the plugin category name given.
- PluginNode - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
Identifies a Plugin configuration Node.
- PluginNodeVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
-
PluginVisitor implementation for
PluginNode
. - PluginNodeVisitor() - Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginNodeVisitor
- pluginPackages - Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Packages found in configuration "packages" attribute.
- PluginProcessor - Class in org.apache.logging.log4j.core.config.plugins.processor
-
Annotation processor for pre-scanning Log4j 2 plugins.
- PluginProcessor() - Constructor for class org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor
- PluginRegistry - Class in org.apache.logging.log4j.core.config.plugins.util
-
Registry singleton for PluginType maps partitioned by source type and then by category names.
- PluginRegistry.PluginTest - Class in org.apache.logging.log4j.core.config.plugins.util
-
A Test that checks to see if each class is annotated with the 'Plugin' annotation.
- PluginTest() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry.PluginTest
- PluginType<T> - Class in org.apache.logging.log4j.core.config.plugins.util
-
Plugin Descriptor.
- PluginType(PluginEntry, Class<T>, String) - Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginType
- PluginUtil - Class in org.apache.logging.log4j.core.config.plugins.util
-
Plugin
utilities. - PluginValue - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
Identifies a parameter as a value.
- PluginValueVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
-
PluginVisitor implementation for
PluginValue
. - PluginValueVisitor() - Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginValueVisitor
- PluginVisitor<A extends Annotation> - Interface in org.apache.logging.log4j.core.config.plugins.visitors
-
Visitor strategy for parsing data from a
Node
, doing any relevant type conversion, and returning a parsed value for that variable. - PluginVisitors - Class in org.apache.logging.log4j.core.config.plugins.visitors
-
Utility class to locate an appropriate
PluginVisitor
implementation for an annotation. - PluginVisitorStrategy - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
Meta-annotation to denote the class name to use that implements
PluginVisitor
for the annotated annotation. - port - Variable in class org.apache.logging.log4j.core.net.AbstractSocketManager
-
The port on the host.
- PosixViewAttributeAction - Class in org.apache.logging.log4j.core.appender.rolling.action
-
File POSIX attribute view action.
- PosixViewAttributeAction.Builder - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Builder for the POSIX view attribute action.
- postDeregister() - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
- postRegister(Boolean) - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
- PreciseClock - Interface in org.apache.logging.log4j.core.time
-
Extension of the
Clock
interface that is able to provide more accurate time information than milliseconds since the epoch. - preConfigure(Node) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- preDeregister() - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
- PREFIX_SEPARATOR - Static variable in class org.apache.logging.log4j.core.lookup.Interpolator
-
Constant for the prefix separator.
- preRegister(MBeanServer, ObjectName) - Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
- printObject() - Element in annotation type org.apache.logging.log4j.core.config.plugins.Plugin
-
Indicates if the plugin class implements a useful
Object.toString()
method for use in log messages. - Priority - Class in org.apache.logging.log4j.core.net
-
The Priority used in the Syslog system.
- Priority(Facility, Severity) - Constructor for class org.apache.logging.log4j.core.net.Priority
-
The Constructor.
- privateConfig - Variable in class org.apache.logging.log4j.core.Logger
-
Config should be consistent across threads.
- PrivateConfig(Configuration, Logger) - Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
- PrivateConfig(Logger.PrivateConfig, LoggerConfig) - Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
- PrivateConfig(Logger.PrivateConfig, Level) - Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.apache.logging.log4j.core.config.plugins.processor.GraalVmProcessor
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor
- processConditionals(Node) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Process conditions by evaluating them and including the children of conditions that are true and discarding those that are not.
- ProcessIdPatternConverter - Class in org.apache.logging.log4j.core.pattern
- processLogEvent(LogEvent, LoggerConfig.LoggerConfigPredicate) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Logs an event, bypassing filters.
- processSelect(Node, PluginType<?>) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Handle Select nodes.
- PROGRESSIVE - Enum constant in enum org.apache.logging.log4j.core.async.JCToolsBlockingQueueFactory.WaitStrategy
- properties - Variable in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- PropertiesConfiguration - Class in org.apache.logging.log4j.core.config.properties
-
Configuration created from a properties file.
- PropertiesConfiguration(LoggerContext, ConfigurationSource, Component) - Constructor for class org.apache.logging.log4j.core.config.properties.PropertiesConfiguration
- PropertiesConfigurationBuilder - Class in org.apache.logging.log4j.core.config.properties
-
Helper builder for parsing properties files into a PropertiesConfiguration.
- PropertiesConfigurationBuilder() - Constructor for class org.apache.logging.log4j.core.config.properties.PropertiesConfigurationBuilder
- PropertiesConfigurationFactory - Class in org.apache.logging.log4j.core.config.properties
-
Creates a PropertiesConfiguration from a properties file.
- PropertiesConfigurationFactory() - Constructor for class org.apache.logging.log4j.core.config.properties.PropertiesConfigurationFactory
- PropertiesLookup - Class in org.apache.logging.log4j.core.lookup
-
A lookup designed for
Properties
defined in the configuration. - PropertiesLookup(Map<String, String>) - Constructor for class org.apache.logging.log4j.core.lookup.PropertiesLookup
-
Constructs a new instance for the given map.
- PropertiesLookup(Property[], Map<String, String>) - Constructor for class org.apache.logging.log4j.core.lookup.PropertiesLookup
- PropertiesPlugin - Class in org.apache.logging.log4j.core.config
-
Handles properties defined in the configuration.
- PropertiesRewritePolicy - Class in org.apache.logging.log4j.core.appender.rewrite
-
This policy modifies events by replacing or possibly adding keys and values to the MapMessage.
- Property - Class in org.apache.logging.log4j.core.config
-
Represents a key/value pair in the configuration.
- PROPERTY_CONFIG - Static variable in class org.apache.logging.log4j.core.LoggerContext
-
Property name of the property change event fired if the configuration is changed.
- PROPERTY_NAME - Static variable in class org.apache.logging.log4j.core.util.ClockFactory
-
Name of the system property that can be used to specify a
Clock
implementation class. - propertyChange(PropertyChangeEvent) - Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
- PropertyComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing Property Components.
- Protocol - Enum in org.apache.logging.log4j.core.net
-
Enumerates the supported protocols.
- PROTOCOL - Static variable in class org.apache.logging.log4j.core.net.ssl.SslConfigurationDefaults
- purge() - Method in class org.apache.logging.log4j.core.appender.routing.IdlePurgePolicy
-
Purging appenders that were not in use specified time
- purge() - Method in interface org.apache.logging.log4j.core.appender.routing.PurgePolicy
-
Activates purging appenders.
- PurgePolicy - Interface in org.apache.logging.log4j.core.appender.routing
-
Policy for purging routed appenders
- putAll(ReadOnlyStringMap) - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- putObject(String, Object) - Method in class org.apache.logging.log4j.core.LoggerContext
- putObjectIfAbsent(String, Object) - Method in class org.apache.logging.log4j.core.LoggerContext
- putValue(String, Object) - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
Q
- query(TemporalQuery<R>) - Method in class org.apache.logging.log4j.core.time.MutableInstant
- QUIET - Enum constant in enum org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
-
Deprecated.
- quoteAsString(CharSequence, StringBuilder) - Static method in class org.apache.logging.log4j.core.util.JsonUtils
-
Quote text contents using JSON standard quoting, and append results to a supplied
StringBuilder
. - quoteMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Returns a matcher which matches the single or double quote character.
R
- RandomAccessFileAppender - Class in org.apache.logging.log4j.core.appender
-
File Appender.
- RandomAccessFileAppender.Builder<B extends RandomAccessFileAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
-
Builds RandomAccessFileAppender instances.
- 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 aRandomAccessFile
to do the I/O. - RandomAccessFileManager(LoggerContext, RandomAccessFile, String, OutputStream, int, String, Layout<? extends Serializable>, boolean) - Constructor for class org.apache.logging.log4j.core.appender.RandomAccessFileManager
- range(TemporalField) - Method in class org.apache.logging.log4j.core.time.MutableInstant
- rawContextData() - Method in interface org.apache.logging.log4j.core.ContextDataInjector
-
Deprecated.Since 2.24.0 use
ContextDataInjector.getValue(java.lang.String)
instead. - rawContextData() - Method in class org.apache.logging.log4j.core.impl.ThreadContextDataInjector.ForCopyOnWriteThreadContextMap
- rawContextData() - Method in class org.apache.logging.log4j.core.impl.ThreadContextDataInjector.ForDefaultThreadContextMap
- rawContextData() - Method in class org.apache.logging.log4j.core.impl.ThreadContextDataInjector.ForGarbageFreeThreadContextMap
- RB - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- readResolve() - Method in class org.apache.logging.log4j.core.layout.PatternMatch.Builder
- readResolve() - Method in class org.apache.logging.log4j.core.Logger.LoggerProxy
- Reconfigurable - Interface in org.apache.logging.log4j.core.config
-
Implemented by Configurations that can be reconfigured at runtime.
- ReconfigurationRunnable(ConfigurationListener, Reconfigurable) - Constructor for class org.apache.logging.log4j.core.util.AbstractWatcher.ReconfigurationRunnable
- reconfigure() - Method in class org.apache.logging.log4j.core.config.composite.CompositeConfiguration
- reconfigure() - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Reload the existing reconfiguration.
- reconfigure() - Method in class org.apache.logging.log4j.core.config.json.JsonConfiguration
- reconfigure() - Method in class org.apache.logging.log4j.core.config.properties.PropertiesConfiguration
- reconfigure() - Method in interface org.apache.logging.log4j.core.config.Reconfigurable
- reconfigure() - Method in class org.apache.logging.log4j.core.config.xml.XmlConfiguration
- reconfigure() - Method in class org.apache.logging.log4j.core.config.yaml.YamlConfiguration
- reconfigure() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Reconfigures the context.
- reconfigure(URI) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Reconfigure with a potentially new configuration.
- reconfigure(Configuration) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Reconfigure using an already constructed Configuration.
- reconfigure(Configuration) - Method in class org.apache.logging.log4j.core.LoggerContext
- Red(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Red
-
Constructs the converter.
- RED - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Red foreground color.
- ReflectionUtil - Class in org.apache.logging.log4j.core.util
-
Utility class for performing common reflective operations.
- refs - Variable in class org.apache.logging.log4j.core.config.LoggerConfig.LevelAndRefs
- RegexFilter - Class in org.apache.logging.log4j.core.filter
-
A filter that matches the given regular expression pattern against messages.
- 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.
- registerListener(MutableThreadContextMapFilter.FilterConfigUpdateListener) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- 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
-
Deprecated.In 2.7, use
AbstractManager.close()
. - release(LogEvent) - Static method in class org.apache.logging.log4j.core.impl.ReusableLogEventFactory
-
Switches the
reserved
flag off if the specified event is a MutableLogEvent, otherwise does nothing. - releaseSub(long, TimeUnit) - 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(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- releaseSub(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqManager
- releaseSub(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager
- releaseSub(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaManager
- releaseSub(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Default hook to write footer during close.
- releaseSub(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- releaseSub(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.WriterManager
-
Default hook to write footer during close.
- releaseSub(long, TimeUnit) - Method in class org.apache.logging.log4j.core.net.JndiManager
- ReliabilityStrategy - Interface in org.apache.logging.log4j.core.config
-
Interface for objects that know how to ensure delivery of log events to the appropriate appenders, even during and after the configuration has been modified while the system is actively used.
- ReliabilityStrategyFactory - Class in org.apache.logging.log4j.core.config
-
Factory for ReliabilityStrategies.
- remove() - Method in class org.apache.logging.log4j.core.util.ObjectArrayIterator
-
Throws
UnsupportedOperationException
. - remove(String) - Method in class org.apache.logging.log4j.core.config.AppenderControlArraySet
-
Removes the AppenderControl with the specific name and returns it (or
null
if no such appender existed). - remove(String) - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- remove(T[], int) - Static method in class org.apache.logging.log4j.core.util.ArrayUtils
-
Removes the element at the specified position from the specified array.
- removeAll() - Method in class org.apache.logging.log4j.core.util.CyclicBuffer
-
Removes all the elements from the buffer and returns them.
- removeAppender(String) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
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.
- removeAttributeValue(Map<String, String>, String, String...) - Static method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
Removes an Entry from a given Map using a key name and aliases for that key.
- removeConfigurationFactory(ConfigurationFactory) - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Removes the ConfigurationFactory.
- 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.
- removeContext(LoggerContext) - Method in class org.apache.logging.log4j.core.async.BasicAsyncLoggerContextSelector
- 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(LoggerContext) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
-
Removes knowledge of a LoggerContext.
- removeFilter(Filter) - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Removes 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.AbstractConfiguration
-
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.AbstractConfiguration
-
Remove a LoggerConfig.
- removeLogger(String) - Method in interface org.apache.logging.log4j.core.config.Configuration
- removeObject(String) - Method in class org.apache.logging.log4j.core.LoggerContext
- removeObject(String, Object) - Method in class org.apache.logging.log4j.core.LoggerContext
- removePropertyChangeListener(PropertyChangeListener) - Method in class org.apache.logging.log4j.core.LoggerContext
- removeRolloverListener(RolloverListener) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Remove a RolloverListener.
- render(StringBuilder, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.HtmlTextRenderer
- render(StringBuilder, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.JAnsiTextRenderer
- render(StringBuilder, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.PlainTextRenderer
- render(StringBuilder, StringBuilder) - Method in interface org.apache.logging.log4j.core.pattern.TextRenderer
-
Renders input text to an output.
- render(String, StringBuilder, String) - Method in class org.apache.logging.log4j.core.pattern.HtmlTextRenderer
- render(String, StringBuilder, String) - Method in class org.apache.logging.log4j.core.pattern.JAnsiTextRenderer
- render(String, StringBuilder, String) - Method in class org.apache.logging.log4j.core.pattern.PlainTextRenderer
- render(String, StringBuilder, String) - Method in interface org.apache.logging.log4j.core.pattern.TextRenderer
-
Renders input text to an output.
- renderOn(StringBuilder, TextRenderer) - Method in class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
Deprecated.
- RepeatPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Equals pattern converter.
- 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(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(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(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(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(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(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, 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[], 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, 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, 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, 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, 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, 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, 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, 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.
- 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(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, 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, 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, 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(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
-
Captures exception.
- reportException(Exception) - Method in class org.apache.logging.log4j.core.appender.rolling.action.CommonsCompressAction
-
Reports 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
-
Captures exception.
- Required - Annotation Type in org.apache.logging.log4j.core.config.plugins.validation.constraints
-
Marks a plugin builder field or plugin factory parameter as required.
- RequiredValidator - Class in org.apache.logging.log4j.core.config.plugins.validation.validators
-
Validator that checks an object for emptiness.
- RequiredValidator() - Constructor for class org.apache.logging.log4j.core.config.plugins.validation.validators.RequiredValidator
- requireNonEmpty(T) - Static method in class org.apache.logging.log4j.core.util.Assert
-
Checks a value for emptiness and throws an IllegalArgumentException if it's empty.
- requireNonEmpty(T, String) - Static method in class org.apache.logging.log4j.core.util.Assert
-
Checks a value for emptiness and throws an IllegalArgumentException if it's empty.
- requiresLocation() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- requiresLocation() - Method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
- requiresLocation() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
- requiresLocation() - Method in interface org.apache.logging.log4j.core.impl.LocationAware
- requiresLocation() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- requiresLocation() - Method in class org.apache.logging.log4j.core.layout.GelfLayout
- requiresLocation() - Method in class org.apache.logging.log4j.core.layout.HtmlLayout
- requiresLocation() - Method in class org.apache.logging.log4j.core.layout.LevelPatternSelector
- requiresLocation() - Method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector
- requiresLocation() - Method in class org.apache.logging.log4j.core.layout.PatternLayout
- requiresLocation() - Method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector
- requiresLocation() - Method in class org.apache.logging.log4j.core.Logger
- requiresLocation() - Method in class org.apache.logging.log4j.core.pattern.ClassNamePatternConverter
- requiresLocation() - Method in class org.apache.logging.log4j.core.pattern.FileLocationPatternConverter
- requiresLocation() - Method in class org.apache.logging.log4j.core.pattern.FullLocationPatternConverter
- requiresLocation() - Method in class org.apache.logging.log4j.core.pattern.LineLocationPatternConverter
- requiresLocation() - Method in class org.apache.logging.log4j.core.pattern.MethodLocationPatternConverter
- requiresLocation() - Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
-
Most pattern formatters do not use location information.
- 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
- reset() - Method in class org.apache.logging.log4j.core.util.ObjectArrayIterator
-
Resets the iterator back to the start index.
- reset() - Method in class org.apache.logging.log4j.core.util.WatchManager
-
Resets all file monitors to their current last modified time.
- reset(File) - Method in class org.apache.logging.log4j.core.util.WatchManager
-
Resets the file monitor for the given file being watched to its current last modified time.
- reset(Source) - Method in class org.apache.logging.log4j.core.util.WatchManager
-
Resets the configuration monitor for the given file being watched to its current last modified time.
- resetConfigurationFactory() - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Resets the ConfigurationFactory to the default.
- resetInputStream() - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Returns a new
ConfigurationSource
whose input stream is reset to the beginning. - resolveHost(String, int) - Method in class org.apache.logging.log4j.core.net.TcpSocketManager.HostResolver
- ResolverUtil - Class in org.apache.logging.log4j.core.config.plugins.util
-
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.util.ResolverUtil
- ResolverUtil.Test - Interface in org.apache.logging.log4j.core.config.plugins.util
-
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
- rethrow(Throwable) - Static method in class org.apache.logging.log4j.core.util.Throwables
-
Rethrows a
Throwable
. - ReusableLogEventFactory - Class in org.apache.logging.log4j.core.impl
-
Garbage-free LogEventFactory that reuses a single mutable log event.
- ReusableLogEventFactory() - Constructor for class org.apache.logging.log4j.core.impl.ReusableLogEventFactory
- REVERSE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Reverse general attribute.
- rewrite(LogEvent) - Method in class org.apache.logging.log4j.core.appender.rewrite.LoggerNameLevelRewritePolicy
- 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
-
Rewrites 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.
- Rfc1349TrafficClass - Enum in org.apache.logging.log4j.core.net
-
Enumerates the RFC 1349 TOS field.
- 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.
- Rfc5424Layout.Rfc5424LayoutBuilder - Class in org.apache.logging.log4j.core.layout
- Rfc5424LayoutBuilder() - Constructor for class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- 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
-
Deprecated.Only used internally, will be removed in the next major version.
- RingBufferLogEventHandler() - Constructor for class org.apache.logging.log4j.core.async.RingBufferLogEventHandler
-
Deprecated.
- 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.
- RollingFileAppender.Builder<B extends RollingFileAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
-
Builds FileAppender instances.
- 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>, boolean, ByteBuffer) - Constructor for class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Deprecated.
- RollingFileManager(String, String, OutputStream, boolean, long, long, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>, int, boolean) - Constructor for class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Deprecated.
- RollingFileManager(LoggerContext, String, String, OutputStream, boolean, boolean, long, long, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>, boolean, ByteBuffer) - Constructor for class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Deprecated.
- RollingFileManager(LoggerContext, String, String, OutputStream, boolean, boolean, long, long, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>, String, String, String, boolean, ByteBuffer) - 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.
- RollingRandomAccessFileAppender.Builder<B extends RollingRandomAccessFileAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
- 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 aRandomAccessFile
to do the I/O. - RollingRandomAccessFileManager(LoggerContext, RandomAccessFile, String, String, OutputStream, boolean, boolean, int, long, long, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>, boolean) - Constructor for class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
Deprecated.
- RollingRandomAccessFileManager(LoggerContext, RandomAccessFile, String, String, OutputStream, boolean, boolean, int, long, long, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>, String, String, String, boolean) - Constructor for class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
- rollover() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- rollover(Date, Date) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- rollover(RollingFileManager) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
Performs the rollover.
- rollover(RollingFileManager) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
-
Performs the rollover.
- rollover(RollingFileManager) - Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverStrategy
-
Prepare for a rollover.
- rolloverComplete(String) - Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverListener
-
Called after 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.
- RolloverListener - Interface in org.apache.logging.log4j.core.appender.rolling
-
Implementations of this interface that are registered with the RollingFileManager will be notified before and after a rollover occurs.
- RolloverStrategy - Interface in org.apache.logging.log4j.core.appender.rolling
-
A
RollingPolicy
specifies the actions taken on a logging file rollover. - rolloverTriggered(String) - Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverListener
-
Called before rollover.
- ROOT - Static variable in class org.apache.logging.log4j.core.config.LoggerConfig
- rootComponent - Variable in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- RootLogger() - Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig.RootLogger
- RootLogger() - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger
- RootLoggerComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing the root Logger Components.
- rootNode - Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
The root node of the configuration.
- RootThrowablePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
ThrowablePatternConverter
variant where the stack trace causal chain is rendered in reverse order. - 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
-
Contains the individual Route elements.
- Routes.Builder - Class in org.apache.logging.log4j.core.appender.routing
- 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.
- RoutingAppender.Builder<B extends RoutingAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender.routing
- RUBY - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- 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.appender.routing.IdlePurgePolicy
- run() - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler.CronRunnable
- run() - Method in class org.apache.logging.log4j.core.util.AbstractWatcher.ReconfigurationRunnable
- run() - Method in class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
-
Executes the registered shutdown callbacks.
- RuntimeStrSubstitutor - Class in org.apache.logging.log4j.core.lookup
-
RuntimeStrSubstitutor
is aStrSubstitutor
which only supports evaluation of top-level lookups. - RuntimeStrSubstitutor() - Constructor for class org.apache.logging.log4j.core.lookup.RuntimeStrSubstitutor
- RuntimeStrSubstitutor(Map<String, String>) - Constructor for class org.apache.logging.log4j.core.lookup.RuntimeStrSubstitutor
- RuntimeStrSubstitutor(Properties) - Constructor for class org.apache.logging.log4j.core.lookup.RuntimeStrSubstitutor
- RuntimeStrSubstitutor(StrLookup) - Constructor for class org.apache.logging.log4j.core.lookup.RuntimeStrSubstitutor
- RuntimeStrSubstitutor(StrSubstitutor) - Constructor for class org.apache.logging.log4j.core.lookup.RuntimeStrSubstitutor
S
- SCALA - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- schedule(Runnable, long, TimeUnit) - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
-
Creates and executes a one-shot action that becomes enabled after the given delay.
- schedule(Callable<V>, long, TimeUnit) - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
-
Creates and executes a ScheduledFuture that becomes enabled after the given delay.
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
-
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on.
- Scheduled - Annotation Type in org.apache.logging.log4j.core.config
-
Annotation that identifies a Class as requiring a Scheduled thread.
- scheduleWithCron(CronExpression, Runnable) - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
-
Creates and executes an action that first based on a cron expression.
- scheduleWithCron(CronExpression, Date, Runnable) - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
-
Creates and executes an action that first based on a cron expression.
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
-
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next.
- Script - Class in org.apache.logging.log4j.core.script
-
Container for the language and body of a script.
- Script(String, String, String) - Constructor for class org.apache.logging.log4j.core.script.Script
- SCRIPT_LANGUAGES - Static variable in class org.apache.logging.log4j.core.util.Constants
-
Control which script languages are allowed, if any.
- ScriptAppenderSelector - Class in org.apache.logging.log4j.core.appender
- ScriptAppenderSelector.Builder - Class in org.apache.logging.log4j.core.appender
-
Builds an appender.
- ScriptArbiter - Class in org.apache.logging.log4j.core.config.arbiters
-
Condition that evaluates a script.
- ScriptArbiter.Builder - Class in org.apache.logging.log4j.core.config.arbiters
- ScriptComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing Layout Components.
- ScriptCondition - Class in org.apache.logging.log4j.core.appender.rolling.action
-
A condition of the
DeleteAction
where a user-provided script selects the files to delete from a provided list. - ScriptCondition(AbstractScript, Configuration) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.ScriptCondition
-
Constructs a new ScriptCondition.
- ScriptFile - Class in org.apache.logging.log4j.core.script
-
Container for the language and body of a script file along with the file location.
- ScriptFile(String, Path, String, boolean, String) - Constructor for class org.apache.logging.log4j.core.script.ScriptFile
- ScriptFileComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing ScriptFile Components.
- ScriptFilter - Class in org.apache.logging.log4j.core.filter
-
Returns the onMatch result if the script returns True and returns the onMismatch value otherwise.
- scriptManager - Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
The Script manager.
- ScriptManager - Class in org.apache.logging.log4j.core.script
-
Manages the scripts use by the Configuration.
- ScriptManager(Configuration, WatchManager, String) - Constructor for class org.apache.logging.log4j.core.script.ScriptManager
- ScriptPatternSelector - Class in org.apache.logging.log4j.core.layout
-
Selects the pattern to use based on the result of executing a Script.
- ScriptPatternSelector(AbstractScript, PatternMatch[], String, boolean, boolean, boolean, Configuration) - Constructor for class org.apache.logging.log4j.core.layout.ScriptPatternSelector
-
Deprecated.Use
ScriptPatternSelector.newBuilder()
instead. This will be private in a future version. - ScriptPatternSelector.Builder - Class in org.apache.logging.log4j.core.layout
-
Custom ScriptPatternSelector builder.
- ScriptRef - Class in org.apache.logging.log4j.core.script
-
Contains a reference to a script defined elsewhere in the configuration.
- ScriptRef(String, ScriptManager) - Constructor for class org.apache.logging.log4j.core.script.ScriptRef
- ScriptsPlugin - Class in org.apache.logging.log4j.core.config
-
A container of Scripts.
- SECOND - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- seconds - Variable in class org.apache.logging.log4j.core.util.CronExpression
- SecretKeyProvider - Interface in org.apache.logging.log4j.core.util
-
Factory class to provide a
SecretKey
instance. - SecurityProviderConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.SecurityProviderConverter
- SelectArbiter - Class in org.apache.logging.log4j.core.config.arbiters
-
Class Description goes here.
- SelectArbiter() - Constructor for class org.apache.logging.log4j.core.config.arbiters.SelectArbiter
- SelectArbiter.Builder - Class in org.apache.logging.log4j.core.config.arbiters
- selectFilesToDelete(Path, List<PathWithAttributes>) - Method in class org.apache.logging.log4j.core.appender.rolling.action.ScriptCondition
-
Executes the script
- selectNumberRule(int, int) - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.Gets an appropriate rule for the padding required.
- send(byte[]) - Method in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqManager
- send(byte[]) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaManager
-
Deprecated.
- send(byte[], Long) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaManager
- send(Layout<?>, LogEvent) - Method in class org.apache.logging.log4j.core.appender.HttpManager
- send(Layout<?>, LogEvent) - Method in class org.apache.logging.log4j.core.appender.HttpURLConnectionManager
- sendEvents(Layout<?>, LogEvent) - Method in class org.apache.logging.log4j.core.net.MailManager
-
Send the contents of the cyclic buffer as an e-mail message.
- sendEvents(Layout<?>, LogEvent) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- sendMultipartMessage(MimeMessage, MimeMultipart) - Method in class org.apache.logging.log4j.core.net.SmtpManager
-
Deprecated.Please use the
SmtpManager.sendMultipartMessage(MimeMessage, MimeMultipart, String)
method instead. - sendMultipartMessage(MimeMessage, MimeMultipart, String) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- sensitive() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Indicates that this attribute is a sensitive one that shouldn't be logged directly.
- sensitive() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginBuilderAttribute
-
Indicates that this attribute is a sensitive one that shouldn't be logged directly.
- SEPARATOR - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Escape separator.
- SequenceNumberPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the event sequence number.
- serialize(Map<String, String>, JsonGenerator, SerializerProvider) - Method in class org.apache.logging.log4j.core.jackson.ListOfMapEntrySerializer
- serialize(Log4jLogEvent, boolean) - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Take a snapshot of the specified
Log4jLogEvent
. - serialize(LogEvent, boolean) - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Take a snapshot of the specified
LogEvent
. - serialize(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.layout.PatternLayout
- serialize(ReadOnlyStringMap, JsonGenerator, SerializerProvider) - Method in class org.apache.logging.log4j.core.jackson.ContextDataAsEntryListSerializer
- serialize(ReadOnlyStringMap, JsonGenerator, SerializerProvider) - Method in class org.apache.logging.log4j.core.jackson.ContextDataSerializer
- SerializedLayout - Class in org.apache.logging.log4j.core.layout
-
Deprecated.Java Serialization has inherent security weaknesses, see https://www.owasp.org/index.php/Deserialization_of_untrusted_data . Using this layout is no longer recommended. An alternative layout containing the same information is
JsonLayout
when configured with properties="true". Deprecated since 2.9. - SerializerBuilder() - Constructor for class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- serializeToBytes(AbstractStringLayout.Serializer, byte[]) - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- serializeToString(AbstractStringLayout.Serializer) - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- 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.nosql.DefaultNoSqlObject
- set(String, Object) - Method in interface org.apache.logging.log4j.core.appender.nosql.NoSqlObject
-
Sets the value of a property on this object to a String or primitive.
- set(String, Object[]) - Method in class org.apache.logging.log4j.core.appender.nosql.DefaultNoSqlObject
- set(String, Object[]) - Method in interface org.apache.logging.log4j.core.appender.nosql.NoSqlObject
-
Sets the value of a property on this object to an array of Strings or primitives.
- set(String, NoSqlObject<Map<String, Object>>) - Method in class org.apache.logging.log4j.core.appender.nosql.DefaultNoSqlObject
- set(String, NoSqlObject<Map<String, Object>>[]) - Method in class org.apache.logging.log4j.core.appender.nosql.DefaultNoSqlObject
- set(String, NoSqlObject<W>) - Method in interface org.apache.logging.log4j.core.appender.nosql.NoSqlObject
-
Sets the value of a property on this object to a nested complex object.
- set(String, NoSqlObject<W>[]) - Method in interface org.apache.logging.log4j.core.appender.nosql.NoSqlObject
-
Sets the value of a property on this object to an array of nested complex objects.
- setAdditionalFields(KeyValuePair[]) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
Additional fields to set on each log event.
- setAdditionalFields(KeyValuePair[]) - Method in class org.apache.logging.log4j.core.layout.JsonLayout.Builder
- 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.
- setAdvertise(boolean) - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileAppender.Builder
- setAdvertise(boolean) - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender.Builder
- setAdvertise(boolean) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- setAdvertiser(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Set the Advertiser Plugin name.
- setAdvertiser(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- setAdvertiser(Advertiser) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- setAdvertiser(Advertiser) - Method in interface org.apache.logging.log4j.core.config.Configuration
- setAdvertiseURI(String) - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileAppender.Builder
- setAdvertiseURI(String) - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender.Builder
- setAge(Duration) - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified.Builder
- setAliases(String...) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- setAliases(String...) - Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
-
Sets the list of aliases to use for this visit.
- setAllLevels(String, Level) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Sets the levels of
parentLogger
and all 'child' loggers to the givenlevel
. - setAlwaysWriteExceptions(boolean) - Method in class org.apache.logging.log4j.core.layout.LevelPatternSelector.Builder
- setAlwaysWriteExceptions(boolean) - Method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector.Builder
- setAlwaysWriteExceptions(boolean) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- setAlwaysWriteExceptions(boolean) - Method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector.Builder
- setAnnotation(Annotation) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- setAnnotation(Annotation) - Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
-
Sets the Annotation to be used for this.
- setAppend(boolean) - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileAppender.Builder
- setAppend(boolean) - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender.Builder
- setAppenderRefs(AppenderRef[]) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- setAppName(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setAppName(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setBandwidth(int) - Method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- setBasicValues(AsyncLogger, String, Marker, String, Level, Message, Throwable, ThreadContext.ContextStack, StackTraceElement, Clock, NanoClock) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
- setBcc(String) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Comma-separated list of BCC email addresses.
- setBlocking(boolean) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- setBlockingQueueFactory(BlockingQueueFactory<LogEvent>) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- setBufferedIo(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
- setBufferSize(int) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
- setBufferSize(int) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- setBufferSize(int) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
-
If an integer greater than 0, this causes the appender to buffer log events and flush whenever the buffer reaches this size.
- setBufferSize(int) - Method in class org.apache.logging.log4j.core.appender.nosql.NoSqlAppender.Builder
-
Sets the buffer size.
- setBufferSize(int) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Number of log events to buffer before sending an email.
- setCachingEnabled(boolean) - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- setCalendarHour(Calendar, int) - Method in class org.apache.logging.log4j.core.util.CronExpression
-
Advance the calendar to the particular hour paying particular attention to daylight saving problems.
- setCategory(String) - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- setCc(String) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Comma-separated list of CC email addresses.
- setCharset(Charset) - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder
- setCharset(Charset) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setCharsetName(Charset) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setClassLoader(ClassLoader) - Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
-
Sets an explicit ClassLoader that should be used when scanning for classes.
- setClassName(String) - Method in class org.apache.logging.log4j.core.config.arbiters.ClassArbiter.Builder
-
Sets the Class name.
- setClassName(String) - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- setClob(boolean) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig.Builder
-
If
"true"
, indicates that the column is a character LOB (CLOB). - setColumnConfigs(ColumnConfig...) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
-
Information about the columns that log event data should be inserted into and how to insert that data.
- setColumnMappings(ColumnMapping...) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
- setColumnType(Class<?>) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Class to convert value to before storing in database.
- setCompressionThreshold(int) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
Compress if data is larger than this number of bytes (optional, defaults to 1024).
- setCompressionType(GelfLayout.CompressionType) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
Compression to use (optional, defaults to GZIP).
- setConfig(Map<String, String[]>) - Method in class org.apache.logging.log4j.core.filter.mutable.KeyValuePairConfig
- setConfig(Configuration) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
-
Deprecated.Since 2.24.0 use
AbstractLayout.Builder.setConfiguration(org.apache.logging.log4j.core.config.Configuration)
instead. - setConfigLocation(String) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter.Builder
-
Sets the configuration to use.
- setConfigLocation(URI) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Sets the configLocation to the specified value and reconfigures this context.
- 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.
- setConfiguration(AbstractConfiguration) - Method in class org.apache.logging.log4j.core.config.arbiters.ScriptArbiter.Builder
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig.Builder
-
The configuration object.
- setConfiguration(Configuration) - Method in interface org.apache.logging.log4j.core.config.ConfigurationAware
-
Injects the current Configuration into this object.
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter.Builder
-
Sets the Configuration.
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.layout.LevelPatternSelector.Builder
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector.Builder
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector.Builder
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Sets the Configuration to be used.
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.lookup.AbstractConfigurationAwareLookup
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.lookup.Interpolator
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- setConfigurationFactory(ConfigurationFactory) - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Sets the configuration factory.
- setConfigurationName(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Sets the name of the configuration.
- setConfigurationName(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
-
Set the name of the configuration.
- setConfigurationSource(ConfigurationSource) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Sets the configuration source, if one exists.
- setConfigurationSource(ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
-
Set the ConfigurationSource.
- setConfigurationSource(ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.properties.PropertiesConfigurationBuilder
- setConnectionSource(ConnectionSource) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
-
The connections source from which database connections should be retrieved.
- setConnectionString(String) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- setConnectionTime(int) - Method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- setConnectTimeoutMillis(int) - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- setConnectTimeoutMillis(int) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- setContentType(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- setContextData(StringMap) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setContextData(StringMap) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setContextMap(Map<String, String>) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
-
Deprecated.
- setContextStack(ThreadContext.ContextStack) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setContextStack(ThreadContext.ContextStack) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setConversionType(Class<?>) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- setConversionType(Class<?>) - Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
-
Sets the class to convert the plugin value to on this visit.
- setCurrentFileTime(long) - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- setData(byte[]) - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
- setDatePattern(String) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- setDefaultPattern(String) - Method in class org.apache.logging.log4j.core.layout.LevelPatternSelector.Builder
- setDefaultPattern(String) - Method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector.Builder
- setDefaultPattern(String) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- setDefaultPattern(String) - Method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector.Builder
- setDefer(boolean) - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- setDestination(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Specifies the destination for StatusLogger events.
- setDestination(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- setDestinationBindingName(String) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setDirect(boolean) - Method in class org.apache.logging.log4j.core.appender.ConsoleAppender.Builder
- setDisableAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.LevelPatternSelector.Builder
- setDisableAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector.Builder
- setDisableAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- setDisableAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector.Builder
- setDriverClassName(String) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- setEin(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- 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.AbstractLogEvent
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
-
Deprecated.end-of-batch on the event is used instead.
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
Deprecated.end-of-batch on the event is used instead.
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
Deprecated.end-of-batch on the event is used instead.
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setEndOfBatch(boolean) - Method in interface org.apache.logging.log4j.core.LogEvent
-
Sets whether this event is the last one in a batch.
- setEnterpriseNumber(int) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
-
Deprecated.
- setEnterpriseNumber(Integer) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setEnterpriseNumber(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setErrorRef(String) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- setEscapeChar(char) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the escape character.
- setEscapeNL(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setEscapeNL(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setEscapeNL(String) - Method in class org.apache.logging.log4j.core.layout.SyslogLayout.Builder
- setEventPrefix(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setEventPrefix(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setEventTimestamp(boolean) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig.Builder
-
If
"true"
, indicates that this column is a date-time column in which the event timestamp should be inserted. - setExceptionPattern(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setExceptionPattern(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setExcludes(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setExcludes(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setExternalContext(Object) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Sets the external context.
- setFacility(Facility) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setFacility(Facility) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setFacility(Facility) - Method in class org.apache.logging.log4j.core.layout.SyslogLayout.Builder
- setFactoryBindingName(String) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setFactoryName(String) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setFieldValue(Field, Object, Object) - Static method in class org.apache.logging.log4j.core.util.ReflectionUtil
-
Sets the value of a
Field
, making it accessible if required. - setFileName(String) - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileAppender.Builder
- setFileName(String) - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender.Builder
- setFilter(Filter) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Specifies the filter used for this appender.
- setFilter(Filter) - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder
- setFollow(boolean) - Method in class org.apache.logging.log4j.core.appender.ConsoleAppender.Builder
- setFollow(boolean) - Method in class org.apache.logging.log4j.core.appender.OutputStreamAppender.Builder
- setFollow(boolean) - Method in class org.apache.logging.log4j.core.appender.WriterAppender.Builder
- setFooter(byte[]) - Method in class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
- setFooterSerializer(AbstractStringLayout.Serializer) - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder
- setFormat(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setFrom(String) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Email address of the sender.
- 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
-
Sets the
ErrorHandler
used for handling exceptions. - setHeader(byte[]) - Method in class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
- setHeaders(Property[]) - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- setHeaderSerializer(AbstractStringLayout.Serializer) - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder
- setHelp(boolean) - Method in class org.apache.logging.log4j.core.tools.BasicCommandLineArguments
- setHost(String) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- setHost(String) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
The value of the
host
property (optional, defaults to local host name). - setHost(InetAddress) - Method in class org.apache.logging.log4j.core.net.SocketAddress.Builder
- setHostResolver(TcpSocketManager.HostResolver) - Static method in class org.apache.logging.log4j.core.net.TcpSocketManager
-
This method is only for unit testing.
- setId(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setId(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setIgnoreExceptions(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- setIgnoreExceptions(boolean) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- setImmediateFail(boolean) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
- setImmediateFail(boolean) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setImmediateFail(boolean) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- setImmediateFlush(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
- setIncludeLocation(boolean) - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- setIncludeLocation(boolean) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- setIncludeLocation(boolean) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- setIncludeLocation(boolean) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setIncludeLocation(boolean) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- setIncludeLocation(boolean) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setIncludeLocation(boolean) - Method in interface org.apache.logging.log4j.core.LogEvent
-
Sets whether the source of the logging request is required downstream.
- setIncludeMapMessage(boolean) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
Whether to include MapMessage fields as additional fields (optional, default to true).
- setIncludeMdc(boolean) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setIncludeMDC(boolean) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setIncludeNewLine(boolean) - Method in class org.apache.logging.log4j.core.layout.SyslogLayout.Builder
- setIncludeNewLineDelimiter(boolean) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
Whether to include newline (LF) as delimiter after each event (optional, default to false).
- setIncludeNL(boolean) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setIncludeNullDelimiter(boolean) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
Whether to include NULL byte as delimiter after each event (optional, default to false).
- setIncludes(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setIncludes(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setIncludeStacktrace(boolean) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
Whether to include full stacktrace of logged Throwables (optional, default to true).
- setIncludeThreadContext(boolean) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
Whether to include thread context as additional fields (optional, default to true).
- setInstant(Instant) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setIntervalSeconds(int) - Method in class org.apache.logging.log4j.core.util.WatchManager
- setJmsManager(JmsManager) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setKeepAlive(boolean) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setKey(String) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
- setKey(String) - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- setKey(String) - Method in class org.apache.logging.log4j.core.jackson.MapEntry
- setKey(String) - Method in class org.apache.logging.log4j.core.layout.PatternMatch.Builder
- setKey(String) - Method in class org.apache.logging.log4j.core.util.KeyValuePair.Builder
- setLatency(int) - Method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- setLayout(Layout<? extends Serializable>) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- setLayout(Layout<? extends Serializable>) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Specifies the layout used for the email message body.
- setLayout(StringLayout) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Layout of value to write to database (before type conversion).
- setLegacyFormattersEnabled(boolean) - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- setLevel(Class<?>, Level) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Sets a logger's 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(String, String) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Sets a logger's level.
- setLevel(String, Level) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Sets a logger's level.
- setLevel(Map<String, Level>) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Sets logger levels.
- setLevel(Level) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Sets the logging Level.
- setLevel(Level) - Method in class org.apache.logging.log4j.core.filter.BurstFilter.Builder
-
Sets the logging level to use.
- setLevel(Level) - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter.Builder
-
Sets the logging level to use.
- setLevel(Level) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setLevel(Level) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- 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.
- setLevel(Logger, Level) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Sets a logger's level.
- setLiteral(String) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Literal value to use for populating a column.
- setLiteral(String) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig.Builder
-
The literal value to insert into the column as-is without any quoting or escaping.
- setLocale(Locale) - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- setLocation(String) - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
- setLogEventFactory(LogEventFactory) - Method in interface org.apache.logging.log4j.core.async.AsyncLoggerConfigDelegate
-
Notifies the delegate what LogEventFactory an AsyncLoggerConfig is using, so the delegate can determine whether to populate the ring buffer with mutable log events or not.
- setLogEventFactory(LogEventFactory) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor
- 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.AbstractConfiguration
-
Marks a LoggerConfig as additive.
- setLoggerAdditive(Logger, boolean) - Method in interface org.apache.logging.log4j.core.config.Configuration
- setLoggerContext(LoggerContext) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Sets the logger context.
- setLoggerContext(LoggerContext) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- setLoggerContext(LoggerContext) - Method in interface org.apache.logging.log4j.core.config.LoggerContextAware
-
Injects the current LoggerContext into this object.
- setLoggerContext(LoggerContext) - Method in class org.apache.logging.log4j.core.config.properties.PropertiesConfigurationBuilder
- setLoggerContext(LoggerContext) - Method in class org.apache.logging.log4j.core.lookup.Interpolator
- setLoggerFields(LoggerFields[]) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setLoggerFields(LoggerFields[]) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setLoggerFqcn(String) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setLoggerFqcn(String) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setLoggerName(String) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setLoggerName(String) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setMainArguments(String...) - Static method in class org.apache.logging.log4j.core.lookup.MainMapLookup
-
An application's
public static main(String[])
method calls this method to make its main arguments available for lookup with the prefixmain
. - setMainArguments(String...) - Static method in class org.apache.logging.log4j.core.lookup.MapLookup
-
Deprecated.As of 2.4, use
MainMapLookup.setMainArguments(String[])
- setMapMessageExcludes(String) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
A comma separated list of MapMessage keys to exclude;
- setMapMessageIncludes(String) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
A comma separated list of thread context keys to include;
- setMapPrefix(String) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
The String to prefix the MapMessage attributes.
- setMarker(Marker) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setMarker(Marker) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setMatchString(String) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter.Builder
-
Deprecated.since 2.25.0, use
StringMatchFilter.Builder.setText(java.lang.String)
instead. - setMaxBurst(long) - Method in class org.apache.logging.log4j.core.filter.BurstFilter.Builder
-
Sets the maximum number of events that can occur before events are filtered for exceeding the average rate.
- setMdcExcludes(String) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
A comma separated list of thread context keys to include;
- setMdcId(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setMdcId(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setMdcIncludes(String) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
A comma separated list of thread context keys to include;
- setMdcPrefix(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setMdcPrefix(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setMember(Member) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- setMember(Member) - Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
-
Sets the Member that this visitor is being used for injection upon.
- setMessage(Message) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setMessage(Message) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setMessageId(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setMessagePattern(String) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
The pattern to use to format the message.
- setMethod(String) - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- setModifiedMillis(long) - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Updates the last known modification time of the resource.
- setMonitorInterval(int) - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- setMonitorInterval(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Sets the interval at which the configuration file should be checked for changes.
- setMonitorInterval(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- setMsgId(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setName(String) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- setName(String) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- setName(String) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Column name.
- setName(String) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig.Builder
-
The name of the database column as it exists within the database table.
- setName(String) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContext
- setName(String) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Set the name of the configuration.
- setName(String) - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- setName(String) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Sets the name.
- setNanoClock(NanoClock) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- setNanoClock(NanoClock) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Sets the
NanoClock
instance for this configuration. - setNanoClock(NanoClock) - Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Sets the
NanoClock
to use for creating the nanoTime timestamp of log events. - setNanoTime(long) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
-
Sets the nano time for the event.
- setNanoTime(long) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setNestedConditions(PathCondition...) - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified.Builder
- setNewLine(boolean) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setNoConsoleNoAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.LevelPatternSelector.Builder
- setNoConsoleNoAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector.Builder
- setNoConsoleNoAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- setNoConsoleNoAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector.Builder
- setNode(Node) - Method in class org.apache.logging.log4j.core.config.arbiters.ScriptArbiter.Builder
- setObject(Object) - Method in class org.apache.logging.log4j.core.config.Node
- setObjectMessageAsJsonObject(boolean) - Method in class org.apache.logging.log4j.core.layout.JsonLayout.Builder
- setOmitEmptyFields(boolean) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- setOnMatch(Filter.Result) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter.AbstractFilterBuilder
-
Sets the Result to return when the filter matches.
- setOnMismatch(Filter.Result) - Method in class org.apache.logging.log4j.core.filter.AbstractFilter.AbstractFilterBuilder
-
Sets the Result to return when the filter does not match.
- setOobInline(boolean) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setOutputStream(OutputStream) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- setPackages(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Sets the list of packages to search for plugins.
- setPackages(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- setParameter(String) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Parameter value to use for populating a column, MUST contain a single parameter marker '?'.
- setParent(LoggerConfig) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Sets the parent of this LoggerConfig.
- setParent(Node) - Method in class org.apache.logging.log4j.core.config.Node
- setPassword(char[]) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- setPassword(char[]) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setPassword(char[]) - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
- setPassword(String) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
-
Deprecated.Use setPassword(char[])
- setPassword(String) - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
Deprecated.Use getPasswordAsCharArray()
- setPattern(String) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Pattern to use as a
PatternLayout
. - setPattern(String) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig.Builder
-
The
PatternLayout
pattern to insert in this column. - setPattern(String) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- setPattern(String) - Method in class org.apache.logging.log4j.core.layout.PatternMatch.Builder
- setPattern(String) - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- setPatternProcessor(PatternProcessor) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- setPatternSelector(PatternSelector) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
The PatternSelector to use to format the message.
- setPatternSelector(PatternSelector) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- setPerformancePreferences(SocketPerformancePreferences) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setPluginManager(PluginManager) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- setPluginPackages(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- setPollInterval(long) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter.Builder
-
Set the frequency in seconds that changes to the list a ThreadContext valudes should be checked.
- setPort(int) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- setPort(int) - Method in class org.apache.logging.log4j.core.net.SocketAddress.Builder
- setPrevFileTime(long) - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- setPrintable(boolean) - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- setProperties(Property[]) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- setProperties(PatternMatch[]) - Method in class org.apache.logging.log4j.core.layout.LevelPatternSelector.Builder
- setProperties(PatternMatch[]) - Method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector.Builder
- setProperties(PatternMatch[]) - Method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector.Builder
- setPropertiesAsList(boolean) - Method in class org.apache.logging.log4j.core.layout.JsonLayout.Builder
- setPropertyArray(Property[]) - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder
- setPropertyName(String) - Method in class org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter.Builder
-
Sets the Property Name.
- setPropertyName(String) - Method in class org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter.Builder
-
Sets the Property Name.
- setPropertyValue(String) - Method in class org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter.Builder
-
Sets the Property Value.
- setPropertyValue(String) - Method in class org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter.Builder
-
Sets the Property Value.
- setProtocol(Protocol) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- setProvider(NoSqlProvider<?>) - Method in class org.apache.logging.log4j.core.appender.nosql.NoSqlAppender.Builder
-
Sets the provider.
- setProviderUrl(String) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setRate(float) - Method in class org.apache.logging.log4j.core.filter.BurstFilter.Builder
-
Sets the average number of events per second to allow.
- setReadTimeoutMillis(int) - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- setReceiveBufferSize(int) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setRecipients(Message.RecipientType, String) - Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
- setReconnectDelayMillis(int) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- setReconnectIntervalMillis(long) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
- setReconnectIntervalMillis(long) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setRegionLength(int) - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileAppender.Builder
- setRenameEmptyFiles(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- setReplace(RegexReplacement) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- setReplyTo(String) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Comma-separated list of Reply-To email addresses.
- setReplyTo(String) - Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
- setRequired(String) - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- setRequired(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setRetryCount(int) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
- setRetryCount(String) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
-
Deprecated.
- setReuseAddress(boolean) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setRfc1349TrafficClass(Rfc1349TrafficClass) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setRolloverStrategy(RolloverStrategy) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- setRootLevel(Level) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Sets the root logger's level.
- setRootProperties(Properties) - Method in class org.apache.logging.log4j.core.config.properties.PropertiesConfigurationBuilder
- setScheduledFuture(CronScheduledFuture<?>) - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler.CronRunnable
- setScript(AbstractScript) - Method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector.Builder
- setScriptManager(ScriptManager) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- setSecurityCredentials(String) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setSecurityPrincipalName(String) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setSendBufferSize(int) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setSendEventTimestamp(boolean) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
- setSequenceCallback(Sequence) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEventHandler
- setShutdownHook(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Sets whether the shutdown hook should be disabled.
- setShutdownHook(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- setShutdownHook(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- setShutdownTimeout(long) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- setShutdownTimeout(long, TimeUnit) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
How long appenders and background tasks will get to shutdown when the JVM shuts down.
- setShutdownTimeout(long, TimeUnit) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- setShutdownTimeoutMillis(long) - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- setSmtpDebug(boolean) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Enables or disables mail session debugging on STDOUT.
- setSmtpHost(String) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Host name of SMTP server to send messages through.
- setSmtpPassword(String) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Password to authenticate with SMTP server.
- setSmtpPort(int) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Port number of SMTP server to send messages through.
- setSmtpProtocol(String) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Transport protocol to use for SMTP such as "smtp" or "smtps".
- setSmtpUsername(String) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Username to authenticate with SMTP server.
- setSocketOptions(SocketOptions) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- setSoLinger(int) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setSoTimeout(int) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setSource(StackTraceElement) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setSource(StackTraceElement) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setSource(String) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Source name.
- setSource(Source) - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Deprecated.Not used internally, no replacement.
- setSslConfiguration(SslConfiguration) - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- setSslConfiguration(SslConfiguration) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Specifies an SSL configuration for smtps connections.
- setSslConfiguration(SslConfiguration) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- setStarted() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- setStarting() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- setState(LifeCycle.State) - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- setStaticFieldValue(Field, Object) - Static method in class org.apache.logging.log4j.core.util.ReflectionUtil
-
Sets the value of a static
Field
, making it accessible if required. - setStatusLevel(Level) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Sets the level of the StatusLogger.
- setStatusLevel(Level) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- setStopped() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- setStopping() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- setStrSubstitutor(StrSubstitutor) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- setStrSubstitutor(StrSubstitutor) - Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
-
Sets the StrSubstitutor to use for converting raw strings before type conversion.
- setSubject(String) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Subject template for the email messages.
- setSubject(String) - Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
- setSyncSend(boolean) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
- setTableName(String) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
-
The name of the database table to insert log events into.
- setTarget(OutputStream) - Method in class org.apache.logging.log4j.core.appender.OutputStreamAppender.Builder
- setTarget(Writer) - Method in class org.apache.logging.log4j.core.appender.WriterAppender.Builder
- setTarget(ConsoleAppender.Target) - Method in class org.apache.logging.log4j.core.appender.ConsoleAppender.Builder
- setTcpNoDelay(boolean) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setText(String) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter.Builder
-
Sets the text to search in event messages.
- setThreadContextExcludes(String) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- setThreadContextIncludes(String) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
- setThreadContextPrefix(String) - Method in class org.apache.logging.log4j.core.layout.GelfLayout.Builder
-
The String to prefix the ThreadContext attributes.
- setThreadId(long) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setThreadId(long) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setThreadName(String) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setThreadName(String) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setThreadPriority(int) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setThreadPriority(int) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setThrown(Throwable) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setThrown(Throwable) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setThrownProxy(ThrowableProxy) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setTimeBased(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- setTimeMillis(long) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setTimeMillis(long) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setTimezone(String) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- setTimeZone(TimeZone) - Method in class org.apache.logging.log4j.core.util.CronExpression
-
Sets the time zone for which this
CronExpression
will be resolved. - setTimeZone(TimeZone) - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- setTo(String) - Method in class org.apache.logging.log4j.core.appender.SmtpAppender.Builder
-
Comma-separated list of recipient email addresses.
- setToDefault() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- setTopic(String) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender.Builder
- setTrafficClass(int) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setTriggeringPolicy(TriggeringPolicy) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- setTruncateStrings(boolean) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender.Builder
- setType(Class<?>) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Deprecated.
- setUnicode(boolean) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig.Builder
-
If
"true"
, indicates that the column is a Unicode String. - setup() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- setup() - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- setup() - Method in class org.apache.logging.log4j.core.config.composite.CompositeConfiguration
- setup() - Method in class org.apache.logging.log4j.core.config.json.JsonConfiguration
- setup() - Method in class org.apache.logging.log4j.core.config.xml.XmlConfiguration
- setUrl(URL) - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- setUrlPkgPrefixes(String) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setUsername(String) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
-
Deprecated.
- setUserName(char[]) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- setUserName(String) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
- setUseThreadLocals(boolean) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
Signals this context whether it is allowed to use ThreadLocal objects for efficiency.
- setUseTLSMessageFormat(boolean) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setValue(String) - Method in class org.apache.logging.log4j.core.config.Node
- setValue(String) - Method in class org.apache.logging.log4j.core.jackson.MapEntry
- setValue(String) - Method in class org.apache.logging.log4j.core.util.KeyValuePair.Builder
- setValueDelimiter(char) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the variable default value delimiter to use.
- setValueDelimiter(String) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the variable default value delimiter to use.
- setValueDelimiterMatcher(StrMatcher) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Sets the variable default value delimiter matcher to use.
- setValues(AsyncLogger, String, Marker, String, Level, Message, Throwable, StringMap, ThreadContext.ContextStack, long, String, int, StackTraceElement, Clock, NanoClock) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- 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.
- setVerbosity(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Sets whether the logging should include constructing Plugins.
- setVerbosity(String) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
-
Deprecated.This method is ineffective and only kept for binary backward compatibility.
- setVerifyHostname(boolean) - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- setWriter(Writer) - Method in class org.apache.logging.log4j.core.appender.WriterManager
- Severity - Enum in org.apache.logging.log4j.core.net
-
Severity values used by the Syslog system.
- SHORT - Static variable in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.SHORT locale dependent date or time style.
- SHORT - Static variable in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.SHORT locale dependent date or time style.
- ShortConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.ShortConverter
- shutdown() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
This method is called from the
AbstractManager.close()
method when the appender is stopped or the appender's manager is replaced. - shutdown(String, ClassLoader, boolean, boolean) - Method in class org.apache.logging.log4j.core.async.BasicAsyncLoggerContextSelector
- shutdown(String, ClassLoader, boolean, boolean) - Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- shutdown(String, ClassLoader, boolean, boolean) - Method in class org.apache.logging.log4j.core.osgi.BundleContextSelector
- shutdown(String, ClassLoader, boolean, boolean) - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
- shutdown(String, ClassLoader, boolean, boolean) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- shutdown(String, ClassLoader, boolean, boolean) - Method in interface org.apache.logging.log4j.core.selector.ContextSelector
-
Shuts down the LoggerContext.
- shutdown(String, ClassLoader, boolean, boolean) - Method in class org.apache.logging.log4j.core.selector.JndiContextSelector
- shutdown(ExecutorService, long, TimeUnit, String) - Static method in class org.apache.logging.log4j.core.util.ExecutorServices
-
Shuts down the given
ExecutorService
in an orderly fashion. - shutdown(LoggerContext) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Shuts down the given logger context.
- shutdown(LoggerContext, long, TimeUnit) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Shuts down the given logger context.
- SHUTDOWN_CALLBACK_REGISTRY - Static variable in interface org.apache.logging.log4j.core.util.ShutdownCallbackRegistry
-
System property to set to choose the ShutdownCallbackRegistry.
- SHUTDOWN_HOOK_ENABLED - Static variable in interface org.apache.logging.log4j.core.util.ShutdownCallbackRegistry
-
System property to set to override the global ability to register shutdown hooks.
- SHUTDOWN_HOOK_MARKER - Static variable in interface org.apache.logging.log4j.core.util.ShutdownCallbackRegistry
-
Shared Marker to indicate log messages corresponding to shutdown hooks.
- ShutdownCallbackRegistry - Interface in org.apache.logging.log4j.core.util
-
Registry used for Runnable shutdown callback instances.
- 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.nosql.NoSqlDatabaseManager
- shutdownTimeoutMillis - Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Shutdown timeout in milliseconds.
- SIMPLE_CONVERSION_PATTERN - Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
-
A simple pattern.
- SimpleMessageDeserializer - Class in org.apache.logging.log4j.core.jackson
-
Consider this class private.
- singleQuoteMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Returns a matcher which matches the single quote character.
- size - Variable in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- size() - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginCache
-
Gets the number of plugin categories registered.
- size() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- size() - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- 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.
- skipFooter(boolean) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Indicate whether the footer should be skipped or not.
- skipWhiteSpace(int, String) - Method in class org.apache.logging.log4j.core.util.CronExpression
- SMALL - Enum constant in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- SMALLER - Enum constant in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- 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.
- SmtpAppender.Builder - Class in org.apache.logging.log4j.core.appender
- SmtpManager - Class in org.apache.logging.log4j.core.net
-
Manager for sending SMTP events.
- SmtpManager(String, Session, MimeMessage, MailManager.FactoryData) - Constructor for class org.apache.logging.log4j.core.net.SmtpManager
- SmtpManager.SMTPManagerFactory - Class in org.apache.logging.log4j.core.net
-
Factory to create the SMTP Manager.
- SMTPManagerFactory() - Constructor for class org.apache.logging.log4j.core.net.SmtpManager.SMTPManagerFactory
- SocketAddress - Class in org.apache.logging.log4j.core.net
-
Plugin to hold a hostname and port (socket address).
- SocketAddress.Builder - Class in org.apache.logging.log4j.core.net
- 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
- SocketAppender(String, Layout<? extends Serializable>, Filter, AbstractSocketManager, boolean, boolean, Advertiser, Property[]) - Constructor for class org.apache.logging.log4j.core.appender.SocketAppender
- SocketAppender.AbstractBuilder<B extends SocketAppender.AbstractBuilder<B>> - Class in org.apache.logging.log4j.core.appender
-
Subclasses can extend this abstract Builder.
- SocketAppender.Builder - Class in org.apache.logging.log4j.core.appender
-
Builds a SocketAppender.
- SocketOptions - Class in org.apache.logging.log4j.core.net
-
Holds all socket options settable via
Socket
methods. - SocketOptions() - Constructor for class org.apache.logging.log4j.core.net.SocketOptions
- SocketPerformancePreferences - Class in org.apache.logging.log4j.core.net
-
Holds all socket options settable via
Socket.setPerformancePreferences(int, int, int)
. - SocketPerformancePreferences() - Constructor for class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- SortingVisitor - Class in org.apache.logging.log4j.core.appender.rolling.action
-
FileVisitor that sorts files.
- SortingVisitor(PathSorter) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.SortingVisitor
-
Constructs a new SortingVisitor.
- Source - Class in org.apache.logging.log4j.core.util
-
Represents the source for the logging configuration as an immutable object.
- Source(File) - Constructor for class org.apache.logging.log4j.core.util.Source
-
Constructs a new
Source
with the specified file. - Source(URI) - Constructor for class org.apache.logging.log4j.core.util.Source
-
Constructs a new
Source
from the specified URI. - Source(URI, long) - Constructor for class org.apache.logging.log4j.core.util.Source
-
Deprecated.Use
Source(URI)
. - Source(URL) - Constructor for class org.apache.logging.log4j.core.util.Source
-
Constructs a new
Source
from the specified URL. - Source(Path) - Constructor for class org.apache.logging.log4j.core.util.Source
-
Constructs a new
Source
from the specified Path. - Source(ConfigurationSource) - Constructor for class org.apache.logging.log4j.core.util.Source
-
Constructs a Source from a ConfigurationSource.
- spaceMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Returns a matcher which matches the space character.
- SPIN - Enum constant in enum org.apache.logging.log4j.core.async.JCToolsBlockingQueueFactory.WaitStrategy
- splitMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Matches the same characters as StringTokenizer, namely space, tab, newline and formfeed.
- SSL - Enum constant in enum org.apache.logging.log4j.core.net.Protocol
-
SSL Protocol.
- 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
- SslConfigurationFactory - Class in org.apache.logging.log4j.core.net.ssl
-
Creates an SSL configuration from Log4j properties.
- SslConfigurationFactory() - Constructor for class org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory
- SslSocketManager - Class in org.apache.logging.log4j.core.net
- SslSocketManager(String, OutputStream, Socket, SslConfiguration, InetAddress, String, int, int, int, boolean, Layout<? extends Serializable>, int) - Constructor for class org.apache.logging.log4j.core.net.SslSocketManager
- SslSocketManager(String, OutputStream, Socket, SslConfiguration, InetAddress, String, int, int, int, boolean, Layout<? extends Serializable>, int, SocketOptions) - Constructor for class org.apache.logging.log4j.core.net.SslSocketManager
- StackTraceElementConstants - Class in org.apache.logging.log4j.core.jackson
-
Defines constants use for naming stack trace elements.
- StackTraceElementConstants() - Constructor for class org.apache.logging.log4j.core.jackson.StackTraceElementConstants
- start() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- start() - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
- start() - Method in class org.apache.logging.log4j.core.appender.AbstractWriterAppender
- 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.HttpAppender
- start() - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender
- 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.async.AsyncLoggerConfig
- start() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor
-
Increases the reference count and creates and starts a new Disruptor and associated thread if none currently exists.
- start() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContext
- start() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Start the configuration.
- start() - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
- start() - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Make the Filter available for use.
- start() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- start() - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- start() - Method in interface org.apache.logging.log4j.core.LifeCycle
- start() - Method in class org.apache.logging.log4j.core.LoggerContext
- start() - Method in class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
-
Registers the shutdown thread only if this is initialized.
- start() - Method in class org.apache.logging.log4j.core.util.WatchManager
- start(Configuration) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContext
- start(Configuration) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Starts with a specific configuration.
- start(BundleContext) - Method in class org.apache.logging.log4j.core.osgi.Activator
- STARTED - Enum constant in enum org.apache.logging.log4j.core.LifeCycle.State
-
Has started.
- STARTING - Enum constant in enum org.apache.logging.log4j.core.LifeCycle.State
-
In the process of starting.
- startup() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
This method is called within the appender when the appender is started.
- startup() - Method in class org.apache.logging.log4j.core.appender.HttpManager
- startup() - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaManager
- 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.nosql.NoSqlDatabaseManager
- STATIC_VARIABLES_KEY - Static variable in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- StatusConfiguration - Class in org.apache.logging.log4j.core.config.status
-
Configuration for setting up the
StatusLogger
fallback listener. - StatusConfiguration() - Constructor for class org.apache.logging.log4j.core.config.status.StatusConfiguration
- StatusConfiguration.Verbosity - Enum in org.apache.logging.log4j.core.config.status
-
Deprecated.This class is not used anymore and only kept for binary backward compatibility.
- 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 theExecutor
to be used for sendingNotification
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.AbstractLifeCycle
- stop() - Method in interface org.apache.logging.log4j.core.LifeCycle
- stop() - Method in class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.AbstractManager
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.AbstractWriterAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.FileAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.HttpAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.rolling.CronTriggeringPolicy
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.routing.IdlePurgePolicy
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.SocketAppender
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor
-
Decreases the reference count.
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContext
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Tear down the configuration.
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Cleanup the Filter.
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter
- stop(long, TimeUnit) - Method in interface org.apache.logging.log4j.core.LifeCycle2
-
Blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first.
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Blocks until all Log4j tasks have completed execution after a shutdown request and all appenders have shut down, or the timeout occurs, or the current thread is interrupted, whichever happens first.
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
-
Cancels the shutdown thread only if this is started.
- stop(long, TimeUnit) - Method in class org.apache.logging.log4j.core.util.WatchManager
- stop(long, TimeUnit, boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
- stop(long, TimeUnit, boolean) - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
-
Cleanup the Filter.
- stop(Future<?>) - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- stop(BundleContext) - Method in class org.apache.logging.log4j.core.osgi.Activator
- STOPPED - Enum constant in enum org.apache.logging.log4j.core.LifeCycle.State
-
Has stopped.
- STOPPING - Enum constant in enum org.apache.logging.log4j.core.LifeCycle.State
-
Stopping is in progress.
- StoreConfiguration<T> - Class in org.apache.logging.log4j.core.net.ssl
- StoreConfiguration(String, char[]) - Constructor for class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
Deprecated.
- StoreConfiguration(String, String) - Constructor for class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
Deprecated.
- StoreConfiguration(String, PasswordProvider) - 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
- StoreConfigurationException(String) - Constructor for exception org.apache.logging.log4j.core.net.ssl.StoreConfigurationException
- StoreConfigurationException(String, Exception) - Constructor for exception org.apache.logging.log4j.core.net.ssl.StoreConfigurationException
- storeExpressionVals(int, String, int) - Method in class org.apache.logging.log4j.core.util.CronExpression
- StringBuilderEncoder - Class in org.apache.logging.log4j.core.layout
-
Encoder for StringBuilders that uses ThreadLocals to avoid locking as much as possible.
- StringBuilderEncoder(Charset) - Constructor for class org.apache.logging.log4j.core.layout.StringBuilderEncoder
- StringBuilderEncoder(Charset, int, int) - Constructor for class org.apache.logging.log4j.core.layout.StringBuilderEncoder
- StringBuilderWriter - Class in org.apache.logging.log4j.core.util
-
Writer
implementation that outputs to aStringBuilder
. - StringBuilderWriter() - Constructor for class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Constructs a new
StringBuilder
instance with default capacity. - StringBuilderWriter(int) - Constructor for class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Constructs a new
StringBuilder
instance with the specified capacity. - StringBuilderWriter(StringBuilder) - Constructor for class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Constructs a new instance with the specified
StringBuilder
. - StringConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.StringConverter
- StringEncoder - Class in org.apache.logging.log4j.core.util
-
Encodes Strings to bytes.
- StringLayout - Interface in org.apache.logging.log4j.core
-
Instantiates the
Layout
type for String-based layouts. - stringMatcher(String) - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Constructor that creates a matcher from a string.
- StringMatchFilter - Class in org.apache.logging.log4j.core.filter
-
This filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.
- StringMatchFilter.Builder - Class in org.apache.logging.log4j.core.filter
- 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 - Variable in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- 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(Map<String, String>, String, String, char, String) - Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(Properties) - 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, String, String, char, String) - 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.
- StrSubstitutor(StrLookup, StrMatcher, StrMatcher, char, StrMatcher) - Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Creates a new instance and initializes it.
- StrSubstitutor(StrLookup, StrMatcher, StrMatcher, char, StrMatcher, StrMatcher) - 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
StructuredDataMessage
log messages. - StructuredDataLookup() - Constructor for class org.apache.logging.log4j.core.lookup.StructuredDataLookup
- StyleConverter - Class in org.apache.logging.log4j.core.pattern
-
Style pattern converter.
- subscribe(WatchManager) - Method in interface org.apache.logging.log4j.core.util.WatchEventService
- subSequence(int, int) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- substitute() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginValue
-
If false, standard configuration value substitution is not done on the referenced value.
- 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
- substitutor - Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- substVars(String, Properties) - Static method in class org.apache.logging.log4j.core.util.OptionConverter
-
Perform variable substitution in string
val
from the values of keys found in the system propeties. - SUFFIX - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Escape suffix.
- SUFFIXES - Static variable in class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
-
Valid file extensions for XML files.
- suffixLength(String) - Method in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- supplyContextData() - Method in class org.apache.logging.log4j.core.impl.ThreadContextDataProvider
- supplyContextData() - Method in interface org.apache.logging.log4j.core.util.ContextDataProvider
-
Returns a Map containing context data to be injected into the event or null if no context data is to be added.
- supplyStringMap() - Method in class org.apache.logging.log4j.core.impl.ThreadContextDataProvider
- supplyStringMap() - Method in interface org.apache.logging.log4j.core.util.ContextDataProvider
-
Returns the context data as a StringMap.
- swapParameters(Object[]) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
Replaces this ReusableMessage's parameter array with the specified value and return the original array
- swapParameters(Object[]) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
-
Replaces this ReusableMessage's parameter array with the specified value and return the original array
- SYNCHRONOUS - Enum constant in enum org.apache.logging.log4j.core.async.EventRoute
-
Logs the event synchronously: sends the event directly to the appender (in the current thread).
- SYNCHRONOUS_ONLY - Enum constant in enum org.apache.logging.log4j.core.config.LoggerConfig.LoggerConfigPredicate
- SYS_PROPERTY_ENABLE_SHUTDOWN_HOOK - Static variable in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqManager
-
System property to enable shutdown hook.
- SYS_PROPERTY_IO_THREADS - Static variable in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqManager
-
System property to control JeroMQ I/O thread count.
- SYSLOG - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
Messages generated by syslogd.
- 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
- SyslogAppender(String, Layout<? extends Serializable>, Filter, boolean, boolean, AbstractSocketManager, Advertiser, Property[]) - Constructor for class org.apache.logging.log4j.core.appender.SyslogAppender
- SyslogAppender.Builder<B extends SyslogAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
- 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
- SyslogLayout.Builder<B extends SyslogLayout.Builder<B>> - Class in org.apache.logging.log4j.core.layout
-
Builds a SyslogLayout.
- SYSTEM_ERR - Enum constant in enum org.apache.logging.log4j.core.appender.ConsoleAppender.Target
-
Standard error output.
- SYSTEM_OUT - Enum constant in enum org.apache.logging.log4j.core.appender.ConsoleAppender.Target
-
Standard output.
- SystemClock - Class in org.apache.logging.log4j.core.util
-
Implementation of the
Clock
interface that returns the system time. - SystemClock() - Constructor for class org.apache.logging.log4j.core.util.SystemClock
- SystemMillisClock - Class in org.apache.logging.log4j.core.util
-
Implementation of the
Clock
interface that returns the system time in millisecond granularity. - SystemMillisClock() - Constructor for class org.apache.logging.log4j.core.util.SystemMillisClock
- SystemNanoClock - Class in org.apache.logging.log4j.core.util
-
Implementation of the
NanoClock
interface that returns the system nano time. - SystemNanoClock() - Constructor for class org.apache.logging.log4j.core.util.SystemNanoClock
- 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
- SystemPropertyArbiter - Class in org.apache.logging.log4j.core.config.arbiters
-
Condition that determines if the specified property is set.
- SystemPropertyArbiter.Builder - Class in org.apache.logging.log4j.core.config.arbiters
T
- tabMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Returns a matcher which matches the tab character.
- TCL - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- TCP - Enum constant in enum org.apache.logging.log4j.core.net.Protocol
-
TCP Protocol.
- TcpSocketManager - Class in org.apache.logging.log4j.core.net
-
Manager of TCP Socket connections.
- TcpSocketManager(String, OutputStream, Socket, InetAddress, String, int, int, int, boolean, Layout<? extends Serializable>, int) - Constructor for class org.apache.logging.log4j.core.net.TcpSocketManager
- TcpSocketManager(String, OutputStream, Socket, InetAddress, String, int, int, int, boolean, Layout<? extends Serializable>, int, SocketOptions) - Constructor for class org.apache.logging.log4j.core.net.TcpSocketManager
-
Constructs.
- TcpSocketManager.HostResolver - Class in org.apache.logging.log4j.core.net
- TcpSocketManager.TcpSocketManagerFactory<M extends TcpSocketManager,
T extends org.apache.logging.log4j.core.net.TcpSocketManager.FactoryData> - Class in org.apache.logging.log4j.core.net -
Factory to create a TcpSocketManager.
- TcpSocketManagerFactory() - Constructor for class org.apache.logging.log4j.core.net.TcpSocketManager.TcpSocketManagerFactory
- terminate() - Method in class org.apache.logging.log4j.core.LoggerContext
- TEST_PREFIX - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
File name prefix for test configurations.
- TextEncoderHelper - Class in org.apache.logging.log4j.core.layout
-
Helper class to encode text to binary data without allocating temporary objects.
- TextLogEventParser - Interface in org.apache.logging.log4j.core.parser
-
Parses the output from a text based layout into instances of
LogEvent
. - TextRenderer - Interface in org.apache.logging.log4j.core.pattern
-
Renders an input to an output.
- THREAD_CONTEXT - Static variable in class org.apache.logging.log4j.core.impl.ContextAnchor
-
Anchor for the LoggerContext for the current Thread.
- ThreadContextDataInjector - Class in org.apache.logging.log4j.core.impl
-
ThreadContextDataInjector
contains a number of strategies for copying key-value pairs from the variousThreadContext
map implementations into aStringMap
. - ThreadContextDataInjector() - Constructor for class org.apache.logging.log4j.core.impl.ThreadContextDataInjector
- ThreadContextDataInjector.ForCopyOnWriteThreadContextMap - Class in org.apache.logging.log4j.core.impl
-
The
ContextDataInjector
used when the ThreadContextMap implementation is a copy-on-write StringMap-based data structure. - ThreadContextDataInjector.ForDefaultThreadContextMap - Class in org.apache.logging.log4j.core.impl
-
Default
ContextDataInjector
for the legacyMap<String, String>
-based ThreadContext (which is also the ThreadContext implementation used for web applications). - ThreadContextDataInjector.ForGarbageFreeThreadContextMap - Class in org.apache.logging.log4j.core.impl
-
The
ContextDataInjector
used when the ThreadContextMap implementation is a garbage-free StringMap-based data structure. - ThreadContextDataProvider - Class in org.apache.logging.log4j.core.impl
-
ContextDataProvider for ThreadContext data.
- ThreadContextDataProvider() - Constructor for class org.apache.logging.log4j.core.impl.ThreadContextDataProvider
- ThreadContextMapFilter - Class in org.apache.logging.log4j.core.filter
-
Filter based on a value in the Thread Context Map (MDC).
- ThreadContextMapFilter(Map<String, List<String>>, boolean, Filter.Result, Filter.Result) - Constructor for class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- ThreadIdPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the event thread ID.
- ThreadNameCachingStrategy - Enum in org.apache.logging.log4j.core.async
-
Strategy for deciding whether thread name should be cached or not.
- ThreadNamePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the event thread name.
- ThreadPriorityPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the event thread priority.
- ThresholdFilter - Class in org.apache.logging.log4j.core.filter
-
This filter returns the onMatch result if the level in the
LogEvent
is the same or more specific than the configured level and theonMismatch
value otherwise. - ThrowableFormatOptions - Class in org.apache.logging.log4j.core.impl
-
Contains options which control how a
Throwable
pattern is formatted. - ThrowableFormatOptions() - Constructor for class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Constructs the options for printing stack trace.
- ThrowableFormatOptions(int, String, List<String>, TextRenderer, String) - Constructor for class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Constructs the options for printing stack trace.
- ThrowableFormatOptions(List<String>) - Constructor for class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
Constructs the options for printing stack trace.
- ThrowablePatternConverter - Class in org.apache.logging.log4j.core.pattern
- ThrowablePatternConverter(String, String, String[]) - Constructor for class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
-
Deprecated.Use
ThrowablePatternConverter(String, String, String[], Configuration, ThrowablePropertyRendererFactory, ThrowableStackTraceRendererFactory)
instead. - ThrowablePatternConverter(String, String, String[], Configuration) - Constructor for class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
-
Deprecated.Use
ThrowablePatternConverter(String, String, String[], Configuration, ThrowablePropertyRendererFactory, ThrowableStackTraceRendererFactory)
instead. - ThrowableProxy - Class in org.apache.logging.log4j.core.impl
-
Deprecated.
- ThrowableProxy(Throwable) - Constructor for class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.Constructs the wrapper for the Throwable that includes packaging data.
- Throwables - Class in org.apache.logging.log4j.core.util
-
Helps with Throwable objects.
- thrown - Variable in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
- TimeBasedTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
-
Rolls a file over based on time.
- TimeBasedTriggeringPolicy.Builder - Class in org.apache.logging.log4j.core.appender.rolling
- TimeFilter - Class in org.apache.logging.log4j.core.filter
-
Filters events that fall within a specified time period in each day.
- TlsSyslogFrame - Class in org.apache.logging.log4j.core.appender
-
Wraps messages that are formatted according to RFC 5425.
- TlsSyslogFrame(String) - Constructor for class org.apache.logging.log4j.core.appender.TlsSyslogFrame
- toBoolean(String, boolean) - Static method in class org.apache.logging.log4j.core.util.OptionConverter
-
If
value
is "true", thentrue
is returned. - toByteArray(InputStream) - Static method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Reads an InputStream using buffered reads into a byte array buffer.
- toByteArray(LogEvent) - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
Formats the Log Event as a byte array.
- toByteArray(LogEvent) - Method in class org.apache.logging.log4j.core.layout.GelfLayout
- toByteArray(LogEvent) - Method in class org.apache.logging.log4j.core.layout.MessageLayout
- toByteArray(LogEvent) - Method in class org.apache.logging.log4j.core.layout.SerializedLayout
-
Deprecated.Formats a
LogEvent
as a serialized byte array of the LogEvent object. - toByteArray(LogEvent) - Method in interface org.apache.logging.log4j.core.Layout
-
Formats the event suitable for display.
- toBytes(String, Charset) - Static method in class org.apache.logging.log4j.core.util.StringEncoder
-
Converts a String to a byte[].
- toContextMapKey(ClassLoader) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
- toContextMapKey(ClassLoader) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- toFacility(String) - Static method in enum org.apache.logging.log4j.core.net.Facility
-
Returns the Facility for the given string.
- toFacility(String, Facility) - Static method in enum org.apache.logging.log4j.core.net.Facility
-
Returns the Facility for the given string.
- toFileSize(String, long) - Static method in class org.apache.logging.log4j.core.util.OptionConverter
- toImmutable() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
Subclasses should implement this method to provide an immutable version.
- toImmutable() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- toImmutable() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- toImmutable() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- toImmutable() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Returns an immutable version of this log event, which MAY BE a copy of this event.
- toInt(String, int) - Static method in class org.apache.logging.log4j.core.util.OptionConverter
-
Convert the String value to an int.
- toKey(String) - Static method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- toLevel(String, Level) - Static method in class org.apache.logging.log4j.core.util.OptionConverter
- toMap() - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- toMillis() - Method in class org.apache.logging.log4j.core.appender.rolling.action.Duration
-
Deprecated.Converts this duration to the total length in milliseconds.
- toProperties(Property[]) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- toResult(String) - Static method in enum org.apache.logging.log4j.core.Filter.Result
-
Returns the Result for the given string.
- toResult(String, Filter.Result) - Static method in enum org.apache.logging.log4j.core.Filter.Result
-
Returns the Result for the given string.
- toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
Serializes the given event using the appender's layout if present.
- toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.layout.YamlLayout
-
Formats a
LogEvent
. - toSerializable(LogEvent) - Method in interface org.apache.logging.log4j.core.layout.AbstractStringLayout.Serializer
- toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.layout.CsvLogEventLayout
- toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.layout.CsvParameterLayout
- toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.layout.GelfLayout
- toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout
-
Formats as a String.
- toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.layout.MessageLayout
- toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Formats a logging event to a writer.
- toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
Formats a
LogEvent
in conformance with the RFC 5424 Syslog specification. - toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.layout.SerializedLayout
-
Deprecated.Returns the LogEvent.
- toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.layout.SyslogLayout
-
Formats a
LogEvent
in conformance with the BSD Log record format. - toSerializable(LogEvent) - Method in interface org.apache.logging.log4j.core.Layout
-
Formats the event as an Object that can be serialized.
- toSerializable(LogEvent, Writer) - Method in class org.apache.logging.log4j.core.layout.YamlLayout
- toSerializable(LogEvent, Writer) - Method in class org.apache.logging.log4j.core.layout.JsonLayout
- toSerializable(LogEvent, StringBuilder) - Method in interface org.apache.logging.log4j.core.layout.AbstractStringLayout.Serializer
- toSerializable(LogEvent, StringBuilder) - Method in interface org.apache.logging.log4j.core.layout.AbstractStringLayout.Serializer2
- toString() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- toString() - Method in class org.apache.logging.log4j.core.appender.AppenderSet.Builder
- toString() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- toString() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
- toString() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- toString() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- toString() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
- toString() - Method in interface org.apache.logging.log4j.core.appender.db.jdbc.ConnectionSource
-
All implementations must override
Object.toString()
to provide information about the connection configuration (obscuring passwords with one-way hashes). - toString() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.DataSourceConnectionSource
- toString() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.FactoryMethodConnectionSource
- toString() - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender
- toString() - Method in class org.apache.logging.log4j.core.appender.FailoverAppender
- toString() - Method in class org.apache.logging.log4j.core.appender.HttpAppender
- toString() - Method in class org.apache.logging.log4j.core.appender.mom.jeromq.JeroMqAppender
- toString() - Method in class org.apache.logging.log4j.core.appender.mom.JmsAppender.Builder
-
Does not include the password.
- toString() - Method in class org.apache.logging.log4j.core.appender.mom.JmsManager.JmsManagerConfiguration
- toString() - Method in class org.apache.logging.log4j.core.appender.mom.kafka.KafkaAppender
- toString() - Method in class org.apache.logging.log4j.core.appender.nosql.NoSqlAppender
- toString() - Method in interface org.apache.logging.log4j.core.appender.nosql.NoSqlProvider
-
All implementations must override
Object.toString()
to provide information about the provider configuration (obscuring passwords with one-way hashes). - toString() - Method in class org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy
- toString() - Method in class org.apache.logging.log4j.core.appender.rewrite.PropertiesRewritePolicy
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractPathAction
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.CommonsCompressAction
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.CompositeAction
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.Duration
-
Deprecated.A string representation of this duration using ISO-8601 seconds based representation, such as
PT8H6M12S
. - toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.FileRenameAction
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileCount
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAccumulatedFileSize
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAll
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfAny
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfFileName
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfNot
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.PathWithAttributes
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.CronTriggeringPolicy
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- toString() - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy
- toString() - Method in class org.apache.logging.log4j.core.appender.routing.IdlePurgePolicy
- toString() - Method in class org.apache.logging.log4j.core.appender.routing.Route
- toString() - Method in class org.apache.logging.log4j.core.appender.routing.Routes
- toString() - Method in class org.apache.logging.log4j.core.appender.TlsSyslogFrame
- toString() - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor.Log4jEventWrapper
- toString() - Method in class org.apache.logging.log4j.core.config.AppenderControl
- toString() - Method in class org.apache.logging.log4j.core.config.AppenderControlArraySet
- toString() - Method in class org.apache.logging.log4j.core.config.AppenderRef
- toString() - Method in class org.apache.logging.log4j.core.config.composite.CompositeConfiguration
- toString() - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler.CronRunnable
- toString() - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler
- toString() - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
- toString() - Method in class org.apache.logging.log4j.core.config.CustomLevelConfig
- toString() - Method in class org.apache.logging.log4j.core.config.json.JsonConfiguration
- toString() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
- toString() - Method in class org.apache.logging.log4j.core.config.Node
- toString() - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
- toString() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry.PluginTest
- toString() - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
- toString() - Method in class org.apache.logging.log4j.core.config.Property
- toString() - Method in class org.apache.logging.log4j.core.config.xml.XmlConfiguration
- toString() - Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.BurstFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.DenyAllFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.LevelMatchFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.LevelRangeFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.MapFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.MarkerFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.RegexFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.ScriptFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- toString() - Method in class org.apache.logging.log4j.core.filter.TimeFilter
- toString() - Method in class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
Deprecated.
- toString() - Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
Deprecated.
- toString() - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- toString() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- toString() - Method in class org.apache.logging.log4j.core.impl.MementoMessage
- toString() - Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- toString() - Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
Deprecated.
- toString() - Method in class org.apache.logging.log4j.core.jackson.MapEntry
- toString() - Method in class org.apache.logging.log4j.core.layout.GelfLayout
- toString() - Method in class org.apache.logging.log4j.core.layout.LevelPatternSelector
- toString() - Method in class org.apache.logging.log4j.core.layout.LoggerFields
- toString() - Method in class org.apache.logging.log4j.core.layout.MarkerPatternSelector
- toString() - Method in class org.apache.logging.log4j.core.layout.PatternLayout
- toString() - Method in class org.apache.logging.log4j.core.layout.PatternMatch
- toString() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- toString() - Method in class org.apache.logging.log4j.core.layout.ScriptPatternSelector
- toString() - Method in class org.apache.logging.log4j.core.Logger.PrivateConfig
- toString() - Method in class org.apache.logging.log4j.core.Logger
-
Returns a String representation of this instance in the form
"name:level[ in context_name]"
. - toString() - Method in class org.apache.logging.log4j.core.lookup.ConfigurationStrSubstitutor
- toString() - Method in class org.apache.logging.log4j.core.lookup.Interpolator
- toString() - Method in class org.apache.logging.log4j.core.lookup.PropertiesLookup
- toString() - Method in class org.apache.logging.log4j.core.lookup.RuntimeStrSubstitutor
- toString() - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- toString() - Method in class org.apache.logging.log4j.core.net.JndiManager
- toString() - Method in class org.apache.logging.log4j.core.net.Priority
- toString() - Method in class org.apache.logging.log4j.core.net.SocketAddress
- toString() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- toString() - Method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- toString() - Method in class org.apache.logging.log4j.core.net.TcpSocketManager
- toString() - Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
-
Returns a String suitable for debugging.
- toString() - Method in class org.apache.logging.log4j.core.pattern.JAnsiTextRenderer
- toString() - Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
- toString() - Method in class org.apache.logging.log4j.core.pattern.NotANumber
- toString() - Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
-
Returns a String suitable for debugging.
- toString() - Method in class org.apache.logging.log4j.core.pattern.RegexReplacement
- toString() - Method in class org.apache.logging.log4j.core.pattern.StyleConverter
-
Returns a String suitable for debugging.
- toString() - Method in class org.apache.logging.log4j.core.script.Script
- toString() - Method in class org.apache.logging.log4j.core.script.ScriptFile
- toString() - Method in class org.apache.logging.log4j.core.script.ScriptRef
- toString() - Method in class org.apache.logging.log4j.core.time.MutableInstant
- toString() - Method in class org.apache.logging.log4j.core.util.CronExpression
-
Returns the string representation of the
CronExpression
- toString() - Method in class org.apache.logging.log4j.core.util.datetime.FastDateFormat
-
Deprecated.Gets a debugging string version of this formatter.
- toString() - Method in class org.apache.logging.log4j.core.util.datetime.FastDatePrinter
-
Deprecated.Gets a debugging string version of this formatter.
- toString() - Method in class org.apache.logging.log4j.core.util.KeyValuePair
- toString() - Method in class org.apache.logging.log4j.core.util.Source
- toString() - Method in class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Returns
StringBuilder.toString()
. - toString() - Method in class org.apache.logging.log4j.core.util.WatchManager
- toString(char[]) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource
- toString(Reader) - Static method in class org.apache.logging.log4j.core.util.IOUtils
-
Gets the contents of a
Reader
as a String. - toStringList(Throwable) - Static method in class org.apache.logging.log4j.core.util.Throwables
-
Converts a Throwable stack trace into a List of Strings.
- toURI(String) - Static method in class org.apache.logging.log4j.core.util.NetUtils
-
Converts a URI string or file path to a URI object.
- toURIs(String) - Static method in class org.apache.logging.log4j.core.util.NetUtils
- toVerbosity(String) - Static method in enum org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
-
Deprecated.This class is not used anymore and only kept for binary backward compatibility.
- toWhitespaceSeparator(String) - Static method in class org.apache.logging.log4j.core.util.Patterns
-
Creates a pattern string for
separator
surrounded by whitespace. - toXmlConfiguration() - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Constructs an XML configuration from this builder.
- toXmlConfiguration() - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- Transform - Class in org.apache.logging.log4j.core.util
-
Utility class for transforming strings.
- translateTo(RingBufferLogEvent, long) - Method in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
- translateTo(RingBufferLogEvent, long, Object...) - Method in class org.apache.logging.log4j.core.async.AsyncLogger
- TriggeringPolicy - Interface in org.apache.logging.log4j.core.appender.rolling
-
A
TriggeringPolicy
controls the conditions under which rollover occurs. - trimMatcher() - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Matches the String trim() whitespace characters.
- trimToMaxSize(StringBuilder) - Static method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- TrustStoreConfiguration - Class in org.apache.logging.log4j.core.net.ssl
-
Configuration of the TrustStore
- TrustStoreConfiguration(String, char[], String, String) - Constructor for class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
-
Deprecated.
- TrustStoreConfiguration(String, String, String, String) - Constructor for class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
-
Deprecated.
- TrustStoreConfiguration(String, PasswordProvider, String, String) - Constructor for class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
- TrustStoreConfigurationException - Exception in org.apache.logging.log4j.core.net.ssl
- TrustStoreConfigurationException(Exception) - Constructor for exception org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
- tryEnqueue(LogEvent, AsyncLoggerConfig) - Method in interface org.apache.logging.log4j.core.async.AsyncLoggerConfigDelegate
- tryEnqueue(LogEvent, AsyncLoggerConfig) - Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfigDisruptor
- TTCC_CONVERSION_PATTERN - Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
-
A conversion pattern equivalent to the TTCCLayout.
- TYPE_KEY - Static variable in class org.apache.logging.log4j.core.lookup.StructuredDataLookup
-
Key to obtain the type of a structured message.
- TypeConverter<T> - Interface in org.apache.logging.log4j.core.config.plugins.convert
-
Interface for doing automatic String conversion to a specific type.
- TypeConverterRegistry - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Registry for
TypeConverter
plugins. - TypeConverters - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Collection of basic TypeConverter implementations.
- TypeConverters() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters
- TypeConverters.BigDecimalConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Parses a
String
into aBigDecimal
. - TypeConverters.BigIntegerConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Parses a
String
into aBigInteger
. - TypeConverters.BooleanConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.ByteArrayConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Converts a
String
into abyte[]
. - TypeConverters.ByteConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.CharacterConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.CharArrayConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Converts a
String
into achar[]
. - TypeConverters.CharsetConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.ClassConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.CronExpressionConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.DoubleConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.DurationConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Deprecated.since 2.24.0. A
Duration
converter will be available in 3.0.0. - TypeConverters.FileConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.FloatConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.InetAddressConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Converts a
String
into anInetAddress
. - TypeConverters.IntegerConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.LevelConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.LongConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.PathConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.PatternConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.SecurityProviderConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.ShortConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.StringConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Returns the given
String
, no conversion takes place. - TypeConverters.UriConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.UrlConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeConverters.UuidConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- TypeUtil - Class in org.apache.logging.log4j.core.util
-
Utility class for working with Java
Type
s and derivatives.
U
- UDP - Enum constant in enum org.apache.logging.log4j.core.net.Protocol
-
UDP Protocol.
- unadvertise(Object) - Method in class org.apache.logging.log4j.core.config.DefaultAdvertiser
-
Does nothing.
- unadvertise(Object) - Method in interface org.apache.logging.log4j.core.net.Advertiser
- unadvertise(Object) - Method in class org.apache.logging.log4j.core.net.MulticastDnsAdvertiser
-
Unadvertise the previously advertised entity.
- UNCACHED - Enum constant in enum org.apache.logging.log4j.core.async.ThreadNameCachingStrategy
- UNDERLINE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Underline general attribute.
- unregisterLoggerContext(String) - Static method in class org.apache.logging.log4j.core.jmx.Server
-
Unregisters all MBeans associated with the specified logger context (including MBeans for
LoggerConfig
s andAppender
s from the platform MBean server. - unregisterLoggerContext(String, MBeanServer) - Static method in class org.apache.logging.log4j.core.jmx.Server
-
Unregisters all MBeans associated with the specified logger context (including MBeans for
LoggerConfig
s andAppender
s from the platform MBean server. - unregisterMBeans() - Static method in class org.apache.logging.log4j.core.jmx.Server
-
Unregister all log4j MBeans from the platform MBean server.
- unregisterMBeans(MBeanServer) - Static method in class org.apache.logging.log4j.core.jmx.Server
-
Unregister all log4j MBeans from the specified MBean server.
- unsubscribe(WatchManager) - Method in interface org.apache.logging.log4j.core.util.WatchEventService
- unwatch(Source) - Method in class org.apache.logging.log4j.core.util.WatchManager
-
Unwatches the given file.
- unwatchFile(File) - Method in class org.apache.logging.log4j.core.util.WatchManager
-
Unwatches the given file.
- unwrap() - Method in class org.apache.logging.log4j.core.appender.nosql.DefaultNoSqlObject
- unwrap() - Method in interface org.apache.logging.log4j.core.appender.nosql.NoSqlObject
-
Obtains the underlying NoSQL library-specific object that this object wraps.
- update(String, LogEvent) - Method in class org.apache.logging.log4j.core.appender.routing.IdlePurgePolicy
- update(String, LogEvent) - Method in interface org.apache.logging.log4j.core.appender.routing.PurgePolicy
- Update - Enum constant in enum org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy.Mode
-
Keys should be updated.
- updateConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.async.AsyncLogger
- updateConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.Logger
-
Associates this Logger with a new Configuration.
- updateData(Object) - Method in class org.apache.logging.log4j.core.appender.AbstractManager
-
Used by Log4j to update the Manager during reconfiguration.
- updateData(Object) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
Updates the RollingFileManager's data during a reconfiguration.
- updateData(Object) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
Updates the RollingFileManager's data during a reconfiguration.
- updateLoggers() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Causes all Loggers to be updated against the current Configuration.
- updateLoggers(Configuration) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Causes all Logger to be updated against the specified Configuration.
- updateThreadValues() - Method in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
- updateTime() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- UpperLookup - Class in org.apache.logging.log4j.core.lookup
-
Converts values to upper case.
- UpperLookup() - Constructor for class org.apache.logging.log4j.core.lookup.UpperLookup
- UriConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.UriConverter
- UrlConnectionFactory - Class in org.apache.logging.log4j.core.net
-
Constructs an HTTPURLConnection.
- UrlConnectionFactory() - Constructor for class org.apache.logging.log4j.core.net.UrlConnectionFactory
- UrlConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.UrlConverter
- US_MONTH_DAY_YEAR2_TIME - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.American date/time format with 2-digit year:
"dd/MM/yy HH:mm:ss.SSS"
. - US_MONTH_DAY_YEAR4_TIME - Enum constant in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.American date/time format with 4-digit year:
"dd/MM/yyyy HH:mm:ss.SSS"
. - USER - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
User level messages.
- userName - Variable in class org.apache.logging.log4j.core.appender.db.jdbc.AbstractDriverManagerConnectionSource.Builder
- UUCP - Enum constant in enum org.apache.logging.log4j.core.net.Facility
-
UUCP subsystem.
- UUID_SEQUENCE - Static variable in class org.apache.logging.log4j.core.util.UuidUtil
-
System property that may be used to seed the UUID generation with an integer value.
- UuidConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.UuidConverter
- UuidPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the event sequence number.
- UuidUtil - Class in org.apache.logging.log4j.core.util
-
Generates a unique ID.
V
- validateExpression(String) - Static method in class org.apache.logging.log4j.core.util.CronExpression
- validateFields(Builder<?>, String) - Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginBuilder
- ValidHost - Annotation Type in org.apache.logging.log4j.core.config.plugins.validation.constraints
-
Indicates that a plugin attribute must be a valid host.
- ValidHostValidator - Class in org.apache.logging.log4j.core.config.plugins.validation.validators
-
Validator that checks an object to verify it is a valid hostname or IP address.
- ValidHostValidator() - Constructor for class org.apache.logging.log4j.core.config.plugins.validation.validators.ValidHostValidator
- ValidPort - Annotation Type in org.apache.logging.log4j.core.config.plugins.validation.constraints
-
Indicates that a plugin attribute must be a valid port number.
- ValidPortValidator - Class in org.apache.logging.log4j.core.config.plugins.validation.validators
-
Validator that checks an object to verify it is a valid port number (an integer between 0 and 65535).
- ValidPortValidator() - Constructor for class org.apache.logging.log4j.core.config.plugins.validation.validators.ValidPortValidator
- value() - Element in annotation type org.apache.logging.log4j.core.config.Order
-
The priority of this annotated type.
- value() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAliases
- value() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Specifies the name of the attribute (case-insensitive) this annotation corresponds to.
- value() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginBuilderAttribute
-
Specifies the attribute name this corresponds to.
- value() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginElement
-
Identifies the case-insensitive element name (or attribute name) this corresponds with in a configuration file.
- value() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginValue
- value() - Element in annotation type org.apache.logging.log4j.core.config.plugins.PluginVisitorStrategy
-
The class to use that implements
PluginVisitor
for the given annotation. - value() - Element in annotation type org.apache.logging.log4j.core.config.plugins.validation.Constraint
-
ConstraintValidator
class that implements the validation logic for the annotated constraint annotation. - value() - Method in interface org.apache.logging.log4j.core.lookup.LookupResult
-
Value of the lookup result.
- value() - Method in enum org.apache.logging.log4j.core.net.Rfc1349TrafficClass
-
Gets the value.
- value() - Element in annotation type org.apache.logging.log4j.core.pattern.ConverterKeys
- VALUE - Static variable in class org.apache.logging.log4j.core.pattern.NotANumber
- valueIsAtLeast(int, int) - Static method in class org.apache.logging.log4j.core.util.Assert
- valueNeedsLookup(String) - Static method in class org.apache.logging.log4j.core.layout.YamlLayout
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.appender.ConsoleAppender.Target
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.async.EventRoute
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.async.JCToolsBlockingQueueFactory.WaitStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.async.ThreadNameCachingStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.config.LoggerConfig.LoggerConfigPredicate
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.Filter.Result
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.layout.GelfLayout.CompressionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.LifeCycle.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.net.Facility
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.net.Protocol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.net.Rfc1349TrafficClass
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.net.Severity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedTimeZoneFormat
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.logging.log4j.core.appender.ConsoleAppender.Target
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.async.EventRoute
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.async.JCToolsBlockingQueueFactory.WaitStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.async.ThreadNameCachingStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.config.LoggerConfig.LoggerConfigPredicate
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.Filter.Result
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.layout.GelfLayout.CompressionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.LifeCycle.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.net.Facility
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.net.Protocol
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.net.Rfc1349TrafficClass
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.net.Severity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedFormat
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.util.datetime.FixedDateFormat.FixedTimeZoneFormat
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VariablesNotEmptyReplacementConverter - Class in org.apache.logging.log4j.core.pattern
-
VariablesNotEmpty pattern converter.
- VELOCITY - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- VERBOSE - Enum constant in enum org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
-
Deprecated.
- verify(String, SSLSession) - Method in class org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier
- Version - Class in org.apache.logging.log4j.core
- Version() - Constructor for class org.apache.logging.log4j.core.Version
- visit(Configuration, Node, LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginAttributeVisitor
- visit(Configuration, Node, LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginBuilderAttributeVisitor
- visit(Configuration, Node, LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginConfigurationVisitor
- visit(Configuration, Node, LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginElementVisitor
- visit(Configuration, Node, LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginLoggerContextVisitor
- visit(Configuration, Node, LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginNodeVisitor
- visit(Configuration, Node, LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginValueVisitor
- visit(Configuration, Node, LogEvent, StringBuilder) - Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
-
Visits a Node to obtain a value for constructing a Plugin object.
- visitFile(Path, BasicFileAttributes) - Method in class org.apache.logging.log4j.core.appender.rolling.action.DeletingVisitor
- visitFile(Path, BasicFileAttributes) - Method in class org.apache.logging.log4j.core.appender.rolling.action.SortingVisitor
- visitFileFailed(Path, IOException) - Method in class org.apache.logging.log4j.core.appender.rolling.action.DeletingVisitor
- visitFileFailed(Path, IOException) - Method in class org.apache.logging.log4j.core.appender.rolling.action.SortingVisitor
- VM - Enum constant in enum org.apache.logging.log4j.core.util.ExtensionLanguageMapping
W
- WARNING - Enum constant in enum org.apache.logging.log4j.core.net.Severity
-
Warning conditions.
- watch(Source, Watcher) - Method in class org.apache.logging.log4j.core.util.WatchManager
-
Watches the given file.
- Watcher - Interface in org.apache.logging.log4j.core.util
-
Watches for changes in a Source and performs an action when it is modified.
- WatcherFactory - Class in org.apache.logging.log4j.core.util
-
Creates Watchers of various types.
- WatchEventService - Interface in org.apache.logging.log4j.core.util
- watchFile(File, FileWatcher) - Method in class org.apache.logging.log4j.core.util.WatchManager
-
Watches the given file.
- watching(Source) - Method in class org.apache.logging.log4j.core.config.ConfigurationFileWatcher
- watching(Source) - Method in class org.apache.logging.log4j.core.config.HttpWatcher
- watching(Source) - Method in class org.apache.logging.log4j.core.util.AbstractWatcher
- watching(Source) - Method in interface org.apache.logging.log4j.core.util.Watcher
-
Called when the Watcher is registered.
- watching(Source) - Method in class org.apache.logging.log4j.core.util.WrappedFileWatcher
- WatchManager - Class in org.apache.logging.log4j.core.util
-
Manages
FileWatcher
s. - WatchManager(ConfigurationScheduler) - Constructor for class org.apache.logging.log4j.core.util.WatchManager
- WEEKLY - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover weekly.
- White(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.White
-
Constructs the converter.
- WHITE - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
White foreground color.
- WHITESPACE - Static variable in class org.apache.logging.log4j.core.util.Patterns
-
The whitespace pattern string.
- withAdditivity(boolean) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- withAdditivity(boolean) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- withAdvertise(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- withAdvertise(boolean) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- withAdvertise(boolean) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withAdvertise(boolean) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- withAdvertise(boolean) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
-
Deprecated.
- withAdvertiseUri(String) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- withAdvertiseUri(String) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- withAdvertiseUri(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withAdvertiseURI(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- withAlwaysWriteExceptions(boolean) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- withAppend(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- withAppend(boolean) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- withAppend(boolean) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withAppend(boolean) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- withAppenderNodeSet(AppenderSet) - Method in class org.apache.logging.log4j.core.appender.ScriptAppenderSelector.Builder
- withBasePath(String) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define base path to apply condition before execute POSIX file attribute action.
- withBufferedIo(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
-
Deprecated.
- withBufferSize(int) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
-
Deprecated.
- withCharset(Charset) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- withCharset(Charset) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- withCompressionLevelStr(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines compression level.
- withCompressionLevelStr(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
-
Defines compression level.
- withConfig(Configuration) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines configuration.
- withConfig(Configuration) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
-
Defines configuration.
- withConfig(Configuration) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- withConfig(Configuration) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- withConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
-
Deprecated.
- withConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.AppenderSet.Builder
- withConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define required configuration, used to retrieve string substituter.
- withConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- withConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.ScriptAppenderSelector.Builder
- withConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginBuilder
-
Specifies the Configuration to use for constructing the plugin instance.
- withConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- withConfigurationNode(Node) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginBuilder
-
Specifies the Node corresponding to the plugin object that will be created.
- withConnectTimeoutMillis(int) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
-
Deprecated.
- withContentType(String) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- withCreateOnDemand(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- withCreateOnDemand(boolean) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- withCreateOnDemand(boolean) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withCustomActions(Action[]) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines custom actions.
- withCustomActions(Action[]) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
-
Defines custom actions.
- withDefaultRouteScript(AbstractScript) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- withDestination(String) - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Sets the output of the
StatusLogger
fallback listener. - withDisableAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- withFactoryClassName(String) - Method in class org.apache.logging.log4j.core.async.AsyncWaitStrategyFactoryConfig.Builder
- withFileGroup(String) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- withFileGroup(String) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- withFileGroup(String) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define file group to apply during action execution eligible files.
- withFileGroup(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withFileGroup(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- withFileIndex(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines the file index for rolling strategy.
- withFileName(String) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- withFileName(String) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- withFileName(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withFileName(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- withFileOwner(String) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- withFileOwner(String) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- withFileOwner(String) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define file owner to apply during action execution eligible files.
- withFileOwner(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withFileOwner(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- withFilePattern(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withFilePattern(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- withFilePermissions(String) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- withFilePermissions(String) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- withFilePermissions(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withFilePermissions(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- withFilePermissions(Set<PosixFilePermission>) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define file permissions to apply during action execution eligible files.
- withFilePermissionsString(String) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define file permissions in POSIX format to apply during action execution eligible files.
- withFilter(Filter) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- withFilter(Filter) - Method in class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder
-
Deprecated.
- withFollowLinks(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
True to allow synonyms links during search of eligible files.
- withFontName(String) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- withFontSize(HtmlLayout.FontSize) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- withFooter(String) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- withHeader(String) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- withHost(String) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
-
Deprecated.
- withIgnoreExceptions(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
-
Deprecated.
- withImmediateFail(boolean) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
-
Deprecated.
- withImmediateFlush(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
-
Deprecated.
- withIncludeLocation(String) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- withIncludeLocation(String) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- withInterval(int) - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- withLayout(Layout<? extends Serializable>) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
-
Deprecated.
- withLevel(Level) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- withLevel(Level) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- withLevelAndRefs(String) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- withLevelAndRefs(String) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- withLocationInfo(boolean) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- withLocking(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- withLocking(boolean) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- withLocking(boolean) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withLoggerName(String) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- withMax(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines the maximum number of files to keep.
- withMaxDepth(int) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define max folder depth to search for eligible files to apply POSIX attribute view.
- withMaxFiles(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
-
Defines the maximum number of files to keep.
- withMaxRandomDelay(int) - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- withMin(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines the minimum number of files to keep.
- withModulate(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- withName(String) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
-
Deprecated.
- withName(String) - Method in class org.apache.logging.log4j.core.appender.ScriptAppenderSelector.Builder
- withNoConsoleNoAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- withNode(Node) - Method in class org.apache.logging.log4j.core.appender.AppenderSet.Builder
- withPathConditions(PathCondition[]) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define path conditions to filter files in
AbstractPathAction.getBasePath()
. - withPattern(String) - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- withPattern(String) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- withPatternScript(AbstractScript) - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- withPatternSelector(PatternSelector) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- withPolicy(TriggeringPolicy) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withPolicy(TriggeringPolicy) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- withPort(int) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
-
Deprecated.
- withProperties(Property[]) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- withProperties(Property[]) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- withProtocol(Protocol) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
-
Deprecated.
- withPurgePolicy(PurgePolicy) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- withReconnectDelayMillis(int) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
-
Deprecated.
- withRefs(AppenderRef[]) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- withRefs(AppenderRef[]) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- withRegexReplacement(RegexReplacement) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- withRewritePolicy(RewritePolicy) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- withRoutes(Route[]) - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- withRoutes(Routes) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- withScript(AbstractScript) - Method in class org.apache.logging.log4j.core.appender.ScriptAppenderSelector.Builder
- withSocketOptions(SocketOptions) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
-
Deprecated.
- withSslConfiguration(SslConfiguration) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
-
Deprecated.
- withStatus(String) - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Sets the level of the
StatusLogger
fallback listener. - withStatus(Level) - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Sets the level of the
StatusLogger
fallback listener. - withStopCustomActionsOnError(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines whether to stop executing asynchronous actions if an error occurs.
- withStopCustomActionsOnError(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
-
Defines whether to stop executing asynchronous actions if an error occurs.
- withStrategy(RolloverStrategy) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- withStrategy(RolloverStrategy) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- withSubst(StrSubstitutor) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define string substituter.
- withTempCompressedFilePattern(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines temporary compression file pattern.
- withTempCompressedFilePattern(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
-
Defines temporary compression file pattern.
- withtFilter(Filter) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
-
Deprecated.Use
LoggerConfig.Builder.withFilter(Filter)
instead - withtFilter(Filter) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- withTitle(String) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- withVerboseClasses(String...) - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Deprecated.This method is ineffective and only kept for binary backward compatibility.
- withVerbosity(String) - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Deprecated.This method is ineffective and only kept for binary backward compatibility.
- wrapLogEvent(LogEvent) - Method in class org.apache.logging.log4j.core.layout.YamlLayout
- WrappedFileWatcher - Class in org.apache.logging.log4j.core.util
- WrappedFileWatcher(FileWatcher) - Constructor for class org.apache.logging.log4j.core.util.WrappedFileWatcher
- WrappedFileWatcher(FileWatcher, Configuration, Reconfigurable, List<ConfigurationListener>, long) - Constructor for class org.apache.logging.log4j.core.util.WrappedFileWatcher
- write(byte[]) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Some output streams synchronize writes while others do not.
- write(byte[]) - Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
- write(byte[]) - Method in class org.apache.logging.log4j.core.util.CloseShieldOutputStream
- write(byte[]) - Method in class org.apache.logging.log4j.core.util.NullOutputStream
-
Does nothing - output to
/dev/null
. - write(byte[], boolean) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Some output streams synchronize writes while others do not.
- write(byte[], int, int) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Some output streams synchronize writes while others do not.
- write(byte[], int, int) - Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
- write(byte[], int, int) - Method in class org.apache.logging.log4j.core.util.CloseShieldOutputStream
- write(byte[], int, int) - Method in class org.apache.logging.log4j.core.util.NullOutputStream
-
Does nothing - output to
/dev/null
. - write(byte[], int, int, boolean) - Method in class org.apache.logging.log4j.core.appender.FileManager
- write(byte[], int, int, boolean) - Method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
- write(byte[], int, int, boolean) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Some output streams synchronize writes while others do not.
- write(byte[], int, int, boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- write(byte[], int, int, boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
- write(byte[], int, int, boolean) - Method in class org.apache.logging.log4j.core.net.TcpSocketManager
- write(char[], int, int) - Method in class org.apache.logging.log4j.core.util.CloseShieldWriter
- write(char[], int, int) - Method in class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Writes a portion of a character array to the
StringBuilder
. - write(int) - Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
- write(int) - Method in class org.apache.logging.log4j.core.util.CloseShieldOutputStream
- write(int) - Method in class org.apache.logging.log4j.core.util.NullOutputStream
-
Does nothing - output to
/dev/null
. - write(String) - Method in class org.apache.logging.log4j.core.appender.WriterManager
-
Some output streams synchronize writes while others do not.
- write(String) - Method in class org.apache.logging.log4j.core.util.StringBuilderWriter
-
Writes a String to the
StringBuilder
. - write(LogEvent) - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Deprecated.since 2.11.0 Use
AbstractDatabaseManager.write(LogEvent, Serializable)
. - write(LogEvent, Serializable) - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
This method manages buffering and writing of events.
- writeBuffer(LogEvent[], LogEvent, Layout<?>, OutputStream) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- writeByteArrayToManager(LogEvent) - Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
- writeBytes(byte[], int, int) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- writeBytes(byte[], int, int) - Method in interface org.apache.logging.log4j.core.layout.ByteBufferDestination
-
Writes the given data to this ByteBufferDestination.
- writeBytes(ByteBuffer) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- writeBytes(ByteBuffer) - Method in interface org.apache.logging.log4j.core.layout.ByteBufferDestination
-
Writes the given data to this ByteBufferDestination entirely.
- writeCache(OutputStream) - Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginCache
-
Stores the plugin cache to a given OutputStream.
- writeFooter() - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Writes the footer.
- writeFooter() - Method in class org.apache.logging.log4j.core.appender.WriterManager
-
Writes the footer.
- writeFooter(Layout<?>, OutputStream) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- writeHeader(OutputStream) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- writeHeader(Layout<?>, OutputStream) - Method in class org.apache.logging.log4j.core.net.SmtpManager
- writeInternal(LogEvent) - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Deprecated.
- writeInternal(LogEvent, Serializable) - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
Performs the actual writing of the event in an implementation-specific way.
- writeInternal(LogEvent, Serializable) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
- writeInternal(LogEvent, Serializable) - Method in class org.apache.logging.log4j.core.appender.nosql.NoSqlDatabaseManager
- WriterAppender - Class in org.apache.logging.log4j.core.appender
-
Appends log events to a
Writer
. - WriterAppender.Builder<B extends WriterAppender.Builder<B>> - Class in org.apache.logging.log4j.core.appender
-
Builds WriterAppender instances.
- writeReplace() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
Creates a LogEventProxy that can be serialized.
- writeReplace() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
-
Creates a LogEventProxy that can be serialized.
- writeReplace() - Method in class org.apache.logging.log4j.core.Logger
- WriterManager - Class in org.apache.logging.log4j.core.appender
-
Manages a Writer so that it can be shared by multiple Appenders and will allow appenders to reconfigure without requiring a new writer.
- WriterManager(Writer, String, StringLayout, boolean) - Constructor for class org.apache.logging.log4j.core.appender.WriterManager
- writeThrough(LogEvent, Serializable) - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- writeThrough(LogEvent, Serializable) - Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
- writeToDestination(byte[], int, int) - Method in class org.apache.logging.log4j.core.appender.FileManager
-
Overrides
OutputStreamManager.writeToDestination(byte[], int, int)
to add support for file locking. - writeToDestination(byte[], int, int) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
Writes the specified section of the specified byte array to the stream.
- writeToDestination(byte[], int, int) - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
- writeToDestination(byte[], int, int) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- writeToDestination(byte[], int, int) - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
- writeToUnsynchronized(byte[], int, int, ByteBufferDestination) - Static method in class org.apache.logging.log4j.core.layout.ByteBufferDestinationHelper
-
Writes the specified data to the specified destination.
- writeToUnsynchronized(ByteBuffer, ByteBufferDestination) - Static method in class org.apache.logging.log4j.core.layout.ByteBufferDestinationHelper
-
Writes the specified data to the specified destination.
- writeXmlConfiguration(OutputStream) - Method in interface org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder
-
Constructs an XML configuration from this builder.
- writeXmlConfiguration(OutputStream) - Method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
X
- XLARGE - Enum constant in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- XML_NAMESPACE - Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
- XmlConfiguration - Class in org.apache.logging.log4j.core.config.xml
-
Creates a Node hierarchy from an XML file.
- XmlConfiguration(LoggerContext, ConfigurationSource) - Constructor for class org.apache.logging.log4j.core.config.xml.XmlConfiguration
- XmlConfigurationFactory - Class in org.apache.logging.log4j.core.config.xml
-
Factory to construct an XmlConfiguration.
- XmlConfigurationFactory() - Constructor for class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
- XmlConstants - Class in org.apache.logging.log4j.core.jackson
-
Keeps constants separate from any class that may depend on third party jars.
- XmlConstants() - Constructor for class org.apache.logging.log4j.core.jackson.XmlConstants
- XmlLayout - Class in org.apache.logging.log4j.core.layout
-
Appends a series of
event
elements as defined in the Log4j-events.xsd. - XmlLayout(boolean, boolean, boolean, boolean, Charset, boolean) - Constructor for class org.apache.logging.log4j.core.layout.XmlLayout
-
Deprecated.Use
XmlLayout.newBuilder()
instead - XmlLayout.Builder<B extends XmlLayout.Builder<B>> - Class in org.apache.logging.log4j.core.layout
- XmlLogEventParser - Class in org.apache.logging.log4j.core.parser
-
Parses the output from XmlLayout layout into instances of
LogEvent
. - XmlLogEventParser() - Constructor for class org.apache.logging.log4j.core.parser.XmlLogEventParser
- XSMALL - Enum constant in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- XXLARGE - Enum constant in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- XXSMALL - Enum constant in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- XZ - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
Y
- YamlConfiguration - Class in org.apache.logging.log4j.core.config.yaml
- YamlConfiguration(LoggerContext, ConfigurationSource) - Constructor for class org.apache.logging.log4j.core.config.yaml.YamlConfiguration
- YamlConfigurationFactory - Class in org.apache.logging.log4j.core.config.yaml
- YamlConfigurationFactory() - Constructor for class org.apache.logging.log4j.core.config.yaml.YamlConfigurationFactory
- YamlLayout - Class in org.apache.logging.log4j.core.layout
-
Appends a series of YAML events as strings serialized as bytes.
- YamlLayout(Configuration, boolean, boolean, boolean, boolean, boolean, String, String, Charset, boolean) - Constructor for class org.apache.logging.log4j.core.layout.YamlLayout
-
Deprecated.Use
YamlLayout.newBuilder()
instead - YamlLayout.Builder<B extends YamlLayout.Builder<B>> - Class in org.apache.logging.log4j.core.layout
- YamlLogEventParser - Class in org.apache.logging.log4j.core.parser
-
Parses the output from YamlLayout layout into instances of
LogEvent
. - YamlLogEventParser() - Constructor for class org.apache.logging.log4j.core.parser.YamlLogEventParser
- YEAR - Static variable in class org.apache.logging.log4j.core.util.CronExpression
- years - Variable in class org.apache.logging.log4j.core.util.CronExpression
- Yellow(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Yellow
-
Constructs the converter.
- YELLOW - Enum constant in enum org.apache.logging.log4j.core.pattern.AnsiEscape
-
Yellow foreground color.
- YIELD - Enum constant in enum org.apache.logging.log4j.core.async.JCToolsBlockingQueueFactory.WaitStrategy
Z
- ZERO - Static variable in class org.apache.logging.log4j.core.appender.rolling.action.Duration
-
Deprecated.Constant for a duration of zero.
- ZIP - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
- ZipCompressAction - Class in org.apache.logging.log4j.core.appender.rolling.action
-
Compresses a file using Zip compression.
- ZipCompressAction(File, File, boolean, int) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
-
Creates new instance of GzCompressAction.
- ZLIB - Enum constant in enum org.apache.logging.log4j.core.layout.GelfLayout.CompressionType
- ZSTD - Enum constant in enum org.apache.logging.log4j.core.appender.rolling.FileExtension
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
AbstractAppender(String, Filter, Layout, boolean, Property[])
.