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.
- 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, 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
- AbstractCompressAction - Class in org.apache.logging.log4j.core.appender.rolling.action
- AbstractCompressAction(Path, Path) - Constructor for class org.apache.logging.log4j.core.appender.rolling.action.AbstractCompressAction
- AbstractConfiguration - Class in org.apache.logging.log4j.core.config
-
The base Configuration.
- AbstractConfiguration(LoggerContext, ConfigurationSource, PropertyEnvironment, ConfigurableInstanceFactory) - Constructor for class org.apache.logging.log4j.core.config.AbstractConfiguration
- 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
- AbstractContextSelector - Class in org.apache.logging.log4j.core.selector
- AbstractContextSelector(ConfigurableInstanceFactory) - Constructor for class org.apache.logging.log4j.core.selector.AbstractContextSelector
- 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, Layout, boolean, Property[], T) - Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
Instantiates the base appender.
- 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, Layout, 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.
- AbstractFactoryData(Configuration) - Constructor for class org.apache.logging.log4j.core.appender.AbstractManager.AbstractFactoryData
-
Constructs the base factory data.
- AbstractFactoryData(Configuration, int, Layout) - 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, 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, PasswordProvider, String) - Constructor for class org.apache.logging.log4j.core.net.ssl.AbstractKeyStoreConfiguration
- AbstractLayout - Class in org.apache.logging.log4j.core.layout
-
Abstract base class for Layouts.
- AbstractLayout(Configuration, Charset, 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, 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.
- AbstractRolloverStrategy - Class in org.apache.logging.log4j.core.appender.rolling
- AbstractRolloverStrategy(CompressActionFactoryProvider, StrSubstitutor) - Constructor for class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- AbstractSocketManager - Class in org.apache.logging.log4j.core.net
-
Abstract base class for managing sockets.
- AbstractSocketManager(String, OutputStream, InetAddress, String, int, Layout, 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(Configuration, Charset) - Constructor for class org.apache.logging.log4j.core.layout.AbstractStringLayout
- AbstractStringLayout(Configuration, 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<Consumer<Reconfigurable>>) - Constructor for class org.apache.logging.log4j.core.util.AbstractWatcher
- 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, 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(Reconfigurable) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Causes a reconfiguration to take place when the underlying configuration file changes.
- ACCEPT - Enum constant in enum class 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.
- 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(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 class 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.
- addConfigurationStartedListener(Consumer<Configuration>) - Method in class org.apache.logging.log4j.core.LoggerContext
- addConfigurationStoppedListener(Consumer<Configuration>) - Method in class org.apache.logging.log4j.core.LoggerContext
- addExtensionIfAbsent(Class<T>, Supplier<? extends T>) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- addExtensionIfAbsent(Class<T>, Supplier<? extends T>) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Registers a new configuration extension, if it doesn't exist.
- 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.
- 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
- ADDITIVITY - Static variable in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- addLanguage(String) - Method in interface org.apache.logging.log4j.core.config.builder.api.ScriptFileComponentBuilder
- addListener(Consumer<Reconfigurable>) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Add a listener for changes to the source of this configuration.
- addListener(Consumer<Reconfigurable>) - 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
- 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
- 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(Script) - Method in interface org.apache.logging.log4j.core.script.ScriptManager
- addScripts(Node) - Method in interface org.apache.logging.log4j.core.script.ScriptManager
-
Add scripts defined in the configuration.
- 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
- 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 class org.apache.logging.log4j.core.net.Severity
-
Action must be taken immediately.
- algorithm() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyManagerFactoryProperties
-
Returns the value of the
algorithm
record component. - 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
- allowedProtocols() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Returns the value of the
allowedProtocols
record component. - ANNUALLY - Enum constant in enum class org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover annually.
- AnsiEscape - Enum Class in org.apache.logging.log4j.core.pattern
-
Converts text into ANSI escape sequences.
- AnsiTextRenderer - Class in org.apache.logging.log4j.core.pattern
-
Renders an input as ANSI escaped output.
- AnsiTextRenderer(String[], Map<String, String>) - Constructor for class org.apache.logging.log4j.core.pattern.AnsiTextRenderer
- 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.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
- Appender - Interface in org.apache.logging.log4j.core
-
Appends
LogEvent
s. - 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
- apply(Socket) - Method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- 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 - 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.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.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.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.
- AsyncAppender - Class in org.apache.logging.log4j.core.appender
-
Appends to one or more Appenders asynchronously.
- AsyncAppender.Builder - Class in org.apache.logging.log4j.core.appender
- AsyncProperties(boolean) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.AsyncProperties
-
Creates an instance of a
AsyncProperties
record class. - AsyncQueueFullMessageUtil - Class in org.apache.logging.log4j.core.async
-
Consider this class private.
- asyncQueueFullPolicy(PropertyEnvironment, Logger) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- 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. - atLevel(Level) - Method in class org.apache.logging.log4j.core.Logger
- ATTR_CLASS_NAME - Static variable in class org.apache.logging.log4j.core.config.arbiters.ClassArbiter.Builder
- 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_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 class org.apache.logging.log4j.core.net.Facility
-
Security/Authorization messages.
- AuthenticationProperties(Class<? extends AuthorizationProvider>, CoreProperties.BasicAuthenticationProperties) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.AuthenticationProperties
-
Creates an instance of a
AuthenticationProperties
record class. - authorizationProvider(PropertyEnvironment) - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- authorizationProvider(PropertiesUtil) - Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Deprecated.
- 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 class 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 class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
B
- Base64StrLookup - Class in org.apache.logging.log4j.core.lookup
-
Decodes Base64 strings.
- Base64StrLookup() - Constructor for class org.apache.logging.log4j.core.lookup.Base64StrLookup
- basic() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.AuthenticationProperties
-
Returns the value of the
basic
record component. - BasicAuthenticationProperties(String, String, Class<? extends PasswordDecryptor>) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.BasicAuthenticationProperties
-
Creates an instance of a
BasicAuthenticationProperties
record class. - BasicAuthorizationProvider - Class in org.apache.logging.log4j.core.util
-
Provides the Basic Authorization header to a request.
- BasicAuthorizationProvider(CoreProperties.BasicAuthenticationProperties) - Constructor for class org.apache.logging.log4j.core.util.BasicAuthorizationProvider
- BasicContextSelector - Class in org.apache.logging.log4j.core.selector
-
Returns either this Thread's context or the default LoggerContext.
- BasicContextSelector(ConfigurableInstanceFactory) - Constructor for class org.apache.logging.log4j.core.selector.BasicContextSelector
- BEANSHELL - Enum constant in enum class 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 class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Black background color.
- BG_BLUE - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Blue background color.
- BG_BRIGHT_BLACK - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright black background color.
- BG_BRIGHT_BLUE - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright blue background color.
- BG_BRIGHT_CYAN - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright cyan background color.
- BG_BRIGHT_GREEN - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright green background color.
- BG_BRIGHT_MAGENTA - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright magenta background color.
- BG_BRIGHT_RED - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright red background color.
- BG_BRIGHT_WHITE - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright white background color.
- BG_BRIGHT_YELLOW - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright yellow background color.
- BG_CYAN - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Cyan background color.
- BG_GREEN - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Green background color.
- BG_MAGENTA - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Magenta background color.
- BG_RED - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Red background color.
- BG_WHITE - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
White background color.
- BG_YELLOW - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Yellow background color.
- BigDecimalConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.BigDecimalConverter
- BigIntegerConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.BigIntegerConverter
- Black(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Black
-
Constructs the converter.
- BLACK - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Black foreground color.
- BLINK - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Blink general attribute.
- BlockingQueueFactory - 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 class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Blue foreground color.
- BOLD - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bold general attribute.
- Booleans - Class in org.apache.logging.log4j.core.util
-
Boolean helpers.
- BRIGHT - Enum constant in enum class 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 class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright black foreground color.
- BRIGHT_BLUE - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright blue foreground color.
- BRIGHT_CYAN - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright cyan foreground color.
- BRIGHT_GREEN - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright green foreground color.
- BRIGHT_MAGENTA - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright magenta foreground color.
- BRIGHT_RED - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright red foreground color.
- BRIGHT_WHITE - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright white foreground color.
- BRIGHT_YELLOW - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright yellow foreground color.
- BSH - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- BUF_SIZE - Static variable in class org.apache.logging.log4j.core.appender.rolling.action.AbstractCompressAction
- 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.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.nosql.NoSqlAppender.Builder
- build() - Method in class org.apache.logging.log4j.core.appender.OutputStreamAppender.OutputStreamAppenderBuilder
- build() - Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender.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.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.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.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.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.HtmlLayout.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.SyslogLayout.Builder
- build() - Method in class org.apache.logging.log4j.core.Logger.Builder
- build() - Method in class org.apache.logging.log4j.core.LoggerContext.Builder
- 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
-
Deprecated.Builds the object after all configuration has been set.
- build() - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.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
-
Deprecated.Present only for compatibility with Log4j 2 2.x plugins. Use Builder from log4j-plugins.
- 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.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.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.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.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.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.DynamicThresholdFilter.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.filter.ThreadContextMapFilter.Builder
- Builder() - Constructor for class org.apache.logging.log4j.core.filter.TimeFilter.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.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.net.SocketAddress.Builder
- Builder(LogEvent) - Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- Builder(LoggerContext, MessageFactory, FlowMessageFactory, RecyclerFactory, Logger) - Constructor for class org.apache.logging.log4j.core.Logger.Builder
- Builder(ConfigurableInstanceFactory) - Constructor for class org.apache.logging.log4j.core.LoggerContext.Builder
- 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
- 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.CoreTypeConverters.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.
C
- 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.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.
- 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.SecretKeyProvider
- CATEGORY - Static variable in interface org.apache.logging.log4j.core.util.Watcher
- CATEGORY_NAME - Static variable in class org.apache.logging.log4j.core.Core
-
Deprecated.
- 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.
- CharArrayConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.CharArrayConverter
- charMatcher(char) - Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
-
Constructor that creates a matcher from a character.
- charset - Variable in class org.apache.logging.log4j.core.layout.AbstractLayout
-
The character set used for encoding log events.
- CharsetConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.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
- 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.CoreTypeConverters.ClassConverter
- ClassLoaderContextSelector - Class in org.apache.logging.log4j.core.selector
-
This ContextSelector chooses a LoggerContext based upon the ClassLoader of the caller.
- ClassLoaderContextSelector(ConfigurableInstanceFactory) - Constructor for class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- ClassNamePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the class name of the site of the logging request.
- clear() - Method in class org.apache.logging.log4j.core.config.AppenderControlArraySet
-
Atomically sets the values to an empty array and returns the old array.
- 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
- clear() - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
-
Clears all references this event has to other objects.
- clearAppenders() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Removes all Appenders.
- 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 class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- clock() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Returns the value of the
clock
record component. - clock(PropertyEnvironment) - Method in class org.apache.logging.log4j.core.time.ClockFactory
-
Deprecated, for removal: This API element is subject to removal in a future version.
- Clock - Interface in org.apache.logging.log4j.core.time
-
Provides the time stamp used in log events.
- CLOCK - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
Clock daemon.
- ClockFactory - Class in org.apache.logging.log4j.core.time
-
Factory for
Clock
objects. - ClockFactory() - Constructor for class org.apache.logging.log4j.core.time.ClockFactory
- 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.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
. - 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.
- 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. - closeWriter() - Method in class org.apache.logging.log4j.core.appender.WriterManager
- 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.nosql.NoSqlDatabaseManager
- 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
- compatibility() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.Version1Properties
-
Returns the value of the
compatibility
record component. - 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(LoggerContext, 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.
- CompressActionFactory - Interface in org.apache.logging.log4j.core.appender.rolling.action
-
A factory to produce actions that compress log files.
- CompressActionFactoryProvider - Interface in org.apache.logging.log4j.core.appender.rolling.action
-
Interface for plugins that provide additional compression algorithms.
- config - Variable in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
The current Configuration associated with the LoggerConfig.
- 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() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.Version1Properties
-
Returns the value of the
configuration
record component. - Configuration - Interface in org.apache.logging.log4j.core.config
-
Interface that must be implemented to create a configuration.
- ConfigurationAware - Interface in org.apache.logging.log4j.core.config
-
Indicates that a class requests the current Configuration to be injected.
- ConfigurationAwarePostProcessor - Class in org.apache.logging.log4j.core.config
- ConfigurationAwarePostProcessor(Supplier<? extends Configuration>) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationAwarePostProcessor
- 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.
- ConfigurationExtension - Interface in org.apache.logging.log4j.core.config
-
Marker interface used by new child elements of a
Configuration
. - configurationFactory() - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
-
Spring Boot needs a ConfigurationFactory for compatibility.
- configurationFactory(ConfigurationFactory) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- 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<Consumer<Reconfigurable>>, long) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationFileWatcher
- configurationProcessor - Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
The configuration processor for transforming a node tree into plugin instances.
- ConfigurationProcessor - Class in org.apache.logging.log4j.core.config
-
Processes a parsed tree of configuration nodes into configurable plugin objects described by the configuration tree.
- ConfigurationProcessor(ConfigurableInstanceFactory) - Constructor for class org.apache.logging.log4j.core.config.ConfigurationProcessor
- ConfigurationProperties(String, String, Class<? extends ConfigurationFactory>, Level, String, Class<? extends MergeStrategy>, String, boolean, long) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Creates an instance of a
ConfigurationProperties
record class. - 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
- configurationStrSubstitutor(InterpolatorFactory) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- 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.nosql.NoSqlDatabaseManager
- 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 Class in org.apache.logging.log4j.core.appender
-
Enumeration of console destinations.
- Constants - Class in org.apache.logging.log4j.core.util
-
Log4j Constants.
- containsKey(String) - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- context - Variable in class org.apache.logging.log4j.core.selector.BasicContextSelector
- 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.
- contextData() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LogEventProperties
-
Returns the value of the
contextData
record component. - ContextDataFactory - Class in org.apache.logging.log4j.core.impl
-
Factory for creating the StringMap instances used to initialize LogEvents' context data.
- 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
- ContextDataProperties(Class<? extends StringMap>, Class<? extends ContextDataInjector>) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.ContextDataProperties
-
Creates an instance of a
ContextDataProperties
record class. - 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 externally.
- contextMap - Variable in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- 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.
- contextShutdown(LoggerContext) - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
- contextShutdown(LoggerContext) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.BigDecimalConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.BigIntegerConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.ByteArrayConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.CharArrayConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.CharsetConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.ClassConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.CronExpressionConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.DurationConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.FileConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.InetAddressConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.LevelConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.PathConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.PatternConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.SecurityProviderConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.UriConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.UrlConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.UuidConverter
- convert(String) - Method in class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.ZoneIdConverter
- ConverterKeys - Annotation Interface in org.apache.logging.log4j.core.pattern
-
Identifies the keys that are associated with a PatternConverter.
- convertToNode(Node, Component) - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- copy(PathCondition...) - Static method in interface org.apache.logging.log4j.core.appender.rolling.action.PathCondition
-
Copies the given input.
- 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
- CoreDefaultBundle - Class in org.apache.logging.log4j.core.impl
-
Provides instance binding defaults.
- CoreDefaultBundle() - Constructor for class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- CoreInstanceFactoryPostProcessor - Class in org.apache.logging.log4j.core.impl
-
Post-processor that registers
CoreDefaultBundle
for default bindings used in Log4j and the services specified by properties. - CoreInstanceFactoryPostProcessor() - Constructor for class org.apache.logging.log4j.core.impl.CoreInstanceFactoryPostProcessor
- corePlugins - Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Core plugins.
- CoreProperties - Class in org.apache.logging.log4j.core.impl
- CoreProperties.AsyncProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.AuthenticationProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.BasicAuthenticationProperties - Record Class in org.apache.logging.log4j.core.impl
-
Configuration properties for HTTP Basic authentication.
- CoreProperties.ConfigurationProperties - Record Class in org.apache.logging.log4j.core.impl
-
Properties related to the retrieval of a configuration.
- CoreProperties.ContextDataProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.GarbageCollectionProperties - Record Class in org.apache.logging.log4j.core.impl
-
Properties to tune garbage collection.
- CoreProperties.KeyManagerFactoryProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.KeyStoreProperties - Record Class in org.apache.logging.log4j.core.impl
-
A container for keystore configuration data.
- CoreProperties.LoaderProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.LogEventProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.LoggerContextProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.MessageProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.QueueFullPolicyProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.StatusLoggerProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.ThreadContextMapProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.ThreadContextProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.TransportSecurityProperties - Record Class in org.apache.logging.log4j.core.impl
-
Stores the configuration of the default SslConfiguration.
- CoreProperties.UuidProperties - Record Class in org.apache.logging.log4j.core.impl
- CoreProperties.Version1Properties - Record Class in org.apache.logging.log4j.core.impl
-
Configuration properties for the Log4j 1.x bridge.
- CoreTypeConverters - Class in org.apache.logging.log4j.core.config.plugins.convert
-
General
TypeConverter
implementations. - CoreTypeConverters() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters
- CoreTypeConverters.BigDecimalConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Parses a
String
into aBigDecimal
. - CoreTypeConverters.BigIntegerConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Parses a
String
into aBigInteger
. - CoreTypeConverters.ByteArrayConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Converts a
String
into abyte[]
. - CoreTypeConverters.CharArrayConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Converts a
String
into achar[]
. - CoreTypeConverters.CharsetConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- CoreTypeConverters.ClassConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- CoreTypeConverters.CronExpressionConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- CoreTypeConverters.DurationConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- CoreTypeConverters.FileConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- CoreTypeConverters.InetAddressConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Converts a
String
into anInetAddress
. - CoreTypeConverters.LevelConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
-
Converts a
String
into a Log4jLevel
. - CoreTypeConverters.PathConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- CoreTypeConverters.PatternConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- CoreTypeConverters.SecurityProviderConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- CoreTypeConverters.UriConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- CoreTypeConverters.UrlConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- CoreTypeConverters.UuidConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- CoreTypeConverters.ZoneIdConverter - Class in org.apache.logging.log4j.core.config.plugins.convert
- 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(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.LinkedTransferQueueFactory
- create(CoreProperties.QueueFullPolicyProperties, Logger) - Static method in class org.apache.logging.log4j.core.async.AsyncQueueFullPolicyFactory
-
Creates and returns
AsyncQueueFullPolicy
instances based on user-specified system properties. - 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
- 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.NullAppender
- createAppender(String) - Static method in class org.apache.logging.log4j.core.appender.CountingNoOpAppender
-
Creates a CountingNoOp Appender.
- createAppender(String, boolean, AppenderRef[], Configuration, RewritePolicy, Filter) - Static method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
-
Creates a RewriteAppender.
- createAppender(String, String, String[], int, Configuration, Filter, boolean) - Static method in class org.apache.logging.log4j.core.appender.FailoverAppender
-
Create a Failover Appender.
- createAppender(String, String) - Method in class org.apache.logging.log4j.core.appender.AppenderSet
- 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(Script) - Method in interface org.apache.logging.log4j.core.script.ScriptManager
- createCompressAction(String, String, Map<String, String>) - Method in interface org.apache.logging.log4j.core.appender.rolling.action.CompressActionFactory
-
Returns an action that compresses a file.
- createCompressAction(Path, Path, Map<String, String>) - Method in interface org.apache.logging.log4j.core.appender.rolling.action.CompressActionFactory
-
Returns an action that compresses a file.
- 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
-
Deprecated, for removal: This API element is subject to removal in a future version.
- createConnection(URL, long, SslConfiguration, AuthorizationProvider, PropertyEnvironment) - Static method in class org.apache.logging.log4j.core.net.UrlConnectionFactory
- createContext() - Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
- createContext(String, URI, ClassLoader) - Method in class org.apache.logging.log4j.core.selector.AbstractContextSelector
- 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) - Static method in class org.apache.logging.log4j.core.appender.ConsoleAppender
- createDefaultLayout() - Static method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Creates a PatternLayout using the default options.
- createDefaultLayout(Configuration) - Static method in class org.apache.logging.log4j.core.layout.PatternLayout
-
Creates a PatternLayout using the default options and the given configuration.
- createDeleteAction(String, boolean, int, boolean, PathSorter, PathCondition[], ScriptConditional, 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 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, 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
- createFactoryForAlgorithm(String) - Method in interface org.apache.logging.log4j.core.appender.rolling.action.CompressActionFactoryProvider
-
Creates the appropriate
CompressActionFactory
for the given compression algorithm. - createFactoryForFileName(String) - Method in interface org.apache.logging.log4j.core.appender.rolling.action.CompressActionFactoryProvider
-
Creates the appropriate
CompressActionFactory
for the given file name. - 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, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
Creates the MarkerFilter.
- 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(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.
- createFilter(KeyValuePair[], String, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.MapFilter
- createFilter(Configuration, KeyValuePair[], String, Filter.Result, Filter.Result) - Static method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
Creates the StructuredDataFilter.
- createFilters(Filter[]) - Static method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
Creates a CompositeFilter.
- 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
. - createInstanceFactory() - Method in class org.apache.logging.log4j.core.LoggerContext.Builder
- createKeyStoreConfiguration(String, char[], String, Path, String, String) - Static method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
-
Creates a KeyStoreConfiguration.
- createKeyStoreConfiguration(String, char[], String, Path, String, String) - Static method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
-
Creates a KeyStoreConfiguration.
- 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. - 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, 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 class 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 class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Creates a Map from a source array where values are ANSI escape sequences.
- 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(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, 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) - Static method in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
-
Create a SizeBasedTriggeringPolicy.
- 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.
- createProperty(String, String) - 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
- createRegexReplacement(Pattern, String) - Static method in class org.apache.logging.log4j.core.pattern.RegexReplacement
-
Create a RegexReplacement.
- createRoute(String, String, Node) - Static method in class org.apache.logging.log4j.core.appender.routing.Route
-
Create the Route.
- createScriptManager(Configuration, WatchManager) - Method in interface org.apache.logging.log4j.core.script.ScriptManagerFactory
- createSequence(String...) - Static method in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Creates an ANSI escape sequence from the given AnsiEscape names.
- 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, 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.
- createStringBuilderRecycler(RecyclerFactory) - Static method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- createThreadFactory(String) - Static method in class org.apache.logging.log4j.core.util.Log4jThreadFactory
-
Creates a new thread factory.
- CRITICAL - Enum constant in enum class org.apache.logging.log4j.core.net.Severity
-
Critical conditions.
- CRON - Enum constant in enum class 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.CoreTypeConverters.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 class org.apache.logging.log4j.core.pattern.AnsiEscape
-
The Control Sequence Introducer (or Control Sequence Initiator).
- currentTimeMillis() - Method in interface org.apache.logging.log4j.core.time.Clock
-
Returns the time in milliseconds since the epoch.
- 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.
- Cyan(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Cyan
-
Constructs the converter.
- CYAN - Enum constant in enum class 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 class org.apache.logging.log4j.core.net.Facility
-
System daemons.
- DAILY - Enum constant in enum class 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, int) - Constructor for class org.apache.logging.log4j.core.net.DatagramSocketManager
-
The Constructor.
- 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.
- 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 class 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 class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Default foreground color.
- 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_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_ESCAPE - Static variable in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Constant for the default escape character.
- DEFAULT_EXCEPTION_STYLE_MAP - Static variable in class org.apache.logging.log4j.core.pattern.AnsiTextRenderer
- DEFAULT_FONT_FAMILY - Static variable in class org.apache.logging.log4j.core.layout.HtmlLayout
-
Default font family: "arial,sans-serif".
- DEFAULT_ID - Static variable in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
The default event id.
- 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_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_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_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_PROCESSID - Static variable in class org.apache.logging.log4j.core.util.ProcessIdUtil
- DEFAULT_RECONNECT_INTERVAL_MILLIS - Static variable in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
- 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_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 interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.Specifies the default boolean value to use.
- defaultByte() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.Specifies the default byte value to use.
- defaultChar() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.Specifies the default byte value to use.
- defaultClass() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.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
-
Deprecated.
- DefaultConfiguration(LoggerContext) - 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
- DefaultConfigurationFactory - Class in org.apache.logging.log4j.core.config
-
Default factory for using a plugin selected based on the configuration source.
- DefaultConfigurationFactory() - Constructor for class org.apache.logging.log4j.core.config.DefaultConfigurationFactory
- defaultContext - Variable in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- defaultContextDataInjector() - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- defaultContextName() - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- defaultContextSelector(ConfigurableInstanceFactory) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- defaultDouble() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.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
- defaultFloat() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.Specifies the default floating point value to use.
- defaultFlowMessageFactory() - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- defaultInt() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.Specifies the default integer value to use.
- 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 interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.Specifies the default long value to use.
- defaultMergeStrategy() - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- 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
- defaultMessageFactory(RecyclerFactory) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- defaultNanoClock() - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- 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
- defaultRecyclerFactory(PropertyEnvironment, ClassLoader, Logger) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- 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.Builder - Class in org.apache.logging.log4j.core.appender.rolling
-
Builds DefaultRolloverStrategy instances.
- defaultShort() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.Specifies the default long value to use.
- defaultShutdownCallbackRegistry() - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- 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
. - defaultStatusLevel(PropertyEnvironment) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- defaultStatusLogger() - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- defaultString() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.Specifies the default value this attribute should use if none is provided or if the provided value is invalid.
- defaultValue() - Static method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyStoreProperties
- defaultValue() - Static method in record class org.apache.logging.log4j.core.impl.CoreProperties.QueueFullPolicyProperties
- defaultValue() - Static method in record class org.apache.logging.log4j.core.impl.CoreProperties.TransportSecurityProperties
- 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.
- 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 class 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
- DIM - Enum constant in enum class 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.Builder - Class in org.apache.logging.log4j.core.appender.rolling
-
Builds DirectWriteRolloverStrategy instances.
- DISCARD - Enum constant in enum class 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.
- discardThreshold() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.QueueFullPolicyProperties
-
Returns the value of the
discardThreshold
record component. - doConfigure() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- doConfigure() - Method in class org.apache.logging.log4j.core.config.DefaultConfiguration
- doLog(String, StackTraceElement, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.core.Logger
- 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).
- DurationConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.DurationConverter
- DynamicThresholdFilter - Class in org.apache.logging.log4j.core.filter
-
Compares against a log level that is associated with a context value.
- DynamicThresholdFilter.Builder - Class in org.apache.logging.log4j.core.filter
E
- EJS - Enum constant in enum class 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
- EMERG - Enum constant in enum class org.apache.logging.log4j.core.net.Severity
-
System is unusable.
- 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
-
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
-
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.
- 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() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextMapProperties
-
Returns the value of the
enable
record component. - enable() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextProperties
-
Returns the value of the
enable
record component. - 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. - enableDirectEncoders() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.GarbageCollectionProperties
-
Returns the value of the
enableDirectEncoders
record component. - enableStack() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextProperties
-
Returns the value of the
enableStack
record component. - 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
-
Encodes the given source to the given destination.
- 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.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.
- 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.
- encoderByteBufferSize() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.GarbageCollectionProperties
-
Returns the value of the
encoderByteBufferSize
record component. - encoderCharBufferSize() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.GarbageCollectionProperties
-
Returns the value of the
encoderCharBufferSize
record component. - 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.
- 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 class org.apache.logging.log4j.core.async.EventRoute
-
Enqueues the event for asynchronous logging in the background thread.
- 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
- 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
- EPOCH_MILLIS - Enum constant in enum class 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 class 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 class 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 class org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Formats nanoseconds since epoch; e.g.,
1581082727982123456
. - EPOCH_SECONDS - Enum constant in enum class 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 class 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 class 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.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 record class org.apache.logging.log4j.core.impl.CoreProperties.AsyncProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.AuthenticationProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.BasicAuthenticationProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ContextDataProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.GarbageCollectionProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyManagerFactoryProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyStoreProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoaderProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LogEventProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoggerContextProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.MessageProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.QueueFullPolicyProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.StatusLoggerProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextMapProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.TransportSecurityProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.UuidProperties
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.Version1Properties
-
Indicates whether some other object is "equal to" this one.
- 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.MementoLogEvent
- 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.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
-
Logs an error message to the StatusLogger.
- 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 class 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_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.
- 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 Class 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 class org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover every millisecond.
- EVERY_MINUTE - Enum constant in enum class org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover every minute.
- EVERY_SECOND - Enum constant in enum class 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.AbstractCompressAction
- 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.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(File, File, boolean) - Static method in class org.apache.logging.log4j.core.appender.rolling.action.FileRenameAction
-
Rename file.
- execute(String, ScriptBindings) - Method in interface 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
- 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 Class in org.apache.logging.log4j.core.util
F
- Facility - Enum Class in org.apache.logging.log4j.core.net
-
The facility codes used by the Syslog system.
- factory() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Returns the value of the
factory
record component. - factory() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LogEventProperties
-
Returns the value of the
factory
record component. - factory() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoggerContextProperties
-
Returns the value of the
factory
record component. - factory() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.MessageProperties
-
Returns the value of the
factory
record component. - 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.
- FG_BLACK - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Black foreground color.
- FG_BLUE - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Blue foreground color.
- FG_BRIGHT_BLACK - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright black foreground color.
- FG_BRIGHT_BLUE - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright blue foreground color.
- FG_BRIGHT_CYAN - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright cyan foreground color.
- FG_BRIGHT_GREEN - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright green foreground color.
- FG_BRIGHT_MAGENTA - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright magenta foreground color.
- FG_BRIGHT_RED - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright red foreground color.
- FG_BRIGHT_WHITE - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright white foreground color.
- FG_BRIGHT_YELLOW - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Bright yellow foreground color.
- FG_CYAN - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Cyan foreground color.
- FG_DEFAULT - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Default foreground color.
- FG_GREEN - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Green foreground color.
- FG_MAGENTA - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Magenta foreground color.
- FG_RED - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Red foreground color.
- FG_WHITE - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
White foreground color.
- FG_YELLOW - Enum constant in enum class 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.CoreTypeConverters.FileConverter
- FileDatePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats a date by delegating to
DatePatternConverter
. - 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(LoggerContext, String, OutputStream, boolean, boolean, boolean, String, Layout, 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 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.NeutralFilter
- 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.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.NeutralFilter
- 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.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.NeutralFilter
- 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.NeutralFilter
- 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.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.NeutralFilter
- 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.NeutralFilter
- 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.NeutralFilter
- 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.NeutralFilter
- 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.NeutralFilter
- 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.NeutralFilter
- 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.NeutralFilter
- 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.NeutralFilter
- 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.NeutralFilter
- 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.NeutralFilter
- 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.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 Class 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.
- 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.
- 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.impl.MutableLogEvent
- ForGarbageFreeThreadContextMap() - Constructor for class org.apache.logging.log4j.core.impl.ThreadContextDataInjector.ForGarbageFreeThreadContextMap
- 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(Object, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- format(Object, StringBuilder) - Method in class org.apache.logging.log4j.core.pattern.FileDatePatternConverter
- 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(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.FileDatePatternConverter
- 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(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_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.
- 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.
- formatMessagesInBackground() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.AsyncProperties
-
Returns the value of the
formatMessagesInBackground
record component. - 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.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 class org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
- formatXml(Source, Result) - Static method in class org.apache.logging.log4j.core.config.builder.impl.DefaultConfigurationBuilder
- FREEMARKER - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- freeze() - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- 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 class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- FTP - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
FTP daemon.
- FullLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Format the event's line location information.
G
- GarbageCollectionProperties(int, int, boolean, int, int, int) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.GarbageCollectionProperties
-
Creates an instance of a
GarbageCollectionProperties
record class. - garbageFree() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextMapProperties
-
Returns the value of the
garbageFree
record component. - get() - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified.Builder
- 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.filter.DynamicThresholdFilter.Builder
- get() - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter.Builder
- get() - Method in class org.apache.logging.log4j.core.filter.TimeFilter.Builder
- get() - Method in class org.apache.logging.log4j.core.Logger
- get() - Method in interface org.apache.logging.log4j.core.util.Builder
-
Deprecated.
- 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.
- getActualMessageFactory() - Method in class org.apache.logging.log4j.core.Logger.Builder
- getActualTrafficClass() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- 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
- getAlgorithmName() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractCompressAction
-
The name of this compression algorithm.
- getAlgorithmName() - Method in interface org.apache.logging.log4j.core.appender.rolling.action.CompressActionFactory
-
The name of this compression algorithm.
- getAliases(PluginAliases) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginAliasesProvider
-
Deprecated.
- 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 interface 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.
- 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.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.
- 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.
- 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
- getAuthorizationProvider(CoreProperties.AuthenticationProperties) - Static method in interface org.apache.logging.log4j.core.util.AuthorizationProvider
- 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.
- 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.
- 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 class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- getByLanguage(String) - Static method in enum class 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.
- getCharset() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
- getCharset() - Method in class org.apache.logging.log4j.core.layout.AbstractLayout
- getCharset() - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- getCharset() - Method in interface org.apache.logging.log4j.core.Layout
-
Returns the character set used for encoding log events.
- getCharsetName() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- 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
- getClock() - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- getClock() - Static method in class org.apache.logging.log4j.core.time.ClockFactory
-
Deprecated.use dependency injection instead to obtain a
Clock
instance - getCode() - Method in enum class org.apache.logging.log4j.core.net.Facility
-
Retrieve the value of the enumeration.
- getCode() - Method in enum class org.apache.logging.log4j.core.net.Severity
-
Returns the severity code.
- getCode() - Method in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Gets the escape code.
- getComponent(String) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getComponent(String) - Method in interface org.apache.logging.log4j.core.config.Configuration
- getComponent(Key<T>) - Method in interface org.apache.logging.log4j.core.config.Configuration
- getComponents() - Method in class org.apache.logging.log4j.core.config.builder.api.Component
- getCompressActionFactory() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- getCompressActionFactory() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- 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
- getConfigLocation() - Method in class org.apache.logging.log4j.core.LoggerContext.Builder
- getConfigLocation() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Returns the initial configuration location or
null
. - getConfigs() - Method in class org.apache.logging.log4j.core.filter.mutable.KeyValuePairConfig
- 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.config.LoggerConfig
- 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(String, URI) - Method in class org.apache.logging.log4j.core.LoggerContext
- getConfiguration(String, URI, ClassLoader) - Method in class org.apache.logging.log4j.core.LoggerContext
- getConfiguration(ConfigurationSource) - Method in class org.apache.logging.log4j.core.LoggerContext
- getConfiguration(LoggerContext, String, URI) - Method in interface org.apache.logging.log4j.core.config.URIConfigurationFactory
- getConfiguration(LoggerContext, String, URI, ClassLoader) - Method in interface org.apache.logging.log4j.core.config.URIConfigurationFactory
- getConfiguration(LoggerContext, String, URI) - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Returns the Configuration.
- getConfiguration(LoggerContext, String, URI) - Method in class org.apache.logging.log4j.core.config.DefaultConfigurationFactory
-
Default Factory Constructor.
- 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.DefaultConfigurationFactory
- getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.json.JsonConfigurationFactory
- getConfiguration(LoggerContext, ConfigurationSource) - Method in interface org.apache.logging.log4j.core.config.URIConfigurationFactory
- getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
-
Returns the Configuration.
- 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 interface org.apache.logging.log4j.core.appender.nosql.NoSqlProvider
-
Obtains a connection from this provider.
- 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 interface org.apache.logging.log4j.core.Layout
-
Returns a description of the content format.
- 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.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.AbstractStringLayout
- getContentType() - Method in interface org.apache.logging.log4j.core.Layout
-
Returns the content type output by this layout.
- getContentType() - Method in class org.apache.logging.log4j.core.layout.HtmlLayout
- getContext() - Method in class org.apache.logging.log4j.core.Logger.Builder
- 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.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, 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, 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.impl.Log4jLogEvent
-
Returns the
ReadOnlyStringMap
containing context data key-value pairs. - getContextData() - Method in class org.apache.logging.log4j.core.impl.MementoLogEvent
- 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. - getContextData() - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- getContextName() - Method in class org.apache.logging.log4j.core.LoggerContext.Builder
- getContextStack() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- 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.MementoLogEvent
- 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
- getCorePlugins() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- 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. - 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 class org.apache.logging.log4j.core.appender.ConsoleAppender.Target
- getDefaultId() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- getDefaultLookup() - Method in class org.apache.logging.log4j.core.lookup.Interpolator
- getDefaultPrefix() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- getDefaultPrefix() - Method in interface org.apache.logging.log4j.core.config.URIConfigurationFactory
-
The prefix to use for automatic discovery of configuration files.
- 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 class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Gets the default style.
- getDefaultValue(PluginAttribute, StringValueResolver, Type, TypeConverter<T>) - Method in class org.apache.logging.log4j.core.config.plugins.util.LegacyPluginAttributeFactoryResolver
-
Deprecated.
- getDefaultValue(PluginBuilderAttribute, StringValueResolver, Type, TypeConverter<T>) - Method in class org.apache.logging.log4j.core.config.plugins.util.LegacyPluginBuilderAttributeFactoryResolver
-
Deprecated.
- 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.FileRenameAction
-
Gets the destination.
- getDiscardCount(AsyncQueueFullPolicy) - Static method in class org.apache.logging.log4j.core.async.DiscardingAsyncQueueFullPolicy
- getDiscardIfAllFieldsAreEmpty() - Method in class org.apache.logging.log4j.core.layout.LoggerFields
- getEligibleFiles(String, String) - Method in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- 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
- getEndIndex() - Method in class org.apache.logging.log4j.core.util.ObjectArrayIterator
-
Gets the end index to loop to.
- getEnterpriseNumber() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- getEnterpriseNumber() - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- getEnvironment() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getEnvironment() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns the context properties associated with the logger context for this configuration.
- getEnvironment() - Method in class org.apache.logging.log4j.core.LoggerContext
- 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
- 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
. - 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
- getEventSerializer() - Method in class org.apache.logging.log4j.core.layout.PatternLayout
- 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.
- getExpressionSummary() - Method in class org.apache.logging.log4j.core.util.CronExpression
- getExtension() - Method in interface org.apache.logging.log4j.core.appender.rolling.action.CompressActionFactory
-
Returns the natural file extension for this compression algorithm.
- getExtension() - Method in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- getExtension(Class<T>) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getExtension(Class<T>) - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns an extension of the given type.
- getExternalContext() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Returns the external context.
- 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.
- getFactory(Key<T>) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getFactory(Key<T>) - Method in interface org.apache.logging.log4j.core.config.Configuration
- getFactory(ResolvableKey<Configuration>, InstanceFactory) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginConfigurationFactoryResolver
- getFactory(ResolvableKey<LoggerContext>, InstanceFactory) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginLoggerContextFactoryResolver
- getFactory(ResolvableKey<Node>, InstanceFactory) - Method in class org.apache.logging.log4j.core.config.plugins.util.LegacyPluginNodeFactoryResolver
-
Deprecated.
- 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(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, 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, Configuration) - Static method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
Returns the RandomAccessFileManager.
- getFileManager(String, boolean, boolean, int, String, Layout, LoggerContext) - Static method in class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
-
Returns the MemoryMappedFileManager.
- getFileManager(String, String, boolean, boolean, TriggeringPolicy, RolloverStrategy, String, Layout, 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.
- 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.
- 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
- getFlowMessageFactory() - Method in class org.apache.logging.log4j.core.Logger.Builder
- getFontSize() - Method in enum class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- getFontSize(String) - Static method in enum class 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.
- 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.impl.MementoMessage
- getFormat() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- 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
- getFormattingInfo() - Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
- getFrequency() - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- 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.
- getHeaders() - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- 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.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.
- 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
- 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
-
Deprecated, for removal: This API element is subject to removal in a future version.
- 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.lookup.JmxRuntimeInputArgumentsLookup
- getInstance() - Static method in class org.apache.logging.log4j.core.pattern.PlainTextRenderer
- getInstanceFactory() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- getInstanceFactory() - Method in class org.apache.logging.log4j.core.LoggerContext
-
Gets the InstanceFactory.
- getInstant() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- 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.MementoLogEvent
- 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.
- getKey() - Method in class org.apache.logging.log4j.core.appender.routing.Route
-
Returns the key for this Route.
- getKey() - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- getKey() - Method in class org.apache.logging.log4j.core.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 interface org.apache.logging.log4j.core.script.Script
- getLanguage() - Method in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- 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.AbstractDatabaseManager
- getLayout() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- getLayout() - Method in interface org.apache.logging.log4j.core.Appender
-
Returns the Layout used by this Appender if applicable.
- 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.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.MementoLogEvent
- getLevel() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- 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.
- 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
- getLocale() - Method in class org.apache.logging.log4j.core.lookup.JavaLookup
-
Accessible through the Lookup key
locale
. - 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.
- getLocalIps() - Static method in class org.apache.logging.log4j.core.util.NetUtils
-
Returns all the local host names and ip addresses.
- 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.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. - getLocation(String, StackTraceElement, boolean) - Static method in class org.apache.logging.log4j.core.async.InternalAsyncUtil
-
Computes the location of the logging call
- getLogEventFactory() - Method in interface org.apache.logging.log4j.core.config.Configuration
- getLogEventFactory() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Returns the LogEventFactory.
- getLogger(String) - Method in class org.apache.logging.log4j.core.config.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.
- getLoggerBuilderClass() - Method in class org.apache.logging.log4j.core.LoggerContext
- 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.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.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.
- 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.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.MementoLogEvent
- 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.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.MementoLogEvent
- 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
-
Gets the LoggerRegistry.
- 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(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.
- getMap() - Method in class org.apache.logging.log4j.core.config.Loggers
- 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.impl.Log4jLogEvent
-
Returns the Marker associated with the event, or null.
- getMarker() - Method in class org.apache.logging.log4j.core.impl.MementoLogEvent
- 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.
- 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.impl.Log4jLogEvent
-
Returns the Message associated with the event.
- getMessage() - Method in class org.apache.logging.log4j.core.impl.MementoLogEvent
- getMessage() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- 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
- 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
- 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.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.Property
-
Returns the property name.
- getName() - Method in class org.apache.logging.log4j.core.Logger.Builder
- 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 class org.apache.logging.log4j.core.pattern.FileDatePatternConverter
- getName() - Method in interface org.apache.logging.log4j.core.pattern.PatternConverter
-
Returns the name of the converter.
- getName() - Method in interface org.apache.logging.log4j.core.script.Script
- 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. - 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.impl.Log4jLogEvent
- getNanoTime() - Method in class org.apache.logging.log4j.core.impl.MementoLogEvent
- 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<?>, 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. - getObject(String) - Method in class org.apache.logging.log4j.core.LoggerContext
- 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
- getOrCreateManager(String, ManagerFactory<M, D>, D) - Method in class org.apache.logging.log4j.core.appender.ManagerRegistry
- 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.impl.MutableLogEvent
- 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.Logger
-
This method is only used for 1.x compatibility.
- 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
- 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.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 class org.apache.logging.log4j.core.pattern.FileDatePatternConverter
- 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
- getPluginType() - Method in class org.apache.logging.log4j.core.config.builder.api.Component
- 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 class 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.
- getProcessId() - Static method in class org.apache.logging.log4j.core.util.ProcessIdUtil
- 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.config.AbstractConfiguration
- getProperties() - Method in interface org.apache.logging.log4j.core.config.Configuration
-
Returns the configuration properties.
- getProperties() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- getProperties() - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- getProperties() - Method in class org.apache.logging.log4j.core.lookup.PropertiesLookup
-
Gets the property map.
- 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
- getQueueRemainingCapacity() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
- getQueueSize() - Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
Returns the number of elements in the queue.
- 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
- getReconnectionDelayMillis() - Method in class org.apache.logging.log4j.core.net.TcpSocketManager
- getRecyclerFactory() - Method in interface org.apache.logging.log4j.core.config.Configuration
- getRecyclerFactory() - Method in class org.apache.logging.log4j.core.Logger.Builder
- 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
. - 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. - 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, 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(String) - Method in interface 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 interface org.apache.logging.log4j.core.script.Script
- getSdId() - Method in class org.apache.logging.log4j.core.layout.LoggerFields
- 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 class 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
- 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, int, SocketOptions) - Static method in class org.apache.logging.log4j.core.net.TcpSocketManager
-
Obtains a TcpSocketManager.
- getSocketManager(String, int, Layout, int) - Static method in class org.apache.logging.log4j.core.net.DatagramSocketManager
-
Obtain a SocketManager.
- getSocketManager(SslConfiguration, String, int, int, int, boolean, Layout, 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.FileRenameAction
-
Gets the source.
- 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.MementoLogEvent
- 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 the logging call or computes it.
- 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.
- getSpecifiedName(PluginAttribute) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginAttributeNameProvider
-
Deprecated.
- getSpecifiedName(PluginBuilderAttribute) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginBuilderAttributeNameProvider
-
Deprecated.
- getSpecifiedName(PluginElement) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginElementNameProvider
-
Deprecated.
- getSpecifiedName(PluginValue) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginValueNameProvider
-
Deprecated.
- 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(PropertyEnvironment) - Static method in class org.apache.logging.log4j.core.net.ssl.SslConfigurationFactory
- getSslContext() - Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
- 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
- getStatusConfiguration() - Method in class org.apache.logging.log4j.core.config.builder.impl.BuiltConfiguration
- getStatusLogger() - Static method in class org.apache.logging.log4j.core.AbstractLifeCycle
-
Gets the status logger.
- getStatusLogger() - Method in class org.apache.logging.log4j.core.Logger.Builder
- getStrategy() - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- 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. - 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.FileDatePatternConverter
- 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.AnsiTextRenderer
- 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
- getSupportedExtensions() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- getSupportedExtensions() - Method in interface org.apache.logging.log4j.core.config.URIConfigurationFactory
-
A list of supported file extensions.
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.DefaultConfigurationFactory
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.json.JsonConfigurationFactory
- getSupportedTypes() - Method in class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
-
Returns the file suffixes for XML files.
- 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.
- getTarget() - Method in class org.apache.logging.log4j.core.appender.ConsoleAppender
- getTarget() - Method in class org.apache.logging.log4j.core.appender.OutputStreamAppender.Builder
- 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
- getTestPrefix() - Method in interface org.apache.logging.log4j.core.config.URIConfigurationFactory
-
The prefix to use for automatic discovery of test configuration files.
- 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.
- getThreadContextMap() - Method in class org.apache.logging.log4j.core.impl.Log4jProvider
- 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.impl.Log4jLogEvent
- getThreadId() - Method in class org.apache.logging.log4j.core.impl.MementoLogEvent
- 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.impl.Log4jLogEvent
-
Returns the name of the Thread on which the event was generated.
- getThreadName() - Method in class org.apache.logging.log4j.core.impl.MementoLogEvent
- 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.impl.Log4jLogEvent
- getThreadPriority() - Method in class org.apache.logging.log4j.core.impl.MementoLogEvent
- 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.impl.MementoMessage
-
Always returns null.
- getThrowable() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- getThrown() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- 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.MementoLogEvent
- 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.
- 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.
- getTimeMillis() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- 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.MementoLogEvent
- 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.pattern.FileDatePatternConverter
- 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 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.
- 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
- getTypeConverter() - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- 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.
- getValue() - Method in class org.apache.logging.log4j.core.config.builder.api.Component
- getValue() - Method in class org.apache.logging.log4j.core.config.Property
-
Returns the property value.
- 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(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 interface org.apache.logging.log4j.core.config.URIConfigurationFactory
-
The version of the configuration format.
- getVirtualMachine() - Method in class org.apache.logging.log4j.core.lookup.JavaLookup
-
Accessible through the Lookup key
vm
. - 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
- Green(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Green
-
Constructs the converter.
- GREEN - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Green foreground color.
- GROOVY - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- GVY - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
H
- 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
- 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.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.
- 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.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 record class org.apache.logging.log4j.core.impl.CoreProperties.AsyncProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.AuthenticationProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.BasicAuthenticationProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ContextDataProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.GarbageCollectionProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyManagerFactoryProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyStoreProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoaderProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LogEventProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoggerContextProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.MessageProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.QueueFullPolicyProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.StatusLoggerProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextMapProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.TransportSecurityProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.UuidProperties
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.Version1Properties
-
Returns a hash code value for this object.
- 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.MementoLogEvent
- 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.time.MutableInstant
- 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, Class<? extends MessageFactory>) - 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.
- hasManager(String) - Static method in class org.apache.logging.log4j.core.appender.AbstractManager
-
Determines if a Manager with the specified name exists.
- hasManager(String) - Method in class org.apache.logging.log4j.core.appender.ManagerRegistry
- 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
- HIDDEN - Enum constant in enum class 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
- HOURLY - Enum constant in enum class org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover every hour.
- HS - Enum constant in enum class 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 Class 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<Consumer<Reconfigurable>>, long) - Constructor for class org.apache.logging.log4j.core.config.HttpWatcher
I
- 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.
- ignoreTccl() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoaderProperties
-
Returns the value of the
ignoreTccl
record component. - 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() - Method in class org.apache.logging.log4j.core.LoggerContext
-
If
true
loggers will include location by default. - includeLocation(Boolean, Configuration) - Static method in class org.apache.logging.log4j.core.config.LoggerConfig
- 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.CoreTypeConverters.InetAddressConverter
- INFO - Enum constant in enum class org.apache.logging.log4j.core.net.Severity
-
Informational messages.
- 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(Clock) - Method in class org.apache.logging.log4j.core.time.MutableInstant
- initFrom(Instant) - 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.
- initialCapacity() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextMapProperties
-
Returns the value of the
initialCapacity
record component. - 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(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.
- initializeBuilder(Log4jLogEvent.Builder) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- initializeBuilder(Log4jLogEvent.Builder) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
-
Initializes the specified
Log4jLogEvent.Builder
from thisReusableLogEvent
. - INITIALIZED - Enum constant in enum class 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 class org.apache.logging.log4j.core.LifeCycle.State
-
Object is in its initial state and not yet initialized.
- initialReusableMessageSize() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.GarbageCollectionProperties
-
Returns the value of the
initialReusableMessageSize
record component. - 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.
- injector() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ContextDataProperties
-
Returns the value of the
injector
record component. - 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 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.filter.NeutralFilter
- 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.
- instanceFactory - Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
The instance factory for this configuration.
- instanceFactory - Variable in class org.apache.logging.log4j.core.selector.AbstractContextSelector
- 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(String, Class<T>, Configuration, Reconfigurable, List<Consumer<Reconfigurable>>, long) - Static method in class org.apache.logging.log4j.core.util.WatcherFactory
- InstantNumberFormatter - Enum Class 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. - 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.
- Interpolator - Class in org.apache.logging.log4j.core.lookup
-
Proxies other
StrLookup
s using a keys within ${} markers. - Interpolator(StrLookup, Map<String, Supplier<StrLookup>>) - Constructor for class org.apache.logging.log4j.core.lookup.Interpolator
- interpolatorFactory(Map<String, Supplier<StrLookup>>) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- InterpolatorFactory - Interface in org.apache.logging.log4j.core.lookup
- IPTOS_LOWCOST - Enum constant in enum class org.apache.logging.log4j.core.net.Rfc1349TrafficClass
- IPTOS_LOWDELAY - Enum constant in enum class org.apache.logging.log4j.core.net.Rfc1349TrafficClass
- IPTOS_NORMAL - Enum constant in enum class org.apache.logging.log4j.core.net.Rfc1349TrafficClass
- IPTOS_RELIABILITY - Enum constant in enum class org.apache.logging.log4j.core.net.Rfc1349TrafficClass
- IPTOS_THROUGHPUT - Enum constant in enum class org.apache.logging.log4j.core.net.Rfc1349TrafficClass
- 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.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
- 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. - 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
- 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.
- 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.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
- 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
. - isEnabled(Level, Marker) - Method in class org.apache.logging.log4j.core.Logger
- 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.impl.Log4jLogEvent
- isEndOfBatch() - Method in class org.apache.logging.log4j.core.impl.MementoLogEvent
- 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 class org.apache.logging.log4j.core.net.Facility
-
Determine if this enumeration matches the specified name (ignoring case).
- isEqual(String) - Method in enum class org.apache.logging.log4j.core.net.Protocol
-
Determines if the String matches this enum.
- isEqual(String) - Method in enum class org.apache.logging.log4j.core.net.Severity
-
Determine if the name matches this Severity.
- 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.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.
- isFollow() - Method in class org.apache.logging.log4j.core.appender.OutputStreamAppender.Builder
- 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
- isIgnoreExceptions() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- 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.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.MementoLogEvent
- isIncludeLocation() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- 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
- isInitialized() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- isInterrupted() - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
- isKeepAlive() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- 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.
- 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
- 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
- isNewLine() - Method in class org.apache.logging.log4j.core.appender.SyslogAppender.Builder
- 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.
- 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
- isReuseAddress() - Method in class org.apache.logging.log4j.core.net.SocketOptions
- 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.
- isScriptRef(Script) - Method in interface org.apache.logging.log4j.core.script.ScriptManager
- isSensitive(PluginAttribute) - Method in class org.apache.logging.log4j.core.config.plugins.util.LegacyPluginAttributeFactoryResolver
-
Deprecated.
- isSensitive(PluginBuilderAttribute) - Method in class org.apache.logging.log4j.core.config.plugins.util.LegacyPluginBuilderAttributeFactoryResolver
-
Deprecated.
- 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
- 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
- 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.
- isUseMax() - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- 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
- 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
- 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 class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- 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 class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JEP - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JEXL - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JEXL2 - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JmxRuntimeInputArgumentsLookup - Class in org.apache.logging.log4j.core.lookup
-
Maps JVM input arguments (but not main arguments) using JMX to acquire JVM arguments.
- 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.
- JS - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JsonConfiguration - Class in org.apache.logging.log4j.core.config.json
- 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
- JUDI - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JUDO - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JY - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- JYTHON - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
K
- KERN - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
Kernel messages.
- KEY - Static variable in interface org.apache.logging.log4j.core.config.composite.MergeStrategy
- KEY - Static variable in interface org.apache.logging.log4j.core.config.Configuration
-
Injection key for the current Configuration.
- KEY - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- KEY - Static variable in interface org.apache.logging.log4j.core.config.URIConfigurationFactory
- KEY - Static variable in interface org.apache.logging.log4j.core.ContextDataInjector
- KEY - Static variable in interface org.apache.logging.log4j.core.impl.LogEventFactory
- KEY - Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
-
Key to identify pattern converters.
- KEY - Static variable in class org.apache.logging.log4j.core.LoggerContext
- KEY - Static variable in interface org.apache.logging.log4j.core.script.ScriptManager
- KEY - Static variable in interface org.apache.logging.log4j.core.selector.ContextSelector
- KEY - Static variable in interface org.apache.logging.log4j.core.time.Clock
- KEY - Static variable in interface org.apache.logging.log4j.core.time.NanoClock
- KEY - Static variable in interface org.apache.logging.log4j.core.util.ShutdownCallbackRegistry
- 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
- keyManagerFactory() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyStoreProperties
-
Returns the value of the
keyManagerFactory
record component. - KeyManagerFactoryProperties(String) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.KeyManagerFactoryProperties
-
Creates an instance of a
KeyManagerFactoryProperties
record class. - keyStore() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.TransportSecurityProperties
-
Returns the value of the
keyStore
record component. - 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
- KeyStoreProperties(CoreProperties.KeyManagerFactoryProperties, String, char[], String, Path, String) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.KeyStoreProperties
-
Creates an instance of a
KeyStoreProperties
record class. - 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.
- 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 class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- larger() - Method in enum class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- LARGER - Enum constant in enum class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- 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 - Interface in org.apache.logging.log4j.core
-
Converts
LogEvent
instances into different layouts of data. - LayoutComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing Layout Components.
- layoutStringBuilderMaxSize() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.GarbageCollectionProperties
-
Returns the value of the
layoutStringBuilderMaxSize
record component. - LegacyAnnotationFactoryResolversPostProcessor - Class in org.apache.logging.log4j.core.config.plugins.util
-
Post-processor that adds support for legacy plugin annotations from Log4j2.
- LegacyAnnotationFactoryResolversPostProcessor() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.LegacyAnnotationFactoryResolversPostProcessor
- LegacyPluginAttributeFactoryResolver<T> - Class in org.apache.logging.log4j.core.config.plugins.util
-
Deprecated, for removal: This API element is subject to removal in a future version.
- LegacyPluginAttributeFactoryResolver() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.LegacyPluginAttributeFactoryResolver
-
Deprecated.
- LegacyPluginBuilderAttributeFactoryResolver<T> - Class in org.apache.logging.log4j.core.config.plugins.util
-
Deprecated, for removal: This API element is subject to removal in a future version.
- LegacyPluginBuilderAttributeFactoryResolver() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.LegacyPluginBuilderAttributeFactoryResolver
-
Deprecated.
- LegacyPluginElementFactoryResolver<T> - Class in org.apache.logging.log4j.core.config.plugins.util
-
Deprecated, for removal: This API element is subject to removal in a future version.
- LegacyPluginElementFactoryResolver() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.LegacyPluginElementFactoryResolver
-
Deprecated.
- LegacyPluginNodeFactoryResolver - Class in org.apache.logging.log4j.core.config.plugins.util
-
Deprecated, for removal: This API element is subject to removal in a future version.
- LegacyPluginNodeFactoryResolver() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.LegacyPluginNodeFactoryResolver
-
Deprecated.
- LegacyPluginValueFactoryResolver - Class in org.apache.logging.log4j.core.config.plugins.util
-
Deprecated, for removal: This API element is subject to removal in a future version.
- LegacyPluginValueFactoryResolver() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.LegacyPluginValueFactoryResolver
-
Deprecated.
- level - Variable in class org.apache.logging.log4j.core.config.LoggerConfig.LevelAndRefs
- level() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Returns the value of the
level
record component. - level() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.StatusLoggerProperties
-
Returns the value of the
level
record component. - LevelAndRefs() - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig.LevelAndRefs
- LevelConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.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.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 Class in org.apache.logging.log4j.core
-
Status of a life cycle like a
LoggerContext
. - 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 - 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.
- 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.
- 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.
- Loader - Class in org.apache.logging.log4j.core.util
-
Load resources (or images) from various sources.
- LoaderProperties(boolean) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.LoaderProperties
-
Creates an instance of a
LoaderProperties
record class. - 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 class org.apache.logging.log4j.core.net.Facility
-
Local use 0.
- LOCAL1 - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
Local use 1.
- LOCAL2 - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
Local use 2.
- LOCAL3 - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
Local use 3.
- LOCAL4 - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
Local use 4.
- LOCAL5 - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
Local use 5.
- LOCAL6 - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
Local use 6.
- LOCAL7 - Enum constant in enum class 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 interface org.apache.logging.log4j.core.selector.NamedContextSelector
-
Locate the LoggerContext with the specified name.
- location() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Returns the value of the
location
record component. - location() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyStoreProperties
-
Returns the value of the
location
record component. - 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, Predicate<LoggerConfig>) - 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(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 class org.apache.logging.log4j.core.config.LockingReliabilityStrategy
- log(Supplier<LoggerConfig>, String, String, StackTraceElement, Marker, Level, Message, Throwable) - Method in interface org.apache.logging.log4j.core.config.ReliabilityStrategy
-
Logs an event.
- 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 class org.apache.logging.log4j.core.net.Facility
-
Log alert.
- LOG_AUDIT - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
Log audit.
- LOG4J1_VERSION - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- LOG4J2_VERSION - Static variable in interface org.apache.logging.log4j.core.config.URIConfigurationFactory
- 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
CoreProperties.LoggerContextProperties.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
CoreProperties.LoggerContextProperties.selector()
and the provided ShutdownRegistrationStrategy. - Log4jContextFactory(ConfigurableInstanceFactory) - Constructor for class org.apache.logging.log4j.core.impl.Log4jContextFactory
- 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.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
- Log4jModuleReflectionPostProcessor - Class in org.apache.logging.log4j.core.impl
-
Post-processor that registers a
ReflectionAgent
usinglog4j-core
as the calling context. - Log4jModuleReflectionPostProcessor() - Constructor for class org.apache.logging.log4j.core.impl.Log4jModuleReflectionPostProcessor
- 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
- Log4jProvider(ConfigurableInstanceFactory) - Constructor for class org.apache.logging.log4j.core.impl.Log4jProvider
- 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.
- 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
- 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.
- LogEventProperties(CoreProperties.ContextDataProperties, Class<? extends LogEventFactory>) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.LogEventProperties
-
Creates an instance of a
LogEventProperties
record class. - 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, FlowMessageFactory, RecyclerFactory, Logger) - Constructor for class org.apache.logging.log4j.core.Logger
-
The 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.config.ConfigurationFactory
-
Allows subclasses access to the status logger without creating another instance.
- 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.selector.ClassLoaderContextSelector
- LOGGER - Static variable in class org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry
-
Status logger.
- Logger.Builder - Class in org.apache.logging.log4j.core
- 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(String, List<AppenderRef>, Filter, Level, boolean, Property[], Configuration, boolean) - Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
- LoggerConfig(String, Level, boolean, Configuration) - 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.RootLogger - Class in org.apache.logging.log4j.core.config
-
The root Logger.
- LoggerConfig.RootLogger.Builder - Class in org.apache.logging.log4j.core.config
-
Builds LoggerConfig instances.
- LoggerContext - Class in org.apache.logging.log4j.core
-
The LoggerContext is the anchor for the logging system.
- LoggerContext(String, Object, URI, ConfigurableInstanceFactory) - Constructor for class org.apache.logging.log4j.core.LoggerContext
-
Constructs a LoggerContext with a name, external context, configuration URI, and a ConfigurableInstanceFactory.
- LoggerContext(String, Object, String, ConfigurableInstanceFactory) - Constructor for class org.apache.logging.log4j.core.LoggerContext
-
Constructs a LoggerContext with a name, external context, configuration location string, and an instance factory.
- LoggerContext.Builder - Class in org.apache.logging.log4j.core
- LoggerContextAccessor - Interface in org.apache.logging.log4j.core
-
Provides access to a Core Logger Context.
- LoggerContextAware - Interface in org.apache.logging.log4j.core.config
-
Indicates that a class requests the current LoggerContext to be injected.
- LoggerContextAwarePostProcessor - Class in org.apache.logging.log4j.core.config
- LoggerContextAwarePostProcessor(LoggerContext) - Constructor for class org.apache.logging.log4j.core.config.LoggerContextAwarePostProcessor
- loggerContextFactory(ConfigurableInstanceFactory) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- LoggerContextProperties(Class<? extends LoggerContextFactory>, Class<? extends ContextSelector>, Class<? extends ShutdownCallbackRegistry>, Boolean, boolean) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.LoggerContextProperties
-
Creates an instance of a
LoggerContextProperties
record class. - 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.
- 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.
- 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. - lookup(String) - Method in class org.apache.logging.log4j.core.lookup.AbstractLookup
-
Calls
lookup(null, key)
in the super class. - 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(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.Base64StrLookup
- 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 Java platform key.
- 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.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 from system properties.
- lookup(LogEvent, String) - Method in class org.apache.logging.log4j.core.lookup.UpperLookup
-
Converts the "key" to upper case.
- Lookup - Annotation Interface in org.apache.logging.log4j.core.lookup
-
Plugin namespace for
StrLookup
plugins. - 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 class 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 class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Magenta foreground color.
- MAIL - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
Mail system.
- main(String[]) - Static method in class org.apache.logging.log4j.core.pattern.ProcessIdPatternConverter
- 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
- makeLocationImmutable(AsyncAppender, LogEvent) - Static method in class org.apache.logging.log4j.core.async.InternalAsyncUtil
- makeLocationImmutable(LoggerConfig, LogEvent) - Static method in class org.apache.logging.log4j.core.async.InternalAsyncUtil
- 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.
- ManagerException - Exception in org.apache.logging.log4j.core.appender
-
Exception thrown when there is a problem creating or obtaining an
AbstractManager
. - ManagerException(String) - Constructor for exception org.apache.logging.log4j.core.appender.ManagerException
- ManagerException(String, Throwable) - Constructor for exception org.apache.logging.log4j.core.appender.ManagerException
- ManagerFactory<M,
T> - Interface in org.apache.logging.log4j.core.appender -
Creates Manager objects.
- ManagerRegistry - Class in org.apache.logging.log4j.core.appender
-
Registry for
AbstractManager
instances. - ManagerRegistry() - Constructor for class org.apache.logging.log4j.core.appender.ManagerRegistry
- map() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextProperties
-
Returns the value of the
map
record component. - 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 Class 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.
- 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.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
- 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.
- maxReusableMessageSize() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.GarbageCollectionProperties
-
Returns the value of the
maxReusableMessageSize
record component. - 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 class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- memento() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- MementoLogEvent - Class in org.apache.logging.log4j.core.impl
-
Immutable copy of a LogEvent.
- MementoLogEvent(LogEvent) - Constructor for class org.apache.logging.log4j.core.impl.MementoLogEvent
- 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, boolean, LoggerContext) - Constructor for class org.apache.logging.log4j.core.appender.MemoryMappedFileManager
- merge(Action, List<Action>, boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- mergeConfigurations(Node, Node, PluginNamespace) - Method in class org.apache.logging.log4j.core.config.composite.DefaultMergeStrategy
-
Merge the source Configuration into the target Configuration.
- mergeConfigurations(Node, Node, PluginNamespace) - Method in interface org.apache.logging.log4j.core.config.composite.MergeStrategy
-
Merge the source node tree into the target node tree.
- 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() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Returns the value of the
mergeStrategy
record component. - MergeStrategy - Interface in org.apache.logging.log4j.core.config.composite
-
Merges two configurations together
- MESSAGE - Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- MessagePatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Returns the event's rendered message in a StringBuilder.
- MessageProperties(Class<? extends MessageFactory>) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.MessageProperties
-
Creates an instance of a
MessageProperties
record class. - 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.
- 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.
- 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
- monitorInterval() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.Version1Properties
-
Returns the value of the
monitorInterval
record component. - MONTHLY - Enum constant in enum class org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Rollover monthly.
- moveValuesFrom(LogEvent) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
-
Initialize the fields of this
ReusableLogEvent
from another event. - 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 timeline, 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
ReusableLogEvent
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 - 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.
- NAMESPACE - Static variable in interface org.apache.logging.log4j.core.appender.rolling.action.CompressActionFactoryProvider
- NAMESPACE - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
Plugin category used to inject a ConfigurationFactory
Plugin
class. - NAN - Static variable in class org.apache.logging.log4j.core.pattern.NotANumber
- NanoClock - Interface in org.apache.logging.log4j.core.time
-
Provides the
high-resolution time stamp
used in log events. - nanoTime() - Method in interface org.apache.logging.log4j.core.time.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.time.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.
- NetUtils - Class in org.apache.logging.log4j.core.util
-
Networking-related convenience methods.
- NEUTRAL - Enum constant in enum class org.apache.logging.log4j.core.Filter.Result
-
No decision could be made, further filtering should occur.
- NeutralFilter - Class in org.apache.logging.log4j.core.filter
-
A neutral filter where all filter methods return
Filter.Result.NEUTRAL
. - NeutralFilter() - Constructor for class org.apache.logging.log4j.core.filter.NeutralFilter
- 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
- 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
- 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.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.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.SocketAppender
- newBuilder() - Static method in class org.apache.logging.log4j.core.appender.WriterAppender
- 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.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.DynamicThresholdFilter
- 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.filter.ThreadContextMapFilter
- newBuilder() - Static method in class org.apache.logging.log4j.core.filter.TimeFilter
- 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.HtmlLayout
- 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.SyslogLayout
- newBuilder() - Static method in class org.apache.logging.log4j.core.net.SocketAddress
- newBuilder() - Static method in class org.apache.logging.log4j.core.net.SocketOptions
- newBuilder() - Static method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- newBuilder() - Method in class org.apache.logging.log4j.core.selector.AbstractContextSelector
- newBuilder() - Static method in interface org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter
- 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.
- 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) - Static method in interface org.apache.logging.log4j.core.appender.rolling.action.CompressActionFactoryProvider
- 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.
- newInstanceOf(Class<T>) - Static method in class org.apache.logging.log4j.core.util.Loader
-
Loads and instantiates a Class using the default constructor.
- newInstanceOf(String) - Static method in class org.apache.logging.log4j.core.util.Loader
-
Loads and instantiates a Class using the default constructor.
- newInterpolator(StrLookup) - Method in interface org.apache.logging.log4j.core.lookup.InterpolatorFactory
- 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 class 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 scripts.
- 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 script files.
- 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 script files.
- 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<Consumer<Reconfigurable>>, long) - Method in class org.apache.logging.log4j.core.config.ConfigurationFileWatcher
- newWatcher(Reconfigurable, List<Consumer<Reconfigurable>>, long) - Method in class org.apache.logging.log4j.core.config.HttpWatcher
- newWatcher(Reconfigurable, List<Consumer<Reconfigurable>>, 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<Consumer<Reconfigurable>>, long) - Method in class org.apache.logging.log4j.core.util.WrappedFileWatcher
- newWatcher(Source, Configuration, Reconfigurable, List<Consumer<Reconfigurable>>, 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
- 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 class 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
- NOTICE - Enum constant in enum class org.apache.logging.log4j.core.net.Severity
-
Normal but significant conditions.
- NTP - Enum constant in enum class 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_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
-
Deprecated.
- NullConfiguration(LoggerContext) - Constructor for class org.apache.logging.log4j.core.config.NullConfiguration
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.
- onEvent() - Method in interface org.apache.logging.log4j.core.filter.MutableThreadContextMapFilter.FilterConfigUpdateListener
- 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.
- 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.
- options - Variable in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
- Order - Annotation Interface 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.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 supporting configuration of Log4j 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.util - package org.apache.logging.log4j.core.config.plugins.util
-
Utility and manager classes for Log4j 2 plugins.
- 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.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.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.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.util - package org.apache.logging.log4j.core.util
-
Log4j 2 helper 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.
- OutputStreamAppender.OutputStreamAppenderBuilder - Class in org.apache.logging.log4j.core.appender
- OutputStreamAppenderBuilder() - Constructor for class org.apache.logging.log4j.core.appender.OutputStreamAppender.OutputStreamAppenderBuilder
- 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(LoggerContext, OutputStream, String, boolean, Layout, boolean, ByteBuffer) - Constructor for class org.apache.logging.log4j.core.appender.OutputStreamManager
P
- PARAM_VALUE_ESCAPE_PATTERN - Static variable in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
Match characters which require escaping.
- 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.
- 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). - 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.
- password() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.BasicAuthenticationProperties
-
Returns the value of the
password
record component. - password() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyStoreProperties
-
Returns the value of the
password
record component. - passwordDecryptor() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.BasicAuthenticationProperties
-
Returns the value of the
passwordDecryptor
record component. - PasswordDecryptor - Interface in org.apache.logging.log4j.core.util
-
Decrypt passwords.
- passwordEnvVar() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyStoreProperties
-
Returns the value of the
passwordEnvVar
record component. - passwordFile() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyStoreProperties
-
Returns the value of the
passwordFile
record component. - 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.CoreTypeConverters.PathConverter
- pathFromUri(URI) - Static method in class org.apache.logging.log4j.core.util.FileUtils
- 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_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.CoreTypeConverters.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(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(Configuration, String) - Constructor for class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
Constructor.
- PatternProcessor(Configuration, 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.
- peekSource() - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- peekSource() - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- peekSource() - Method in class org.apache.logging.log4j.core.impl.MementoLogEvent
- peekSource() - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- peekSource() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Gets the source of the logging call.
- PlainTextRenderer - Class in org.apache.logging.log4j.core.pattern
-
Renders input unchanged.
- PlainTextRenderer() - Constructor for class org.apache.logging.log4j.core.pattern.PlainTextRenderer
- PLUGIN_CATEGORY_KEY - Static variable in interface org.apache.logging.log4j.core.lookup.StrLookup
- PLUGIN_MAP_KEY - Static variable in interface org.apache.logging.log4j.core.util.SecretKeyProvider
- 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
- PLUGIN_NAMESPACE_KEY - Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- PLUGIN_NAMESPACE_KEY - Static variable in class org.apache.logging.log4j.core.Core
- PluginAliases - Annotation Interface in org.apache.logging.log4j.core.config.plugins
-
Deprecated, for removal: This API element is subject to removal in a future version.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.
- PluginAliasesProvider - Class in org.apache.logging.log4j.core.config.plugins.util
-
Deprecated, for removal: This API element is subject to removal in a future version.
- PluginAliasesProvider() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginAliasesProvider
-
Deprecated.
- PluginAttribute - Annotation Interface in org.apache.logging.log4j.core.config.plugins
-
Deprecated, for removal: This API element is subject to removal in a future version.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.
- PluginAttributeNameProvider - Class in org.apache.logging.log4j.core.config.plugins.util
-
Deprecated, for removal: This API element is subject to removal in a future version.
- PluginAttributeNameProvider() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginAttributeNameProvider
-
Deprecated.
- PluginBuilderAttribute - Annotation Interface in org.apache.logging.log4j.core.config.plugins
-
Deprecated, for removal: This API element is subject to removal in a future version.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.
- PluginBuilderAttributeNameProvider - Class in org.apache.logging.log4j.core.config.plugins.util
-
Deprecated, for removal: This API element is subject to removal in a future version.
- PluginBuilderAttributeNameProvider() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginBuilderAttributeNameProvider
-
Deprecated.
- PluginBuilderFactory - Annotation Interface in org.apache.logging.log4j.core.config.plugins
-
Deprecated, for removal: This API element is subject to removal in a future version.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.
- PluginConfiguration - Annotation Interface in org.apache.logging.log4j.core.config.plugins
-
Identifies the current
Configuration
. - PluginConfigurationFactoryResolver - Class in org.apache.logging.log4j.core.config.plugins.util
- PluginConfigurationFactoryResolver() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginConfigurationFactoryResolver
- PluginElement - Annotation Interface in org.apache.logging.log4j.core.config.plugins
-
Deprecated, for removal: This API element is subject to removal in a future version.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.
- PluginElementNameProvider - Class in org.apache.logging.log4j.core.config.plugins.util
-
Deprecated, for removal: This API element is subject to removal in a future version.
- PluginElementNameProvider() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginElementNameProvider
-
Deprecated.
- PluginFactory - Annotation Interface in org.apache.logging.log4j.core.config.plugins
-
Deprecated, for removal: This API element is subject to removal in a future version.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.
- PluginLoggerContext - Annotation Interface in org.apache.logging.log4j.core.config.plugins
-
Identifies a parameter or field as a LoggerContext.
- PluginLoggerContextFactoryResolver - Class in org.apache.logging.log4j.core.config.plugins.util
- PluginLoggerContextFactoryResolver() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginLoggerContextFactoryResolver
- PluginNode - Annotation Interface in org.apache.logging.log4j.core.config.plugins
-
Deprecated, for removal: This API element is subject to removal in a future version.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.
- PluginValue - Annotation Interface in org.apache.logging.log4j.core.config.plugins
-
Deprecated, for removal: This API element is subject to removal in a future version.Exists for compatibility with Log4j 2 2.x plugins. Not used for Log4j 2 3.x plugins.
- PluginValueNameProvider - Class in org.apache.logging.log4j.core.config.plugins.util
-
Deprecated, for removal: This API element is subject to removal in a future version.
- PluginValueNameProvider() - Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginValueNameProvider
-
Deprecated.
- 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.
- postProcessBeforeInitialization(ResolvableKey<T>, T) - Method in class org.apache.logging.log4j.core.config.ConfigurationAwarePostProcessor
- postProcessBeforeInitialization(ResolvableKey<T>, T) - Method in class org.apache.logging.log4j.core.config.LoggerContextAwarePostProcessor
- postProcessFactory(ConfigurableInstanceFactory) - Method in class org.apache.logging.log4j.core.impl.CoreInstanceFactoryPostProcessor
- postProcessFactory(ConfigurableInstanceFactory) - Method in class org.apache.logging.log4j.core.impl.Log4jModuleReflectionPostProcessor
- 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
- PREFIX_SEPARATOR - Static variable in class org.apache.logging.log4j.core.lookup.Interpolator
-
Constant for the prefix separator.
- 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
- 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
- ProcessIdUtil - Class in org.apache.logging.log4j.core.util
- ProcessIdUtil() - Constructor for class org.apache.logging.log4j.core.util.ProcessIdUtil
- processLogEvent(LogEvent, Predicate<LoggerConfig>) - Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
Logs an event, bypassing filters.
- processNodeTree(Node) - Method in class org.apache.logging.log4j.core.config.ConfigurationProcessor
-
Processes a node in a configuration tree into a plugin instance.
- processSelect(Node, PluginType<?>) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Handle Select nodes.
- 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.
- 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.
- PropertyComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing Property Components.
- Protocol - Enum Class in org.apache.logging.log4j.core.net
-
Enumerates the supported protocols.
- PROTOCOL - Static variable in class org.apache.logging.log4j.core.net.ssl.SslConfigurationDefaults
- provider() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.AuthenticationProperties
-
Returns the value of the
provider
record component. - provider(ConfigurableInstanceFactory) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- 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
- QueueFullPolicyProperties(String, Level) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.QueueFullPolicyProperties
-
Creates an instance of a
QueueFullPolicyProperties
record class. - QUIET - Enum constant in enum class org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
- 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, 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 class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- readResolve() - Method in class org.apache.logging.log4j.core.layout.PatternMatch.Builder
- Reconfigurable - Interface in org.apache.logging.log4j.core.config
-
Implemented by Configurations that can be reconfigured at runtime.
- 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 interface org.apache.logging.log4j.core.config.Reconfigurable
-
Parses the underlying configuration source into a new initialized configuration.
- reconfigure() - Method in class org.apache.logging.log4j.core.config.xml.XmlConfiguration
- 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
- recycle(LogEvent) - Method in interface org.apache.logging.log4j.core.impl.LogEventFactory
- recycle(LogEvent) - Method in class org.apache.logging.log4j.core.impl.ReusableLogEventFactory
- Red(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Red
-
Constructs the converter.
- RED - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Red foreground color.
- refs - Variable in class org.apache.logging.log4j.core.config.LoggerConfig.LevelAndRefs
- RegexFilter - Class in org.apache.logging.log4j.core.filter
-
This filter returns the onMatch result if the message matches the regular expression.
- RegexReplacement - Class in org.apache.logging.log4j.core.pattern
-
Replace tokens in the LogEvent message.
- RegexReplacementConverter - Class in org.apache.logging.log4j.core.pattern
-
Replacement pattern converter.
- 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(LogEvent) - Static method in class org.apache.logging.log4j.core.impl.ReusableLogEventFactory
-
Deprecated.
- releaseManager(AbstractManager, long, TimeUnit) - Method in class org.apache.logging.log4j.core.appender.ManagerRegistry
- 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.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.
- reliabilityStrategy() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Returns the value of the
reliabilityStrategy
record component. - 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.
- removeConfigurationStartedListener(Consumer<Configuration>) - Method in class org.apache.logging.log4j.core.LoggerContext
- removeConfigurationStoppedListener(Consumer<Configuration>) - Method in class org.apache.logging.log4j.core.LoggerContext
- 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.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.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(Consumer<Reconfigurable>) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
Remove an existing listener for configuration source updates.
- removeListener(Consumer<Reconfigurable>) - 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
- 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.AnsiTextRenderer
- 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.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.AnsiTextRenderer
- 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.PlainTextRenderer
- render(String, StringBuilder, String) - Method in interface org.apache.logging.log4j.core.pattern.TextRenderer
-
Renders input text to an output.
- 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.AbstractCompressAction
-
Capture exception.
- requiresLocation() - Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- requiresLocation() - Method in interface org.apache.logging.log4j.core.Appender
-
Appenders should return true if they require location information.
- requiresLocation() - Method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
- requiresLocation() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- requiresLocation() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- requiresLocation() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
- requiresLocation() - Method in interface org.apache.logging.log4j.core.layout.AbstractStringLayout.Serializer
- 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 interface org.apache.logging.log4j.core.layout.PatternSelector
- requiresLocation() - Method in interface org.apache.logging.log4j.core.Layout
-
Indicates whether this Layout requires location information.
- 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.LogEventPatternConverter
-
Some pattern converters require location information.
- 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.
- 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.
- resetInputStream() - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Returns a new
ConfigurationSource
whose input stream is reset to the beginning. - resolve(String) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- resolveHost(String, int) - Method in class org.apache.logging.log4j.core.net.TcpSocketManager.HostResolver
- 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
. - ReusableLogEvent - Interface in org.apache.logging.log4j.core
- reusableLogEventFactory(ContextDataInjector, Clock, NanoClock, RecyclerFactory) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- ReusableLogEventFactory - Class in org.apache.logging.log4j.core.impl
-
Garbage-free LogEventFactory that recycles mutable
LogEvent
instances. - ReusableLogEventFactory(ContextDataInjector, Clock, NanoClock, RecyclerFactory) - Constructor for class org.apache.logging.log4j.core.impl.ReusableLogEventFactory
- REVERSE - Enum constant in enum class 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 Class 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
- 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(Configuration, LoggerContext, String, String, OutputStream, boolean, boolean, long, long, TriggeringPolicy, RolloverStrategy, String, Layout, 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(Configuration, LoggerContext, RandomAccessFile, String, String, OutputStream, boolean, boolean, int, long, long, TriggeringPolicy, RolloverStrategy, String, Layout, 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(long, long) - 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 Class 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
- 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 class 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.DefaultShutdownCallbackRegistry
-
Executes the registered shutdown callbacks.
- runtimeStrSubstitutor(InterpolatorFactory) - Method in class org.apache.logging.log4j.core.impl.CoreDefaultBundle
- 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 class 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 Interface 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 - Interface in org.apache.logging.log4j.core.script
-
Represents int
- ScriptBindings - Interface in org.apache.logging.log4j.core.script
-
Container for javax.script.Bindings.
- ScriptComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing Layout Components.
- ScriptConditional - Interface in org.apache.logging.log4j.core.script
-
Interface for the ScriptCondition plugin.
- ScriptFileComponentBuilder - Interface in org.apache.logging.log4j.core.config.builder.api
-
Assembler for constructing ScriptFile Components.
- scriptManager - Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
The Script manager.
- ScriptManager - Interface in org.apache.logging.log4j.core.script
-
Script Manager.
- ScriptManagerFactory - Interface in org.apache.logging.log4j.core.script
-
Interface to create a ScriptManager.
- 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.CoreTypeConverters.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 interface org.apache.logging.log4j.core.script.ScriptConditional
- selector() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoggerContextProperties
-
Returns the value of the
selector
record component. - 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
- sensitive() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.Indicates that this attribute is a sensitive one that shouldn't be logged directly.
- sensitive() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginBuilderAttribute
-
Deprecated.Indicates that this attribute is a sensitive one that shouldn't be logged directly.
- SEPARATOR - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Escape separator.
- sequence() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.UuidProperties
-
Returns the value of the
sequence
record component. - SequenceNumberPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the event sequence number.
- serialize(LogEvent, StringBuilder) - Method in class org.apache.logging.log4j.core.layout.PatternLayout
- 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
- 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.
- 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.Logger
-
This method is not exposed through the public API and is present only to support the Log4j 1.2 compatibility bridge.
- setAdditivity(boolean) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- setAdvertise(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- setAdvertise(boolean) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- 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.RollingFileAppender.Builder
- setAdvertise(boolean) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.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.AbstractFileAppender.Builder
- setAdvertiseUri(String) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- setAdvertiseUri(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- 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
- setAdvertiseURI(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- setAge(Duration) - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified.Builder
- 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.Builder
- setAlwaysWriteExceptions(boolean) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- setAppend(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- setAppend(boolean) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- 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
- setAppend(boolean) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- setAppend(boolean) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.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
- setBasePath(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.
- setBlocking(boolean) - Method in class org.apache.logging.log4j.core.appender.AsyncAppender.Builder
- setBlockingQueueFactory(BlockingQueueFactory) - 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.nosql.NoSqlAppender.Builder
-
Sets the buffer size.
- setCachingEnabled(boolean) - Method in class org.apache.logging.log4j.core.util.internal.instant.InstantPatternFormatter.Builder
- setCharset(Charset) - Method in class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
- setCharset(Charset) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- setCharset(Charset) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.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
- setClassName(String) - Method in class org.apache.logging.log4j.core.config.arbiters.ClassArbiter.Builder
-
Sets the Class name.
- setClock(Clock) - Method in class org.apache.logging.log4j.core.appender.rolling.action.IfLastModified.Builder
- setClock(Clock) - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- setClock(Clock) - Method in class org.apache.logging.log4j.core.filter.TimeFilter.Builder
- setClock(Clock) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setComponent(Key<T>, Supplier<? extends T>) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- setComponent(Key<T>, Supplier<? extends T>) - Method in interface org.apache.logging.log4j.core.config.Configuration
- setConfig(Configuration) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines configuration.
- setConfig(Configuration) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
-
Defines configuration.
- setConfig(Configuration) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- setConfig(Configuration) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- 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.Builder
- setConfigLocation(URI) - Method in class org.apache.logging.log4j.core.LoggerContext
-
Sets the configLocation to the specified value and reconfigures this context.
- setConfigs(Map<String, String[]>) - Method in class org.apache.logging.log4j.core.filter.mutable.KeyValuePairConfig
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.AppenderSet.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.rolling.action.PosixViewAttributeAction.Builder
-
Define required configuration, used to retrieve string substituter.
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- 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.HtmlLayout.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.Builder
- setConfiguration(Configuration) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- 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.StrSubstitutor
- 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.
- 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
- setContentType(String) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- 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
- setContextData(StringMap) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- setContextDataInjector(ContextDataInjector) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter.Builder
- setContextDataInjector(ContextDataInjector) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter.Builder
- setContextDataInjector(ContextDataInjector) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setContextName(String) - Method in class org.apache.logging.log4j.core.LoggerContext.Builder
- 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
- setContextStack(ThreadContext.ContextStack) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- setCorePlugins(PluginNamespace) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- setCreateOnDemand(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- setCreateOnDemand(boolean) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- setCreateOnDemand(boolean) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- setCurrentFileTime(long) - Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- setCustomActions(Action...) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines custom actions.
- setCustomActions(Action...) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
-
Defines custom actions.
- 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
- setDefaultRouteScript(Script) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- setDefaultThreshold(Level) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter.Builder
- 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
- setDestination(String) - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Specifies the destination for StatusLogger events.
- 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.Builder
- setDisableAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- 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.
- setEnd(String) - Method in class org.apache.logging.log4j.core.filter.TimeFilter.Builder
- setEndOfBatch(boolean) - Method in class org.apache.logging.log4j.core.AbstractLogEvent
- 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.MementoLogEvent
- 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(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
- 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
- setFileGroup(String) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- setFileGroup(String) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- setFileGroup(String) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define file group to apply during action execution eligible files.
- setFileGroup(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- setFileGroup(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- setFileIndex(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines the file index for rolling strategy.
- setFileName(String) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- setFileName(String) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- 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
- setFileName(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- setFileName(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- setFileOwner(String) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- setFileOwner(String) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- setFileOwner(String) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define file owner to apply during action execution eligible files.
- setFileOwner(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- setFileOwner(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- setFilePattern(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- setFilePattern(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- setFilePermissions(String) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- setFilePermissions(String) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- setFilePermissions(String) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- setFilePermissions(String) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- setFilePermissions(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.
- setFilePermissionsString(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.
- setFilter(Filter) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- setFilter(Filter) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- 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
- setFollowLinks(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
True to allow synonyms links during search of eligible files.
- setFontName(String) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- setFontSize(HtmlLayout.FontSize) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- setFooter(byte[]) - Method in class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
- setFooter(String) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.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
- 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
- setHeader(String) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.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
- setHost(String) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- 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.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.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.MementoLogEvent
- 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.
- setIncludeLocation(String) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
-
Deprecated.
- setIncludeLocation(String) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
-
Deprecated.
- setIncludeLocation(Boolean) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- setIncludeLocation(Boolean) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- 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
- setIncludeNL(boolean) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- 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
- setInstant(Instant) - Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder
- setInstant(Instant) - Method in class org.apache.logging.log4j.core.impl.MutableLogEvent
- setInstant(Instant) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- setInterval(int) - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- setIntervalSeconds(int) - Method in class org.apache.logging.log4j.core.util.WatchManager
- setKeepAlive(boolean) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setKey(String) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter.Builder
- setKey(String) - Method in class org.apache.logging.log4j.core.layout.PatternMatch.Builder
- setLatency(int) - Method in class org.apache.logging.log4j.core.net.SocketPerformancePreferences
- setLayout(Layout) - Method in class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
- setLayout(StringLayout) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Layout of value to write to database (before type conversion).
- setLevel(Level) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- setLevel(Level) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- setLevel(Class<?>, Level) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Sets a logger's level.
- 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(Level) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- setLevel(Logger, Level) - Static method in class org.apache.logging.log4j.core.config.Configurator
-
Sets a logger's level.
- setLevelAndRefs(String) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- setLevelAndRefs(String) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- setLiteral(String) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Literal value to use for populating a column.
- setLoader(ClassLoader) - Method in class org.apache.logging.log4j.core.LoggerContext.Builder
- 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
- setLocationInfo(boolean) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- setLocking(boolean) - Method in class org.apache.logging.log4j.core.appender.AbstractFileAppender.Builder
- setLocking(boolean) - Method in class org.apache.logging.log4j.core.appender.FileAppender.Builder
- setLocking(boolean) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- 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.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
- setLoggerFqcn(String) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- setLoggerName(String) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- 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
- setLoggerName(String) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- 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
. - 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
- setMarker(Marker) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- setMatchString(String) - Method in class org.apache.logging.log4j.core.filter.StringMatchFilter.Builder
-
Sets the text to search in event messages.
- setMax(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines the maximum number of files to keep.
- 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.
- setMaxDepth(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.
- setMaxFiles(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
-
Defines the maximum number of files to keep.
- setMaxRandomDelay(int) - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- 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
- 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
- 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
- setMessage(Message) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- setMessageFactory(MessageFactory) - Method in class org.apache.logging.log4j.core.Logger.Builder
- setMessageId(String) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- setMethod(String) - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- setMin(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines the minimum number of files to keep.
- setModifiedMillis(long) - Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
Updates the last known modification time of the resource.
- setModulate(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy.Builder
- 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.config.AbstractConfiguration
-
Set the name of the configuration.
- setName(String) - Method in class org.apache.logging.log4j.core.Logger.Builder
- 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. - 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
- setNanoTime(long) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- 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.Builder
- setNoConsoleNoAnsi(boolean) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.SerializerBuilder
- setNode(Node) - Method in class org.apache.logging.log4j.core.appender.AppenderSet.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
- setOperator(String) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter.Builder
- 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
- setPairs(KeyValuePair[]) - Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter.Builder
- setPairs(KeyValuePair[]) - Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter.Builder
- 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.
- setPassword(char[]) - Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
- setPathConditions(PathCondition[]) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define path conditions to filter files in
AbstractPathAction.getBasePath()
. - 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.routing.Routes.Builder
- setPattern(String) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- 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
- setPatternScript(Script) - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- setPatternSelector(PatternSelector) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
- 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
- setPolicy(TriggeringPolicy) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- setPolicy(TriggeringPolicy) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- 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
- setProperties(Property...) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- setProperties(Property[]) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.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
- 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.
- setPurgePolicy(PurgePolicy) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.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
- setReconnectDelayMillis(int) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- setRefs(AppenderRef...) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.Builder
- setRefs(AppenderRef[]) - Method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger.Builder
- setRegexReplacement(RegexReplacement) - Method in class org.apache.logging.log4j.core.layout.PatternLayout.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
- setRequestLocation(boolean) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- 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
- setReuseAddress(boolean) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- setRewritePolicy(RewritePolicy) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- 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.
- setRoutes(Route...) - Method in class org.apache.logging.log4j.core.appender.routing.Routes.Builder
- setRoutes(Routes) - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender.Builder
- setScheduledFuture(CronScheduledFuture<?>) - Method in class org.apache.logging.log4j.core.config.ConfigurationScheduler.CronRunnable
- setScriptManager(ScriptManager) - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- setSendBufferSize(int) - Method in class org.apache.logging.log4j.core.net.SocketOptions
- 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
- 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(StackTraceElement) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- setSource(String) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Source name.
- setSslConfiguration(SslConfiguration) - Method in class org.apache.logging.log4j.core.appender.HttpAppender.Builder
- setSslConfiguration(SslConfiguration) - Method in class org.apache.logging.log4j.core.appender.SocketAppender.AbstractBuilder
- setStart(String) - Method in class org.apache.logging.log4j.core.filter.TimeFilter.Builder
- 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
- setStatus(String) - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Specifies the logging level by name to use for filtering StatusLogger messages.
- setStatus(Level) - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Specifies the logging level to use for filtering StatusLogger messages.
- 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
- setStopCustomActionsOnError(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines whether to stop executing asynchronous actions if an error occurs.
- setStopCustomActionsOnError(boolean) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
-
Defines whether to stop executing asynchronous actions if an error occurs.
- setStopped() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- setStopping() - Method in class org.apache.logging.log4j.core.AbstractLifeCycle
- setStrategy(RolloverStrategy) - Method in class org.apache.logging.log4j.core.appender.RollingFileAppender.Builder
- setStrategy(RolloverStrategy) - Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder
- setSubst(StrSubstitutor) - Method in class org.apache.logging.log4j.core.appender.rolling.action.PosixViewAttributeAction.Builder
-
Define string substituter.
- 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
- setTempCompressedFilePattern(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy.Builder
-
Defines temporary compression file pattern.
- setTempCompressedFilePattern(String) - Method in class org.apache.logging.log4j.core.appender.rolling.DirectWriteRolloverStrategy.Builder
-
Defines temporary compression file pattern.
- 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
- setThreadId(long) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- 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
- setThreadName(String) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- 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
- setThreadPriority(int) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- 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
- setThrown(Throwable) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- 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
- setTimeMillis(long) - Method in interface org.apache.logging.log4j.core.ReusableLogEvent
- setTimezone(String) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- setTimezone(ZoneId) - Method in class org.apache.logging.log4j.core.filter.TimeFilter.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
- setTitle(String) - Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- setToDefault() - Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- 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
- setType(Class<?>) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
-
Class to convert value to before storing in database.
- setTypeConverterFactory(TypeConverterFactory) - Method in class org.apache.logging.log4j.core.appender.db.ColumnMapping.Builder
- 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
- setUseTLSMessageFormat(boolean) - Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- 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.
- 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.
- setVerboseClasses(String...) - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Specifies which class names to filter if the configured verbosity level is QUIET.
- 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
- setVerbosity(String) - Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
-
Specifies the verbosity level to log at.
- 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 Class in org.apache.logging.log4j.core.net
-
Severity values used by the Syslog system.
- shutdown() - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
This method is called from the
AbstractManager.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.impl.Log4jContextFactory
- 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(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_HOOK_MARKER - Static variable in interface org.apache.logging.log4j.core.util.ShutdownCallbackRegistry
-
Shared Marker to indicate log messages corresponding to shutdown hooks.
- shutdownCallbackRegistry() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoggerContextProperties
-
Returns the value of the
shutdownCallbackRegistry
record component. - ShutdownCallbackRegistry - Interface in org.apache.logging.log4j.core.util
-
Registry used for Runnable shutdown callback instances.
- shutdownHookEnabled() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoggerContextProperties
-
Returns the value of the
shutdownHookEnabled
record component. - 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.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.
- 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.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.
- SMALL - Enum constant in enum class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- SMALLER - Enum constant in enum class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- 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, Filter, AbstractSocketManager, boolean, boolean, Advertiser) - 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(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.
- 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 class 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.
- SslSocketManager - Class in org.apache.logging.log4j.core.net
- SslSocketManager(String, OutputStream, Socket, SslConfiguration, InetAddress, String, int, int, int, boolean, Layout, int, SocketOptions) - Constructor for class org.apache.logging.log4j.core.net.SslSocketManager
- stacktraceOnStart() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoggerContextProperties
-
Returns the value of the
stacktraceOnStart
record component. - 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.rewrite.RewriteAppender
- start() - Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- 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.LoggerContext
-
Starts with a specific configuration.
- STARTED - Enum constant in enum class org.apache.logging.log4j.core.LifeCycle.State
-
Has started.
- STARTING - Enum constant in enum class 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
- 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.nosql.NoSqlDatabaseManager
- STATIC_VARIABLES_KEY - Static variable in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- STATUS_LOGGER_KEY - Static variable in class org.apache.logging.log4j.core.util.Constants
- STATUS_LOGGER_LEVEL_KEY - Static variable in class org.apache.logging.log4j.core.util.Constants
- StatusConfiguration - Class in org.apache.logging.log4j.core.config.status
-
Configuration for setting up
StatusConsoleListener
instances. - StatusConfiguration() - Constructor for class org.apache.logging.log4j.core.config.status.StatusConfiguration
- StatusConfiguration.Verbosity - Enum Class in org.apache.logging.log4j.core.config.status
-
Specifies how verbose the StatusLogger should be.
- StatusLoggerProperties(Level) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.StatusLoggerProperties
-
Creates an instance of a
StatusLoggerProperties
record class. - 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.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.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.LifeCycle
-
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
- STOPPED - Enum constant in enum class org.apache.logging.log4j.core.LifeCycle.State
-
Has stopped.
- STOPPING - Enum constant in enum class org.apache.logging.log4j.core.LifeCycle.State
-
Stopping is in progress.
- StoreConfiguration<T> - Class in org.apache.logging.log4j.core.net.ssl
- 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
- StringBuilderEncoder - Class in org.apache.logging.log4j.core.layout
-
Encoder
forStringBuilder
s. - 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
- stringBuilderEncoderRecycler - Variable in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- stringBuilderRecycler - Variable in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- 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
. - StringLayout - Interface in org.apache.logging.log4j.core
-
Legacy interface from when layouts used to support more than strings or bytes.
- 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 message in the event matches the specified text 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
- substitute(LogEvent, StringBuilder, int, int) - Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
-
Internal method that substitutes the variables.
- SUFFIX - Enum constant in enum class 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.
- supportsKey(Key<?>) - Method in class org.apache.logging.log4j.core.config.plugins.util.LegacyPluginNodeFactoryResolver
-
Deprecated.
- supportsKey(Key<?>) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginConfigurationFactoryResolver
- supportsKey(Key<?>) - Method in class org.apache.logging.log4j.core.config.plugins.util.PluginLoggerContextFactoryResolver
- 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 class org.apache.logging.log4j.core.async.EventRoute
-
Logs the event synchronously: sends the event directly to the appender (in the current thread).
- SYSLOG - Enum constant in enum class 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, Filter, boolean, boolean, AbstractSocketManager, Advertiser) - 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.Builder<B extends SyslogLayout.Builder<B>> - Class in org.apache.logging.log4j.core.layout
-
Builds a SyslogLayout.
- SYSTEM_ERR - Enum constant in enum class org.apache.logging.log4j.core.appender.ConsoleAppender.Target
-
Standard error output.
- SYSTEM_OUT - Enum constant in enum class org.apache.logging.log4j.core.appender.ConsoleAppender.Target
-
Standard output.
- SystemNanoClock - Class in org.apache.logging.log4j.core.time
-
Implementation of the
NanoClock
interface that returns the system nano time. - SystemNanoClock() - Constructor for class org.apache.logging.log4j.core.time.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 class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- TCP - Enum constant in enum class 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, 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.
- 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, ContextDataInjector) - Constructor for class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
- ThreadContextMapFilter.Builder - Class in org.apache.logging.log4j.core.filter
- ThreadContextMapProperties(boolean, boolean, int, String) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextMapProperties
-
Creates an instance of a
ThreadContextMapProperties
record class. - ThreadContextProperties(boolean, boolean, CoreProperties.ThreadContextMapProperties) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextProperties
-
Creates an instance of a
ThreadContextProperties
record class. - ThreadIdPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the event thread ID.
- 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. - Throwables - Class in org.apache.logging.log4j.core.util
-
Helps with Throwable objects.
- 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.
- TimeFilter.Builder - Class in org.apache.logging.log4j.core.filter
- 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
- toByteArray(LogEvent) - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
Formats the Log Event as a byte array.
- toByteArray(LogEvent) - Method in interface org.apache.logging.log4j.core.Layout
-
Formats the event into bytes.
- toContextMapKey(ClassLoader) - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- toFacility(String) - Static method in enum class org.apache.logging.log4j.core.net.Facility
-
Returns the Facility for the given string.
- toFacility(String, Facility) - Static method in enum class org.apache.logging.log4j.core.net.Facility
-
Returns the Facility for the given string.
- 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.impl.Log4jLogEvent
- toImmutable() - Method in class org.apache.logging.log4j.core.impl.MementoLogEvent
- 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.
- toKey(String) - Static method in class org.apache.logging.log4j.core.appender.db.ColumnMapping
- toMap() - Method in class org.apache.logging.log4j.core.impl.JdkMapAdapterStringMap
- toMemento() - Method in class org.apache.logging.log4j.core.impl.MementoLogEvent
- toMemento() - Method in interface org.apache.logging.log4j.core.LogEvent
-
Returns a copy of this log event.
- toResult(String) - Static method in enum class org.apache.logging.log4j.core.Filter.Result
-
Returns the Result for the given string.
- toResult(String, Filter.Result) - Static method in enum class org.apache.logging.log4j.core.Filter.Result
-
Returns the Result for the given string.
- toSerializable(LogEvent) - Method in interface org.apache.logging.log4j.core.layout.AbstractStringLayout.Serializer
- toSerializable(LogEvent) - Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- 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.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.SyslogLayout
-
Formats a
LogEvent
in conformance with the BSD Log record format. - toSerializable(LogEvent) - Method in interface org.apache.logging.log4j.core.Layout
-
Serializes the log event into a String.
- 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.FailoverAppender
- toString() - Method in class org.apache.logging.log4j.core.appender.HttpAppender
- 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.AbstractCompressAction
- 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.CompositeAction
- 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.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.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.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.DefaultConfiguration
- toString() - Method in class org.apache.logging.log4j.core.config.LoggerConfig
- 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.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 record class org.apache.logging.log4j.core.impl.CoreProperties.AsyncProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.AuthenticationProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.BasicAuthenticationProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ContextDataProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.GarbageCollectionProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyManagerFactoryProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyStoreProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoaderProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LogEventProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.LoggerContextProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.MessageProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.QueueFullPolicyProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.StatusLoggerProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextMapProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.TransportSecurityProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.UuidProperties
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.Version1Properties
-
Returns a string representation of this record class.
- 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.MementoLogEvent
- 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.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.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.LoggerContext
- 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.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.AnsiTextRenderer
- 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.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.selector.BasicContextSelector
- toString() - Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
- 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.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
- 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 class org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
-
Parses the verbosity property into an enum.
- 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.
- TransportSecurityProperties(CoreProperties.KeyStoreProperties, CoreProperties.KeyStoreProperties, boolean) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.TransportSecurityProperties
-
Creates an instance of a
TransportSecurityProperties
record class. - 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.
- trustStore() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.TransportSecurityProperties
-
Returns the value of the
trustStore
record component. - 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, 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
- TTCC_CONVERSION_PATTERN - Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
-
A conversion pattern equivalent to the TTCCLayout.
- type() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ContextDataProperties
-
Returns the value of the
type
record component. - type() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.KeyStoreProperties
-
Returns the value of the
type
record component. - type() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.QueueFullPolicyProperties
-
Returns the value of the
type
record component. - type() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ThreadContextMapProperties
-
Returns the value of the
type
record component. - 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 class 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.
- UNDERLINE - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Underline general attribute.
- 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 class org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy.Mode
-
Keys should be updated.
- 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.
- 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
- URIConfigurationFactory - Interface in org.apache.logging.log4j.core.config
-
Creates configuration from an
URI
. - UriConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.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.CoreTypeConverters.UrlConverter
- usePreciseClock() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Returns the value of the
usePreciseClock
record component. - USER - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
User level messages.
- username() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.BasicAuthenticationProperties
-
Returns the value of the
username
record component. - UUCP - Enum constant in enum class org.apache.logging.log4j.core.net.Facility
-
UUCP subsystem.
- UuidConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.UuidConverter
- UuidPatternConverter - Class in org.apache.logging.log4j.core.pattern
-
Formats the event sequence number.
- UuidProperties(long) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.UuidProperties
-
Creates an instance of a
UuidProperties
record class. - 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
- value() - Element in annotation interface org.apache.logging.log4j.core.config.Order
-
The priority of this annotated type.
- value() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginAliases
-
Deprecated.
- value() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginAttribute
-
Deprecated.Specifies the name of the attribute (case-insensitive) this annotation corresponds to.
- value() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginBuilderAttribute
-
Deprecated.Specifies the attribute name this corresponds to.
- value() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginElement
-
Deprecated.Identifies the case-insensitive element name (or attribute name) this corresponds with in a configuration file.
- value() - Element in annotation interface org.apache.logging.log4j.core.config.plugins.PluginValue
-
Deprecated.
- value() - Method in enum class org.apache.logging.log4j.core.net.Rfc1349TrafficClass
- value() - Element in annotation interface org.apache.logging.log4j.core.pattern.ConverterKeys
- VALUE - Static variable in class org.apache.logging.log4j.core.pattern.NotANumber
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.appender.ConsoleAppender.Target
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.async.EventRoute
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.Filter.Result
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.LifeCycle.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.net.Facility
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.net.Protocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.net.Rfc1349TrafficClass
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.net.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.apache.logging.log4j.core.appender.ConsoleAppender.Target
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.async.EventRoute
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.Filter.Result
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.LifeCycle.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.net.Facility
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.net.Protocol
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.net.Rfc1349TrafficClass
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.net.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.logging.log4j.core.util.internal.instant.InstantNumberFormatter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VariablesNotEmptyReplacementConverter - Class in org.apache.logging.log4j.core.pattern
-
VariablesNotEmpty pattern converter.
- VELOCITY - Enum constant in enum class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
- VERBOSE - Enum constant in enum class org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
- verify(String, SSLSession) - Method in class org.apache.logging.log4j.core.net.ssl.LaxHostnameVerifier
- verifyHostName() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.TransportSecurityProperties
-
Returns the value of the
verifyHostName
record component. - Version - Class in org.apache.logging.log4j.core
- Version() - Constructor for class org.apache.logging.log4j.core.Version
- Version1Properties(boolean, String, int) - Constructor for record class org.apache.logging.log4j.core.impl.CoreProperties.Version1Properties
-
Creates an instance of a
Version1Properties
record class. - 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 class org.apache.logging.log4j.core.util.ExtensionLanguageMapping
W
- waitMillisBeforeStopOldConfig() - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.ConfigurationProperties
-
Returns the value of the
waitMillisBeforeStopOldConfig
record component. - WARNING - Enum constant in enum class 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.
- WatcherFactory(PluginNamespace) - Constructor for class org.apache.logging.log4j.core.util.WatcherFactory
- 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, Logger) - Constructor for class org.apache.logging.log4j.core.util.WatchManager
- WEEKLY - Enum constant in enum class 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 class 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.
- withKeyStore(CoreProperties.KeyStoreProperties) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.TransportSecurityProperties
- withLevel(Level) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.QueueFullPolicyProperties
- withTrustStore(CoreProperties.KeyStoreProperties) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.TransportSecurityProperties
- withType(String) - Method in record class org.apache.logging.log4j.core.impl.CoreProperties.QueueFullPolicyProperties
- wrapOutputStream(OutputStream) - Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractCompressAction
-
Wraps an output stream into a compressing output stream.
- 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<Consumer<Reconfigurable>>, 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[], 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, 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(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
-
This method manages buffering and writing of events.
- 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.
- 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.
- writeHeader() - Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
Writes the layout's header to the file if it exists.
- writeHeader(OutputStream) - Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- writeInternal(LogEvent) - 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) - Method in class org.apache.logging.log4j.core.appender.nosql.NoSqlDatabaseManager
- writeLock - Variable in class org.apache.logging.log4j.core.appender.AbstractManager
-
Lock for ensuring exclusive write access to the underlying output destination.
- 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.
- 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) - Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- 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 class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- 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
- XSMALL - Enum constant in enum class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- XXLARGE - Enum constant in enum class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- XXSMALL - Enum constant in enum class org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
Y
- Yellow(List<PatternFormatter>, String) - Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Yellow
-
Constructs the converter.
- YELLOW - Enum constant in enum class org.apache.logging.log4j.core.pattern.AnsiEscape
-
Yellow foreground color.
Z
- ZoneIdConverter() - Constructor for class org.apache.logging.log4j.core.config.plugins.convert.CoreTypeConverters.ZoneIdConverter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form