A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
A
- abbreviate(String) -
Method in class org.apache.logging.log4j.core.pattern.NameAbbreviator
- Abbreviates a name in a String.
- abbreviate(String) -
Method in class org.apache.logging.log4j.core.pattern.NamePatternConverter
- Abbreviate name in string buffer.
- AbstractAction - Class in org.apache.logging.log4j.core.appender.rolling.action
- Abstract base class for implementations of Action.
- AbstractAction() -
Constructor for class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
- Constructor.
- AbstractAppender - Class in org.apache.logging.log4j.core.appender
- Abstract base class for Appenders.
- AbstractAppender(String, Filter, Layout<? extends Serializable>) -
Constructor for class org.apache.logging.log4j.core.appender.AbstractAppender
- Constructor that defaults to suppressing exceptions.
- AbstractAppender(String, Filter, Layout<? extends Serializable>, boolean) -
Constructor for class org.apache.logging.log4j.core.appender.AbstractAppender
- Constructor.
- AbstractConfiguration - Class in org.apache.logging.log4j.core.config
- The base Configuration.
- AbstractConfiguration(ConfigurationSource) -
Constructor for class org.apache.logging.log4j.core.config.AbstractConfiguration
- Constructor.
- AbstractDatabaseAppender<T extends AbstractDatabaseManager> - Class in org.apache.logging.log4j.core.appender.db
- An abstract Appender for writing events to a database of some type, be it relational or NoSQL.
- AbstractDatabaseAppender(String, Filter, boolean, T) -
Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
- Instantiates the base appender.
- AbstractDatabaseManager - Class in org.apache.logging.log4j.core.appender.db
- Manager that allows database appenders to have their configuration reloaded without losing events.
- AbstractDatabaseManager(String, int) -
Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- Instantiates the base manager.
- AbstractDatabaseManager.AbstractFactoryData - Class in org.apache.logging.log4j.core.appender.db
- Implementations should extend this class for passing data between the getManager method and the manager factory
class.
- AbstractDatabaseManager.AbstractFactoryData(int) -
Constructor for class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager.AbstractFactoryData
- Constructs the base factory data.
- AbstractFilter - Class in org.apache.logging.log4j.core.filter
- Users should extend this class to implement filters.
- AbstractFilter() -
Constructor for class org.apache.logging.log4j.core.filter.AbstractFilter
- The default constructor.
- AbstractFilter(Filter.Result, Filter.Result) -
Constructor for class org.apache.logging.log4j.core.filter.AbstractFilter
- Constructor that allows the onMatch and onMismatch actions to be set.
- AbstractFilterable - Class in org.apache.logging.log4j.core.filter
- Enhances a Class by allowing it to contain Filters.
- AbstractFilterable(Filter) -
Constructor for class org.apache.logging.log4j.core.filter.AbstractFilterable
-
- AbstractFilterable() -
Constructor for class org.apache.logging.log4j.core.filter.AbstractFilterable
-
- AbstractJmsManager - Class in org.apache.logging.log4j.core.net.jms
- Base Class for Managers of JMS connections.
- AbstractJmsManager(String) -
Constructor for class org.apache.logging.log4j.core.net.jms.AbstractJmsManager
- The Constructor.
- AbstractJmsReceiver - Class in org.apache.logging.log4j.core.net.jms
- Abstract base class for receiving LogEvents over JMS.
- AbstractJmsReceiver() -
Constructor for class org.apache.logging.log4j.core.net.jms.AbstractJmsReceiver
-
- AbstractKeyStoreConfiguration - Class in org.apache.logging.log4j.core.net.ssl
- Configuration of the KeyStore
- AbstractKeyStoreConfiguration(String, String, String) -
Constructor for class org.apache.logging.log4j.core.net.ssl.AbstractKeyStoreConfiguration
-
- AbstractLayout<T extends Serializable> - Class in org.apache.logging.log4j.core.layout
- Abstract base class for Layouts.
- AbstractLayout(byte[], byte[]) -
Constructor for class org.apache.logging.log4j.core.layout.AbstractLayout
- Constructs a layout with an optional header and footer.
- 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
-
- AbstractLogEventBridge<T extends InputStream> - Class in org.apache.logging.log4j.core.net.server
- Abstract class for implementations of
LogEventBridge
. - AbstractLogEventBridge() -
Constructor for class org.apache.logging.log4j.core.net.server.AbstractLogEventBridge
-
- AbstractLogEventWrapperEntity - Class in org.apache.logging.log4j.core.appender.db.jpa
-
Users of the JPA appender MUST extend this class, using JPA annotations on the concrete class and all of its
accessor methods (as needed) to map them to the proper table and columns.
- AbstractLogEventWrapperEntity() -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- Instantiates this base class.
- AbstractLogEventWrapperEntity(LogEvent) -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- Instantiates this base class.
- AbstractManager - Class in org.apache.logging.log4j.core.appender
- Abstract base class used to register managers.
- AbstractManager(String) -
Constructor for class org.apache.logging.log4j.core.appender.AbstractManager
-
- AbstractOutputStreamAppender<M extends OutputStreamManager> - Class in org.apache.logging.log4j.core.appender
- Appends log events as bytes to a byte output stream.
- AbstractOutputStreamAppender(String, Layout<? extends Serializable>, Filter, boolean, boolean, M) -
Constructor for class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
- Instantiate a WriterAppender and set the output destination to a
new
OutputStreamWriter
initialized with os
as its OutputStream
.
- AbstractPatternConverter - Class in org.apache.logging.log4j.core.pattern
- AbstractPatternConverter is an abstract class that provides the
formatting functionality that derived classes need.
- AbstractPatternConverter(String, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractPatternConverter
- Create a new pattern converter.
- AbstractPluginVisitor<A extends Annotation> - Class in org.apache.logging.log4j.core.config.plugins.visitors
- Base class for PluginVisitor implementations.
- AbstractPluginVisitor(Class<A>) -
Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- This constructor must be overridden by implementation classes as a no-arg constructor.
- AbstractRolloverStrategy - Class in org.apache.logging.log4j.core.appender.rolling
-
- AbstractRolloverStrategy() -
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<? extends Serializable>) -
Constructor for class org.apache.logging.log4j.core.net.AbstractSocketManager
- The Constructor.
- AbstractSocketServer<T extends InputStream> - Class in org.apache.logging.log4j.core.net.server
- Abstract socket server for TCP and UDP implementations.
- AbstractSocketServer(int, LogEventBridge<T>) -
Constructor for class org.apache.logging.log4j.core.net.server.AbstractSocketServer
- Creates a new socket server.
- AbstractSocketServer.ServerConfigurationFactory - Class in org.apache.logging.log4j.core.net.server
- Factory that creates a Configuration for the server.
- AbstractSocketServer.ServerConfigurationFactory(String) -
Constructor for class org.apache.logging.log4j.core.net.server.AbstractSocketServer.ServerConfigurationFactory
-
- AbstractStringLayout - Class in org.apache.logging.log4j.core.layout
- Abstract base class for Layouts that result in a String.
- AbstractStringLayout(Charset, byte[], byte[]) -
Constructor for class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
- AbstractStringLayout(Charset) -
Constructor for class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
- AbstractStyleNameConverter - Class in org.apache.logging.log4j.core.pattern
- Style pattern converter.
- AbstractStyleNameConverter(String, List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter
- Constructs the converter.
- AbstractStyleNameConverter.Black - Class in org.apache.logging.log4j.core.pattern
- Black style pattern converter.
- AbstractStyleNameConverter.Black(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Black
- Constructs the converter.
- AbstractStyleNameConverter.Blue - Class in org.apache.logging.log4j.core.pattern
- Blue style pattern converter.
- AbstractStyleNameConverter.Blue(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Blue
- Constructs the converter.
- AbstractStyleNameConverter.Cyan - Class in org.apache.logging.log4j.core.pattern
- Cyan style pattern converter.
- AbstractStyleNameConverter.Cyan(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Cyan
- Constructs the converter.
- AbstractStyleNameConverter.Green - Class in org.apache.logging.log4j.core.pattern
- Green style pattern converter.
- AbstractStyleNameConverter.Green(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Green
- Constructs the converter.
- AbstractStyleNameConverter.Magenta - Class in org.apache.logging.log4j.core.pattern
- Magenta style pattern converter.
- AbstractStyleNameConverter.Magenta(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Magenta
- Constructs the converter.
- AbstractStyleNameConverter.Red - Class in org.apache.logging.log4j.core.pattern
- Red style pattern converter.
- AbstractStyleNameConverter.Red(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Red
- Constructs the converter.
- AbstractStyleNameConverter.White - Class in org.apache.logging.log4j.core.pattern
- White style pattern converter.
- AbstractStyleNameConverter.White(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.White
- Constructs the converter.
- AbstractStyleNameConverter.Yellow - Class in org.apache.logging.log4j.core.pattern
- Yellow style pattern converter.
- AbstractStyleNameConverter.Yellow(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Yellow
- Constructs the converter.
- Action - Interface in org.apache.logging.log4j.core.appender.rolling.action
- The Action interface should be implemented by any class that performs
file system actions for RollingFileAppenders after the close of
the active log file.
- Activator - Class in org.apache.logging.log4j.core.config.plugins.osgi
- OSGi BundleActivator.
- Activator() -
Constructor for class org.apache.logging.log4j.core.config.plugins.osgi.Activator
-
- actualAsyncLog(RingBufferLogEvent) -
Method in class org.apache.logging.log4j.core.async.AsyncLogger
- This method is called by the EventHandler that processes the
RingBufferLogEvent in a separate thread.
- add(LogEvent) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
-
- add(T) -
Method in class org.apache.logging.log4j.core.util.CyclicBuffer
- Add an item as the last event in the buffer.
- 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, Level, Filter) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Adds an Appender to the LoggerConfig.
- addAppender(Appender) -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is used primarily for unit testing.
- addComponent(String, Object) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- addComponent(String, Object) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addFilter(Filter) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
- 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
- Add a Filter to the Configuration.
- addIfMatching(ResolverUtil.Test, String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
- Add the class designated by the fully qualified class name provided to the set of
resolved classes if and only if it is approved by the Test supplied.
- addListener(ConfigurationListener) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Add a listener for changes on the configuration.
- addListener(ConfigurationListener) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addLogger(String, LoggerConfig) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Add a loggerConfig.
- addLogger(String, LoggerConfig) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addLoggerAppender(Logger, Appender) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Associates an Appender with a LoggerConfig.
- addLoggerAppender(Logger, Appender) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addLoggerFilter(Logger, Filter) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Associates a Filter with a LoggerConfig.
- addLoggerFilter(Logger, Filter) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addPackage(String) -
Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
- Adds a package name to be scanned for plugins.
- addPropertyChangeListener(PropertyChangeListener) -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- addSuppressed(Throwable, Throwable) -
Static method in class org.apache.logging.log4j.core.util.Throwables
- Deprecated. If compiling on Java 7 and above use
Throwable#addSuppressed(Throwable)
. Marked as deprecated because Java 6 is
deprecated.
- 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
-
- aliases -
Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- allLines() -
Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Determines if all lines should be printed.
- annotation -
Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- AnsiEscape - Enum in org.apache.logging.log4j.core.pattern
- Converts text into ANSI escape sequences.
- anyLines() -
Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Determines if any lines should be printed.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
- Actual writing occurs here.
- append(LogEvent) -
Method in interface org.apache.logging.log4j.core.Appender
- Log in
Appender
specific way.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.AsyncAppender
- Actual writing occurs here.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.FailoverAppender
- Handle the Log event.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.jms.JmsQueueAppender
- Actual writing occurs here.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.jms.JmsTopicAppender
- Actual writing occurs here.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
- Write the log entry rolling over the file when required.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
- Modify the event and pass to the subordinate Appenders.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
- Write the log entry rolling over the file when required.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
- Write the log entry rolling over the file when required.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
-
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.SmtpAppender
- Perform SmtpAppender specific appending actions, mainly adding the event
to a cyclic buffer and checking if the event triggers an e-mail to be
sent.
- Appender - Interface in org.apache.logging.log4j.core
- Appends log events.
- AppenderAdmin - Class in org.apache.logging.log4j.core.jmx
- Implementation of the
AppenderAdminMBean
interface. - AppenderAdmin(String, Appender) -
Constructor for class org.apache.logging.log4j.core.jmx.AppenderAdmin
- Constructs a new
AppenderAdmin
with the specified contextName
and appender.
- AppenderAdminMBean - Interface in org.apache.logging.log4j.core.jmx
- The MBean interface for monitoring and managing an
Appender
. - AppenderControl - Class in org.apache.logging.log4j.core.config
- Wraps an
Appender
with details an appender implementation shouldn't need to know about. - AppenderControl(Appender, Level, Filter) -
Constructor for class org.apache.logging.log4j.core.config.AppenderControl
- Constructor.
- AppenderLoggingException - Exception in org.apache.logging.log4j.core.appender
- Thrown from an appender when a log event could not be written.
- AppenderLoggingException(String) -
Constructor for exception org.apache.logging.log4j.core.appender.AppenderLoggingException
- Construct an exception with a message.
- AppenderLoggingException(String, Throwable) -
Constructor for exception org.apache.logging.log4j.core.appender.AppenderLoggingException
- Construct an exception with a message and underlying cause.
- AppenderLoggingException(Throwable) -
Constructor for exception org.apache.logging.log4j.core.appender.AppenderLoggingException
- Construct an exception with an underlying cause.
- AppenderRef - Class in org.apache.logging.log4j.core.config
- An Appender reference.
- AppendersPlugin - Class in org.apache.logging.log4j.core.config
- 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.
- ArrayPatternConverter - Interface in org.apache.logging.log4j.core.pattern
- Interface implemented by PatternConverters that accept an array of objects when formatting.
- Assert - Class in org.apache.logging.log4j.core.util
- Utility class providing common validation logic.
- AsyncAppender - Class in org.apache.logging.log4j.core.appender
- Appends to one or more Appenders asynchronously.
- AsyncAppenderAdmin - Class in org.apache.logging.log4j.core.jmx
- Implementation of the
AsyncAppenderAdminMBean
interface. - AsyncAppenderAdmin(String, AsyncAppender) -
Constructor for class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
- Constructs a new
AsyncAppenderAdmin
with the specified contextName
and async appender.
- AsyncAppenderAdminMBean - Interface in org.apache.logging.log4j.core.jmx
- The MBean interface for monitoring and managing an
AsyncAppender
. - AsyncLogger - Class in org.apache.logging.log4j.core.async
- AsyncLogger is a logger designed for high throughput and low latency logging.
- AsyncLogger(LoggerContext, String, MessageFactory) -
Constructor for class org.apache.logging.log4j.core.async.AsyncLogger
- Constructs an
AsyncLogger
with the specified context, name and
message factory.
- AsyncLoggerConfig - Class in org.apache.logging.log4j.core.async
- Asynchronous Logger object that is created via configuration and can be
combined with synchronous loggers.
- AsyncLoggerConfig() -
Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig
- Default constructor.
- AsyncLoggerConfig(String, Level, boolean) -
Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig
- Constructor that sets the name, level and additive values.
- AsyncLoggerConfig(String, List<AppenderRef>, Filter, Level, boolean, Property[], Configuration, boolean) -
Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
- AsyncLoggerConfig.RootLogger - Class in org.apache.logging.log4j.core.async
- An asynchronous root Logger.
- AsyncLoggerConfig.RootLogger() -
Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerConfig.RootLogger
-
- AsyncLoggerContext - Class in org.apache.logging.log4j.core.async
LoggerContext
that creates AsyncLogger
objects.- AsyncLoggerContext(String) -
Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- AsyncLoggerContext(String, Object) -
Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- AsyncLoggerContext(String, Object, URI) -
Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- AsyncLoggerContext(String, Object, String) -
Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- AsyncLoggerContextSelector - Class in org.apache.logging.log4j.core.async
ContextSelector
that returns the singleton AsyncLoggerContext
.- AsyncLoggerContextSelector() -
Constructor for class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
B
- BasicContextSelector - Class in org.apache.logging.log4j.core.selector
- Returns either this Thread's context or the default LoggerContext.
- BasicContextSelector() -
Constructor for class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- BasicLogEventEntity - Class in org.apache.logging.log4j.core.appender.db.jpa
- Users of the JPA appender may want to extend this class instead of
AbstractLogEventWrapperEntity
. - BasicLogEventEntity() -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Instantiates this base class.
- BasicLogEventEntity(LogEvent) -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Instantiates this base class.
- Booleans - Class in org.apache.logging.log4j.core.util
- Boolean helpers.
- build() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginBuilder
- Builds the plugin object.
- build() -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
-
- build() -
Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
-
- build() -
Method in interface org.apache.logging.log4j.core.util.Builder
- Builds the plugin object after all configuration has been set.
- Builder<T> - Interface in org.apache.logging.log4j.core.util
- A type of Plugin builder that can be used to configure and create a plugin instance using a Java DSL instead of
through a configuration file.
- bundleChanged(BundleEvent) -
Method in class org.apache.logging.log4j.core.config.plugins.osgi.Activator
-
- BundleResourceLoader - Class in org.apache.logging.log4j.core.util
- Bundle-based ResourceLoader.
- BundleResourceLoader(Bundle) -
Constructor for class org.apache.logging.log4j.core.util.BundleResourceLoader
-
- BurstFilter - Class in org.apache.logging.log4j.core.filter
- The
BurstFilter
is a logging filter that regulates logging
traffic.
C
- CachedClock - Class in org.apache.logging.log4j.core.util
- Implementation of the
Clock
interface that tracks the time in a
private long field that is updated by a background thread once every
millisecond. - calcLocation(String) -
Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- callAppender(LogEvent) -
Method in class org.apache.logging.log4j.core.config.AppenderControl
- Call the appender.
- callAppenders(LogEvent) -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
- Passes on the event to a separate thread that will call
AsyncLoggerConfig.asyncCallAppenders(LogEvent)
.
- callAppenders(LogEvent) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
- canDeserialize(Serializable) -
Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- charMatcher(char) -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Constructor that creates a matcher from a character.
- charSetMatcher(char[]) -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Constructor that creates a matcher from a set of characters.
- charSetMatcher(String) -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Constructor that creates a matcher from a string representing a set of characters.
- Charsets - Class in org.apache.logging.log4j.core.util
- Charset utilities.
- checkConfiguration() -
Method in interface org.apache.logging.log4j.core.config.ConfigurationMonitor
- Called to determine if the configuration has changed.
- checkConfiguration() -
Method in class org.apache.logging.log4j.core.config.DefaultConfigurationMonitor
- Does nothing.
- checkConfiguration() -
Method in class org.apache.logging.log4j.core.config.FileConfigurationMonitor
- Called to determine if the configuration has changed.
- checkRollover(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- Determine if a rollover should occur.
- CLASS_NAME -
Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
- ClassLoaderContextSelector - Class in org.apache.logging.log4j.core.selector
- This ContextSelector chooses a LoggerContext based upon the ClassLoader of the caller.
- ClassLoaderContextSelector() -
Constructor for class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- ClassLoaderResourceLoader - Class in org.apache.logging.log4j.core.util
- ClassLoader-based ResourceLoader.
- ClassLoaderResourceLoader(ClassLoader) -
Constructor for class org.apache.logging.log4j.core.util.ClassLoaderResourceLoader
-
- ClassNamePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats the class name of the site of the logging request.
- clazz -
Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- clear() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- Release references held by ring buffer to allow objects to be garbage-collected.
- clear() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
- Resets the registry to an empty state.
- clear() -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
- Clear the history.
- clearAppenders() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Removes all Appenders.
- Clock - Interface in org.apache.logging.log4j.core.util
- Provides the time stamp used in log events.
- ClockFactory - Class in org.apache.logging.log4j.core.util
- Factory for
Clock
objects. - close() -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
- close() -
Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
- close() -
Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
- Cancels the action if not already initialized or waits till completion.
- close() -
Method in interface org.apache.logging.log4j.core.appender.rolling.action.Action
- Cancels the action if not already initialized or waits till completion.
- close() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- close() -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- close() -
Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
-
- close() -
Method in class org.apache.logging.log4j.core.net.TcpSocketManager
-
- close(Closeable) -
Static method in class org.apache.logging.log4j.core.util.Closer
- Closes the specified
Closeable
(stream or reader/writer).
- close(ServerSocket) -
Static method in class org.apache.logging.log4j.core.util.Closer
- Closes the specified resource.
- close(DatagramSocket) -
Static method in class org.apache.logging.log4j.core.util.Closer
- Closes the specified resource.
- close(Statement) -
Static method in class org.apache.logging.log4j.core.util.Closer
- Closes the specified
Statement
.
- close(Connection) -
Static method in class org.apache.logging.log4j.core.util.Closer
- Closes the specified
Connection
.
- close(Context) -
Static method in class org.apache.logging.log4j.core.util.JndiCloser
- Closes the specified
Context
.
- Closer - Class in org.apache.logging.log4j.core.util
- Helper class for closing resources.
- closeSilently(Closeable) -
Static method in class org.apache.logging.log4j.core.util.Closer
- Closes the specified
Closeable
(stream or reader/writer),
ignoring any exceptions thrown by the close operation.
- closeSilently(ServerSocket) -
Static method in class org.apache.logging.log4j.core.util.Closer
- Closes the specified resource, ignoring any exceptions thrown by the close operation.
- closeSilently(DatagramSocket) -
Static method in class org.apache.logging.log4j.core.util.Closer
- Closes the specified resource, ignoring any exceptions thrown by the close operation.
- closeSilently(Statement) -
Static method in class org.apache.logging.log4j.core.util.Closer
- Closes the specified
Statement
, ignoring any exceptions thrown by
the close operation.
- closeSilently(Connection) -
Static method in class org.apache.logging.log4j.core.util.Closer
- Closes the specified
Connection
, ignoring any exceptions thrown
by the close operation.
- closeSilently(Context) -
Static method in class org.apache.logging.log4j.core.util.JndiCloser
- Closes the specified
Context
, ignoring any exceptions thrown by the close operation.
- CoarseCachedClock - Class in org.apache.logging.log4j.core.util
- This Clock implementation is similar to CachedClock.
- collectPlugins() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
- Locates all the plugins.
- collectPlugins(boolean) -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
- Collects plugins, optionally obtaining them from a preload map.
- ColumnConfig - Class in org.apache.logging.log4j.core.appender.db.jdbc
- A configuration element used to configure which event properties are logged to which columns in the database table.
- COMMA_SEPARATOR -
Static variable in class org.apache.logging.log4j.core.util.Patterns
- A pattern string for comma separated lists with optional whitespace.
- commaMatcher() -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Returns a matcher which matches the comma character.
- commitAndClose() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- Commits any active transaction (if applicable) and disconnects from the database (returns the connection to the
connection pool).
- commitAndClose() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
-
- commitAndClose() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
-
- CompositeAction - Class in org.apache.logging.log4j.core.appender.rolling.action
- A group of Actions to be executed in sequence.
- CompositeAction(List<Action>, boolean) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.action.CompositeAction
- Construct a new composite action.
- CompositeFilter - Class in org.apache.logging.log4j.core.filter
- Composes and invokes one or more filters.
- CompositeTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
- Triggering policy that wraps other policies.
- concatenateArrays(String[], String[]) -
Static method in class org.apache.logging.log4j.core.util.OptionConverter
-
- config -
Variable in class org.apache.logging.log4j.core.Logger
- config should be consistent across threads.
- config -
Variable in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- Configuration - Interface in org.apache.logging.log4j.core.config
- Interface that must be implemented to create a configuration.
- CONFIGURATION_FACTORY_PROPERTY -
Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Allow the ConfigurationFactory class to be specified as a system property.
- CONFIGURATION_FILE_PROPERTY -
Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Allow the location of the configuration file to be specified as a system property.
- ConfigurationException - Exception in org.apache.logging.log4j.core.config
- This exception is thrown when an error occurs reading from, parsing, using, or initializing the Log4j 2
configuration.
- ConfigurationException(String) -
Constructor for exception org.apache.logging.log4j.core.config.ConfigurationException
- Construct an exception with a message.
- ConfigurationException(String, Throwable) -
Constructor for exception org.apache.logging.log4j.core.config.ConfigurationException
- Construct an exception with a message and underlying cause.
- ConfigurationFactory - Class in org.apache.logging.log4j.core.config
- ConfigurationFactory allows the configuration implementation to be
dynamically chosen in 1 of 3 ways:
A system property named "log4j.configurationFactory" can be set with the
name of the ConfigurationFactory to be used.
ConfigurationFactory.setConfigurationFactory(ConfigurationFactory) can be called
with the instance of the ConfigurationFactory to be used.
- ConfigurationFactory() -
Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- ConfigurationListener - Interface in org.apache.logging.log4j.core.config
- Interface used to allow components to be notified when the configuration changes.
- ConfigurationMonitor - Interface in org.apache.logging.log4j.core.config
- Interface that must be implemented to provide notification of configuration changes.
- 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.
- 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
- Create the Properties component.
- connectAndStart() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- Connects to the database and starts a transaction (if applicable).
- connectAndStart() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
-
- connectAndStart() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
-
- ConnectionSource - Interface in org.apache.logging.log4j.core.appender.db.jdbc
- Configuration element for
JdbcAppender
. - ConsoleAppender - Class in org.apache.logging.log4j.core.appender
- ConsoleAppender appends log events to
System.out
or
System.err
using a layout specified by the user. - ConsoleAppender.Target - Enum in org.apache.logging.log4j.core.appender
- Enumeration of console destinations.
- Constants - Class in org.apache.logging.log4j.core.util
- Log4j Constants.
- 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.
- ContextMapAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- A JPA 2.1 attribute converter for
Map<String, String>
s in
LogEvent
s. - ContextMapAttributeConverter() -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapAttributeConverter
-
- ContextMapJsonAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- A JPA 2.1 attribute converter for
Map<String, String>
s in
LogEvent
s. - ContextMapJsonAttributeConverter() -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapJsonAttributeConverter
-
- ContextMapLookup - Class in org.apache.logging.log4j.core.lookup
- Looks up keys from system properties.
- ContextMapLookup() -
Constructor for class org.apache.logging.log4j.core.lookup.ContextMapLookup
-
- ContextSelector - Interface in org.apache.logging.log4j.core.selector
- Interface used to locate a LoggerContext.
- ContextSelectorAdmin - Class in org.apache.logging.log4j.core.jmx
- Implementation of the
ContextSelectorAdminMBean
interface. - ContextSelectorAdmin(String, ContextSelector) -
Constructor for class org.apache.logging.log4j.core.jmx.ContextSelectorAdmin
- Constructs a new
ContextSelectorAdmin
.
- ContextSelectorAdminMBean - Interface in org.apache.logging.log4j.core.jmx
- The MBean interface for monitoring and managing the
ContextSelector
. - ContextStackAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- A JPA 2.1 attribute converter for
ThreadContext.ContextStack
s in
LogEvent
s. - ContextStackAttributeConverter() -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackAttributeConverter
-
- ContextStackJsonAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- A JPA 2.1 attribute converter for
ThreadContext.ContextStack
s in
LogEvent
s. - ContextStackJsonAttributeConverter() -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackJsonAttributeConverter
-
- conversionType -
Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- convert(String) -
Method in interface org.apache.logging.log4j.core.config.plugins.util.TypeConverter
- Converts a String to a given type.
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.BigDecimalConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.BigIntegerConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.BooleanConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.ByteArrayConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.ByteConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.CharacterConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.CharArrayConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.CharsetConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.ClassConverter
-
- convert(String, Class<?>, Object) -
Static method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters
- Converts a String to a given class if a TypeConverter is available for that class.
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.DoubleConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.EnumConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.FileConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.FloatConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.IntegerConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.LevelConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.LongConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.PatternConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.SecurityProviderConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.ShortConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.StringConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.UriConverter
-
- convert(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.UrlConverter
-
- convert(String, Object) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- Converts the given value into the configured type falling back to the provided default value.
- ConverterKeys - Annotation Type in org.apache.logging.log4j.core.pattern
- Identifies the keys that are associated with a PatternConverter.
- convertSpecialChars(String) -
Static method in class org.apache.logging.log4j.core.util.OptionConverter
-
- convertToDatabaseColumn(Map<String, String>) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapAttributeConverter
-
- convertToDatabaseColumn(Map<String, String>) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapJsonAttributeConverter
-
- convertToDatabaseColumn(ThreadContext.ContextStack) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackAttributeConverter
-
- convertToDatabaseColumn(ThreadContext.ContextStack) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackJsonAttributeConverter
-
- convertToDatabaseColumn(Level) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.LevelAttributeConverter
-
- convertToDatabaseColumn(Marker) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MarkerAttributeConverter
-
- convertToDatabaseColumn(Message) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MessageAttributeConverter
-
- convertToDatabaseColumn(StackTraceElement) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.StackTraceElementAttributeConverter
-
- convertToDatabaseColumn(Throwable) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ThrowableAttributeConverter
-
- convertToEntityAttribute(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapAttributeConverter
-
- convertToEntityAttribute(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextMapJsonAttributeConverter
-
- convertToEntityAttribute(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackAttributeConverter
-
- convertToEntityAttribute(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ContextStackJsonAttributeConverter
-
- convertToEntityAttribute(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.LevelAttributeConverter
-
- convertToEntityAttribute(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MarkerAttributeConverter
-
- convertToEntityAttribute(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.MessageAttributeConverter
-
- convertToEntityAttribute(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.StackTraceElementAttributeConverter
-
- convertToEntityAttribute(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.converter.ThrowableAttributeConverter
-
- count -
Variable in class org.apache.logging.log4j.core.appender.AbstractManager
- Number of Appenders using this manager.
- createAdvertiser(String, ConfigurationSource, byte[], String) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- createAppender(AppenderRef[], String, boolean, int, String, boolean, Filter, Configuration, boolean) -
Static method in class org.apache.logging.log4j.core.appender.AsyncAppender
- Create an AsyncAppender.
- createAppender(Layout<? extends Serializable>, Filter, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.appender.ConsoleAppender
- Create a Console Appender.
- createAppender(String, String, Filter, ConnectionSource, String, String, ColumnConfig[]) -
Static method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender
- Factory method for creating a JDBC appender within the plugin manager.
- createAppender(String, String, Filter, String, String, String) -
Static method in class org.apache.logging.log4j.core.appender.db.jpa.JpaAppender
- Factory method for creating a JPA appender within the plugin manager.
- createAppender(String, String, String[], String, Configuration, Filter, String) -
Static method in class org.apache.logging.log4j.core.appender.FailoverAppender
- Create a Failover Appender.
- createAppender(String, String, String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String, String, Configuration) -
Static method in class org.apache.logging.log4j.core.appender.FileAppender
- Create a File Appender.
- createAppender(String, String, String, String, String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String) -
Static method in class org.apache.logging.log4j.core.appender.jms.JmsQueueAppender
- Create a JmsQueueAppender.
- createAppender(String, String, String, String, String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String) -
Static method in class org.apache.logging.log4j.core.appender.jms.JmsTopicAppender
- Create a JmsTopicAppender.
- createAppender(String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String, String, Configuration) -
Static method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
- Create a File Appender.
- createAppender(String, String, AppenderRef[], Configuration, RewritePolicy, Filter) -
Static method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
- Create a RewriteAppender.
- createAppender(String, String, String, String, String, String, String, TriggeringPolicy, RolloverStrategy, Layout<? extends Serializable>, Filter, String, String, String, Configuration) -
Static method in class org.apache.logging.log4j.core.appender.RollingFileAppender
- Create a RollingFileAppender.
- createAppender(String, String, String, String, String, String, TriggeringPolicy, RolloverStrategy, Layout<? extends Serializable>, Filter, String, String, String, Configuration) -
Static method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
- Create a RollingRandomAccessFileAppender.
- createAppender(String, String, Routes, Configuration, RewritePolicy, Filter) -
Static method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
- Create a RoutingAppender.
- createAppender(String, String, String, String, String, String, String, String, String, String, String, String, String, String, Layout<? extends Serializable>, Filter, String) -
Static method in class org.apache.logging.log4j.core.appender.SmtpAppender
- Create a SmtpAppender.
- createAppender(String, String, String, SslConfiguration, String, String, String, String, String, Layout<? extends Serializable>, Filter, String, Configuration) -
Static method in class org.apache.logging.log4j.core.appender.SocketAppender
-
- createAppender(String, int, String, SslConfiguration, int, boolean, String, boolean, boolean, Facility, String, int, boolean, String, String, String, boolean, String, String, String, String, String, String, String, Filter, Configuration, Charset, String, LoggerFields[], boolean) -
Static method in class org.apache.logging.log4j.core.appender.SyslogAppender
- Create a SyslogAppender.
- 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
- Create a Map of the Appenders.
- createColumnConfig(Configuration, String, String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
- Factory method for creating a column config within the plugin manager.
- createConfiguration(Node, LogEvent) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- createConfiguration(Node, LogEvent) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- createConnectionSource(String) -
Static method in class org.apache.logging.log4j.core.appender.db.jdbc.DataSourceConnectionSource
- Factory method for creating a connection source within the plugin manager.
- createConnectionSource(String, String) -
Static method in class org.apache.logging.log4j.core.appender.db.jdbc.FactoryMethodConnectionSource
- Factory method for creating a connection source within the plugin manager.
- createContext(String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.net.jms.AbstractJmsManager
- Create the InitialContext.
- createDefaultLayout() -
Static method in class org.apache.logging.log4j.core.layout.HtmlLayout
- Creates an HTML Layout using the default settings.
- createDefaultLayout() -
Static method in class org.apache.logging.log4j.core.layout.JsonLayout
- Creates a JSON Layout using the default settings.
- createDefaultLayout() -
Static method in class org.apache.logging.log4j.core.layout.PatternLayout
- Creates a PatternLayout using the default options.
- createDefaultLayout() -
Static method in class org.apache.logging.log4j.core.layout.XmlLayout
- Creates an XML Layout using the default settings.
- createEvent(String, Marker, String, Level, Message, List<Property>, Throwable) -
Method in class org.apache.logging.log4j.core.impl.DefaultLogEventFactory
- Creates a log event.
- createEvent(String, Marker, String, Level, Message, Throwable, ThrowableProxy, Map<String, String>, ThreadContext.ContextStack, String, StackTraceElement, long) -
Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Create a new LogEvent.
- createEvent(String, Marker, String, Level, Message, List<Property>, Throwable) -
Method in interface org.apache.logging.log4j.core.impl.LogEventFactory
-
- createFailovers(AppenderRef...) -
Static method in class org.apache.logging.log4j.core.appender.FailoversPlugin
- Returns the appender references.
- createFileAfterRollover() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
- createFileAfterRollover() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- createFilter(Level, Float, Long, Filter.Result, Filter.Result) -
Static method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- createFilter(String, KeyValuePair[], Level, Filter.Result, Filter.Result) -
Static method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- Create the DynamicThresholdFilter.
- createFilter(KeyValuePair[], String, Filter.Result, Filter.Result) -
Static method in class org.apache.logging.log4j.core.filter.MapFilter
-
- createFilter(String, Filter.Result, Filter.Result) -
Static method in class org.apache.logging.log4j.core.filter.MarkerFilter
- Create the MarkerFilter.
- createFilter(String, String[], Boolean, Filter.Result, Filter.Result) -
Static method in class org.apache.logging.log4j.core.filter.RegexFilter
- Create a Filter that matches a regular expression.
- createFilter(KeyValuePair[], String, Filter.Result, Filter.Result) -
Static method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
- Create the StructuredDataFilter.
- createFilter(KeyValuePair[], String, Filter.Result, Filter.Result) -
Static method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- createFilter(Level, Filter.Result, Filter.Result) -
Static method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- Create a ThresholdFilter.
- createFilter(String, String, String, Filter.Result, Filter.Result) -
Static method in class org.apache.logging.log4j.core.filter.TimeFilter
- Create a TimeFilter.
- createFilters(Filter[]) -
Static method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Create a CompositeFilter.
- createJsonSocketServer(int) -
Static method in class org.apache.logging.log4j.core.net.server.TcpSocketServer
- Creates a socket server that reads JSON log events.
- createJsonSocketServer(int) -
Static method in class org.apache.logging.log4j.core.net.server.UdpSocketServer
- Creates a socket server that reads JSON log events.
- createKeyStoreConfiguration(String, String, String, String) -
Static method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
- Creates a KeyStoreConfiguration.
- createKeyStoreConfiguration(String, String, String, String) -
Static method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
- Creates a KeyStoreConfiguration.
- createLayout(boolean, String, String, Charset, String, String) -
Static method in class org.apache.logging.log4j.core.layout.HtmlLayout
- Create an HTML Layout.
- createLayout(boolean, boolean, boolean, boolean, Charset) -
Static method in class org.apache.logging.log4j.core.layout.JsonLayout
- Creates a JSON Layout.
- createLayout(String, Configuration, RegexReplacement, Charset, boolean, boolean, String, String) -
Static method in class org.apache.logging.log4j.core.layout.PatternLayout
- Create a pattern layout.
- createLayout(Facility, String, int, boolean, String, String, String, boolean, String, String, String, String, String, String, String, boolean, LoggerFields[], Configuration) -
Static method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- Create the RFC 5424 Layout.
- createLayout() -
Static method in class org.apache.logging.log4j.core.layout.SerializedLayout
- Creates a SerializedLayout.
- createLayout(Facility, boolean, String, Charset) -
Static method in class org.apache.logging.log4j.core.layout.SyslogLayout
- Create a SyslogLayout.
- createLayout(boolean, boolean, boolean, boolean, Charset) -
Static method in class org.apache.logging.log4j.core.layout.XmlLayout
- Creates an XML Layout.
- createLogger(String, String, String, String, AppenderRef[], Property[], Configuration, Filter) -
Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
- Factory method to create a LoggerConfig.
- createLogger(String, String, String, AppenderRef[], Property[], Configuration, Filter) -
Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig.RootLogger
-
- createLogger(String, Level, String, String, AppenderRef[], Property[], Configuration, Filter) -
Static method in class org.apache.logging.log4j.core.config.LoggerConfig
- Factory method to create a LoggerConfig.
- createLogger(String, Level, String, AppenderRef[], Property[], Configuration, Filter) -
Static method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger
-
- 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, TcpSocketManager.FactoryData) -
Method in class org.apache.logging.log4j.core.net.TcpSocketManager.TcpSocketManagerFactory
-
- createMap(String, String[]) -
Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
- Creates a Map from a source array where values are ANSI escape sequences.
- createMap(String[], String[]) -
Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
- Creates a Map from a source array where values are ANSI escape sequences.
- createMemento() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- Creates and returns a new immutable copy of this
RingBufferLogEvent
.
- createPair(String, String) -
Static method in class org.apache.logging.log4j.core.util.KeyValuePair
- Create a Key/Value pair.
- createPatternParser(Configuration) -
Static method in class org.apache.logging.log4j.core.layout.PatternLayout
- Create a PatternParser.
- createPolicy(String, KeyValuePair[]) -
Static method in class org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy
- The factory method to create the MapRewritePolicy.
- createPolicy(Configuration, Property[]) -
Static method in class org.apache.logging.log4j.core.appender.rewrite.PropertiesRewritePolicy
- The factory method to create the PropertiesRewritePolicy.
- createPolicy(TriggeringPolicy...) -
Static method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
- Create a CompositeTriggeringPolicy.
- createPolicy() -
Static method in class org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy
-
- createPolicy(String) -
Static method in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- Create a SizeBasedTriggeringPolicy.
- createPolicy(String, String) -
Static method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy
- Create a TimeBasedTriggeringPolicy.
- createProperty(String, String) -
Static method in class org.apache.logging.log4j.core.config.Property
- Create a Property.
- createRegexReplacement(Pattern, String) -
Static method in class org.apache.logging.log4j.core.pattern.RegexReplacement
- Create a RegexReplacement.
- createRingBufferAdmin(String) -
Static method in class org.apache.logging.log4j.core.async.AsyncLogger
- Creates and returns a new
RingBufferAdmin
that instruments the
ringbuffer of the AsyncLogger
.
- createRingBufferAdmin(String) -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
- Creates and returns a new
RingBufferAdmin
that instruments the
ringbuffer of this AsyncLoggerConfig
.
- createRoute(String, String, Node) -
Static method in class org.apache.logging.log4j.core.appender.routing.Route
- Create the Route.
- createRoutes(String, Route...) -
Static method in class org.apache.logging.log4j.core.appender.routing.Routes
- Create the Routes.
- createSequence(String...) -
Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
- Creates an ANSI escape sequence from the given AnsiEscape names.
- createSerializedSocketServer(int) -
Static method in class org.apache.logging.log4j.core.net.server.TcpSocketServer
- Creates a socket server that reads serialized log events.
- createSerializedSocketServer(int) -
Static method in class org.apache.logging.log4j.core.net.server.UdpSocketServer
- Creates a socket server that reads serialized log events.
- createSocket(String, int) -
Method in class org.apache.logging.log4j.core.net.SslSocketManager
-
- createSocket(InetAddress, int) -
Method in class org.apache.logging.log4j.core.net.TcpSocketManager
-
- createSocket(String, int) -
Method in class org.apache.logging.log4j.core.net.TcpSocketManager
-
- createSocketManager(String, Protocol, String, int, SslConfiguration, int, boolean, Layout<? extends Serializable>) -
Static method in class org.apache.logging.log4j.core.appender.SocketAppender
- Creates an AbstractSocketManager for TCP, UDP, and SSL.
- 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.
- createStrategy(String, String, String, String, Configuration) -
Static method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- Create the DefaultRolloverStrategy.
- createXmlSocketServer(int) -
Static method in class org.apache.logging.log4j.core.net.server.TcpSocketServer
- Creates a socket server that reads XML log events.
- createXmlSocketServer(int) -
Static method in class org.apache.logging.log4j.core.net.server.UdpSocketServer
- Creates a socket server that reads XML log events.
- currentTimeMillis() -
Method in class org.apache.logging.log4j.core.util.CachedClock
- Returns the value of a private long field that is updated by a background
thread once every millisecond.
- currentTimeMillis() -
Method in interface org.apache.logging.log4j.core.util.Clock
- Returns the time in milliseconds since the epoch.
- currentTimeMillis() -
Method in class org.apache.logging.log4j.core.util.CoarseCachedClock
- Returns the value of a private long field that is updated by a background
thread once every millisecond.
- currentTimeMillis() -
Method in class org.apache.logging.log4j.core.util.SystemClock
- Returns the system time.
- 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
- Instantiate a new CyclicBuffer of at most
maxSize
events.
D
- DaemonThreadFactory - Class in org.apache.logging.log4j.core.async
- ThreadFactory that creates daemon threads for the async loggers.
- DaemonThreadFactory(String) -
Constructor for class org.apache.logging.log4j.core.async.DaemonThreadFactory
-
- DatagramOutputStream - Class in org.apache.logging.log4j.core.net
- OutputStream for UDP connections.
- DatagramOutputStream(String, int, byte[], byte[]) -
Constructor for class org.apache.logging.log4j.core.net.DatagramOutputStream
- The Constructor.
- DatagramSocketManager - Class in org.apache.logging.log4j.core.net
- Socket Manager for UDP connections.
- DatagramSocketManager(String, OutputStream, InetAddress, String, int, Layout<? extends Serializable>) -
Constructor for class org.apache.logging.log4j.core.net.DatagramSocketManager
- The Constructor.
- DataSourceConnectionSource - Class in org.apache.logging.log4j.core.appender.db.jdbc
- A
JdbcAppender
connection source that uses a DataSource
to connect to the database. - 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
- Convert and format the event's date in a StringBuilder.
- 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
- Not a very good default - it is the Apache Software Foundation's enterprise number.
- DEFAULT_ESCAPE -
Static variable in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Constant for the default escape character.
- DEFAULT_FONT_FAMILY -
Static variable in class org.apache.logging.log4j.core.layout.HtmlLayout
-
- DEFAULT_ID -
Static variable in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- The default event id.
- DEFAULT_LEVEL -
Static variable in class org.apache.logging.log4j.core.config.DefaultConfiguration
- The System Property used to specify the logging level.
- DEFAULT_MDCID -
Static variable in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
- DEFAULT_NAME -
Static variable in class org.apache.logging.log4j.core.config.DefaultConfiguration
- The name of the default configuration.
- 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_RECONNECTION_DELAY -
Static variable in class org.apache.logging.log4j.core.net.TcpSocketManager
- The default reconnection delay (30000 milliseconds or 30 seconds).
- 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
- Constant for the default value delimiter of a variable.
- 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
-
- DefaultConfiguration - Class in org.apache.logging.log4j.core.config
- The default configuration writes all output to the Console using the default logging level.
- DefaultConfiguration() -
Constructor for class org.apache.logging.log4j.core.config.DefaultConfiguration
- Constructor to create the default configuration.
- DefaultConfigurationMonitor - Class in org.apache.logging.log4j.core.config
- The default configuration monitor does not do anything.
- DefaultConfigurationMonitor() -
Constructor for class org.apache.logging.log4j.core.config.DefaultConfigurationMonitor
-
- DefaultErrorHandler - Class in org.apache.logging.log4j.core.appender
-
- DefaultErrorHandler(Appender) -
Constructor for class org.apache.logging.log4j.core.appender.DefaultErrorHandler
-
- DefaultLogEventFactory - Class in org.apache.logging.log4j.core.impl
-
- DefaultLogEventFactory() -
Constructor for class org.apache.logging.log4j.core.impl.DefaultLogEventFactory
-
- DefaultRolloverStrategy - Class in org.apache.logging.log4j.core.appender.rolling
- When rolling over,
DefaultRolloverStrategy
renames files
according to an algorithm as described below. - DefaultRolloverStrategy(int, int, boolean, int, StrSubstitutor) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- Constructs a new instance.
- deserialize(Serializable) -
Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- deserialize(JsonParser, DeserializationContext) -
Method in class org.apache.logging.log4j.core.jackson.ListOfMapEntryDeserializer
-
- deserialize(JsonParser, DeserializationContext) -
Method in class org.apache.logging.log4j.core.jackson.Log4jStackTraceElementDeserializer
-
- deserialize(JsonParser, DeserializationContext) -
Method in class org.apache.logging.log4j.core.jackson.SimpleMessageDeserializer
-
- doConfigure() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- doConfigure() -
Method in class org.apache.logging.log4j.core.config.DefaultConfiguration
-
- doesMatchClass() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager.PluginTest
-
- doesMatchClass() -
Method in interface org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.Test
-
- doesMatchResource() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager.PluginTest
-
- doesMatchResource() -
Method in interface org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.Test
-
- DOMAIN -
Static variable in class org.apache.logging.log4j.core.jmx.Server
- The domain part, or prefix ("org.apache.logging.log4j2" ) of the
ObjectName
of all
MBeans that instrument Log4J2 components.
- doubleQuoteMatcher() -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Returns a matcher which matches the double quote character.
- DynamicThresholdFilter - Class in org.apache.logging.log4j.core.filter
- Compare against a log level that is associated with an MDC value.
E
- ELT_CAUSE -
Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
-
- ELT_CAUSE -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_CONTEXT_MAP -
Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
-
- ELT_CONTEXT_MAP -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_CONTEXT_STACK -
Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
-
- ELT_CONTEXT_STACK -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_CONTEXT_STACK_ITEM -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_EVENT -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_EXTENDED_STACK_TRACE -
Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
-
- ELT_EXTENDED_STACK_TRACE -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_EXTENDED_STACK_TRACE_ITEM -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_MARKER -
Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
-
- ELT_MARKER -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_MESSAGE -
Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
-
- ELT_MESSAGE -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_PARENTS -
Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
-
- ELT_PARENTS -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_SOURCE -
Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
-
- ELT_SOURCE -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_SUPPRESSED -
Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
-
- ELT_SUPPRESSED -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_SUPPRESSED_ITEM -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- ELT_THROWN -
Static variable in class org.apache.logging.log4j.core.jackson.JsonConstants
-
- ELT_THROWN -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- EMPTY -
Static variable in annotation type org.apache.logging.log4j.core.config.plugins.Plugin
- Value of the elementType when none is specified.
- encodeContent(byte[], String, ByteArrayOutputStream) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
-
- encodeContentToBytes(byte[], String) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
-
- EncodingPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's rendered message in a StringBuilder.
- END -
Static variable in class org.apache.logging.log4j.core.net.server.AbstractLogEventBridge
-
- 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
-
- equals(Object) -
Method in class org.apache.logging.log4j.core.appender.TlsSyslogFrame
-
- equals(TlsSyslogFrame) -
Method in class org.apache.logging.log4j.core.appender.TlsSyslogFrame
-
- equals(Object) -
Method in class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
- equals(Object) -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- equals(Object) -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- equals(Object) -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- equals(SslConfiguration) -
Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
-
- equals(Object) -
Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- error(String) -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Handle an error with a message.
- error(String, LogEvent, Throwable) -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Handle an error with a message, and exception and a logging event.
- error(String, Throwable) -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Handle an error with a message and an exception.
- error(String) -
Method in class org.apache.logging.log4j.core.appender.DefaultErrorHandler
- Handle an error with a message.
- error(String, Throwable) -
Method in class org.apache.logging.log4j.core.appender.DefaultErrorHandler
- Handle an error with a message and an exception.
- error(String, LogEvent, Throwable) -
Method in class org.apache.logging.log4j.core.appender.DefaultErrorHandler
- Handle an error with a message, and exception and a logging event.
- 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 interface org.apache.logging.log4j.core.ErrorHandler
- Handle an error with a message and an exception.
- 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.
- ErrorHandler - Interface in org.apache.logging.log4j.core
- Appenders may delegate their error handling to
ErrorHandlers
. - escape(String) -
Static method in class org.apache.logging.log4j.core.jmx.Server
- Either returns the specified name as is, or returns a quoted value
containing the specified name with the special characters (comma, equals,
colon, quote, asterisk, or question mark) preceded with a backslash.
- 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.
- execute() -
Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
- Perform action.
- 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.FileRenameAction
- Rename file.
- execute(File, File, boolean) -
Static method in class org.apache.logging.log4j.core.appender.rolling.action.FileRenameAction
- Rename file.
- execute() -
Method in class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
- Compress.
- execute(File, File, boolean) -
Static method in class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
- Compress a file.
- execute() -
Method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
- Compress.
- execute(File, File, boolean, int) -
Static method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
- Compress a file.
- execute(boolean) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- Event processor that reads the event from the ringbuffer can call this method.
- ExtendedClassInfo - Class in org.apache.logging.log4j.core.impl
- Class and package data used with a
StackTraceElement
in a ExtendedStackTraceElement
. - ExtendedClassInfo(boolean, String, String) -
Constructor for class org.apache.logging.log4j.core.impl.ExtendedClassInfo
- Constructs a new instance.
- ExtendedStackTraceElement - Class in org.apache.logging.log4j.core.impl
- Wraps and extends the concept of the JRE's final class
StackTraceElement
by adding more location information. - ExtendedStackTraceElement(StackTraceElement, ExtendedClassInfo) -
Constructor for class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- ExtendedStackTraceElement(String, String, String, int, boolean, String, String) -
Constructor for class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
- Called from Jackson for XML and JSON IO.
- ExtendedThrowablePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Outputs the Throwable portion of the LoggingEvent as a full stacktrace
unless this converter's option is 'short', where it just outputs the first line of the trace, or if
the number of lines to print is explicitly specified.
F
- Facility - Enum in org.apache.logging.log4j.core.net
- The facility codes used by the Syslog system.
- FACTORY -
Static variable in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- The
EventFactory
for RingBufferLogEvent
s.
- FactoryMethodConnectionSource - Class in org.apache.logging.log4j.core.appender.db.jdbc
- A
JdbcAppender
connection source that uses a public static factory method to obtain a Connection
or
DataSource
. - FailoverAppender - Class in org.apache.logging.log4j.core.appender
- The FailoverAppender will capture exceptions in an Appender and then route the event
to a different appender.
- FailoversPlugin - Class in org.apache.logging.log4j.core.appender
- The array of failover Appenders.
- FILE_NAME -
Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
- FileAppender - Class in org.apache.logging.log4j.core.appender
- File Appender.
- FileConfigurationMonitor - Class in org.apache.logging.log4j.core.config
- Configuration monitor that periodically checks the timestamp of the configuration file and calls the
ConfigurationListeners when an update occurs.
- FileConfigurationMonitor(Reconfigurable, File, List<ConfigurationListener>, int) -
Constructor for class org.apache.logging.log4j.core.config.FileConfigurationMonitor
- Constructor.
- FileDatePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats an date by delegating to DatePatternConverter.
- fileFromUri(URI) -
Static method in class org.apache.logging.log4j.core.util.FileUtils
- Tries to convert the specified URL to a file object.
- FileLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's line location information in a StringBuilder.
- FileManager - Class in org.apache.logging.log4j.core.appender
- Manages actual File I/O for File Appenders.
- FileManager(String, OutputStream, boolean, boolean, String, Layout<? extends Serializable>, int) -
Constructor for class org.apache.logging.log4j.core.appender.FileManager
-
- FileRenameAction - Class in org.apache.logging.log4j.core.appender.rolling.action
- File rename action.
- FileRenameAction(File, File, boolean) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.action.FileRenameAction
- Creates an FileRenameAction.
- FileUtils - Class in org.apache.logging.log4j.core.util
- File utilities.
- Filter - Interface in org.apache.logging.log4j.core
- Interface that must be implemented to allow custom event filtering.
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Appender Filter method.
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Appender Filter method.
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Appender Filter method.
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Context Filter method.
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Filter an event.
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Filter an event.
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Filter an event.
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Filter an event.
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in interface org.apache.logging.log4j.core.Filter
- Filter an event.
- filter(Logger, Level, Marker, Object, Throwable) -
Method in interface org.apache.logging.log4j.core.Filter
- Filter an event.
- filter(Logger, Level, Marker, Message, Throwable) -
Method in interface org.apache.logging.log4j.core.Filter
- Filter an event.
- filter(LogEvent) -
Method in interface org.apache.logging.log4j.core.Filter
- Filter an event.
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- filter(Map<String, String>) -
Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
- filter(StructuredDataMessage) -
Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.TimeFilter
-
- Filter.Result - Enum in org.apache.logging.log4j.core
- The result that can returned from a filter method call.
- Filterable - Interface in org.apache.logging.log4j.core.filter
- Interface implemented by Classes that allow filtering to occur.
- filterCount() -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is used primarily for unit testing.
- find(ResolverUtil.Test, String...) -
Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
- Attempts to discover classes that pass the test.
- findAndSubst(String, Properties) -
Static method in class org.apache.logging.log4j.core.util.OptionConverter
- Find the value corresponding to
key
in
props
.
- findInPackage(ResolverUtil.Test, String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
- Scans for classes starting at the package provided and descending into subpackages.
- findTypeConverter(Class<?>) -
Static method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters
- Locates a TypeConverter for a specified class.
- findVisitor(Class<A>) -
Static method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitors
- Creates a PluginVisitor instance for the given annotation class using metadata provided by the annotation's
PluginVisitorStrategy
annotation.
- 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.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.net.DatagramOutputStream
-
- footer -
Variable in class org.apache.logging.log4j.core.layout.AbstractLayout
- The footer to add when the stream is closed.
- forAsyncLogger(RingBuffer<?>, String) -
Static method in class org.apache.logging.log4j.core.jmx.RingBufferAdmin
-
- forAsyncLoggerConfig(RingBuffer<?>, String, String) -
Static method in class org.apache.logging.log4j.core.jmx.RingBufferAdmin
-
- forLogEvent(LogEvent) -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginBuilder
- Specifies the LogEvent that may be used to provide extra context for string substitutions.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter
- Formats an event into a string buffer.
- format(StringBuilder, Object...) -
Method in interface org.apache.logging.log4j.core.pattern.ArrayPatternConverter
- Format an array of Objects.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.ClassNamePatternConverter
- Format a logging event.
- format(Date, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- Append formatted date to string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- Formats an event into a string buffer.
- format(Object, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- Formats an object into a string buffer.
- format(StringBuilder, Object...) -
Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
-
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.EncodingPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.FileLocationPatternConverter
- Formats an event into a string buffer.
- format(int, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
- Adjust the content of the buffer based on the specified lengths and alignment.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.FullLocationPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.HighlightConverter
- Formats an event into a string buffer.
- format(StringBuilder, Object...) -
Method in class org.apache.logging.log4j.core.pattern.IntegerPatternConverter
-
- format(Object, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.IntegerPatternConverter
- Formats an object into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.LevelPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.LineLocationPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.LineSeparatorPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
- Formats an event into a string buffer.
- format(Object, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
- Formats an object into a string buffer.
- format(StringBuilder, Object...) -
Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
- Format an array of Objects.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
- Formats an event into a string buffer.
- format(Object, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
- Formats an object into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.LoggerPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.MapPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.MarkerPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.MdcPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.MessagePatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.MethodLocationPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.NdcPatternConverter
- Formats an event into a string buffer.
- format(Object, StringBuilder) -
Method in interface org.apache.logging.log4j.core.pattern.PatternConverter
- Formats an object into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
-
- format(String) -
Method in class org.apache.logging.log4j.core.pattern.RegexReplacement
- Perform the replacement.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.RegexReplacementConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.RelativeTimePatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.RootThrowablePatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.SequenceNumberPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.StyleConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.ThreadPatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
- Formats an event into a string buffer.
- format(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.UuidPatternConverter
- Formats an event into a string buffer.
- formatContentToBytes(LogEvent[], LogEvent, Layout<?>) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
-
- formatFileName(StringBuilder, Object) -
Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- Format file name.
- formatFileName(StrSubstitutor, StringBuilder, Object) -
Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- Format file name.
- formatFileName(StringBuilder, Object...) -
Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- Format file name.
- FormattingInfo - Class in org.apache.logging.log4j.core.pattern
- Modifies the output of a pattern converter for a specified minimum and maximum width and alignment.
- FormattingInfo(boolean, int, int) -
Constructor for class org.apache.logging.log4j.core.pattern.FormattingInfo
- Creates new instance.
- formatWrapper(StringBuilder, ThrowableProxy) -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Formats the specified Throwable.
- formatWrapper(StringBuilder, ThrowableProxy, List<String>) -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Formats the specified Throwable.
- FullLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Format the event's line location information.
G
- Generate - Class in org.apache.logging.log4j.core.tools
- Generates source code for custom or extended logger wrappers.
- Generate.CustomLogger - Class in org.apache.logging.log4j.core.tools
- Generates source code for custom logger wrappers that only provide convenience methods for the specified custom
levels, not for the standard built-in levels.
- Generate.ExtendedLogger - Class in org.apache.logging.log4j.core.tools
- Generates source code for extended logger wrappers that provide convenience methods for the specified custom
levels, and by extending
org.apache.logging.log4j.spi.ExtendedLoggerWrapper
, inherit the convenience
methods for the built-in levels provided by the Logger
interface. - getAbbreviator(String) -
Static method in class org.apache.logging.log4j.core.pattern.NameAbbreviator
- Gets an abbreviator.
- getActiveFileName() -
Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverDescription
- Active log file name after rollover.
- getActiveFileName() -
Method in class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
- Active log file name after rollover.
- getAdvertiser() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- getAdvertiser() -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getAppend() -
Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverDescription
- Specifies if active file should be opened for appending.
- getAppend() -
Method in class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
- Specifies if active file should be opened for appending.
- getAppender(String) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Returns the Appender with the specified name.
- getAppender() -
Method in class org.apache.logging.log4j.core.config.AppenderControl
- Returns the Appender.
- getAppender(String) -
Method in interface org.apache.logging.log4j.core.config.Configuration
- Returns the Appender with the specified name.
- getAppenderRef() -
Method in class org.apache.logging.log4j.core.appender.routing.Route
- Returns the appender reference.
- getAppenderRefs() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns the Appender references.
- getAppenderRefs() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getAppenderRefs() -
Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
- Returns a String array with the appender refs configured for the
instrumented
AsyncAppender
.
- getAppenderRefs() -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- getAppenderRefs() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Returns a String array with the appender refs configured for the
instrumented
LoggerConfig
.
- getAppenderRefStrings() -
Method in class org.apache.logging.log4j.core.appender.AsyncAppender
- Returns the names of the appenders that this asyncAppender delegates to
as an array of Strings.
- getAppenders() -
Method in class org.apache.logging.log4j.core.config.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.
- getAsynchronous() -
Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverDescription
- Action to be completed after close of current active log file
and before next rollover attempt, may be executed asynchronously.
- getAsynchronous() -
Method in class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
- Action to be completed after close of current active log file
and before next rollover attempt, may be executed asynchronously.
- getAttributes() -
Method in class org.apache.logging.log4j.core.config.Node
-
- getAvailable() -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
- Returns the number of available slots.
- getBufferSize() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager.AbstractFactoryData
- Gets the buffer size.
- getBufferSize() -
Method in class org.apache.logging.log4j.core.appender.FileManager
- Returns the buffer size to use if the appender was configured with BufferedIO=true, otherwise returns a negative
number.
- getBufferSize() -
Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
- Returns the size of the file manager's buffer.
- getBufferSize() -
Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
- Returns the buffer capacity.
- getBufferSize() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
- Returns the buffer capacity.
- getBufferSize() -
Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
- Returns the size of the file manager's buffer.
- getBufferSize() -
Method in class org.apache.logging.log4j.core.jmx.RingBufferAdmin
-
- getBufferSize() -
Method in interface org.apache.logging.log4j.core.jmx.RingBufferAdminMBean
- Returns the number of slots that the ring buffer was configured with.
- getBytes() -
Method in class org.apache.logging.log4j.core.appender.TlsSyslogFrame
-
- getCaller(int) -
Static method in class org.apache.logging.log4j.core.impl.ReflectiveCallerClassUtility
- Reflectively calls
getCallerClass(int)
, compensating for the additional frame on the stack, and
compensating for the Java 7u25 bug if necessary.
- getCategories() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
- Gets an entry set for iterating over the registered plugin categories.
- getCategory(String) -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginCache
- Gets or creates a category of plugins.
- getCategory() -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- getCategory(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
- Gets or creates a plugin category if not already available.
- getCategoryCount() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
- Returns the number of plugin categories currently available.
- getCauseProxy() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- getCauseStackTraceAsString() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Format the Throwable that is the cause of this Throwable.
- getCauseStackTraceAsString(List<String>) -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Format the Throwable that is the cause of this Throwable.
- getCharset() -
Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
- getChildren() -
Method in class org.apache.logging.log4j.core.config.Node
-
- getClasses() -
Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
- Provides access to the classes discovered so far.
- getClassLoader() -
Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
- Returns the classloader that will be used for scanning for classes.
- getClassLoader() -
Static method in class org.apache.logging.log4j.core.util.Loader
- Returns the ClassLoader to use.
- getClassLoader(Class<?>, Class<?>) -
Static method in class org.apache.logging.log4j.core.util.Loader
-
- getClassName() -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- getClassName() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- getClock() -
Static method in class org.apache.logging.log4j.core.util.ClockFactory
- Returns a
Clock
instance depending on the value of system
property ClockFactory.PROPERTY_NAME
.
- getCode() -
Method in enum org.apache.logging.log4j.core.net.Facility
- Retrieve the value of the enumeration.
- getCode() -
Method in enum org.apache.logging.log4j.core.net.Severity
- Returns the severity code.
- getCode() -
Method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
- Gets the escape code.
- getColumnName() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- getCommonElementCount() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Return the number of elements that are being omitted because they are common with the parent Throwable's stack
trace.
- getComponent(String) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- getComponent(String) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getCompressionLevel() -
Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
- getConfigClassName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigClassName() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the class name of the
Configuration
of the instrumented
LoggerContext.
- getConfigFilter() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigFilter() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns a string description of all Filters configured in the
Configuration
of the instrumented LoggerContext.
- getConfigLocation() -
Method in class org.apache.logging.log4j.core.LoggerContext
- Returns the initial configuration location or
null
.
- getConfigLocationUri() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigLocationUri() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the configuration location URI as a String.
- getConfigMonitorClassName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigMonitorClassName() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the class name of the object that is monitoring the configuration
file for modifications.
- getConfigName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigName() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the name of the Configuration of the instrumented LoggerContext.
- getConfigProperties() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigProperties() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns a map with configured properties.
- getConfigText() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigText(String) -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigText() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the configuration text, which may be the contents of the
configuration file or the text that was last set with a call to
setConfigText
.
- getConfigText(String) -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the configuration text, which may be the contents of the
configuration file or the text that was last set with a call to
setConfigText
.
- getConfiguration(ConfigurationSource) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- getConfiguration(String, URI) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Returns the Configuration.
- getConfiguration(ConfigurationSource) -
Method in class org.apache.logging.log4j.core.config.json.JsonConfigurationFactory
-
- getConfiguration(ConfigurationSource) -
Method in class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
- Returns the Configuration.
- getConfiguration(ConfigurationSource) -
Method in class org.apache.logging.log4j.core.config.yaml.YamlConfigurationFactory
-
- getConfiguration() -
Method in class org.apache.logging.log4j.core.LoggerContext
- Returns the current Configuration.
- getConfiguration(String, URI) -
Method in class org.apache.logging.log4j.core.net.server.AbstractSocketServer.ServerConfigurationFactory
-
- getConfigurationMonitor() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- getConfigurationMonitor() -
Method in interface org.apache.logging.log4j.core.config.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.
- getConnection() -
Method in interface org.apache.logging.log4j.core.appender.db.jdbc.ConnectionSource
- This should return a new connection every time it is called.
- getConnection() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.DataSourceConnectionSource
-
- getConnection() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.FactoryMethodConnectionSource
-
- getContentFormat() -
Method in class org.apache.logging.log4j.core.appender.AbstractManager
- Provide a description of the content format supported by this Manager.
- getContentFormat() -
Method in class org.apache.logging.log4j.core.appender.FileManager
- FileManager's content format is specified by:
Key: "fileURI" Value: provided "advertiseURI" param
.
- getContentFormat() -
Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
- FileManager's content format is specified by:
Key: "fileURI" Value: provided "advertiseURI" param.
- getContentFormat() -
Method in interface org.apache.logging.log4j.core.Layout
- Returns a description of the content format.
- getContentFormat() -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout
- HtmlLayout's format is sufficiently specified via the content type.
- getContentFormat() -
Method in class org.apache.logging.log4j.core.layout.JsonLayout
-
- getContentFormat() -
Method in class org.apache.logging.log4j.core.layout.PatternLayout
- PatternLayout's content format is specified by:
Key: "structured" Value: "false"
Key: "formatType" Value: "conversion" (format uses the keywords supported by OptionConverter)
Key: "format" Value: provided "conversionPattern" param
- getContentFormat() -
Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
- Rfc5424Layout's content format is specified by:
Key: "structured" Value: "true"
Key: "format" Value: "RFC5424"
- getContentFormat() -
Method in class org.apache.logging.log4j.core.layout.SerializedLayout
- SerializedLayout's format is sufficiently specified via the content type, use empty Map/unspecified.
- getContentFormat() -
Method in class org.apache.logging.log4j.core.layout.SyslogLayout
- SyslogLayout's content format is specified by:
Key: "structured" Value: "false"
Key: "dateFormat" Value: "MMM dd HH:mm:ss "
Key: "format" Value: "TIMESTAMP PROP(HOSTNAME) MESSAGE"
Key: "formatType" Value: "logfilepatternreceiver" (format uses the keywords supported by LogFilePatternReceiver)
- getContentFormat() -
Method in class org.apache.logging.log4j.core.layout.XmlLayout
- XmlLayout's content format is specified by:
Key: "dtd" Value: "log4j-events.dtd"
Key: "version" Value: "2.0"
- getContentFormat() -
Method in class org.apache.logging.log4j.core.net.AbstractSocketManager
- AbstractSocketManager's content format is specified by:
Key: "port" Value: provided "port" param
Key: "address" Value: provided "address" param
- getContentFormat() -
Method in class org.apache.logging.log4j.core.net.DatagramSocketManager
- DatagramSocketManager's content format is specified by:
Key: "protocol" Value: "udp"
Key: "direction" Value: "out"
- getContentFormat() -
Method in class org.apache.logging.log4j.core.net.TcpSocketManager
- TcpSocketManager's content format is specified by:
Key: "protocol" Value: "tcp"
Key: "direction" Value: "out"
- getContentType() -
Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
- getContentType() -
Method in interface org.apache.logging.log4j.core.Layout
- Returns the content type output by this layout.
- getContentType() -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout
-
- getContentType() -
Method in class org.apache.logging.log4j.core.layout.JsonLayout
-
- getContentType() -
Method in class org.apache.logging.log4j.core.layout.SerializedLayout
- SerializedLayout returns a binary stream.
- getContentType() -
Method in class org.apache.logging.log4j.core.layout.XmlLayout
-
- getContext(String, ClassLoader, boolean) -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
- getContext(String, ClassLoader, boolean, URI) -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
- getContext(String, ClassLoader, Object, boolean) -
Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- Loads the LoggerContext using the ContextSelector.
- 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, Object, boolean, URI, String) -
Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- Loads the LoggerContext using the ContextSelector.
- getContext() -
Method in class org.apache.logging.log4j.core.Logger
- Returns the LoggerContext this Logger is associated with.
- getContext(String, ClassLoader, boolean) -
Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- getContext(String, ClassLoader, boolean, URI) -
Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- getContext(String, ClassLoader, boolean) -
Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- getContext(String, ClassLoader, boolean, URI) -
Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- getContext(String, ClassLoader, boolean) -
Method in interface org.apache.logging.log4j.core.selector.ContextSelector
- Returns the LoggerContext.
- getContext(String, ClassLoader, boolean, URI) -
Method in interface org.apache.logging.log4j.core.selector.ContextSelector
- Returns the LoggerContext.
- getContext(String, ClassLoader, boolean) -
Method in class org.apache.logging.log4j.core.selector.JndiContextSelector
-
- getContext(String, ClassLoader, boolean, URI) -
Method in class org.apache.logging.log4j.core.selector.JndiContextSelector
-
- getContextMap() -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
- Returns
Collections.emptyMap()
.
- getContextMap() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Gets the context map.
- getContextMap() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getContextMap() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the immutable copy of the ThreadContext Map.
- getContextMap() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Gets the context map (also know as Mapped Diagnostic Context or MDC).
- getContextName() -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getContextName() -
Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Returns the name of the LoggerContext that the
StatusLogger
is associated with.
- getContextStack() -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- getContextStack() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Gets the context stack.
- getContextStack() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getContextStack() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns an immutable copy of the ThreadContext stack.
- getContextStack() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Gets the 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
-
- getCorrectedFilePathUri(String) -
Static method in class org.apache.logging.log4j.core.util.FileUtils
- Takes a given URI string which may contain backslashes (illegal in URIs) in it due to user input or variable
substitution and returns a URI with the backslashes replaced with forward slashes.
- getCount() -
Method in class org.apache.logging.log4j.core.appender.AbstractManager
-
- getDefault() -
Static method in class org.apache.logging.log4j.core.pattern.FormattingInfo
- Gets default instance.
- getDefaultAbbreviator() -
Static method in class org.apache.logging.log4j.core.pattern.NameAbbreviator
- Gets default abbreviator.
- getDefaultStatus() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- getDefaultStyle() -
Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
- Gets the default style.
- getDiscardIfAllFieldsAreEmpty() -
Method in class org.apache.logging.log4j.core.layout.LoggerFields
-
- getElementName() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
-
- getEncoding(byte[], String) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
-
- getEnvironment(String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.net.jms.AbstractJmsManager
- Sets up the properties to pass to the InitialContext.
- getErrorHandler() -
Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- getErrorHandler() -
Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
- Returns the result of calling
toString
on the error handler of
this appender, or "null"
if no error handler was set.
- getErrorHandler() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getErrorHandler() -
Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
- Returns the result of calling
toString
on the error handler of
this appender, or "null"
if no error handler was set.
- getErrorRef() -
Method in class org.apache.logging.log4j.core.appender.AsyncAppender
- Returns the name of the appender that any errors are logged to or
null
.
- getErrorRef() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
- Returns the name of the appender that any errors are logged to or
null
.
- getErrorRef() -
Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
- Returns the name of the appender that any errors are logged to or
null
.
- getEscapeChar() -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Returns the escape character.
- getEventIndices(String, int) -
Method in class org.apache.logging.log4j.core.net.server.InputStreamLogEventBridge
-
- getEventIndices(String, int) -
Method in class org.apache.logging.log4j.core.net.server.JsonInputStreamLogEventBridge
-
- getEventIndices(String, int) -
Method in class org.apache.logging.log4j.core.net.server.XmlInputStreamLogEventBridge
-
- getExact() -
Method in class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
- getExact() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- getExtendedStackTrace() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Gets the stack trace including packaging information.
- getExtendedStackTraceAsString() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Format the stack trace including packaging information.
- getExtendedStackTraceAsString(List<String>) -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Format the stack trace including packaging information.
- getExternalContext() -
Method in class org.apache.logging.log4j.core.LoggerContext
- Returns the external context.
- getExtraClassInfo() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- getFacility() -
Method in class org.apache.logging.log4j.core.net.Priority
- Returns the Facility.
- 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.
- getFileManager(String, boolean, boolean, boolean, String, Layout<? extends Serializable>, int) -
Static method in class org.apache.logging.log4j.core.appender.FileManager
- Returns the FileManager.
- getFileManager(String, boolean, boolean, int, String, Layout<? extends Serializable>) -
Static method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
- Returns the RandomAccessFileManager.
- getFileManager(String, String, boolean, boolean, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>, int) -
Static method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- Returns a RollingFileManager.
- getFileName() -
Method in class org.apache.logging.log4j.core.appender.FileAppender
- Returns the file name this appender is associated with.
- getFileName() -
Method in class org.apache.logging.log4j.core.appender.FileManager
- Returns the name of the File being managed.
- getFileName() -
Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
- Returns the file name this appender is associated with.
- getFileName() -
Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
- Returns the name of the File being managed.
- getFileName() -
Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
- Returns the File name for the Appender.
- getFileName() -
Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
- Returns the File name for the Appender.
- getFileName() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- getFilePattern() -
Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
- Returns the file pattern used when rolling over.
- getFilePattern() -
Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
- Returns the file pattern used when rolling over.
- getFileSize() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- Returns the current size of the file.
- getFileTime() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- Returns the time the file was created.
- getFilter() -
Method in class org.apache.logging.log4j.core.config.AppenderRef
-
- getFilter() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
- getFilter() -
Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
- Returns the Filter.
- getFilter() -
Method in interface org.apache.logging.log4j.core.filter.Filterable
- Returns an Iterator for all the Filters.
- getFilter() -
Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- getFilter() -
Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
- Returns a string description of all filters configured for the
instrumented
Appender
.
- getFilter() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getFilter() -
Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
- Returns a string description of all filters configured for the
instrumented
AsyncAppender
.
- getFilter() -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- getFilter() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Returns a string description of all filters configured for the
instrumented
LoggerConfig
.
- getFilters() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- getFilters() -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is used primarily for unit testing.
- getFontSize() -
Method in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
-
- getFontSize(String) -
Static method in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
-
- getFooter() -
Method in class org.apache.logging.log4j.core.layout.AbstractLayout
- Returns the footer, if one is available.
- getFooter() -
Method in interface org.apache.logging.log4j.core.Layout
- Returns the format for the layout format.
- getFooter() -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout
- Returns the appropriate HTML footers.
- getFooter() -
Method in class org.apache.logging.log4j.core.layout.JsonLayout
- Returns appropriate JSON footer.
- getFooter() -
Method in class org.apache.logging.log4j.core.layout.PatternLayout
-
- getFooter() -
Method in class org.apache.logging.log4j.core.layout.XmlLayout
- Returns appropriate XML footer.
- getFormattingInfo() -
Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
-
- getHandler() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Returns the ErrorHandler, if any.
- getHandler() -
Method in interface org.apache.logging.log4j.core.Appender
-
- getHeader() -
Method in class org.apache.logging.log4j.core.layout.AbstractLayout
- Returns the header, if one is available.
- getHeader() -
Method in interface org.apache.logging.log4j.core.Layout
- Returns the header for the layout format.
- getHeader() -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout
- Returns appropriate HTML headers.
- getHeader() -
Method in class org.apache.logging.log4j.core.layout.JsonLayout
- Returns appropriate JSON headers.
- getHeader() -
Method in class org.apache.logging.log4j.core.layout.PatternLayout
-
- getHeader() -
Method in class org.apache.logging.log4j.core.layout.SerializedLayout
-
- getHeader() -
Method in class org.apache.logging.log4j.core.layout.XmlLayout
- Returns appropriate XML headers.
- getHeaders(String, String) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
-
- getImplementationClassName() -
Method in class org.apache.logging.log4j.core.jmx.ContextSelectorAdmin
-
- getImplementationClassName() -
Method in interface org.apache.logging.log4j.core.jmx.ContextSelectorAdminMBean
- Returns the name of the class implementing the
ContextSelector
interface.
- getInputFromResource(String, ClassLoader) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Retrieve the configuration via the ClassLoader.
- getInputFromString(String, ClassLoader) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Load the configuration from the location represented by the String.
- getInputFromUri(URI) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Load the configuration from a URI.
- getInputStream() -
Method in class org.apache.logging.log4j.core.config.ConfigurationSource
- Returns the input stream that this configuration source was constructed with.
- getInstance() -
Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Returns the ConfigurationFactory.
- getJDBCDatabaseManager(String, int, ConnectionSource, String, ColumnConfig[]) -
Static method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
- Creates a JDBC manager for use within the
JdbcAppender
, or returns a suitable one if it already exists.
- getJmsQueueManager(String, String, String, String, String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.net.jms.JmsQueueManager
- Obtain a JmsQueueManager.
- getJmsTopicManager(String, String, String, String, String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.net.jms.JmsTopicManager
- Obtain a JSMTopicManager.
- getJPADatabaseManager(String, int, Class<? extends AbstractLogEventWrapperEntity>, Constructor<? extends AbstractLogEventWrapperEntity>, String) -
Static method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
- Creates a JPA manager for use within the
JpaAppender
, or returns a suitable one if it already exists.
- getKey() -
Method in class org.apache.logging.log4j.core.appender.routing.Route
- Returns the key for this Route.
- getKey() -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- getKey() -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- getKey() -
Method in class org.apache.logging.log4j.core.util.KeyValuePair
- Returns the key.
- getKeyStore() -
Method in class org.apache.logging.log4j.core.net.ssl.AbstractKeyStoreConfiguration
-
- getLayout() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Returns the Layout for the appender.
- getLayout() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
- This always returns
null
, as database appenders do not use a single layout.
- getLayout() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- getLayout() -
Method in interface org.apache.logging.log4j.core.Appender
- Returns this appender's layout.
- getLayout() -
Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- getLayout() -
Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
- Returns the result of calling
toString
on the Layout
object of the instrumented Appender
.
- getLayout() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getLayout() -
Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
- Returns the result of calling
toString
on the Layout
object of the instrumented AsyncAppender
.
- getLevel() -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- getLevel() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Gets the level.
- getLevel() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getLevel() -
Method in class org.apache.logging.log4j.core.config.AppenderRef
-
- getLevel() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns the logging Level.
- getLevel() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the logging Level.
- getLevel() -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- getLevel() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Returns the
LoggerConfig
level as a String.
- getLevel() -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getLevel() -
Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Returns the
StatusLogger
level as a String.
- getLevel() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Gets the level.
- getLevel() -
Method in class org.apache.logging.log4j.core.Logger
- Gets the Level associated with the Logger.
- getLevelMap() -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- getLineNumber() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- getLines() -
Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Returns the number of lines to write.
- getLiteral() -
Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
-
- getLiteralValue() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- getLocalHostname() -
Static method in class org.apache.logging.log4j.core.util.NetUtils
- This method gets the network name of the machine we are running on.
- getLocalizedMessage() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- getLocation() -
Method in class org.apache.logging.log4j.core.config.ConfigurationSource
- Returns a string describing the configuration source file or URL, or
null
if this configuration source
has neither a file nor an URL.
- getLocation() -
Method in class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
- getLocation() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- getLocation() -
Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- getLogEventFactory() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns the LogEventFactory.
- getLogger(String) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Returns the LoggerConfig with the specified name.
- getLogger(String) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Obtain a Logger from the Context.
- getLogger(String, MessageFactory) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Obtain a Logger from the Context.
- getLoggerConfig(String) -
Method in class org.apache.logging.log4j.core.config.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.
- getLoggerContexts() -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
- getLoggerContexts() -
Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- getLoggerContexts() -
Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- getLoggerContexts() -
Method in interface org.apache.logging.log4j.core.selector.ContextSelector
- Returns a List of all the available LoggerContexts.
- getLoggerContexts() -
Method in class org.apache.logging.log4j.core.selector.JndiContextSelector
-
- getLoggerFqcn() -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- getLoggerFqcn() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Gets the fully qualified class name of the caller of the logger API.
- getLoggerFqcn() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getLoggerFqcn() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- The fully qualified class name of the class that was called by the caller.
- getLoggerFqcn() -
Method in 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.appender.db.jpa.BasicLogEventEntity
- Gets the logger name.
- getLoggerName() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getLoggerName() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the name of the Logger used to generate the event.
- getLoggerName() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Gets the logger name.
- getLoggers() -
Method in class org.apache.logging.log4j.core.config.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.
- getManager(String, ManagerFactory<M, T>, T) -
Static method in class org.apache.logging.log4j.core.appender.AbstractManager
- Retrieves a Manager if it has been previously created or creates a new Manager.
- getManager() -
Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
- Gets the manager.
- getManager() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
- Returns the underlying manager in use within this appender.
- getManager(String, T, ManagerFactory<M, T>) -
Static method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- Implementations should define their own getManager method and call this method from that to create or get
existing managers.
- getManager(String, T, ManagerFactory<? extends OutputStreamManager, T>) -
Static method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- Creates a Manager.
- getMap() -
Method in class org.apache.logging.log4j.core.config.Loggers
-
- getMap() -
Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- getMap() -
Method in class org.apache.logging.log4j.core.layout.LoggerFields
-
- getMarker() -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- getMarker() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Gets the marker.
- getMarker() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getMarker() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the Marker associated with the event, or null.
- getMarker() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Gets the Marker associated with the event.
- getMaxIndex() -
Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
- getMaxLength() -
Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
- Get maximum length.
- getMdcExcludes() -
Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
- getMdcIncludes() -
Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
- getMessage() -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- getMessage() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Gets the message.
- getMessage() -
Method in class org.apache.logging.log4j.core.appender.TlsSyslogFrame
-
- getMessage() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getMessage() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the Message associated with the event.
- getMessage() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- getMessage() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Gets the message associated with the event.
- getMethodName() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- getMimeMessage() -
Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- getMimeMultipart(byte[], InternetHeaders) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
-
- getMinIndex() -
Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
- getMinLength() -
Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
- Get minimum length.
- getName() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Returns the name of the Appender.
- getName() -
Method in class org.apache.logging.log4j.core.appender.AbstractManager
- Returns the name of the Manager.
- getName() -
Method in interface org.apache.logging.log4j.core.Appender
- Get the name of this appender.
- getName() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Returns the name of the configuration.
- getName() -
Method in interface org.apache.logging.log4j.core.config.Configuration
- Returns the configuration name.
- getName() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns the name of the LoggerConfig.
- getName() -
Method in class org.apache.logging.log4j.core.config.Node
-
- getName() -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- getName() -
Method in class org.apache.logging.log4j.core.config.Property
- Returns the property name.
- getName() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Return the FQCN of the Throwable.
- getName() -
Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- getName() -
Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
- Returns the name of the instrumented
Appender
.
- getName() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getName() -
Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
- Returns the name of the instrumented
AsyncAppender
.
- getName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- getName() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Returns the name of the instrumented
LoggerConfig
.
- getName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getName() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the name of the instrumented
LoggerContext
.
- getName() -
Method in class org.apache.logging.log4j.core.LoggerContext
- Gets the name.
- getName() -
Method in class org.apache.logging.log4j.core.pattern.AbstractPatternConverter
- This method returns the name of the conversion pattern.
- getName() -
Method in interface org.apache.logging.log4j.core.pattern.PatternConverter
- Returns the name of the converter.
- getNextTime(long, int, boolean) -
Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- Returns the next potential rollover time.
- getNode() -
Method in class org.apache.logging.log4j.core.appender.routing.Route
- Returns the Dynamic Appender Node.
- getObject() -
Method in class org.apache.logging.log4j.core.config.Node
-
- getObjectMapper() -
Method in class org.apache.logging.log4j.core.config.json.JsonConfiguration
-
- getObjectMapper() -
Method in class org.apache.logging.log4j.core.config.yaml.YamlConfiguration
-
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
- Returns the
ObjectName
of this mbean.
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
- Returns the
ObjectName
of this mbean.
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.ContextSelectorAdmin
- Returns the
ObjectName
of this mbean.
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
- Returns the
ObjectName
of this mbean.
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
- Returns the
ObjectName
of this mbean.
- getObjectName() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the
ObjectName
that this MBean is registered with in the
MBean server.
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.RingBufferAdmin
- Returns the
ObjectName
of this mbean.
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
- Returns the
ObjectName
of this mbean.
- getObjectName() -
Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Returns the
ObjectName
that this status logger mbean is registered with.
- getOnMatch() -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Returns the Result to be returned when a match occurs.
- getOnMatch() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Returns the result that should be returned when the filter matches the event.
- getOnMatch() -
Method in interface org.apache.logging.log4j.core.Filter
- Returns the result that should be returned when the filter matches the event.
- getOnMismatch() -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Returns the Result to be returned when a match does not occur.
- getOnMismatch() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Returns the result that should be returned when the filter does not match the event.
- getOnMismatch() -
Method in interface org.apache.logging.log4j.core.Filter
- Returns the result that should be returned when the filter does not match the event.
- getOutputStream() -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
- getPackages() -
Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Returns the list of packages to filter.
- getParent() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns the parent of this LoggerConfig.
- getParent() -
Method in class org.apache.logging.log4j.core.config.Node
-
- getParent() -
Method in class org.apache.logging.log4j.core.Logger
- This method is only used for 1.x compatibility.
- getPassword() -
Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- getPasswordAsCharArray() -
Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- getPattern() -
Method in class org.apache.logging.log4j.core.appender.routing.Routes
- Returns the pattern.
- getPattern() -
Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- Gets the pattern string describing this date format.
- getPatternProcessor() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- Returns the pattern processor.
- getPluginClass() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
-
- getPlugins() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
- Returns all the matching plugins.
- getPluginType(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
- Returns the type of a specified plugin.
- getPriority(Facility, Level) -
Static method in class org.apache.logging.log4j.core.net.Priority
- Returns the priority value based on the Facility and Log Level.
- getProcId() -
Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
- getProperties() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- getProperties() -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getProperties() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns an unmodifiable map with the configuration properties, or
null
if this LoggerConfig
does not have any configuration
properties.
- getQueueCapacity() -
Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
- getQueueCapacity() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getQueueCapacity() -
Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
- getQueueRemainingCapacity() -
Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
- getQueueRemainingCapacity() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- getQueueRemainingCapacity() -
Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
-
- getRef() -
Method in class org.apache.logging.log4j.core.config.AppenderRef
-
- getRemainingCapacity() -
Method in class org.apache.logging.log4j.core.jmx.RingBufferAdmin
-
- getRemainingCapacity() -
Method in interface org.apache.logging.log4j.core.jmx.RingBufferAdminMBean
- Returns the number of available slots in the ring buffer.
- getResource(String) -
Method in class org.apache.logging.log4j.core.util.BundleResourceLoader
-
- getResource(String) -
Method in class org.apache.logging.log4j.core.util.ClassLoaderResourceLoader
-
- getResource(String, ClassLoader) -
Static method in class org.apache.logging.log4j.core.util.Loader
- This method will search for
resource
in different
places.
- getResource(String) -
Method in interface org.apache.logging.log4j.core.util.ResourceLoader
-
- getResourceAsStream(String, ClassLoader) -
Static method in class org.apache.logging.log4j.core.util.Loader
- This method will search for
resource
in different
places.
- getResources() -
Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
- Returns the matching resources.
- getResources(String) -
Method in class org.apache.logging.log4j.core.util.BundleResourceLoader
-
- getResources(String) -
Method in class org.apache.logging.log4j.core.util.ClassLoaderResourceLoader
-
- getResources(String) -
Method in interface org.apache.logging.log4j.core.util.ResourceLoader
-
- getRollingRandomAccessFileManager(String, String, boolean, boolean, int, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>) -
Static method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- getRolloverStrategy() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- Returns the rollover strategy
- getRoot() -
Method in class org.apache.logging.log4j.core.config.Loggers
-
- getRootLogger() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Returns the root Logger.
- getRoutes() -
Method in class org.apache.logging.log4j.core.appender.routing.Routes
- Returns the array of Route elements.
- getSdId() -
Method in class org.apache.logging.log4j.core.layout.LoggerFields
-
- getSecretKey() -
Method in interface org.apache.logging.log4j.core.util.SecretKeyProvider
-
- getSelector() -
Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- Returns the ContextSelector.
- getSeparator() -
Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Returns the stack trace separator.
- getSeverity() -
Method in class org.apache.logging.log4j.core.net.Priority
- Returns the Severity.
- getSeverity(Level) -
Static method in enum org.apache.logging.log4j.core.net.Severity
- Returns the Severity for the specified Level.
- getSMTPManager(String, String, String, String, String, String, String, String, int, String, String, boolean, String, int) -
Static method in class org.apache.logging.log4j.core.net.SmtpManager
-
- getSocketManager(String, int, Layout<? extends Serializable>) -
Static method in class org.apache.logging.log4j.core.net.DatagramSocketManager
- Obtain a SocketManager.
- getSocketManager(SslConfiguration, String, int, int, boolean, Layout<? extends Serializable>) -
Static method in class org.apache.logging.log4j.core.net.SslSocketManager
-
- getSocketManager(String, int, int, boolean, Layout<? extends Serializable>) -
Static method in class org.apache.logging.log4j.core.net.TcpSocketManager
- Obtain a TcpSocketManager.
- getSource() -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- getSource() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Gets the source location information.
- getSource() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getSource() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the StackTraceElement for the caller.
- getSource() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Gets the source of logging request.
- getSslServerSocketFactory() -
Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
-
- getSslSocketFactory() -
Method in class org.apache.logging.log4j.core.net.ssl.SslConfiguration
-
- getStackTrace() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- getStackTraceElement() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- getState() -
Method in class org.apache.logging.log4j.core.AbstractLifeCycle
-
- getStatus() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getStatus() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the status of the instrumented
LoggerContext
.
- getStatusData() -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getStatusData() -
Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Returns a list with the most recent
StatusData
objects in the
status history.
- getStatusDataHistory() -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getStatusDataHistory() -
Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Returns a string array with the most recent messages in the status
history.
- getStatusLevel() -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getStrSubstitutor() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- getStrSubstitutor() -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getStyleClass(Object) -
Method in class org.apache.logging.log4j.core.pattern.AbstractPatternConverter
- This method returns the CSS style class that should be applied to
the LoggingEvent passed as parameter, which can be null.
- getStyleClass(Object) -
Method in class org.apache.logging.log4j.core.pattern.LevelPatternConverter
- This method returns the CSS style class that should be applied to
the LoggingEvent passed as parameter, which can be null.
- getStyleClass(Object) -
Method in interface org.apache.logging.log4j.core.pattern.PatternConverter
- This method returns the CSS style class that should be applied to
the LoggingEvent passed as parameter, which can be null.
- getSubName(String) -
Static method in class org.apache.logging.log4j.core.util.NameUtil
-
- getSupportedCharset(String) -
Static method in class org.apache.logging.log4j.core.util.Charsets
- Returns a Charset, if possible the Charset for the specified
charsetName
, otherwise (if the specified
charsetName
is null
or not supported) this method returns the platform default Charset.
- getSupportedCharset(String, Charset) -
Static method in class org.apache.logging.log4j.core.util.Charsets
- Returns a Charset, if possible the Charset for the specified
charsetName
, otherwise (if the specified
charsetName
is null
or not supported) this method returns the platform default Charset.
- getSupportedSourceVersion() -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor
-
- getSupportedTypes() -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- getSupportedTypes() -
Method in class org.apache.logging.log4j.core.config.json.JsonConfigurationFactory
-
- getSupportedTypes() -
Method in class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
- Returns the file suffixes for XML files.
- getSupportedTypes() -
Method in class org.apache.logging.log4j.core.config.yaml.YamlConfigurationFactory
-
- getSuppressed(Throwable) -
Static method in class org.apache.logging.log4j.core.util.Throwables
- Deprecated. If compiling on Java 7 and above use
Throwable#getSuppressed()
. Marked as deprecated because Java 6 is
deprecated.
- getSuppressedProxies() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Gets proxies for suppressed exceptions.
- getSuppressedStackTrace() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Format the suppressed Throwables.
- getSynchronous() -
Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverDescription
- Action to be completed after close of current active log file
before returning control to caller.
- getSynchronous() -
Method in class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
- Action to be completed after close of current active log file
before returning control to caller.
- 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.
- getThreadName() -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- getThreadName() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Gets the thread name.
- getThreadName() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getThreadName() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the name of the Thread on which the event was generated.
- getThreadName() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Gets thread name.
- getThrowable() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- The throwable or null if this object is deserialized from XML or JSON.
- getThrown() -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- getThrown() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Gets the exception logged.
- getThrown() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getThrown() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the Throwable associated with the event, or null.
- getThrown() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Gets throwable associated with logging request.
- getThrownProxy() -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- getThrownProxy() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.BasicLogEventEntity
- Gets the exception logged.
- getThrownProxy() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getThrownProxy() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the ThrowableProxy associated with the event, or null.
- getThrownProxy() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Gets throwable proxy associated with logging request.
- 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.appender.db.jpa.BasicLogEventEntity
- Gets the number of milliseconds since JVM launch.
- getTimeMillis() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getTimeMillis() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the time in milliseconds from the epoch when the event occurred.
- getTimeMillis() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Gets event time in milliseconds since midnight, January 1, 1970 UTC.
- getTriggeringPolicy() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- Returns the triggering policy
- getType() -
Method in class org.apache.logging.log4j.core.config.Node
-
- 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.
- getValue() -
Method in class org.apache.logging.log4j.core.config.Node
-
- getValue() -
Method in class org.apache.logging.log4j.core.config.Property
- Returns the property value.
- getValue() -
Method in class org.apache.logging.log4j.core.net.Priority
- Returns the value of this Priority.
- getValue() -
Method in class org.apache.logging.log4j.core.util.KeyValuePair
- Returns the 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.impl.ExtendedClassInfo
-
- getVersion() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- getWrappedEvent() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- All eventual accessor methods must call this method and delegate the method call to the underlying wrapped event.
- GzCompressAction - Class in org.apache.logging.log4j.core.appender.rolling.action
- Compresses a file using GZ compression.
- GzCompressAction(File, File, boolean) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
- Create new instance of GzCompressAction.
H
- 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
- This converter obviously handles throwables.
- hasCategory(String) -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
- Indicates whether or not the given category name is registered and has plugins in that category.
- hasChildren() -
Method in class org.apache.logging.log4j.core.config.Node
-
- 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.impl.ExtendedClassInfo
-
- hashCode() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- hashCode() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- hashCode() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- hashCode() -
Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- hasLogger(String) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Determine 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.
- 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.
- 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.
- HtmlLayout - Class in org.apache.logging.log4j.core.layout
- Outputs events as rows in an HTML table on an HTML page.
- HtmlLayout.Builder - Class in org.apache.logging.log4j.core.layout
-
- HtmlLayout.FontSize - Enum in org.apache.logging.log4j.core.layout
- Possible font sizes
I
- ignoreExceptions() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Some appenders need to propagate exceptions back to the application.
- ignoreExceptions() -
Method in interface org.apache.logging.log4j.core.Appender
- Some appenders need to propagate exceptions back to the application.
- immediateFlush -
Variable in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
- Immediate flush means that the underlying writer or output stream
will be flushed at the end of each append operation.
- includeLocation(String) -
Static method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
- includeLocation(String) -
Static method in class org.apache.logging.log4j.core.config.LoggerConfig
-
- inetAddress -
Variable in class org.apache.logging.log4j.core.net.AbstractSocketManager
- The internet address of the host.
- initialize(RollingFileManager) -
Method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
- Initializes the policy.
- initialize(RollingFileManager) -
Method in class org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy
- Provide the RollingFileManager to the policy.
- initialize(RollingFileManager) -
Method in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- Initialize the TriggeringPolicy.
- initialize(RollingFileManager) -
Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy
- Initialize the policy.
- initialize(RollingFileManager) -
Method in interface org.apache.logging.log4j.core.appender.rolling.TriggeringPolicy
- Initialize the Policy.
- initialize(String, ClassLoader, String) -
Static method in class org.apache.logging.log4j.core.config.Configurator
- Initializes the Logging Context.
- initialize(String, ClassLoader, String, Object) -
Static method in class org.apache.logging.log4j.core.config.Configurator
- Initializes the Logging Context.
- initialize(String, String) -
Static method in class org.apache.logging.log4j.core.config.Configurator
- Initializes the Logging Context.
- initialize(String, ClassLoader, URI) -
Static method in class org.apache.logging.log4j.core.config.Configurator
- Initializes the Logging Context.
- initialize(String, ClassLoader, URI, Object) -
Static method in class org.apache.logging.log4j.core.config.Configurator
- Initializes the Logging Context.
- initialize(ClassLoader, 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() -
Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
- Configures and initializes the StatusLogger using the configured options in this instance.
- initializeClass(String, ClassLoader) -
Static method in class org.apache.logging.log4j.core.util.Loader
- Loads and initializes a named Class using a given ClassLoader.
- initKeyManagerFactory() -
Method in class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
-
- initTrustManagerFactory() -
Method in class org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration
-
- InputStreamLogEventBridge - Class in org.apache.logging.log4j.core.net.server
- Reads and logs
LogEvent
s from an InputStream
. - InputStreamLogEventBridge(ObjectMapper, int, Charset, String) -
Constructor for class org.apache.logging.log4j.core.net.server.InputStreamLogEventBridge
-
- instance() -
Static method in class org.apache.logging.log4j.core.util.CachedClock
-
- instance() -
Static method in class org.apache.logging.log4j.core.util.CoarseCachedClock
- Returns the singleton instance.
- instantiateByClassName(String, Class<?>, Object) -
Static method in class org.apache.logging.log4j.core.util.OptionConverter
- Instantiate an object given a class name.
- instantiateByKey(Properties, String, Class<?>, Object) -
Static method in class org.apache.logging.log4j.core.util.OptionConverter
-
- 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.
- Interpolator - Class in org.apache.logging.log4j.core.lookup
- The Interpolator is a StrLookup that acts as a proxy for all the other StrLookups.
- Interpolator(StrLookup) -
Constructor for class org.apache.logging.log4j.core.lookup.Interpolator
-
- Interpolator() -
Constructor for class org.apache.logging.log4j.core.lookup.Interpolator
- Create the default Interpolator using only Lookups that work without an event.
- Interpolator(Map<String, String>) -
Constructor for class org.apache.logging.log4j.core.lookup.Interpolator
- Create the dInterpolator using only Lookups that work without an event and initial properties.
- isActive() -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- isActive() -
Method in class org.apache.logging.log4j.core.config.json.JsonConfigurationFactory
-
- isActive() -
Method in class org.apache.logging.log4j.core.config.yaml.YamlConfigurationFactory
-
- isActive() -
Method in class org.apache.logging.log4j.core.net.server.AbstractSocketServer
-
- isAdditive() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns the valid of the additive flag.
- isAdditive() -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- isAdditive() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Returns whether the instrumented
LoggerConfig
is additive.
- isAdditive() -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is present only to support the Log4j 1.2
compatibility bridge.
- isAnd() -
Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- isAppend() -
Method in class org.apache.logging.log4j.core.appender.FileManager
- Returns the append status.
- isBlocking() -
Method in class org.apache.logging.log4j.core.appender.AsyncAppender
- Returns
true
if this AsyncAppender will block when the queue is full,
or false
if events are dropped when the queue is full.
- isBlocking() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
- Returns
true
if this AsyncAppender will block when the queue is full,
or false
if events are dropped when the queue is full.
- isBlocking() -
Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
- Returns
true
if this AsyncAppender will block when the queue is
full, or false
if events are dropped when the queue is full.
- isClassAvailable(String) -
Static method in class org.apache.logging.log4j.core.util.Loader
- Determines if a named Class can be loaded or not.
- isClob() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- 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.
- isDefer() -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- isDeferChildren() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
-
- isEmpty() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
- Indicates whether or not any plugin categories have been registered.
- 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.util.CyclicBuffer
- Determines if the buffer contains elements.
- isEnabled(Level, Marker, String, 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, Object, Throwable) -
Method in class org.apache.logging.log4j.core.Logger
-
- isEnabled(Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.Logger
-
- isEnableSubstitutionInVariables() -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Returns a flag whether substitution is done in variable names.
- isEndOfBatch() -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- isEndOfBatch() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- Indicates whether this event is the last one in a batch.
- isEndOfBatch() -
Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
- isEndOfBatch() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- isEndOfBatch() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- Returns
true
if this event is the end of a batch, false
otherwise.
- isEndOfBatch() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- isEndOfBatch() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Returns
true
if this event is the last one in a batch, false
otherwise.
- isEqual(String) -
Method in enum org.apache.logging.log4j.core.net.Facility
- Determine if this enumeration matches the specified name (ignoring case).
- isEqual(String) -
Method in enum org.apache.logging.log4j.core.net.Protocol
- Determine if the String matches this enum.
- isEqual(String) -
Method in enum org.apache.logging.log4j.core.net.Severity
- Determine if the name matches this Severity.
- isEventTimestamp() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- isFile(URL) -
Static method in class org.apache.logging.log4j.core.util.FileUtils
-
- isFiltered(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.SmtpAppender
- Capture all events in CyclicBuffer.
- isFiltered(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
- Determine if the LogEvent should be processed or ignored.
- isFiltered(LogEvent) -
Method in interface org.apache.logging.log4j.core.filter.Filterable
- Determines if the event should be filtered.
- isGetSuppressedAvailable() -
Static method in class org.apache.logging.log4j.core.util.Throwables
- Returns true if the getSuppressed method is available.
- isIgnoreExceptions() -
Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- isIgnoreExceptions() -
Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
- Returns how exceptions thrown on the instrumented
Appender
are
handled.
- isIgnoreExceptions() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
-
- isIgnoreExceptions() -
Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
- Returns how exceptions thrown on the instrumented
AsyncAppender
are handled.
- isIncludeLocation() -
Method in class org.apache.logging.log4j.core.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.appender.db.jpa.AbstractLogEventWrapperEntity
- Indicates whether the source of the logging request is required downstream.
- isIncludeLocation() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- isIncludeLocation() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns the value of logger configuration attribute
includeLocation
,
or, if no such attribute was configured, true
if logging is
synchronous or false
if logging is asynchronous.
- isIncludeLocation() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- isIncludeLocation() -
Method in class org.apache.logging.log4j.core.jmx.AsyncAppenderAdmin
- Returns
true
if this AsyncAppender will take a snapshot of the stack with
every log event to determine the class and method where the logging call
was made.
- isIncludeLocation() -
Method in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
- Returns
true
if this AsyncAppender will take a snapshot of the
stack with every log event to determine the class and method where the
logging call was made.
- isIncludeLocation() -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- isIncludeLocation() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Returns whether the instrumented
LoggerConfig
is configured to
include location.
- isIncludeLocation() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Returns whether the source of the logging request is required downstream.
- isInitialized() -
Method in class org.apache.logging.log4j.core.AbstractLifeCycle
-
- isLeftAligned() -
Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
- Determine if left aligned.
- isLocking() -
Method in class org.apache.logging.log4j.core.appender.FileManager
- Returns the lock status.
- isMatch(char[], int, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Returns the number of matching characters, zero for no match.
- isMatch(char[], int) -
Method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Returns the number of matching characters, zero for no match.
- isNativeMethod() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- isObjectPrintable() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
-
- isOpen() -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- Returns the status of the stream.
- isPrintable() -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- isRoot() -
Method in class org.apache.logging.log4j.core.config.Node
-
- isRunning() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- Indicates whether the manager is currently connected
AbstractDatabaseManager.startup()
has been called and AbstractDatabaseManager.shutdown()
has not been called).
- isShutdownHookEnabled -
Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- isShutdownHookEnabled() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- isShutdownHookEnabled() -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- isStarted() -
Method in class org.apache.logging.log4j.core.AbstractLifeCycle
-
- isStarted() -
Method in interface org.apache.logging.log4j.core.LifeCycle
-
- isStarting() -
Method in class org.apache.logging.log4j.core.AbstractLifeCycle
-
- isStopped() -
Method in class org.apache.logging.log4j.core.AbstractLifeCycle
-
- isStopped() -
Method in interface org.apache.logging.log4j.core.LifeCycle
-
- isStopping() -
Method in class org.apache.logging.log4j.core.AbstractLifeCycle
-
- isSupported() -
Static method in class org.apache.logging.log4j.core.impl.ReflectiveCallerClassUtility
- Indicates whether
getCallerClass(int)
can be used on this JVM.
- isTriggeringEvent(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
- Determines if a rollover should occur.
- isTriggeringEvent(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy
- Determine if a rollover should be triggered.
- isTriggeringEvent(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- Returns true if a rollover should occur.
- isTriggeringEvent(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy
- Determine whether a rollover should occur.
- isTriggeringEvent(LogEvent) -
Method in interface org.apache.logging.log4j.core.appender.rolling.TriggeringPolicy
- Determines if a rollover may be appropriate at this time.
- isUnicode() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- iterator() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
J
- JdbcAppender - Class in org.apache.logging.log4j.core.appender.db.jdbc
- This Appender writes logging events to a relational database using standard JDBC mechanisms.
- JdbcDatabaseManager - Class in org.apache.logging.log4j.core.appender.db.jdbc
- An
AbstractDatabaseManager
implementation for relational databases accessed via JDBC. - JmsQueueAppender - Class in org.apache.logging.log4j.core.appender.jms
- Appender to write to a JMS Queue.
- JmsQueueManager - Class in org.apache.logging.log4j.core.net.jms
- Manager for a JMS Queue.
- JmsQueueManager(String, Context, String, String, String, String, JmsQueueManager.QueueInfo) -
Constructor for class org.apache.logging.log4j.core.net.jms.JmsQueueManager
- The Constructor.
- JmsQueueReceiver - Class in org.apache.logging.log4j.core.net.jms
- Receives Log Events over a JMS Queue.
- JmsQueueReceiver(String, String, String, String) -
Constructor for class org.apache.logging.log4j.core.net.jms.JmsQueueReceiver
- Constructor.
- JmsTopicAppender - Class in org.apache.logging.log4j.core.appender.jms
- Appender to write to a JMS Topic.
- JmsTopicManager - Class in org.apache.logging.log4j.core.net.jms
- Manager for JMS Topic connections.
- JmsTopicManager(String, Context, String, String, String, String, JmsTopicManager.TopicInfo) -
Constructor for class org.apache.logging.log4j.core.net.jms.JmsTopicManager
- Constructor.
- JmsTopicReceiver - Class in org.apache.logging.log4j.core.net.jms
- Receives Topic messages that contain LogEvents.
- JmsTopicReceiver(String, String, String, String) -
Constructor for class org.apache.logging.log4j.core.net.jms.JmsTopicReceiver
- Constructor.
- JNDI_CONTEXT_NAME -
Static variable in class org.apache.logging.log4j.core.util.Constants
- JNDI context name string literal.
- JndiCloser - Class in org.apache.logging.log4j.core.util
- Helper class for closing JNDI resources.
- JndiCloser() -
Constructor for class org.apache.logging.log4j.core.util.JndiCloser
-
- JndiContextSelector - Class in org.apache.logging.log4j.core.selector
- This class can be used to define a
custom logger repository.
- JndiContextSelector() -
Constructor for class org.apache.logging.log4j.core.selector.JndiContextSelector
-
- JndiLookup - Class in org.apache.logging.log4j.core.lookup
- Looks up keys from JNDI resources.
- JndiLookup() -
Constructor for class org.apache.logging.log4j.core.lookup.JndiLookup
-
- JpaAppender - Class in org.apache.logging.log4j.core.appender.db.jpa
- This Appender writes logging events to a relational database using the Java Persistence API.
- JpaDatabaseManager - Class in org.apache.logging.log4j.core.appender.db.jpa
- An
AbstractDatabaseManager
implementation for relational databases accessed via JPA. - JsonConfiguration - Class in org.apache.logging.log4j.core.config.json
- Creates a Node hierarchy from a JSON file.
- JsonConfiguration(ConfigurationSource) -
Constructor for class org.apache.logging.log4j.core.config.json.JsonConfiguration
-
- JsonConfigurationFactory - Class in org.apache.logging.log4j.core.config.json
-
- JsonConfigurationFactory() -
Constructor for class org.apache.logging.log4j.core.config.json.JsonConfigurationFactory
-
- JsonConstants - Class in org.apache.logging.log4j.core.jackson
- Keeps constants separate from any class that may depend on third party jars.
- JsonConstants() -
Constructor for class org.apache.logging.log4j.core.jackson.JsonConstants
-
- JsonInputStreamLogEventBridge - Class in org.apache.logging.log4j.core.net.server
- Reads and logs JSON
LogEvent
s from an InputStream
.. - JsonInputStreamLogEventBridge() -
Constructor for class org.apache.logging.log4j.core.net.server.JsonInputStreamLogEventBridge
-
- JsonInputStreamLogEventBridge(int, Charset) -
Constructor for class org.apache.logging.log4j.core.net.server.JsonInputStreamLogEventBridge
-
- JsonLayout - Class in org.apache.logging.log4j.core.layout
- Appends a series of JSON events as strings serialized as bytes.
- JsonLayout(boolean, boolean, boolean, boolean, Charset) -
Constructor for class org.apache.logging.log4j.core.layout.JsonLayout
-
K
- KEY -
Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
- Key to identify pattern converters.
- 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, String, String, String) -
Constructor for class org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration
-
- KeyStoreConfigurationException - Exception in org.apache.logging.log4j.core.net.ssl
-
- KeyStoreConfigurationException(Exception) -
Constructor for exception org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
-
- KeyValuePair - Class in org.apache.logging.log4j.core.util
- Key/Value pair configuration item.
- KeyValuePair(String, String) -
Constructor for class org.apache.logging.log4j.core.util.KeyValuePair
- Constructs a key/value pair.
L
- larger() -
Method in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
-
- layout -
Variable in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
- Layout<T extends Serializable> - Interface in org.apache.logging.log4j.core
- Lays out a LogEvent in different formats.
- LevelAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- A JPA 2.1 attribute converter for
Level
s in LogEvent
s. - LevelAttributeConverter() -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.LevelAttributeConverter
-
- LevelPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's level in a StringBuilder.
- LifeCycle - Interface in org.apache.logging.log4j.core
-
- LifeCycle.State - Enum in org.apache.logging.log4j.core
- Status of a life cycle like a
LoggerContext
.. - LifeCycleState - Enum 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
-
- LINE_SEPARATOR -
Static variable in class org.apache.logging.log4j.core.util.Constants
- Line separator.
- LineLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's line location information in a StringBuilder.
- LineSeparatorPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats a line separator.
- listeners -
Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Listeners for configuration changes.
- ListOfMapEntryDeserializer - Class in org.apache.logging.log4j.core.jackson
-
Consider this class private.
- ListOfMapEntrySerializer - Class in org.apache.logging.log4j.core.jackson
-
Consider this class private.
- ListOfMapEntrySerializer() -
Constructor for class org.apache.logging.log4j.core.jackson.ListOfMapEntrySerializer
-
- LiteralPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats a string literal.
- LiteralPatternConverter(Configuration, String) -
Constructor for class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
- Create a new instance.
- load() -
Method in class org.apache.logging.log4j.core.net.ssl.AbstractKeyStoreConfiguration
-
- load() -
Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- loadCacheFiles(Enumeration<URL>) -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginCache
- Loads and merges all the Log4j plugin cache files specified.
- loadClass(String) -
Method in class org.apache.logging.log4j.core.util.BundleResourceLoader
-
- loadClass(String) -
Method in class org.apache.logging.log4j.core.util.ClassLoaderResourceLoader
-
- loadClass(String) -
Static method in class org.apache.logging.log4j.core.util.Loader
- Load a Class by name.
- loadClass(String) -
Method in interface org.apache.logging.log4j.core.util.ResourceLoader
-
- Loader - Class in org.apache.logging.log4j.core.util
- Load resources (or images) from various sources.
- loadPlugins(ResourceLoader) -
Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
-
- loadSystemClass(String) -
Static method in class org.apache.logging.log4j.core.util.Loader
- Load a Class in the
java.*
namespace by name.
- LOCALIZED_MESSAGE -
Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
- locateContext(String, String) -
Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- locateContext(String, Object, URI) -
Method in class org.apache.logging.log4j.core.selector.JndiContextSelector
-
- locateContext(String, Object, URI) -
Method in interface org.apache.logging.log4j.core.selector.NamedContextSelector
- Locate the LoggerContext with the specified name.
- log(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(StatusData) -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- log(LogEvent) -
Method in class org.apache.logging.log4j.core.LogEventListener
-
- LOG4J_CONTEXT_SELECTOR -
Static variable in class org.apache.logging.log4j.core.util.Constants
- Name of the system property to use to identify the ContextSelector Class.
- LOG4J_DEFAULT_STATUS_LEVEL -
Static variable in class org.apache.logging.log4j.core.util.Constants
-
- LOG4J_LOG_EVENT_FACTORY -
Static variable in class org.apache.logging.log4j.core.util.Constants
- Name of the system property to use to identify the LogEvent factory.
- 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.
- Log4jJsonObjectMapper - Class in org.apache.logging.log4j.core.jackson
- A Jackson
ObjectMapper
initialized for Log4j. - Log4jJsonObjectMapper() -
Constructor for class org.apache.logging.log4j.core.jackson.Log4jJsonObjectMapper
- Create a new instance using the
Log4jJsonModule
.
- Log4jLogEvent - Class in org.apache.logging.log4j.core.impl
- Implementation of a LogEvent.
- Log4jLogEvent() -
Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- Log4jLogEvent(long) -
Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- Log4jLogEvent(String, Marker, String, Level, Message, Throwable) -
Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Constructor.
- Log4jLogEvent(String, Marker, String, Level, Message, List<Property>, Throwable) -
Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Constructor.
- Log4jLogEvent(String, Marker, String, Level, Message, Throwable, Map<String, String>, ThreadContext.ContextStack, String, StackTraceElement, long) -
Constructor for class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Constructor.
- Log4jStackTraceElementDeserializer - Class in org.apache.logging.log4j.core.jackson
- Copy and edit the Jackson (Apache License 2.0) class to use Log4j attribute names.
- Log4jStackTraceElementDeserializer() -
Constructor for class org.apache.logging.log4j.core.jackson.Log4jStackTraceElementDeserializer
- Constructs a new initialized instance.
- Log4jXmlObjectMapper - Class in org.apache.logging.log4j.core.jackson
- A Jackson
ObjectMapper
initialized for Log4j. - Log4jXmlObjectMapper() -
Constructor for class org.apache.logging.log4j.core.jackson.Log4jXmlObjectMapper
- Create a new instance using the
Log4jXmlModule
.
- LogEvent - Interface in org.apache.logging.log4j.core
-
- logEvent(LogEvent) -
Method in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- LogEventBridge<T extends InputStream> - Interface in org.apache.logging.log4j.core.net.server
- Reads
LogEvent
s from the given input stream and logs them as they are discovered on the given logger. - LogEventFactory - Interface in org.apache.logging.log4j.core.impl
-
- logEventInput -
Variable in class org.apache.logging.log4j.core.net.server.AbstractSocketServer
-
- 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.
- logEvents(InputStream, LogEventListener) -
Method in class org.apache.logging.log4j.core.net.server.InputStreamLogEventBridge
-
- logEvents(T, LogEventListener) -
Method in interface org.apache.logging.log4j.core.net.server.LogEventBridge
- Reads
LogEvent
s from the given input stream and logs them as they are discovered on the given logger.
- logEvents(ObjectInputStream, LogEventListener) -
Method in class org.apache.logging.log4j.core.net.server.ObjectInputStreamLogEventBridge
-
- 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
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
- LOGGER -
Static variable in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- LOGGER -
Static variable in class org.apache.logging.log4j.core.layout.AbstractLayout
- Allow subclasses access to the status logger without creating another instance.
- Logger - Class in org.apache.logging.log4j.core
-
- Logger(LoggerContext, String, MessageFactory) -
Constructor for class org.apache.logging.log4j.core.Logger
- The constructor.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.net.DatagramOutputStream
- Allow subclasses access to the status logger without creating another instance.
- logger -
Variable in class org.apache.logging.log4j.core.net.jms.AbstractJmsReceiver
- Logger to capture diagnostics.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.net.MulticastDnsAdvertiser
-
- logger -
Static variable in class org.apache.logging.log4j.core.net.server.AbstractLogEventBridge
-
- logger -
Variable in class org.apache.logging.log4j.core.net.server.AbstractSocketServer
-
- LOGGER -
Static variable in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- LOGGER -
Static variable in class org.apache.logging.log4j.core.pattern.AbstractPatternConverter
- Allow subclasses access to the status logger.
- Logger.PrivateConfig - Class in org.apache.logging.log4j.core
- The binding between a Logger and its configuration.
- Logger.PrivateConfig(Configuration, Logger) -
Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- Logger.PrivateConfig(Logger.PrivateConfig, Level) -
Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- Logger.PrivateConfig(Logger.PrivateConfig, LoggerConfig) -
Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- LoggerConfig - Class in org.apache.logging.log4j.core.config
- Logger object that is created via configuration.
- LoggerConfig() -
Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
- Default constructor.
- LoggerConfig(String, Level, boolean) -
Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
- Constructor that sets the name, level and additive values.
- LoggerConfig(String, List<AppenderRef>, Filter, Level, boolean, Property[], Configuration, boolean) -
Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
-
- loggerConfig -
Variable in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- LoggerConfig.RootLogger - Class in org.apache.logging.log4j.core.config
- The root Logger.
- LoggerConfig.RootLogger() -
Constructor for class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger
-
- LoggerConfigAdmin - Class in org.apache.logging.log4j.core.jmx
- Implementation of the
LoggerConfigAdminMBean
interface. - LoggerConfigAdmin(LoggerContext, LoggerConfig) -
Constructor for class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
- Constructs a new
LoggerConfigAdmin
with the specified contextName
and logger config.
- LoggerConfigAdminMBean - Interface in org.apache.logging.log4j.core.jmx
- The MBean interface for monitoring and managing a
LoggerConfig
. - LoggerContext - Class in org.apache.logging.log4j.core
- The LoggerContext is the anchor for the logging system.
- LoggerContext(String) -
Constructor for class org.apache.logging.log4j.core.LoggerContext
- Constructor taking only a name.
- LoggerContext(String, Object) -
Constructor for class org.apache.logging.log4j.core.LoggerContext
- Constructor taking a name and a reference to an external context.
- LoggerContext(String, Object, URI) -
Constructor for class org.apache.logging.log4j.core.LoggerContext
- Constructor taking a name, external context and a configuration URI.
- LoggerContext(String, Object, String) -
Constructor for class org.apache.logging.log4j.core.LoggerContext
- Constructor taking a name external context and a configuration location
String.
- LoggerContextAdmin - Class in org.apache.logging.log4j.core.jmx
- Implementation of the
LoggerContextAdminMBean
interface. - LoggerContextAdmin(LoggerContext, Executor) -
Constructor for class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
- Constructs a new
LoggerContextAdmin
with the Executor
to be used for sending Notification
s asynchronously to listeners.
- LoggerContextAdminMBean - Interface in org.apache.logging.log4j.core.jmx
- The MBean interface for monitoring and managing a
LoggerContext
. - LoggerFields - Class in org.apache.logging.log4j.core.layout
- A LoggerFields container.
- LoggerPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats a logger name.
- Loggers - Class in org.apache.logging.log4j.core.config
-
- Loggers(ConcurrentMap<String, LoggerConfig>, LoggerConfig) -
Constructor for class org.apache.logging.log4j.core.config.Loggers
-
- LoggersPlugin - Class in org.apache.logging.log4j.core.config
- Container of Logger objects.
- logMessage(String, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.async.AsyncLogger
-
- logMessage(String, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.Logger
-
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.ContextMapLookup
- Looks up the value from the ThreadContext Map.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.ContextMapLookup
- Looks up the value from the ThreadContext Map.
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.DateLookup
- Looks up the value of the environment variable.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.DateLookup
- Looks up the value of the environment variable.
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.EnvironmentLookup
- Looks up the value of the environment variable.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.EnvironmentLookup
- Looks up the value of the environment variable.
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.Interpolator
- Resolves the specified variable.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.Interpolator
- Resolves the specified variable.
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.JndiLookup
- Looks up the value of the JNDI resource.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.JndiLookup
- Looks up the value of the JNDI resource.
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.MapLookup
- Looks up a String key to a String value using the map.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.MapLookup
-
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.ResourceBundleLookup
- Looks up the value for the key in the format "BundleName:BundleKey".
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.ResourceBundleLookup
- Looks up the value for the key in the format "BundleName:BundleKey".
- lookup(String) -
Method in interface org.apache.logging.log4j.core.lookup.StrLookup
- Looks up a String key to a String value.
- lookup(LogEvent, String) -
Method in interface org.apache.logging.log4j.core.lookup.StrLookup
- Looks up a String key to a String value possibly using the current LogEvent.
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.StructuredDataLookup
- Looks up the value for the key.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.StructuredDataLookup
- Looks up the value for the key using the data in the LogEvent.
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.SystemPropertiesLookup
- Looks up the value for the key.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.SystemPropertiesLookup
- Looks up the value for the key using the data in the LogEvent.
- lookup(Context, String) -
Static method in class org.apache.logging.log4j.core.net.jms.AbstractJmsManager
- Looks up the name in the context.
- lookup(Context, String) -
Method in class org.apache.logging.log4j.core.net.jms.AbstractJmsReceiver
- Looks up an object from the Context.
- lookup(Context, String) -
Static method in class org.apache.logging.log4j.core.selector.JndiContextSelector
-
M
- main(String[]) -
Static method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager
- Deprecated. Use
PluginProcessor
instead. To do so,
simply include log4j-core
in your dependencies and make sure annotation processing is not
disabled. By default, supported Java compilers will automatically use that plugin processor provided
log4j-core
is on the classpath.
- main(String[]) -
Static method in class org.apache.logging.log4j.core.net.jms.JmsQueueReceiver
- Main startup for the receiver.
- main(String[]) -
Static method in class org.apache.logging.log4j.core.net.jms.JmsTopicReceiver
- Main startup for the receiver.
- main(String[]) -
Static method in class org.apache.logging.log4j.core.net.server.TcpSocketServer
- Main startup for the server.
- main(String[]) -
Static method in class org.apache.logging.log4j.core.net.server.UdpSocketServer
- Main startup for the server.
- main(String[]) -
Static method in class org.apache.logging.log4j.core.tools.Generate.CustomLogger
- Generates source code for custom logger wrappers that only provide convenience methods for the specified
custom levels, not for the standard built-in levels.
- main(String[]) -
Static method in class org.apache.logging.log4j.core.tools.Generate.ExtendedLogger
- Generates source code for extended logger wrappers that provide convenience methods for the specified custom
levels.
- ManagerFactory<M,T> - Interface in org.apache.logging.log4j.core.appender
- Creates Manager objects.
- 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
- The basis for a lookup based on a Map.
- MapLookup(Map<String, String>) -
Constructor for class org.apache.logging.log4j.core.lookup.MapLookup
- Creates a new instance backed by a Map.
- MapLookup() -
Constructor for class org.apache.logging.log4j.core.lookup.MapLookup
- Constructor when used directly as a plugin.
- MapPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Able to handle the contents of the LogEvent's MapMessage and either
output the entire contents of the properties in a similar format to the
java.util.Hashtable.toString(), or to output the value of a specific key
within the Map.
- MapRewritePolicy - Class in org.apache.logging.log4j.core.appender.rewrite
- This policy modifies events by replacing or possibly adding keys and values to the MapMessage.
- MapRewritePolicy.Mode - Enum in org.apache.logging.log4j.core.appender.rewrite
- An enumeration to identify whether keys not in the MapMessage should be added or whether only existing
keys should be updated.
- MarkerAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- A JPA 2.1 attribute converter for
Marker
s in LogEvent
s. - MarkerAttributeConverter() -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.MarkerAttributeConverter
-
- 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.
- MarkerPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's rendered message in a StringBuilder.
- matches(Class<?>) -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager.PluginTest
- Returns true if the type is annotated with the class provided to the constructor.
- matches(URI) -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager.PluginTest
-
- matches(Class<?>) -
Method in interface org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.Test
- Will be called repeatedly with candidate classes.
- matches(URI) -
Method in interface org.apache.logging.log4j.core.config.plugins.util.ResolverUtil.Test
- Test for a resource.
- MAX_PORT -
Static variable in class org.apache.logging.log4j.core.net.server.AbstractSocketServer
-
- md5(String) -
Static method in class org.apache.logging.log4j.core.util.NameUtil
-
- 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.
- member -
Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- mergePropertiesIntoContextMap(Map<Property, Boolean>, StrSubstitutor) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
- Merges the contents of the specified map into the contextMap, after replacing any variables in the property
values with the StrSubstitutor-supplied actual values.
- MESSAGE -
Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
- MessageAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- A JPA 2.1 attribute converter for
Message
s in LogEvent
s. - MessageAttributeConverter() -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.MessageAttributeConverter
-
- MessagePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's rendered message in a StringBuilder.
- METHOD_NAME -
Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
- MethodLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's line location information in a StringBuilder.
- MILLIS_IN_SECONDS -
Static variable in class org.apache.logging.log4j.core.util.Constants
- Number of milliseconds in a second.
- MimeMessageBuilder - Class in org.apache.logging.log4j.core.net
- Helper class for SmtpManager.
- MimeMessageBuilder(Session) -
Constructor for class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- 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.
- monitor -
Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
- The ConfigurationMonitor that checks for configuration changes.
- 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
-
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.
- NameUtil - Class in org.apache.logging.log4j.core.util
-
- 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
-
- newBuilder() -
Static method in class org.apache.logging.log4j.core.layout.HtmlLayout
-
- newBuilder() -
Static method in class org.apache.logging.log4j.core.layout.PatternLayout
- Creates a builder for a custom PatternLayout.
- 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.
- newInstance(LoggerContext, String, MessageFactory) -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- newInstance(String[]) -
Static method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Create a new instance based on the array of options.
- newInstance(LoggerContext, String, MessageFactory) -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- 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(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(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(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(Configuration, String[]) -
Static method in class org.apache.logging.log4j.core.pattern.EncodingPatternConverter
- Obtains an instance of pattern converter.
- newInstance(String[]) -
Static method in class org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter
- Gets an instance of the class.
- 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(Configuration, String[]) -
Static method in class org.apache.logging.log4j.core.pattern.HighlightConverter
- Gets an instance of the class.
- 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.LoggerPatternConverter
- Obtains an instance of pattern converter.
- newInstance(String[]) -
Static method in class org.apache.logging.log4j.core.pattern.MapPatternConverter
- Obtains an instance of PropertiesPatternConverter.
- 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.MdcPatternConverter
- Obtains an instance of PropertiesPatternConverter.
- newInstance(Configuration, String[]) -
Static method in class org.apache.logging.log4j.core.pattern.MessagePatternConverter
- Obtains an instance of pattern converter.
- 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.NdcPatternConverter
- Obtains an instance of NdcPatternConverter.
- newInstance(Configuration, String[]) -
Static method in class org.apache.logging.log4j.core.pattern.RegexReplacementConverter
- Gets an instance of the class.
- 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.RootThrowablePatternConverter
- Gets an instance of the class.
- newInstance(String[]) -
Static method in class org.apache.logging.log4j.core.pattern.SequenceNumberPatternConverter
- Obtains an instance of SequencePatternConverter.
- newInstance(Configuration, String[]) -
Static method in class org.apache.logging.log4j.core.pattern.StyleConverter
- Gets an instance of the class.
- newInstance(String[]) -
Static method in class org.apache.logging.log4j.core.pattern.ThreadPatternConverter
- Obtains an instance of ThreadPatternConverter.
- newInstance(String[]) -
Static method in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
- Gets an instance of the class.
- newInstance(String[]) -
Static method in class org.apache.logging.log4j.core.pattern.UuidPatternConverter
- Obtains an instance of SequencePatternConverter.
- newInstanceOf(String) -
Static method in class org.apache.logging.log4j.core.util.Loader
- Loads and instantiates a Class using the default constructor.
- 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.
- newThread(Runnable) -
Method in class org.apache.logging.log4j.core.async.DaemonThreadFactory
-
- Node - Class in org.apache.logging.log4j.core.config
- A Configuration node.
- Node(Node, String, PluginType<?>) -
Constructor for class org.apache.logging.log4j.core.config.Node
- Creates a new instance of
Node
and initializes it
with a name and the corresponding XML element.
- Node() -
Constructor for class org.apache.logging.log4j.core.config.Node
-
- Node(Node) -
Constructor for class org.apache.logging.log4j.core.config.Node
-
- noneMatcher() -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Matches no characters.
- NOTIF_TYPE_DATA -
Static variable in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Notifications with this type have a
StatusData
userData object
and a null
message.
- NOTIF_TYPE_MESSAGE -
Static variable in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Notifications with this type have a formatted status data message string
but no
StatusData
in their userData field.
- NOTIF_TYPE_RECONFIGURED -
Static variable in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Notification that the
Configuration
of the instrumented
LoggerContext
has been reconfigured.
- NULL_NAME -
Static variable in class org.apache.logging.log4j.core.config.NullConfiguration
-
- NULL_SOURCE -
Static variable in class org.apache.logging.log4j.core.config.ConfigurationSource
-
- 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
-
O
- ObjectInputStreamLogEventBridge - Class in org.apache.logging.log4j.core.net.server
- Reads and logs serialized
LogEvent
objects from an ObjectInputStream
. - ObjectInputStreamLogEventBridge() -
Constructor for class org.apache.logging.log4j.core.net.server.ObjectInputStreamLogEventBridge
-
- onChange(Reconfigurable) -
Method in interface org.apache.logging.log4j.core.config.ConfigurationListener
-
- onChange(Reconfigurable) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Cause a reconfiguration to take place when the underlying configuration
file changes.
- onEvent(RingBufferLogEvent, long, boolean) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEventHandler
-
- onMatch -
Variable in class org.apache.logging.log4j.core.filter.AbstractFilter
- The onMatch Result.
- onMessage(Message) -
Method in class org.apache.logging.log4j.core.net.jms.AbstractJmsReceiver
- Listener that receives the event.
- 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.
- OnStartupTriggeringPolicy() -
Constructor for class org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy
-
- OptionConverter - Class in org.apache.logging.log4j.core.util
- A convenience class to convert property values to specific types.
- options -
Variable in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
- The number of lines to write.
- Order - Annotation Type in org.apache.logging.log4j.core.config
- Identifies the relative ordering of the Configuration.
- org.apache.logging.log4j.core - package org.apache.logging.log4j.core
- Implementation of Log4j 2.0.
- org.apache.logging.log4j.core.appender - package org.apache.logging.log4j.core.appender
- Log4j 2.0 Appenders.
- org.apache.logging.log4j.core.appender.db - package org.apache.logging.log4j.core.appender.db
- The classes in this package and sub packages provide appenders for various types of databases and methods for
accessing databases.
- org.apache.logging.log4j.core.appender.db.jdbc - package org.apache.logging.log4j.core.appender.db.jdbc
- The JDBC Appender supports writing log events to a relational database using standard JDBC connections.
- org.apache.logging.log4j.core.appender.db.jpa - package org.apache.logging.log4j.core.appender.db.jpa
- The JPA Appender supports writing log events to a relational database using the Java Persistence API.
- org.apache.logging.log4j.core.appender.db.jpa.converter - package org.apache.logging.log4j.core.appender.db.jpa.converter
- The converters in this package implement the JPA 2.1 mechanism for converting non-standard types to and from
database fields.
- org.apache.logging.log4j.core.appender.jms - package org.apache.logging.log4j.core.appender.jms
- Appender classes for using JMS.
- 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.0.
- org.apache.logging.log4j.core.config.json - package org.apache.logging.log4j.core.config.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.osgi - package org.apache.logging.log4j.core.config.plugins.osgi
- Collection of OSGi-specific classes for bundles.
- org.apache.logging.log4j.core.config.plugins.processor - package org.apache.logging.log4j.core.config.plugins.processor
- Java annotation processor for pre-scanning Log4j 2 plugins.
- org.apache.logging.log4j.core.config.plugins.util - package org.apache.logging.log4j.core.config.plugins.util
- Utility and manager classes for Log4j 2 plugins.
- org.apache.logging.log4j.core.config.plugins.visitors - package org.apache.logging.log4j.core.config.plugins.visitors
- Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
- org.apache.logging.log4j.core.config.status - package org.apache.logging.log4j.core.config.status
-
- org.apache.logging.log4j.core.config.xml - package org.apache.logging.log4j.core.config.xml
-
- org.apache.logging.log4j.core.config.yaml - package org.apache.logging.log4j.core.config.yaml
-
- org.apache.logging.log4j.core.filter - package org.apache.logging.log4j.core.filter
- Log4j 2.0 Filter support.
- org.apache.logging.log4j.core.impl - package org.apache.logging.log4j.core.impl
- Log4j 2.0 private implementation classes.
- org.apache.logging.log4j.core.jackson - package org.apache.logging.log4j.core.jackson
-
- org.apache.logging.log4j.core.jmx - package org.apache.logging.log4j.core.jmx
- Log4j 2.0 JMX support.
- org.apache.logging.log4j.core.layout - package org.apache.logging.log4j.core.layout
- Log4j 2.0 Layout support.
- org.apache.logging.log4j.core.lookup - package org.apache.logging.log4j.core.lookup
- Log4j 2.0 Lookups.
- org.apache.logging.log4j.core.net - package org.apache.logging.log4j.core.net
- Log4j 2.0 network support.
- org.apache.logging.log4j.core.net.jms - package org.apache.logging.log4j.core.net.jms
- Supporting network code for JMS appenders.
- org.apache.logging.log4j.core.net.server - package org.apache.logging.log4j.core.net.server
-
- org.apache.logging.log4j.core.net.ssl - package org.apache.logging.log4j.core.net.ssl
- Log4j 2.0 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.selector - package org.apache.logging.log4j.core.selector
- Log4j 2.0 Context Selectors.
- org.apache.logging.log4j.core.tools - package org.apache.logging.log4j.core.tools
- Log4j 2.0 command line tools.
- org.apache.logging.log4j.core.util - package org.apache.logging.log4j.core.util
- Log4j 2.0 helper classes.
- 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<?>) -
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, List<PatternConverter>, List<FormattingInfo>, 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
if s
is "true"
(case-insensitive), false
if s
is
"false"
(case-insensitive), and defaultValue
if s
is anything else (including null or
empty).
- 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.
- parseInt(String) -
Static method in class org.apache.logging.log4j.core.util.Integers
- Parses the string argument as a signed decimal integer.
- PATTERN -
Static variable in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
- ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=Appenders,name=%s") for AppenderAdmin MBeans.
- PATTERN -
Static variable in interface org.apache.logging.log4j.core.jmx.AsyncAppenderAdminMBean
- ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=AsyncAppenders,name=%s" ) for AsyncAppenderAdmin MBeans.
- PATTERN -
Static variable in interface org.apache.logging.log4j.core.jmx.ContextSelectorAdminMBean
- ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=ContextSelector") for ContextSelectorAdmin MBeans.
- PATTERN -
Static variable in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=Loggers,name=%s") for LoggerConfigAdmin MBeans.
- PATTERN -
Static variable in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- ObjectName pattern ("org.apache.logging.log4j2:type=%s" ) for LoggerContextAdmin MBeans.
- PATTERN -
Static variable in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=StatusLogger") for StatusLoggerAdmin MBeans.
- PATTERN_ASYNC_LOGGER -
Static variable in interface org.apache.logging.log4j.core.jmx.RingBufferAdminMBean
- ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=AsyncLoggerRingBuffer") for the RingBufferAdmin MBean that instruments
the global
AsyncLogger
ring buffer.
- PATTERN_ASYNC_LOGGER_CONFIG -
Static variable in interface org.apache.logging.log4j.core.jmx.RingBufferAdminMBean
- ObjectName pattern ("org.apache.logging.log4j2:type=%s,component=Loggers,name=%s,subtype=RingBuffer") for RingBufferAdmin MBeans that instrument
AsyncLoggerConfig
ring buffers.
- PatternConverter - Interface in org.apache.logging.log4j.core.pattern
- Interface that all PatternConverters must implement.
- 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.
- PatternParser - Class in org.apache.logging.log4j.core.pattern
- Most of the work of the
PatternLayout
class is delegated to the
PatternParser class. - PatternParser(String) -
Constructor for class org.apache.logging.log4j.core.pattern.PatternParser
- Constructor.
- PatternParser(Configuration, String, Class<?>) -
Constructor for class org.apache.logging.log4j.core.pattern.PatternParser
- Constructor.
- PatternParser(Configuration, String, Class<?>, Class<?>) -
Constructor for class org.apache.logging.log4j.core.pattern.PatternParser
- Constructor.
- PatternProcessor - Class in org.apache.logging.log4j.core.appender.rolling
- Parse the rollover pattern.
- PatternProcessor(String) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
- Constructor.
- Patterns - Class in org.apache.logging.log4j.core.util
- Pattern strings used throughout Log4j.
- Plugin - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Annotation that identifies a Class as a Plugin.
- PLUGIN_CACHE_FILE -
Static variable in class org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor
- The location of the plugin cache data file.
- PluginAliases - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a list of aliases for a
Plugin
or PluginAttribute
. - PluginAttribute - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a Plugin Attribute and its default value.
- PluginAttributeVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
- PluginVisitor implementation for
PluginAttribute
. - PluginAttributeVisitor() -
Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginAttributeVisitor
-
- PluginBuilder<T> - Class in org.apache.logging.log4j.core.config.plugins.util
- Builder class to instantiate and configure a Plugin object using a PluginFactory method or PluginBuilderFactory
builder class.
- PluginBuilder(PluginType<T>) -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginBuilder
- Constructs a PluginBuilder for a given PluginType.
- PluginBuilderAttribute - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Marks a field as a Plugin Attribute.
- PluginBuilderAttributeVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
- PluginVisitor for PluginBuilderAttribute.
- PluginBuilderAttributeVisitor() -
Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginBuilderAttributeVisitor
-
- PluginBuilderFactory - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Marks a method as a factory for custom Plugin builders.
- PluginCache - Class in org.apache.logging.log4j.core.config.plugins.processor
-
- PluginCache() -
Constructor for class org.apache.logging.log4j.core.config.plugins.processor.PluginCache
-
- PluginConfiguration - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a parameter or field as a Configuration.
- PluginConfigurationVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
- PluginVisitor implementation for
PluginConfiguration
. - PluginConfigurationVisitor() -
Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginConfigurationVisitor
-
- PluginElement - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a parameter as a Plugin and corresponds with an XML element (or equivalent) in configuration files.
- PluginElementVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
- PluginVisitor implementation for
PluginElement
. - PluginElementVisitor() -
Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginElementVisitor
-
- PluginEntry - Class in org.apache.logging.log4j.core.config.plugins.processor
- Memento object for storing a plugin entry to a cache file.
- PluginEntry() -
Constructor for class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- PluginFactory - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a Method as the factory to create the plugin.
- pluginManager -
Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- PluginManager - Class in org.apache.logging.log4j.core.config.plugins.util
- Loads and manages all the plugins.
- PluginManager(String) -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginManager
- Constructs a PluginManager for the plugin category name given.
- PluginManager.PluginTest - Class in org.apache.logging.log4j.core.config.plugins.util
- A Test that checks to see if each class is annotated with a specific annotation.
- PluginManager.PluginTest(Class<?>) -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginManager.PluginTest
- Constructs an AnnotatedWith test for the specified annotation type.
- PluginNode - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a Plugin configuration Node.
- PluginNodeVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
- PluginVisitor implementation for
PluginNode
- PluginNodeVisitor() -
Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginNodeVisitor
-
- PluginProcessor - Class in org.apache.logging.log4j.core.config.plugins.processor
- Annotation processor for pre-scanning Log4j 2 plugins.
- PluginProcessor() -
Constructor for class org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor
-
- PluginRegistry<T extends Serializable> - Class in org.apache.logging.log4j.core.config.plugins.util
- Registry for PluginType maps partitioned by category names.
- PluginRegistry() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginRegistry
-
- PluginType<T> - Class in org.apache.logging.log4j.core.config.plugins.util
- Plugin Descriptor.
- PluginType(Class<T>, String, boolean, boolean) -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.PluginType
-
- PluginValue - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a parameter as a value.
- PluginValueVisitor - Class in org.apache.logging.log4j.core.config.plugins.visitors
- PluginVisitor implementation for
PluginValue
. - PluginValueVisitor() -
Constructor for class org.apache.logging.log4j.core.config.plugins.visitors.PluginValueVisitor
-
- PluginVisitor<A extends Annotation> - Interface in org.apache.logging.log4j.core.config.plugins.visitors
- Visitor strategy for parsing data from a
Node
, doing any relevant type conversion, and returning a
parsed value for that variable. - PluginVisitors - Class in org.apache.logging.log4j.core.config.plugins.visitors
- Utility class to locate an appropriate PluginVisitor implementation for an annotation.
- PluginVisitorStrategy - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Meta-annotation to denote the class name to use that implements
PluginVisitor
for the annotated annotation. - port -
Variable in class org.apache.logging.log4j.core.net.AbstractSocketManager
- The port on the host.
- prefixSet(Set<String>, String) -
Static method in class org.apache.logging.log4j.core.util.SetUtils
-
- 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.
- process(Set<? extends TypeElement>, RoundEnvironment) -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor
-
- PropertiesPlugin - Class in org.apache.logging.log4j.core.config
- Handles properties defined in the configuration.
- PropertiesRewritePolicy - Class in org.apache.logging.log4j.core.appender.rewrite
- This policy modifies events by replacing or possibly adding keys and values to the MapMessage.
- Property - Class in org.apache.logging.log4j.core.config
- Represents a key/value pair in the configuration.
- PROPERTY_CONFIG -
Static variable in class org.apache.logging.log4j.core.LoggerContext
-
- PROPERTY_NAME -
Static variable in class org.apache.logging.log4j.core.util.ClockFactory
- Name of the system property that can be used to specify a
Clock
implementation class.
- propertyChange(PropertyChangeEvent) -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- Protocol - Enum in org.apache.logging.log4j.core.net
- Enumeration of the supported protocols.
- PROTOCOL -
Static variable in class org.apache.logging.log4j.core.net.ssl.SslConfigurationDefaults
-
Q
- 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.
- RandomAccessFileManager - Class in org.apache.logging.log4j.core.appender
- Extends OutputStreamManager but instead of using a buffered output stream,
this class uses a
ByteBuffer
and a RandomAccessFile
to do the
I/O. - RandomAccessFileManager(RandomAccessFile, String, OutputStream, boolean, int, String, Layout<? extends Serializable>) -
Constructor for class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
- Reconfigurable - Interface in org.apache.logging.log4j.core.config
- Interface to be implemented by Configurations that can be reconfigured at runtime.
- reconfigure() -
Method in class org.apache.logging.log4j.core.config.json.JsonConfiguration
-
- reconfigure() -
Method in interface org.apache.logging.log4j.core.config.Reconfigurable
-
- reconfigure() -
Method in class org.apache.logging.log4j.core.config.xml.XmlConfiguration
-
- reconfigure() -
Method in class org.apache.logging.log4j.core.LoggerContext
- Reconfigure the context.
- ReflectiveCallerClassUtility - Class in org.apache.logging.log4j.core.impl
- Utility class that handles the instability of the Sun/OpenJDK
sun.reflect.Reflection.getCallerClass(int)
method. - 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.
- registerTypeConverter(Class<?>, TypeConverter<?>) -
Static method in class org.apache.logging.log4j.core.config.plugins.util.TypeConverters
- Registers a TypeConverter for a specified class.
- RelativeTimePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the relative time in milliseconds since JVM Startup.
- RelativeTimePatternConverter() -
Constructor for class org.apache.logging.log4j.core.pattern.RelativeTimePatternConverter
- Private constructor.
- release() -
Method in class org.apache.logging.log4j.core.appender.AbstractManager
- Called to signify that this Manager is no longer required by an Appender.
- releaseSub() -
Method in class org.apache.logging.log4j.core.appender.AbstractManager
- May be overridden by Managers to perform processing while the Manager is being released and the
lock is held.
- releaseSub() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
- releaseSub() -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- Default hook to write footer during close.
- releaseSub() -
Method in class org.apache.logging.log4j.core.net.jms.JmsQueueManager
-
- releaseSub() -
Method in class org.apache.logging.log4j.core.net.jms.JmsTopicManager
-
- removeAll() -
Method in class org.apache.logging.log4j.core.util.CyclicBuffer
- Removes all the elements from the buffer and returns them.
- removeAppender(String) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Remove an Appender.
- removeAppender(String) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Removes the Appender with the specific name.
- removeAppender(Appender) -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is used primarily for unit testing.
- removeAttributeValue(Map<String, String>, String, String...) -
Static method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
- Removes an Entry from a given Map using a key name and aliases for that key.
- removeConfigurationFactory(ConfigurationFactory) -
Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Remove the ConfigurationFactory.
- removeContext(LoggerContext) -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
- removeContext(LoggerContext) -
Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- Removes knowledge of a LoggerContext.
- removeContext(LoggerContext) -
Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- removeContext(LoggerContext) -
Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- removeContext(LoggerContext) -
Method in interface org.apache.logging.log4j.core.selector.ContextSelector
- Remove any references to the LoggerContext.
- removeContext(LoggerContext) -
Method in class org.apache.logging.log4j.core.selector.JndiContextSelector
-
- removeContext(String) -
Method in class org.apache.logging.log4j.core.selector.JndiContextSelector
-
- removeContext(String) -
Method in interface org.apache.logging.log4j.core.selector.NamedContextSelector
- Locate the LoggerContext with the specified name using the default configuration.
- removeFilter(Filter) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
- Removes a Filter.
- removeFilter(Filter) -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- removeFilter(Filter) -
Method in interface org.apache.logging.log4j.core.filter.Filterable
- Removes a Filter.
- removeFilter(Filter) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Removes a Filter from the current Configuration.
- removeListener(ConfigurationListener) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Remove a ConfigurationListener.
- removeListener(ConfigurationListener) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- removeLogger(String) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Remove a LoggerConfig.
- removeLogger(String) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- removePropertyChangeListener(PropertyChangeListener) -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- replace(Object, Map<String, String>) -
Static method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables in the given source object with
their matching values from the map.
- replace(Object, Map<String, String>, String, String) -
Static method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables in the given source object with
their matching values from the map.
- replace(Object, Properties) -
Static method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables in the given source object with their matching
values from the properties.
- replace(String) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(String, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(LogEvent, String, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(char[]) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(LogEvent, char[]) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(char[], int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(LogEvent, char[], int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(StringBuffer) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(LogEvent, StringBuffer) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(StringBuffer, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(LogEvent, StringBuffer, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(StringBuilder) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(LogEvent, StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(Object) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables in the given source object with
their matching values from the resolver.
- replace(LogEvent, Object) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables in the given source object with
their matching values from the resolver.
- replaceIn(StringBuffer) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source buffer
with their matching values from the resolver.
- replaceIn(StringBuffer, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source buffer
with their matching values from the resolver.
- replaceIn(LogEvent, StringBuffer, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source buffer
with their matching values from the resolver.
- replaceIn(StringBuilder) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceIn(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceIn(StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceIn(LogEvent, StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceManager(T) -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
- Replaces the underlying manager in use within this appender.
- reportException(Exception) -
Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
- Capture exception.
- reportException(Exception) -
Method in class org.apache.logging.log4j.core.appender.rolling.action.GzCompressAction
- Capture exception.
- reportException(Exception) -
Method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
- Capture exception.
- requireNonNull(T, String) -
Static method in class org.apache.logging.log4j.core.util.Assert
- Throws a
NullPointerException
if the specified parameter is
null
, otherwise returns the specified parameter.
- reregisterMBeansAfterReconfigure() -
Static method in class org.apache.logging.log4j.core.jmx.Server
-
- reregisterMBeansAfterReconfigure(MBeanServer) -
Static method in class org.apache.logging.log4j.core.jmx.Server
-
- resetConfigurationFactory() -
Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Reset the ConfigurationFactory to the default.
- resetInputStream() -
Method in class org.apache.logging.log4j.core.config.ConfigurationSource
- Returns a new
ConfigurationSource
whose input stream is reset to the beginning.
- ResolverUtil - Class in org.apache.logging.log4j.core.config.plugins.util
- ResolverUtil is used to locate classes that are available in the/a class path and meet
arbitrary conditions.
- ResolverUtil() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
-
- ResolverUtil.Test - Interface in org.apache.logging.log4j.core.config.plugins.util
- A simple interface that specifies how to test classes to determine if they
are to be included in the results produced by the ResolverUtil.
- resolveVariable(LogEvent, String, StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Internal method that resolves the value of a variable.
- ResourceBundleLookup - Class in org.apache.logging.log4j.core.lookup
- Looks up keys from resource bundles.
- ResourceBundleLookup() -
Constructor for class org.apache.logging.log4j.core.lookup.ResourceBundleLookup
-
- ResourceLoader - Interface in org.apache.logging.log4j.core.util
- Abstract interface for a ClassLoader or similar object.
- rewrite(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy
- Rewrite the event.
- rewrite(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.rewrite.PropertiesRewritePolicy
- Rewrite the event.
- rewrite(LogEvent) -
Method in interface org.apache.logging.log4j.core.appender.rewrite.RewritePolicy
- Rewrite a logging event.
- RewriteAppender - Class in org.apache.logging.log4j.core.appender.rewrite
- This Appender allows the logging event to be manipulated before it is processed by other Appenders.
- RewritePolicy - Interface in org.apache.logging.log4j.core.appender.rewrite
- Interface to be implemented by components that support modifications to the LogEvent.
- RFC5424 -
Static variable in class org.apache.logging.log4j.core.appender.SyslogAppender
-
- Rfc5424Layout - Class in org.apache.logging.log4j.core.layout
- Formats a log event in accordance with RFC 5424.
- RingBufferAdmin - Class in org.apache.logging.log4j.core.jmx
- Instruments an LMAX Disruptor ring buffer.
- RingBufferAdmin(RingBuffer<?>, String) -
Constructor for class org.apache.logging.log4j.core.jmx.RingBufferAdmin
-
- RingBufferAdminMBean - Interface in org.apache.logging.log4j.core.jmx
- The MBean interface for monitoring and managing an LMAX Disruptor ring
buffer.
- RingBufferLogEvent - Class in org.apache.logging.log4j.core.async
- When the Disruptor is started, the RingBuffer is populated with event objects.
- RingBufferLogEvent() -
Constructor for class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- RingBufferLogEventHandler - Class in org.apache.logging.log4j.core.async
- This event handler gets passed messages from the RingBuffer as they become
available.
- RingBufferLogEventHandler() -
Constructor for class org.apache.logging.log4j.core.async.RingBufferLogEventHandler
-
- RingBufferLogEventTranslator - Class in org.apache.logging.log4j.core.async
- This class is responsible for writing elements that make up a log event into
the ringbuffer
RingBufferLogEvent
. - RingBufferLogEventTranslator() -
Constructor for class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
-
- RollingFileAppender - Class in org.apache.logging.log4j.core.appender
- An appender that writes to files and can roll over at intervals.
- RollingFileManager - Class in org.apache.logging.log4j.core.appender.rolling
- The Rolling File Manager.
- RollingFileManager(String, String, OutputStream, boolean, long, long, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>, int) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
- RollingRandomAccessFileAppender - Class in org.apache.logging.log4j.core.appender
- An appender that writes to random access files and can roll over at
intervals.
- RollingRandomAccessFileManager - Class in org.apache.logging.log4j.core.appender.rolling
- Extends RollingFileManager but instead of using a buffered output stream,
this class uses a
ByteBuffer
and a RandomAccessFile
to do the
I/O. - RollingRandomAccessFileManager(RandomAccessFile, String, String, OutputStream, boolean, boolean, int, long, long, TriggeringPolicy, RolloverStrategy, String, Layout<? extends Serializable>) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- rollover(RollingFileManager) -
Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- Perform the rollover.
- rollover(RollingFileManager) -
Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverStrategy
- Prepare for a rollover.
- RolloverDescription - Interface in org.apache.logging.log4j.core.appender.rolling
- Description of actions needed to complete rollover.
- RolloverDescriptionImpl - Class in org.apache.logging.log4j.core.appender.rolling
- Description of actions needed to complete rollover.
- RolloverDescriptionImpl(String, boolean, Action, Action) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
- Create new instance.
- RolloverFrequency - Enum in org.apache.logging.log4j.core.appender.rolling
- Enumeration of rollover frequency values.
- RolloverStrategy - Interface in org.apache.logging.log4j.core.appender.rolling
- A
RollingPolicy
specifies the actions taken on a logging file rollover. - rootNode -
Variable in class org.apache.logging.log4j.core.config.AbstractConfiguration
- The root node of the configuration.
- RootThrowablePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Outputs the Throwable portion of the LoggingEvent as a full stacktrace
unless this converter's option is 'short', where it just outputs the first line of the trace, or if
the number of lines to print is explicitly specified.
- Route - Class in org.apache.logging.log4j.core.appender.routing
- A Route to an appender.
- Routes - Class in org.apache.logging.log4j.core.appender.routing
- Used to contain the individual Route elements.
- RoutingAppender - Class in org.apache.logging.log4j.core.appender.routing
- This Appender "routes" between various Appenders, some of which can be references to
Appenders defined earlier in the configuration while others can be dynamically created
within this Appender as required.
- run() -
Method in class org.apache.logging.log4j.core.appender.rolling.action.AbstractAction
-
- run() -
Method in class org.apache.logging.log4j.core.appender.rolling.action.CompositeAction
-
- run() -
Method in class org.apache.logging.log4j.core.net.server.TcpSocketServer
- Accept incoming events and processes them.
- run() -
Method in class org.apache.logging.log4j.core.net.server.UdpSocketServer
- Accept incoming events and processes them.
S
- SecretKeyProvider - Interface in org.apache.logging.log4j.core.util
-
- SecureTcpSocketServer<T extends InputStream> - Class in org.apache.logging.log4j.core.net.server
- Listens for events over a secure socket connection (SSL/TLS).
- SecureTcpSocketServer(int, LogEventBridge<T>, SslConfiguration) -
Constructor for class org.apache.logging.log4j.core.net.server.SecureTcpSocketServer
-
- send(Serializable) -
Method in class org.apache.logging.log4j.core.net.jms.AbstractJmsManager
- Send the message.
- send(Serializable, Session, MessageProducer) -
Method in class org.apache.logging.log4j.core.net.jms.AbstractJmsManager
- Send the Object.
- send(Serializable) -
Method in class org.apache.logging.log4j.core.net.jms.JmsQueueManager
-
- send(Serializable) -
Method in class org.apache.logging.log4j.core.net.jms.JmsTopicManager
-
- sendEvents(Layout<?>, LogEvent) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
- Send the contents of the cyclic buffer as an e-mail message.
- sendMultipartMessage(MimeMessage, MimeMultipart) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
-
- SequenceNumberPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats the event sequence number.
- serialize(Log4jLogEvent, boolean) -
Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- serialize(Map, JsonGenerator, SerializerProvider) -
Method in class org.apache.logging.log4j.core.jackson.ListOfMapEntrySerializer
-
- SerializedLayout - Class in org.apache.logging.log4j.core.layout
- Formats a
LogEvent
in its Java serialized form. - serialVersionUID -
Static variable in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- Server - Class in org.apache.logging.log4j.core.jmx
- Creates MBeans to instrument various classes in the log4j class hierarchy.
- setActive(boolean) -
Method in class org.apache.logging.log4j.core.net.server.AbstractSocketServer
-
- setAdditive(boolean) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Sets the additive setting.
- setAdditive(boolean) -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- setAdditive(boolean) -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Sets whether the instrumented
LoggerConfig
should be additive.
- setAdditive(boolean) -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is present only to support the Log4j 1.2
compatibility bridge.
- setAdvertiser(Advertiser) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- setAdvertiser(Advertiser) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- setAliases(String...) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- setAliases(String...) -
Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
- Sets the list of aliases to use for this visit.
- setAnnotation(Annotation) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- setAnnotation(Annotation) -
Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
- Sets the Annotation to be used for this.
- setCategory(String) -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- setClassLoader(ClassLoader) -
Method in class org.apache.logging.log4j.core.config.plugins.util.ResolverUtil
- Sets an explicit ClassLoader that should be used when scanning for classes.
- setClassName(String) -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- setConfigLocation(URI) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Sets the configLocation to the specified value and reconfigures this context.
- setConfigLocationUri(String) -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- setConfigLocationUri(String) -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Sets the configuration location to the specified URI.
- setConfigText(String, String) -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- setConfigText(String, String) -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Sets the configuration text.
- setConfigurationFactory(ConfigurationFactory) -
Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Set the configuration factory.
- setConfigurationMonitor(ConfigurationMonitor) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- setConfigurationMonitor(ConfigurationMonitor) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- setContextMap(Map<String, String>) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setContextStack(ThreadContext.ContextStack) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setConversionType(Class<?>) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- setConversionType(Class<?>) -
Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
- Sets the class to convert the plugin value to on this visit.
- setDefer(boolean) -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- setEnableSubstitutionInVariables(boolean) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets a flag whether substitution is done in variable names.
- setEndOfBatch(boolean) -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- setEndOfBatch(boolean) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
- setEndOfBatch(boolean) -
Method in class org.apache.logging.log4j.core.appender.RandomAccessFileManager
-
- setEndOfBatch(boolean) -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- setEndOfBatch(boolean) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- setEndOfBatch(boolean) -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- setEndOfBatch(boolean) -
Method in interface org.apache.logging.log4j.core.LogEvent
- Sets whether this event is the last one in a batch.
- setEscapeChar(char) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the escape character.
- setExternalContext(Object) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Set the external context.
- setFrom(String) -
Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- setHandler(ErrorHandler) -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- The handler must be set before the appender is started.
- setHandler(ErrorHandler) -
Method in interface org.apache.logging.log4j.core.Appender
-
- setIncludeLocation(boolean) -
Method in class org.apache.logging.log4j.core.AbstractLogEvent
-
- setIncludeLocation(boolean) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
-
- setIncludeLocation(boolean) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- setIncludeLocation(boolean) -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- setIncludeLocation(boolean) -
Method in interface org.apache.logging.log4j.core.LogEvent
- Sets whether the source of the logging request is required downstream.
- setKey(String) -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- setLevel(Level) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setLevel(Level) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Sets the logging Level.
- setLevel(String) -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- setLevel(String) -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Sets the
LoggerConfig
level to the specified value.
- setLevel(String) -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- setLevel(String) -
Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Sets the
StatusLogger
level to the specified value.
- setLevel(Level) -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is provided primarily for unit testing.
- setLocation(String) -
Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- setLogEventFactory(LogEventFactory) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Sets the LogEventFactory.
- setLoggerAdditive(Logger, boolean) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Marks a LoggerConfig as additive.
- setLoggerAdditive(Logger, boolean) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- setLoggerFqcn(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setLoggerName(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setMarker(Marker) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setMember(Member) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- setMember(Member) -
Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
- Sets the Member that this visitor is being used for injection upon.
- setMessage(Message) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setMessage(String) -
Method in class org.apache.logging.log4j.core.appender.TlsSyslogFrame
-
- setName(String) -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Set the name of the configuration.
- setName(String) -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- setObject(Object) -
Method in class org.apache.logging.log4j.core.config.Node
-
- setOutputStream(OutputStream) -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
- setParent(LoggerConfig) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Sets the parent of this LoggerConfig.
- setPassword(String) -
Method in class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- setPrintable(boolean) -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginEntry
-
- setRecipients(Message.RecipientType, String) -
Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- setReplyTo(String) -
Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- setSequenceCallback(Sequence) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEventHandler
-
- setSource(StackTraceElement) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- 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
-
- setStopped() -
Method in class org.apache.logging.log4j.core.AbstractLifeCycle
-
- setStopping() -
Method in class org.apache.logging.log4j.core.AbstractLifeCycle
-
- setStrSubstitutor(StrSubstitutor) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- setStrSubstitutor(StrSubstitutor) -
Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
- Sets the StrSubstitutor to use for converting raw strings before type conversion.
- setSubject(String) -
Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- setThreadName(String) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setThrown(Throwable) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setTimeMillis(long) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.AbstractLogEventWrapperEntity
- A no-op mutator to satisfy JPA requirements, as this entity is write-only.
- setup() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
-
- setup() -
Method in class org.apache.logging.log4j.core.config.json.JsonConfiguration
-
- setup() -
Method in class org.apache.logging.log4j.core.config.xml.XmlConfiguration
-
- SetUtils - Class in org.apache.logging.log4j.core.util
-
- setValue(String) -
Method in class org.apache.logging.log4j.core.config.Node
-
- setValueDelimiter(char) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable default value delimiter to use.
- setValueDelimiter(String) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable default value delimiter to use.
- setValueDelimiterMatcher(StrMatcher) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable default value delimiter matcher to use.
- setValues(AsyncLogger, String, Marker, String, Level, Message, Throwable, Map<String, String>, ThreadContext.ContextStack, String, StackTraceElement, long) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- setValues(AsyncLogger, String, Marker, String, Level, Message, Throwable, Map<String, String>, ThreadContext.ContextStack, String, StackTraceElement, long) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
-
- setVariablePrefix(char) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable prefix to use.
- setVariablePrefix(String) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable prefix to use.
- setVariablePrefixMatcher(StrMatcher) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable prefix matcher currently in use.
- setVariableResolver(StrLookup) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the VariableResolver that is used to lookup variables.
- setVariableSuffix(char) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable suffix to use.
- setVariableSuffix(String) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable suffix to use.
- setVariableSuffixMatcher(StrMatcher) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable suffix matcher currently in use.
- Severity - Enum in org.apache.logging.log4j.core.net
- Severity values used by the Syslog system.
- shutdown() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- This method is called from the
AbstractManager.release()
method when the appender is stopped or the appender's manager
is replaced.
- shutdown(LoggerContext) -
Static method in class org.apache.logging.log4j.core.config.Configurator
- Shuts down the given logging context.
- shutdown() -
Method in class org.apache.logging.log4j.core.net.server.TcpSocketServer
- Shutdown the server.
- shutdown() -
Method in class org.apache.logging.log4j.core.net.server.UdpSocketServer
- Shutdown the server.
- shutdownInternal() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- Implementations should implement this method to perform any proprietary disconnection / shutdown operations.
- shutdownInternal() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
-
- shutdownInternal() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
-
- SIMPLE_CONVERSION_PATTERN -
Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
- A simple pattern.
- SimpleMessageDeserializer - Class in org.apache.logging.log4j.core.jackson
-
Consider this class private.
- singleQuoteMatcher() -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Returns a matcher which matches the single quote character.
- size() -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginCache
- Gets the number of plugin categories registered.
- size() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- SizeBasedTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
-
- SizeBasedTriggeringPolicy() -
Constructor for class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- Constructs a new instance.
- SizeBasedTriggeringPolicy(long) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- Constructs a new instance.
- SmtpAppender - Class in org.apache.logging.log4j.core.appender
- Send an e-mail when a specific logging event occurs, typically on errors or
fatal errors.
- SmtpManager - Class in org.apache.logging.log4j.core.net
- Manager for sending SMTP events.
- SmtpManager(String, Session, MimeMessage, SmtpManager.FactoryData) -
Constructor for class org.apache.logging.log4j.core.net.SmtpManager
-
- SocketAppender - Class in org.apache.logging.log4j.core.appender
- An Appender that delivers events over socket connections.
- SocketAppender(String, Layout<? extends Serializable>, Filter, AbstractSocketManager, boolean, boolean, Advertiser) -
Constructor for class org.apache.logging.log4j.core.appender.SocketAppender
-
- SPACE -
Static variable in class org.apache.logging.log4j.core.appender.TlsSyslogFrame
-
- spaceMatcher() -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Returns a matcher which matches the space character.
- splitMatcher() -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Matches the same characters as StringTokenizer,
namely space, tab, newline and formfeed.
- SslConfiguration - Class in org.apache.logging.log4j.core.net.ssl
- SSL Configuration
- SslConfigurationDefaults - Class in org.apache.logging.log4j.core.net.ssl
-
- SslConfigurationDefaults() -
Constructor for class org.apache.logging.log4j.core.net.ssl.SslConfigurationDefaults
-
- SslConfigurationException - Exception in org.apache.logging.log4j.core.net.ssl
-
- SslConfigurationException(Exception) -
Constructor for exception org.apache.logging.log4j.core.net.ssl.SslConfigurationException
-
- SslSocketManager - Class in org.apache.logging.log4j.core.net
-
- SslSocketManager(String, OutputStream, Socket, SslConfiguration, InetAddress, String, int, int, boolean, Layout<? extends Serializable>) -
Constructor for class org.apache.logging.log4j.core.net.SslSocketManager
-
- StackTraceElementAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- A JPA 2.1 attribute converter for
StackTraceElement
s in LogEvent
s. - StackTraceElementAttributeConverter() -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.StackTraceElementAttributeConverter
-
- 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.AsyncAppender
-
- start() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
- start() -
Method in class org.apache.logging.log4j.core.appender.FailoverAppender
-
- start() -
Method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
-
- start() -
Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
-
- start() -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
- start() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Initialize the configuration.
- start(BundleContext) -
Method in class org.apache.logging.log4j.core.config.plugins.osgi.Activator
-
- 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 interface org.apache.logging.log4j.core.LifeCycle
-
- start() -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- start(Configuration) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Start with a specific configuration.
- startNewThread() -
Method in class org.apache.logging.log4j.core.net.server.AbstractSocketServer
- Start this server in a new thread.
- startup() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- This method is called within the appender when the appender is started.
- startupInternal() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- Implementations should implement this method to perform any proprietary startup operations.
- startupInternal() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
-
- startupInternal() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
-
- 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 in org.apache.logging.log4j.core.config.status
- Specifies how verbose the StatusLogger should be.
- StatusLoggerAdmin - Class in org.apache.logging.log4j.core.jmx
- Implementation of the
StatusLoggerAdminMBean
interface. - StatusLoggerAdmin(String, Executor) -
Constructor for class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
- Constructs a new
StatusLoggerAdmin
with the Executor
to
be used for sending Notification
s asynchronously to listeners.
- StatusLoggerAdminMBean - Interface in org.apache.logging.log4j.core.jmx
- The MBean interface for monitoring and managing the
StatusLogger
. - stop() -
Method in class org.apache.logging.log4j.core.AbstractLifeCycle
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.AsyncAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.FileAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.RandomAccessFileAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.SocketAppender
-
- stop() -
Static method in class org.apache.logging.log4j.core.async.AsyncLogger
-
- stop() -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
- stop() -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- stop() -
Method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Tear down the configuration.
- stop(BundleContext) -
Method in class org.apache.logging.log4j.core.config.plugins.osgi.Activator
-
- stop() -
Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
- Cleanup the Filter.
- stop() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- stop() -
Method in interface org.apache.logging.log4j.core.LifeCycle
-
- stop() -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- StoreConfiguration<T> - Class in org.apache.logging.log4j.core.net.ssl
-
- StoreConfiguration(String, String) -
Constructor for class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
-
- StoreConfigurationException - Exception in org.apache.logging.log4j.core.net.ssl
-
- StoreConfigurationException(Exception) -
Constructor for exception org.apache.logging.log4j.core.net.ssl.StoreConfigurationException
-
- StoreConfigurationException(String) -
Constructor for exception org.apache.logging.log4j.core.net.ssl.StoreConfigurationException
-
- stringMatcher(String) -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Constructor that creates a matcher from a string.
- StrLookup - Interface in org.apache.logging.log4j.core.lookup
- Lookup a String key to a String value.
- StrMatcher - Class in org.apache.logging.log4j.core.lookup
- A matcher class that can be queried to determine if a character array
portion matches.
- StrMatcher() -
Constructor for class org.apache.logging.log4j.core.lookup.StrMatcher
- Constructor.
- StrSubstitutor - Class in org.apache.logging.log4j.core.lookup
- Substitutes variables within a string by values.
- StrSubstitutor() -
Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Creates a new instance with defaults for variable prefix and suffix
and the escaping character.
- StrSubstitutor(Map<String, String>) -
Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Creates a new instance and initializes it.
- StrSubstitutor(Map<String, String>, String, String) -
Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Creates a new instance and initializes it.
- StrSubstitutor(Map<String, String>, String, String, char) -
Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Creates a new instance and initializes it.
- StrSubstitutor(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(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.
- StructuredDataFilter - Class in org.apache.logging.log4j.core.filter
- Filter based on data in a StructuredDataMessage.
- StructuredDataLookup - Class in org.apache.logging.log4j.core.lookup
- Looks up keys from system properties.
- StructuredDataLookup() -
Constructor for class org.apache.logging.log4j.core.lookup.StructuredDataLookup
-
- StyleConverter - Class in org.apache.logging.log4j.core.pattern
- Style pattern converter.
- substitute(LogEvent, StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Internal method that substitutes the variables.
- substitutor -
Variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- substitutor -
Variable in class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
-
- substVars(String, Properties) -
Static method in class org.apache.logging.log4j.core.util.OptionConverter
- Perform variable substitution in string
val
from the
values of keys found in the system propeties.
- SUFFIXES -
Static variable in class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
- Valid file extensions for XML files.
- SyslogAppender - Class in org.apache.logging.log4j.core.appender
- The Syslog Appender.
- SyslogAppender(String, Layout<? extends Serializable>, Filter, boolean, boolean, AbstractSocketManager, Advertiser) -
Constructor for class org.apache.logging.log4j.core.appender.SyslogAppender
-
- SyslogLayout - Class in org.apache.logging.log4j.core.layout
- Formats a log event as a BSD Log record.
- SyslogLayout(Facility, boolean, String, Charset) -
Constructor for class org.apache.logging.log4j.core.layout.SyslogLayout
-
- SystemClock - Class in org.apache.logging.log4j.core.util
- Implementation of the
Clock
interface that returns the system time. - SystemClock() -
Constructor for class org.apache.logging.log4j.core.util.SystemClock
-
- SystemPropertiesLookup - Class in org.apache.logging.log4j.core.lookup
- Looks up keys from system properties.
- SystemPropertiesLookup() -
Constructor for class org.apache.logging.log4j.core.lookup.SystemPropertiesLookup
-
T
- tabMatcher() -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Returns a matcher which matches the tab character.
- TcpSocketManager - Class in org.apache.logging.log4j.core.net
- Manager of TCP Socket connections.
- TcpSocketManager(String, OutputStream, Socket, InetAddress, String, int, int, boolean, Layout<? extends Serializable>) -
Constructor for class org.apache.logging.log4j.core.net.TcpSocketManager
- The Constructor.
- TcpSocketManager.TcpSocketManagerFactory - Class in org.apache.logging.log4j.core.net
- Factory to create a TcpSocketManager.
- TcpSocketManager.TcpSocketManagerFactory() -
Constructor for class org.apache.logging.log4j.core.net.TcpSocketManager.TcpSocketManagerFactory
-
- TcpSocketServer<T extends InputStream> - Class in org.apache.logging.log4j.core.net.server
- Listens for events over a socket connection.
- TcpSocketServer(int, LogEventBridge<T>) -
Constructor for class org.apache.logging.log4j.core.net.server.TcpSocketServer
- Constructor.
- TcpSocketServer(int, LogEventBridge<T>, ServerSocket) -
Constructor for class org.apache.logging.log4j.core.net.server.TcpSocketServer
- Constructor.
- TEST_PREFIX -
Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- File name prefix for test configurations.
- THREAD_CONTEXT -
Static variable in class org.apache.logging.log4j.core.impl.ContextAnchor
- Anchor for the LoggerContext for the current Thread.
- ThreadContextMapFilter - Class in org.apache.logging.log4j.core.filter
- Filter based on a value in the Thread Context Map (MDC).
- ThreadContextMapFilter(Map<String, List<String>>, boolean, Filter.Result, Filter.Result) -
Constructor for class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- ThreadPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats the event thread name.
- 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 the onMismatch value otherwise.
- ThrowableAttributeConverter - Class in org.apache.logging.log4j.core.appender.db.jpa.converter
- A JPA 2.1 attribute converter for
Throwable
s in LogEvent
s. - ThrowableAttributeConverter() -
Constructor for class org.apache.logging.log4j.core.appender.db.jpa.converter.ThrowableAttributeConverter
-
- ThrowableFormatOptions - Class in org.apache.logging.log4j.core.impl
- Contains options which control how a
Throwable
pattern is formatted. - ThrowableFormatOptions(int, String, List<String>) -
Constructor for class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Construct the options for printing stack trace.
- ThrowableFormatOptions(List<String>) -
Constructor for class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Construct the options for printing stack trace.
- ThrowableFormatOptions() -
Constructor for class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Construct the options for printing stack trace.
- ThrowablePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Outputs the Throwable portion of the LoggingEvent as a full stacktrace
unless this converter's option is 'short', where it just outputs the first line of the trace, or if
the number of lines to print is explicitly specified.
- ThrowablePatternConverter(String, String, String[]) -
Constructor for class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
- Constructor.
- ThrowableProxy - Class in org.apache.logging.log4j.core.impl
- Wraps a Throwable to add packaging information about each stack trace element.
- ThrowableProxy(Throwable) -
Constructor for class org.apache.logging.log4j.core.impl.ThrowableProxy
- Constructs the wrapper for the Throwable that includes packaging data.
- Throwables - Class in org.apache.logging.log4j.core.util
- Helps with Throwable objects.
- TimeBasedTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
- Triggering Policy that causes a rollover based on time.
- TimeFilter - Class in org.apache.logging.log4j.core.filter
- Filters events that fall within a specified time period in each day.
- TlsSyslogFrame - Class in org.apache.logging.log4j.core.appender
- Wrapper for messages that are formatted according to RFC 5425.
- TlsSyslogFrame(String) -
Constructor for class org.apache.logging.log4j.core.appender.TlsSyslogFrame
-
- toBoolean(String, boolean) -
Static method in class org.apache.logging.log4j.core.util.OptionConverter
- If
value
is "true", then true
is
returned.
- toByteArray(InputStream) -
Static method in class org.apache.logging.log4j.core.config.AbstractConfiguration
- Reads an InputStream using buffered reads into a byte array buffer.
- toByteArray(LogEvent) -
Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
- Formats the Log Event as a byte array.
- toByteArray(LogEvent) -
Method in class org.apache.logging.log4j.core.layout.SerializedLayout
- Formats a
LogEvent
as a serialized byte array of the LogEvent object.
- toByteArray(LogEvent) -
Method in interface org.apache.logging.log4j.core.Layout
- Formats the event suitable for display.
- toFacility(String) -
Static method in enum org.apache.logging.log4j.core.net.Facility
- Returns the Facility for the given string.
- toFacility(String, Facility) -
Static method in enum org.apache.logging.log4j.core.net.Facility
- Returns the Facility for the given string.
- toFileSize(String, long) -
Static method in class org.apache.logging.log4j.core.util.OptionConverter
-
- toInt(String, int) -
Static method in class org.apache.logging.log4j.core.util.OptionConverter
- Convert the String value to an int.
- toResult(String) -
Static method in enum org.apache.logging.log4j.core.Filter.Result
- Returns the Result for the given string.
- toResult(String, Filter.Result) -
Static method in enum org.apache.logging.log4j.core.Filter.Result
- Returns the Result for the given string.
- toSerializable(LogEvent) -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout
- Format 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.SerializedLayout
- Returns the LogEvent.
- toSerializable(LogEvent) -
Method in class org.apache.logging.log4j.core.layout.SyslogLayout
- Formats a
LogEvent
in conformance with the BSD Log record format.
- toSerializable(LogEvent) -
Method in interface org.apache.logging.log4j.core.Layout
- Formats the event as an Object that can be serialized.
- toString() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
- toString() -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
-
- toString() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.ColumnConfig
-
- toString() -
Method in interface org.apache.logging.log4j.core.appender.db.jdbc.ConnectionSource
- All implementations must override
Object.toString()
to provide information about the connection
configuration (obscuring passwords with one-way hashes).
- toString() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.DataSourceConnectionSource
-
- toString() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.FactoryMethodConnectionSource
-
- toString() -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcAppender
-
- toString() -
Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaAppender
-
- toString() -
Method in class org.apache.logging.log4j.core.appender.FailoverAppender
-
- 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.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.GzCompressAction
-
- toString() -
Method in class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
-
- toString() -
Method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
-
- toString() -
Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
-
- toString() -
Method in class org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy
-
- 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.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.AppenderRef
-
- toString() -
Method in class org.apache.logging.log4j.core.config.ConfigurationSource
-
- toString() -
Method in class org.apache.logging.log4j.core.config.json.JsonConfiguration
-
- toString() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
-
- toString() -
Method in class org.apache.logging.log4j.core.config.Node
-
- toString() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginManager.PluginTest
-
- toString() -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginType
-
- toString() -
Method in class org.apache.logging.log4j.core.config.Property
-
- toString() -
Method in class org.apache.logging.log4j.core.config.xml.XmlConfiguration
-
- toString() -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
-
- toString() -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- toString() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- toString() -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- 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.ThresholdFilter
-
- toString() -
Method in class org.apache.logging.log4j.core.filter.TimeFilter
-
- toString() -
Method in class org.apache.logging.log4j.core.impl.ExtendedClassInfo
-
- toString() -
Method in class org.apache.logging.log4j.core.impl.ExtendedStackTraceElement
-
- toString() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- toString() -
Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
-
- toString() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- toString() -
Method in class org.apache.logging.log4j.core.layout.LoggerFields
-
- toString() -
Method in class org.apache.logging.log4j.core.layout.PatternLayout
-
- toString() -
Method in class org.apache.logging.log4j.core.layout.Rfc5424Layout
-
- toString() -
Method in class org.apache.logging.log4j.core.Logger
- Returns a String representation of this instance in the form
"name:level[ in context_name]"
.
- toString() -
Method in class org.apache.logging.log4j.core.lookup.Interpolator
-
- 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.pattern.FormattingInfo
- Returns a String suitable for debugging.
- 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.util.BundleResourceLoader
-
- toString() -
Method in class org.apache.logging.log4j.core.util.ClassLoaderResourceLoader
-
- toString() -
Method in class org.apache.logging.log4j.core.util.KeyValuePair
-
- toStringList(Throwable) -
Static method in class org.apache.logging.log4j.core.util.Throwables
- Converts a Throwable stack trace into a List of Strings
- toVerbosity(String) -
Static method in enum 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.
- Transform - Class in org.apache.logging.log4j.core.util
- Utility class for transforming strings.
- translateTo(RingBufferLogEvent, long) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
-
- 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.
- TrustStoreConfiguration - Class in org.apache.logging.log4j.core.net.ssl
- Configuration of the TrustStore
- TrustStoreConfiguration(String, String, 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 TTCCCLayout.
- TypeConverter<T> - Interface in org.apache.logging.log4j.core.config.plugins.util
- Interface for doing automatic String conversion to a specific type.
- TypeConverters - Class in org.apache.logging.log4j.core.config.plugins.util
- Collection of basic TypeConverter implementations.
- TypeConverters.BigDecimalConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Parses a
String
into a BigDecimal
. - TypeConverters.BigDecimalConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.BigDecimalConverter
-
- TypeConverters.BigIntegerConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Parses a
String
into a BigInteger
. - TypeConverters.BigIntegerConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.BigIntegerConverter
-
- TypeConverters.BooleanConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Boolean
. - TypeConverters.BooleanConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.BooleanConverter
-
- TypeConverters.ByteArrayConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a byte[]
. - TypeConverters.ByteArrayConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.ByteArrayConverter
-
- TypeConverters.ByteConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Byte
. - TypeConverters.ByteConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.ByteConverter
-
- TypeConverters.CharacterConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Character
. - TypeConverters.CharacterConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.CharacterConverter
-
- TypeConverters.CharArrayConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a char[]
. - TypeConverters.CharArrayConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.CharArrayConverter
-
- TypeConverters.CharsetConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Charset
. - TypeConverters.CharsetConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.CharsetConverter
-
- TypeConverters.ClassConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Class
. - TypeConverters.ClassConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.ClassConverter
-
- TypeConverters.DoubleConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Double
. - TypeConverters.DoubleConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.DoubleConverter
-
- TypeConverters.EnumConverter<E extends Enum<E>> - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Enum
. - TypeConverters.FileConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a File
. - TypeConverters.FileConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.FileConverter
-
- TypeConverters.FloatConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Float
. - TypeConverters.FloatConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.FloatConverter
-
- TypeConverters.IntegerConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Integer
. - TypeConverters.IntegerConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.IntegerConverter
-
- TypeConverters.LevelConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Log4j Level
. - TypeConverters.LevelConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.LevelConverter
-
- TypeConverters.LongConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Long
. - TypeConverters.LongConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.LongConverter
-
- TypeConverters.PatternConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Pattern
. - TypeConverters.PatternConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.PatternConverter
-
- TypeConverters.SecurityProviderConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Pattern
. - TypeConverters.SecurityProviderConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.SecurityProviderConverter
-
- TypeConverters.ShortConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a Short
. - TypeConverters.ShortConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.ShortConverter
-
- TypeConverters.StringConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Returns the given
String
, no conversion takes place. - TypeConverters.StringConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.StringConverter
-
- TypeConverters.UriConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a URI
. - TypeConverters.UriConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.UriConverter
-
- TypeConverters.UrlConverter - Class in org.apache.logging.log4j.core.config.plugins.util
- Converts a
String
into a URL
. - TypeConverters.UrlConverter() -
Constructor for class org.apache.logging.log4j.core.config.plugins.util.TypeConverters.UrlConverter
-
U
- UdpSocketServer<T extends InputStream> - Class in org.apache.logging.log4j.core.net.server
- Listens for events over a socket connection.
- UdpSocketServer(int, LogEventBridge<T>) -
Constructor for class org.apache.logging.log4j.core.net.server.UdpSocketServer
- Constructor.
- 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
- unmarshal(String) -
Method in class org.apache.logging.log4j.core.net.server.InputStreamLogEventBridge
-
- unregisterLoggerContext(String) -
Static method in class org.apache.logging.log4j.core.jmx.Server
- Unregisters all MBeans associated with the specified logger context
(including MBeans for
LoggerConfig
s and Appender
s from
the platform MBean server.
- unregisterLoggerContext(String, MBeanServer) -
Static method in class org.apache.logging.log4j.core.jmx.Server
- Unregisters all MBeans associated with the specified logger context
(including MBeans for
LoggerConfig
s and Appender
s from
the platform MBean server.
- unregisterMBeans() -
Static method in class org.apache.logging.log4j.core.jmx.Server
- Unregister all log4j MBeans from the platform MBean server.
- unregisterMBeans(MBeanServer) -
Static method in class org.apache.logging.log4j.core.jmx.Server
- Unregister all log4j MBeans from the specified MBean server.
- updateLoggers() -
Method in class org.apache.logging.log4j.core.LoggerContext
- Cause all Loggers to be updated against the current Configuration.
- updateLoggers(Configuration) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Cause all Logger to be updated against the specified Configuration.
- updateTime() -
Method in class org.apache.logging.log4j.core.appender.rolling.PatternProcessor
-
- UTF_8 -
Static variable in class org.apache.logging.log4j.core.util.Charsets
- UTF-8 Charset.
- UUID_SEQUENCE -
Static variable in class org.apache.logging.log4j.core.util.UuidUtil
- System property that may be used to seed the UUID generation with an integer value.
- UuidPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats the event sequence number.
- UuidUtil - Class in org.apache.logging.log4j.core.util
- Generates a unique ID.
V
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.appender.ConsoleAppender.Target
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy.Mode
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.Filter.Result
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.LifeCycle.State
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.LifeCycleState
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.net.Facility
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.net.Protocol
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.net.Severity
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
- Returns the enum constant of this type with the specified name.
- values() -
Static method in enum org.apache.logging.log4j.core.appender.ConsoleAppender.Target
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy.Mode
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.appender.rolling.RolloverFrequency
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.config.status.StatusConfiguration.Verbosity
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.Filter.Result
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.layout.HtmlLayout.FontSize
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.LifeCycle.State
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.LifeCycleState
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.net.Facility
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.net.Protocol
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.net.Severity
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
- Returns an array containing the constants of this enum type, in
the order they are declared.
- visit(Configuration, Node, LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginAttributeVisitor
-
- visit(Configuration, Node, LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginBuilderAttributeVisitor
-
- visit(Configuration, Node, LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginConfigurationVisitor
-
- visit(Configuration, Node, LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginElementVisitor
-
- visit(Configuration, Node, LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginNodeVisitor
-
- visit(Configuration, Node, LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.config.plugins.visitors.PluginValueVisitor
-
- visit(Configuration, Node, LogEvent, StringBuilder) -
Method in interface org.apache.logging.log4j.core.config.plugins.visitors.PluginVisitor
- Visits a Node to obtain a value for constructing a Plugin object.
W
- WHITESPACE -
Static variable in class org.apache.logging.log4j.core.util.Patterns
- The whitespace pattern string.
- withAlwaysWriteExceptions(boolean) -
Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
-
- withCharset(Charset) -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
-
- withCharset(Charset) -
Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
-
- withConfiguration(Configuration) -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginBuilder
- Specifies the Configuration to use for constructing the plugin instance.
- withConfiguration(Configuration) -
Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
-
- withConfigurationNode(Node) -
Method in class org.apache.logging.log4j.core.config.plugins.util.PluginBuilder
- Specifies the Node corresponding to the plugin object that will be created.
- withContentType(String) -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
-
- withDestination(String) -
Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
- Specifies the destination for StatusLogger events.
- withFontName(String) -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
-
- withFontSize(HtmlLayout.FontSize) -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
-
- withFooter(String) -
Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
-
- withHeader(String) -
Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
-
- withLocationInfo(boolean) -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
-
- withNoConsoleNoAnsi(boolean) -
Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
-
- withPattern(String) -
Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
-
- withRegexReplacement(RegexReplacement) -
Method in class org.apache.logging.log4j.core.layout.PatternLayout.Builder
-
- withStatus(String) -
Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
- Specifies the logging level by name to use for filtering StatusLogger messages.
- withStatus(Level) -
Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
- Specifies the logging level to use for filtering StatusLogger messages.
- withTitle(String) -
Method in class org.apache.logging.log4j.core.layout.HtmlLayout.Builder
-
- withVerboseClasses(String...) -
Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
- Specifies which class names to filter if the configured verbosity level is QUIET.
- withVerbosity(String) -
Method in class org.apache.logging.log4j.core.config.status.StatusConfiguration
- Specifies the verbosity level to log at.
- wrapStream(InputStream) -
Method in class org.apache.logging.log4j.core.net.server.AbstractLogEventBridge
-
- wrapStream(InputStream) -
Method in interface org.apache.logging.log4j.core.net.server.LogEventBridge
- Wraps the given stream if needed.
- wrapStream(InputStream) -
Method in class org.apache.logging.log4j.core.net.server.ObjectInputStreamLogEventBridge
-
- write(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- This method manages buffering and writing of events.
- write(byte[], int, int) -
Method in class org.apache.logging.log4j.core.appender.FileManager
-
- 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[]) -
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.RandomAccessFileManager
-
- write(byte[], int, int) -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
- write(byte[], int, int) -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager
-
- write(byte[], int, int) -
Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
-
- write(int) -
Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
-
- write(byte[]) -
Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
-
- write(byte[], int, int) -
Method in class org.apache.logging.log4j.core.net.TcpSocketManager
-
- writeBuffer(LogEvent[], LogEvent, Layout<?>, OutputStream) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
-
- writeCache(OutputStream) -
Method in class org.apache.logging.log4j.core.config.plugins.processor.PluginCache
- Stores the plugin cache to a given OutputStream.
- writeFooter() -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- Writes the footer.
- writeFooter(Layout<?>, OutputStream) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
-
- writeHeader(Layout<?>, OutputStream) -
Method in class org.apache.logging.log4j.core.net.SmtpManager
-
- writeInternal(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.db.AbstractDatabaseManager
- Performs the actual writing of the event in an implementation-specific way.
- writeInternal(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.db.jdbc.JdbcDatabaseManager
-
- writeInternal(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.db.jpa.JpaDatabaseManager
-
- writeReplace() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Creates a LogEventProxy that can be serialized.
X
- XML_NAMESPACE -
Static variable in class org.apache.logging.log4j.core.jackson.XmlConstants
-
- XmlConfiguration - Class in org.apache.logging.log4j.core.config.xml
- Creates a Node hierarchy from an XML file.
- XmlConfiguration(ConfigurationSource) -
Constructor for class org.apache.logging.log4j.core.config.xml.XmlConfiguration
-
- XmlConfigurationFactory - Class in org.apache.logging.log4j.core.config.xml
- Factory to construct an XmlConfiguration.
- XmlConfigurationFactory() -
Constructor for class org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory
-
- XmlConstants - Class in org.apache.logging.log4j.core.jackson
- Keeps constants separate from any class that may depend on third party jars.
- XmlConstants() -
Constructor for class org.apache.logging.log4j.core.jackson.XmlConstants
-
- XmlInputStreamLogEventBridge - Class in org.apache.logging.log4j.core.net.server
- Reads and logs
LogEvent
s from an InputStream
. - XmlInputStreamLogEventBridge() -
Constructor for class org.apache.logging.log4j.core.net.server.XmlInputStreamLogEventBridge
-
- XmlInputStreamLogEventBridge(int, Charset) -
Constructor for class org.apache.logging.log4j.core.net.server.XmlInputStreamLogEventBridge
-
- XmlLayout - Class in org.apache.logging.log4j.core.layout
- Appends a series of
event
elements as defined in the log4j.dtd. - XmlLayout(boolean, boolean, boolean, boolean, Charset) -
Constructor for class org.apache.logging.log4j.core.layout.XmlLayout
-
Y
- YamlConfiguration - Class in org.apache.logging.log4j.core.config.yaml
-
- YamlConfiguration(ConfigurationSource) -
Constructor for class org.apache.logging.log4j.core.config.yaml.YamlConfiguration
-
- YamlConfigurationFactory - Class in org.apache.logging.log4j.core.config.yaml
-
- YamlConfigurationFactory() -
Constructor for class org.apache.logging.log4j.core.config.yaml.YamlConfigurationFactory
-
Z
- ZipCompressAction - Class in org.apache.logging.log4j.core.appender.rolling.action
- Compresses a file using Zip compression.
- ZipCompressAction(File, File, boolean, int) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.action.ZipCompressAction
- Create new instance of GzCompressAction.
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.