A B C D E F G H I J K L M N O P Q R S T U V W X 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.helper
- Abstract base class for implementations of Action.
- AbstractAction() -
Constructor for class org.apache.logging.log4j.core.appender.rolling.helper.AbstractAction
- Constructor.
- AbstractAppender<T extends Serializable> - Class in org.apache.logging.log4j.core.appender
- Abstract base class for Appenders.
- AbstractAppender(String, Filter, Layout<T>) -
Constructor for class org.apache.logging.log4j.core.appender.AbstractAppender
- Constructor that defaults to suppressing exceptions.
- AbstractAppender(String, Filter, Layout<T>, boolean) -
Constructor for class org.apache.logging.log4j.core.appender.AbstractAppender
- Constructor.
- AbstractFilter - Class in org.apache.logging.log4j.core.filter
- Users should extend this class to implement filters.
- AbstractFilter() -
Constructor for class org.apache.logging.log4j.core.filter.AbstractFilter
- The default constructor.
- AbstractFilter(Filter.Result, Filter.Result) -
Constructor for class org.apache.logging.log4j.core.filter.AbstractFilter
- Constructor that allows the onMatch and onMismatch actions to be set.
- AbstractFilterable - Class in org.apache.logging.log4j.core.filter
- Enhances a Class by allowing it to contain Filters.
- AbstractFilterable(Filter) -
Constructor for class org.apache.logging.log4j.core.filter.AbstractFilterable
-
- AbstractFilterable() -
Constructor for class org.apache.logging.log4j.core.filter.AbstractFilterable
-
- AbstractJMSManager - Class in org.apache.logging.log4j.core.net
- Base Class for Managers of JMS connections.
- AbstractJMSManager(String) -
Constructor for class org.apache.logging.log4j.core.net.AbstractJMSManager
- The Constructor.
- AbstractJMSReceiver - Class in org.apache.logging.log4j.core.net
- Abstract base class for receiving LogEvents over JMS.
- AbstractJMSReceiver() -
Constructor for class org.apache.logging.log4j.core.net.AbstractJMSReceiver
-
- AbstractLayout<T extends Serializable> - Class in org.apache.logging.log4j.core.layout
- Abstract base class for Layouts.
- AbstractLayout() -
Constructor for class org.apache.logging.log4j.core.layout.AbstractLayout
-
- 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 - Class in org.apache.logging.log4j.core.appender
- Appends log events as bytes to a byte output stream.
- AbstractOutputStreamAppender(String, Layout, Filter, boolean, boolean, OutputStreamManager) -
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.
- AbstractRolloverStrategy - Class in org.apache.logging.log4j.core.appender.rolling
-
- AbstractRolloverStrategy() -
Constructor for class org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
-
- AbstractServer - Class in org.apache.logging.log4j.core
-
- AbstractServer() -
Constructor for class org.apache.logging.log4j.core.AbstractServer
-
- AbstractSocketManager - Class in org.apache.logging.log4j.core.net
- Abstract base class for managing sockets.
- AbstractSocketManager(String, OutputStream, InetAddress, String, int) -
Constructor for class org.apache.logging.log4j.core.net.AbstractSocketManager
- The Constructor.
- AbstractStringLayout - Class in org.apache.logging.log4j.core.layout
- Abstract base class for Layouts that result in a String.
- AbstractStringLayout(Charset) -
Constructor for class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
- AbstractStyleNameConverter - Class in org.apache.logging.log4j.core.pattern
- Style pattern converter.
- AbstractStyleNameConverter(String, List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter
- Constructs the converter.
- AbstractStyleNameConverter.Black - Class in org.apache.logging.log4j.core.pattern
- Black style pattern converter.
- AbstractStyleNameConverter.Black(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Black
- Constructs the converter.
- AbstractStyleNameConverter.Blue - Class in org.apache.logging.log4j.core.pattern
- Blue style pattern converter.
- AbstractStyleNameConverter.Blue(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Blue
- Constructs the converter.
- AbstractStyleNameConverter.Cyan - Class in org.apache.logging.log4j.core.pattern
- Cyan style pattern converter.
- AbstractStyleNameConverter.Cyan(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Cyan
- Constructs the converter.
- AbstractStyleNameConverter.Green - Class in org.apache.logging.log4j.core.pattern
- Green style pattern converter.
- AbstractStyleNameConverter.Green(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Green
- Constructs the converter.
- AbstractStyleNameConverter.Magenta - Class in org.apache.logging.log4j.core.pattern
- Magenta style pattern converter.
- AbstractStyleNameConverter.Magenta(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Magenta
- Constructs the converter.
- AbstractStyleNameConverter.Red - Class in org.apache.logging.log4j.core.pattern
- Red style pattern converter.
- AbstractStyleNameConverter.Red(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Red
- Constructs the converter.
- AbstractStyleNameConverter.White - Class in org.apache.logging.log4j.core.pattern
- White style pattern converter.
- AbstractStyleNameConverter.White(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.White
- Constructs the converter.
- AbstractStyleNameConverter.Yellow - Class in org.apache.logging.log4j.core.pattern
- Yellow style pattern converter.
- AbstractStyleNameConverter.Yellow(List<PatternFormatter>, String) -
Constructor for class org.apache.logging.log4j.core.pattern.AbstractStyleNameConverter.Yellow
- Constructs the converter.
- Action - Interface in org.apache.logging.log4j.core.appender.rolling.helper
- The Action interface should be implemented by any class that performs
file system actions for RollingFileAppenders after the close of
the active log file.
- actualAsyncLog(RingBufferLogEvent) -
Method in class org.apache.logging.log4j.core.async.AsyncLogger
- This method is called by the EventHandler that processes the
RingBufferLogEvent in a separate thread.
- add(T) -
Method in class org.apache.logging.log4j.core.helpers.CyclicBuffer
- Add an item as the last event in the buffer.
- add(LogEvent) -
Method in class org.apache.logging.log4j.core.net.SMTPManager
-
- addAppender(Appender) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Adds an Appender to the configuration.
- addAppender(Appender, Level, Filter) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Adds an Appender to the LoggerConfig.
- addAppender(Appender<?>) -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is used primarily for unit testing.
- addComponent(String, Object) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- addComponent(String, Object) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addFilter(Filter) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
- Add a filter.
- addFilter(Filter) -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- addFilter(Filter) -
Method in interface org.apache.logging.log4j.core.filter.Filterable
- Adds a new Filter.
- addFilter(Filter) -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is used primarily for unit testing.
- addFilter(Filter) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Add a Filter to the Configuration.
- addIfMatching(ResolverUtil.Test, String) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
- Add the class designated by the fully qualified class name provided to the set of
resolved classes if and only if it is approved by the Test supplied.
- addListener(ConfigurationListener) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Add a listener for changes on the configuration.
- addListener(ConfigurationListener) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addLogger(String, LoggerConfig) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Adding a logger cannot be done atomically so is not allowed in an active configuration.
- addLoggerAppender(Logger, Appender) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Associates an Appender with a LoggerConfig.
- addLoggerAppender(Logger, Appender<?>) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addLoggerFilter(Logger, Filter) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Associates a Filter with a LoggerConfig.
- addLoggerFilter(Logger, Filter) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- addPackage(String) -
Static method in class org.apache.logging.log4j.core.config.plugins.PluginManager
- Adds a package name to be scanned for plugins.
- addPropertyChangeListener(PropertyChangeListener) -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- address -
Variable in class org.apache.logging.log4j.core.net.AbstractSocketManager
- The internet address of the host.
- advertise(Map<String, String>) -
Method in class org.apache.logging.log4j.core.config.DefaultAdvertiser
- Does nothing.
- advertise(Map<String, String>) -
Method in interface org.apache.logging.log4j.core.net.Advertiser
-
- advertise(Map<String, String>) -
Method in class org.apache.logging.log4j.core.net.MulticastDNSAdvertiser
- Advertise the provided entity.
- advertiser -
Variable in class org.apache.logging.log4j.core.config.BaseConfiguration
- The Advertiser which exposes appender configurations to external systems.
- Advertiser - Interface in org.apache.logging.log4j.core.net
-
- allLines() -
Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Determines if all lines should be printed.
- AnsiEscape - Enum in org.apache.logging.log4j.core.pattern
- Converts text into ANSI escape sequences.
- anyLines() -
Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Determines if any lines should be printed.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
- Actual writing occurs here.
- append(LogEvent) -
Method in interface org.apache.logging.log4j.core.Appender
- Log in
Appender
specific way.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.AsynchAppender
- Actual writing occurs here.
- 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.FastFileAppender
- Write the log entry rolling over the file when required.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.FastRollingFileAppender
- Write the log entry rolling over the file when required.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.JMSQueueAppender
- Actual writing occurs here.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.JMSTopicAppender
- Actual writing occurs here.
- append(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.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.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<T extends Serializable> - 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<T extends Serializable> - Class in org.apache.logging.log4j.core.config
- Wraps an
Appender
with details an appender implementation shouldn't need to know about. - AppenderControl(Appender<T>, Level, Filter) -
Constructor for class org.apache.logging.log4j.core.config.AppenderControl
- Constructor.
- AppenderRef - Class in org.apache.logging.log4j.core.config
- An Appender reference.
- AppenderRuntimeException - Exception in org.apache.logging.log4j.core.appender
-
- AppenderRuntimeException(String) -
Constructor for exception org.apache.logging.log4j.core.appender.AppenderRuntimeException
-
- AppenderRuntimeException(String, Throwable) -
Constructor for exception org.apache.logging.log4j.core.appender.AppenderRuntimeException
-
- AppenderRuntimeException(Throwable) -
Constructor for exception org.apache.logging.log4j.core.appender.AppenderRuntimeException
-
- AppendersPlugin - Class in org.apache.logging.log4j.core.config.plugins
- An Appender container.
- appendEscapingCDATA(StringBuilder, String) -
Static method in class org.apache.logging.log4j.core.helpers.Transform
- Ensures that embedded CDEnd strings (]]>) are handled properly
within message, NDC and throwable tag text.
- appendWithSeparators(StringBuilder, Iterable<?>, String) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Appends a iterable placing separators between each value, but
not before the first or after the last.
- ArrayPatternConverter - Interface in org.apache.logging.log4j.core.pattern
- Interface implemented by PatternConverters that accept an array of objects when formatting.
- Assert - Class in org.apache.logging.log4j.core.jmx
- Utility class providing common validation logic.
- AsynchAppender<T extends Serializable> - Class in org.apache.logging.log4j.core.appender
- Appends to one or more Appenders asynchronously.
- 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
- BaseConfiguration - Class in org.apache.logging.log4j.core.config
- The Base Configuration.
- BaseConfiguration() -
Constructor for class org.apache.logging.log4j.core.config.BaseConfiguration
- Constructor.
- 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
-
- 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.async
- 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
-
- charMatcher(char) -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Constructor that creates a matcher from a character.
- charSetMatcher(char[]) -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Constructor that creates a matcher from a set of characters.
- charSetMatcher(String) -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Constructor that creates a matcher from a string representing a set of characters.
- Charsets - Class in org.apache.logging.log4j.core.helpers
- Charset utilities.
- checkConfiguration() -
Method in interface org.apache.logging.log4j.core.config.ConfigurationMonitor
- Called to determine if the configuration has changed.
- checkConfiguration() -
Method in class org.apache.logging.log4j.core.config.DefaultConfigurationMonitor
- Does nothing.
- checkConfiguration() -
Method in class org.apache.logging.log4j.core.config.FileConfigurationMonitor
- Called to determine if the configuration has changed.
- checkRollover(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- Determine if a rollover should occur.
- ClassLoaderContextSelector - Class in org.apache.logging.log4j.core.selector
- This ContextSelector chooses a LoggerContext based upon the ClassLoader of the caller.
- ClassLoaderContextSelector() -
Constructor for class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- ClassNamePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats the class name of the site of the logging request.
- clear() -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
- Clear the history.
- clearAppenders() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Removes all Appenders.
- Client - Class in org.apache.logging.log4j.core.jmx
- This class allows client-side code to perform operations on remote
(server-side) MBeans via proxies.
- Client(JMXConnector) -
Constructor for class org.apache.logging.log4j.core.jmx.Client
- Constructs a new
Client
object and creates proxies for all known
remote MBeans.
- Client(MBeanServerConnection) -
Constructor for class org.apache.logging.log4j.core.jmx.Client
- Constructs a new
Client
object and creates proxies for all known
remote MBeans.
- ClientEditConfigPanel - Class in org.apache.logging.log4j.core.jmx
- Panel for editing Log4J configurations.
- ClientEditConfigPanel(LoggerContextAdminMBean) -
Constructor for class org.apache.logging.log4j.core.jmx.ClientEditConfigPanel
-
- ClientGUI - Class in org.apache.logging.log4j.core.jmx
- GUI that connects to a Java process via JMX and allows the user to view and
modify the log4j2 configuration, as well as monitor status logs.
- ClientGUI(Client) -
Constructor for class org.apache.logging.log4j.core.jmx.ClientGUI
-
- ClientGUIJConsolePlugin - Class in org.apache.logging.log4j.core.jmx
- Adapts the
ClientGUI
to the JConsolePlugin
API. - ClientGUIJConsolePlugin() -
Constructor for class org.apache.logging.log4j.core.jmx.ClientGUIJConsolePlugin
-
- Clock - Interface in org.apache.logging.log4j.core.async
- Interface for classes that can provide the time stamp used in log events.
- ClockFactory - Class in org.apache.logging.log4j.core.async
- Factory for
Clock
objects. - close() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Close the stream associated with the Appender.
- close() -
Method in class org.apache.logging.log4j.core.appender.FastFileManager
-
- close() -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
- close() -
Method in class org.apache.logging.log4j.core.appender.rolling.FastRollingFileManager
-
- close() -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.AbstractAction
- Cancels the action if not already initialized or waits till completion.
- close() -
Method in interface org.apache.logging.log4j.core.appender.rolling.helper.Action
- Cancels the action if not already initialized or waits till completion.
- close() -
Method in class org.apache.logging.log4j.core.jmx.Client
- Closes the client connection to its server.
- close() -
Method in class org.apache.logging.log4j.core.net.DatagramOutputStream
-
- close() -
Method in class org.apache.logging.log4j.core.net.TCPSocketManager
-
- CoarseCachedClock - Class in org.apache.logging.log4j.core.async
- This Clock implementation is similar to CachedClock.
- collectPlugins() -
Method in class org.apache.logging.log4j.core.config.plugins.PluginManager
- Locates all the plugins.
- collectPlugins(boolean, String) -
Method in class org.apache.logging.log4j.core.config.plugins.PluginManager
- Collects plugins, optionally obtaining them from a preload map.
- commaMatcher() -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Returns a matcher which matches the comma character.
- CompositeAction - Class in org.apache.logging.log4j.core.appender.rolling.helper
- A group of Actions to be executed in sequence.
- CompositeAction(List<Action>, boolean) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.helper.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.
- CompressionType - Enum in org.apache.logging.log4j.core.appender
- An enumeration of the valid compression types.
- concatenateArrays(String[], String[]) -
Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
-
- config -
Variable in class org.apache.logging.log4j.core.Logger
- config should be consistent across threads.
- config -
Variable in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- Configuration - Interface in org.apache.logging.log4j.core.config
- Interface that must be implemented to create a configuration.
- CONFIGURATION_FACTORY_PROPERTY -
Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Allow the ConfigurationFactory class to be specified as a system property.
- CONFIGURATION_FILE_PROPERTY -
Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Allow the location of the configuration file to be specified as a system property.
- ConfigurationException - Exception in org.apache.logging.log4j.core.config
-
- ConfigurationException(String) -
Constructor for exception org.apache.logging.log4j.core.config.ConfigurationException
-
- ConfigurationException(String, Exception) -
Constructor for exception org.apache.logging.log4j.core.config.ConfigurationException
-
- ConfigurationFactory - Class in org.apache.logging.log4j.core.config
- ConfigurationFactory allows the configuration implementation to be
dynamically chosen in 1 of 3 ways:
A system property named "log4j.configurationFactory" can be set with the
name of the ConfigurationFactory to be used.
ConfigurationFactory.setConfigurationFactory(ConfigurationFactory) can be called
with the instance of the ConfigurationFactory to be used.
- ConfigurationFactory() -
Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- ConfigurationFactory.ConfigurationSource - Class in org.apache.logging.log4j.core.config
- Represents the source for the logging configuration.
- ConfigurationFactory.ConfigurationSource() -
Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- ConfigurationFactory.ConfigurationSource(InputStream) -
Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- ConfigurationFactory.ConfigurationSource(InputStream, File) -
Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- ConfigurationFactory.ConfigurationSource(InputStream, String) -
Constructor for class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- ConfigurationListener - Interface in org.apache.logging.log4j.core.config
- Interface used to allow components to be notified when the configuration changes.
- ConfigurationMonitor - Interface in org.apache.logging.log4j.core.config
- Interface that must be implemented to provide notification of configuration changes.
- Configurator - Class in org.apache.logging.log4j.core.config
- Initializes and configure the Logging system.
- configureSubstitutor(Property[], Configuration) -
Static method in class org.apache.logging.log4j.core.config.plugins.PropertiesPlugin
- Create the Properties component.
- ConsoleAppender - Class in org.apache.logging.log4j.core.appender
- ConsoleAppender appends log events to
System.out
or
System.err
using a layout specified by the user. - ConsoleAppender.Target - Enum in org.apache.logging.log4j.core.appender
- Enumeration of console destinations.
- Constants - Class in org.apache.logging.log4j.core.helpers
- Log4j Constants.
- CONTEXT_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.
- 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(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
. - ConverterKeys - Annotation Type in org.apache.logging.log4j.core.pattern
- Identifies the keys that are associated with a PatternConverter.
- convertSpecialChars(String) -
Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
-
- count -
Variable in class org.apache.logging.log4j.core.appender.AbstractManager
- Number of Appenders using this manager.
- createAppender(AppenderRef[], String, String, String, String, String, Filter, Configuration, String) -
Static method in class org.apache.logging.log4j.core.appender.AsynchAppender
- Create an AsynchAppender.
- createAppender(Layout, Filter, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.appender.ConsoleAppender
- Create a Console Appender.
- 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, Layout<?>, Filter, String, String, Configuration) -
Static method in class org.apache.logging.log4j.core.appender.FastFileAppender
- Create a File Appender.
- createAppender(String, String, String, String, String, TriggeringPolicy, RolloverStrategy, Layout<?>, Filter, String, String, String, Configuration) -
Static method in class org.apache.logging.log4j.core.appender.FastRollingFileAppender
- Create a FastRollingFileAppender.
- createAppender(String, String, String, String, String, String, String, Layout, 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, Filter, String) -
Static method in class org.apache.logging.log4j.core.appender.JMSQueueAppender
- Create a JMSQueueAppender.
- createAppender(String, String, String, String, String, String, String, String, String, String, Layout, Filter, String) -
Static method in class org.apache.logging.log4j.core.appender.JMSTopicAppender
- Create a JMSTopicAppender.
- createAppender(String, String, AppenderRef[], Configuration, RewritePolicy, Filter) -
Static method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
- Create a RewriteAppender.
- createAppender(String, String, String, String, String, String, TriggeringPolicy, RolloverStrategy, Layout, Filter, String, String, String, Configuration) -
Static method in class org.apache.logging.log4j.core.appender.RollingFileAppender
- Create a RollingFileAppender.
- 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<?>, Filter, String) -
Static method in class org.apache.logging.log4j.core.appender.SMTPAppender
- Create a SMTPAppender.
- createAppender(String, String, String, String, String, String, String, String, Layout, Filter, String, Configuration) -
Static method in class org.apache.logging.log4j.core.appender.SocketAppender
-
- createAppender(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, Filter, Configuration, String, String, String) -
Static method in class org.apache.logging.log4j.core.appender.SyslogAppender
- Create a SyslogAppender.
- createAppenderRef(String, String, Filter) -
Static method in class org.apache.logging.log4j.core.config.AppenderRef
- Create an Appender reference.
- createAppenders(Appender<?>[]) -
Static method in class org.apache.logging.log4j.core.config.plugins.AppendersPlugin
- Create a Map of the Appenders.
- createConfiguration(Node, LogEvent) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- createConfiguration(Node, LogEvent) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- createContext(String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.net.AbstractJMSManager
- Create the InitialContext.
- createEvent(String, Marker, String, Level, Message, List<Property>, Throwable) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Creates a log event.
- 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.FastRollingFileManager
-
- createFileAfterRollover() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
- createFilter(String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- createFilter(String, KeyValuePair[], String, String, String) -
Static method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
- Create the DynamicThresholdFilter.
- createFilter(KeyValuePair[], String, String, String) -
Static method in class org.apache.logging.log4j.core.filter.MapFilter
-
- createFilter(String, String, String) -
Static method in class org.apache.logging.log4j.core.filter.MarkerFilter
- Create the MarkerFilter.
- createFilter(String, String, String, String) -
Static method in class org.apache.logging.log4j.core.filter.RegexFilter
- Create a Filter that matches a regular expression.
- createFilter(KeyValuePair[], String, String, String) -
Static method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
- Create the StructuredDataFilter.
- createFilter(KeyValuePair[], String, String, String) -
Static method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- createFilter(String, String, String) -
Static method in class org.apache.logging.log4j.core.filter.ThresholdFilter
- Create a ThresholdFilter.
- createFilter(String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.filter.TimeFilter
- Create a TimeFilter.
- createFilters(Filter[]) -
Static method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Create a CompositeFilter.
- createLayout(String, String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.layout.HTMLLayout
- Create an HTML Layout.
- createLayout(String, Configuration, RegexReplacement, String) -
Static method in class org.apache.logging.log4j.core.layout.PatternLayout
- Create a pattern layout.
- createLayout(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, Configuration) -
Static method in class org.apache.logging.log4j.core.layout.RFC5424Layout
- Create the RFC 5424 Layout.
- createLayout() -
Static method in class org.apache.logging.log4j.core.layout.SerializedLayout
- Create a SerializedLayout.
- createLayout(String, String, String, String) -
Static method in class org.apache.logging.log4j.core.layout.SyslogLayout
- Create a SyslogLayout.
- createLayout(String, String, String, String) -
Static method in class org.apache.logging.log4j.core.layout.XMLLayout
- Create 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, String, String, String, AppenderRef[], Property[], Configuration, Filter) -
Static method in class org.apache.logging.log4j.core.config.LoggerConfig
- Factory method to create a LoggerConfig.
- createLogger(String, String, String, AppenderRef[], Property[], Configuration, Filter) -
Static method in class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger
-
- createLoggers(LoggerConfig[]) -
Static method in class org.apache.logging.log4j.core.config.plugins.LoggersPlugin
- Create a Loggers object to contain all the Loggers.
- createManager(String, T) -
Method in interface org.apache.logging.log4j.core.appender.ManagerFactory
- Creates a Manager.
- 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.
- createPair(String, String) -
Static method in class org.apache.logging.log4j.core.helpers.KeyValuePair
- Create a Key/Value pair.
- createPatternParser(Configuration) -
Static method in class org.apache.logging.log4j.core.layout.PatternLayout
- Create a PatternParser.
- createPatternParser(Configuration) -
Static method in class org.apache.logging.log4j.core.layout.RFC5424Layout
- Create a PatternParser.
- createPolicy(String, KeyValuePair[]) -
Static method in class org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy
- The factory method to create the MapRewritePolicy.
- createPolicy(Configuration, Property[]) -
Static method in class org.apache.logging.log4j.core.appender.rewrite.PropertiesRewritePolicy
- The factory method to create the PropertiesRewritePolicy.
- createPolicy(TriggeringPolicy...) -
Static method in class org.apache.logging.log4j.core.appender.rolling.CompositeTriggeringPolicy
- Create a CompositeTriggeringPolicy.
- createPolicy() -
Static method in class org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy
-
- createPolicy(String) -
Static method in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- Create a SizeBasedTriggeringPolicy.
- createPolicy(String, String) -
Static method in class org.apache.logging.log4j.core.appender.rolling.TimeBasedTriggeringPolicy
- Create a TimeBasedTriggeringPolicy.
- createProperty(String, String) -
Static method in class org.apache.logging.log4j.core.config.Property
- Create a Property.
- createRegexReplacement(String, String) -
Static method in class org.apache.logging.log4j.core.pattern.RegexReplacement
- Create a RegexReplacement.
- 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.
- createSocketManager(String, String, int, int, boolean) -
Static method in class org.apache.logging.log4j.core.appender.SocketAppender
-
- createStrategy(String, String, String, Configuration) -
Static method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- Create the DefaultRolloverStrategy.
- currentTimeMillis() -
Method in class org.apache.logging.log4j.core.async.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.async.Clock
- Returns the time in milliseconds since the epoch.
- currentTimeMillis() -
Method in class org.apache.logging.log4j.core.async.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.async.SystemClock
- Returns the system time.
- CyclicBuffer<T> - Class in org.apache.logging.log4j.core.helpers
- A bounded buffer containing elements of type T.
- CyclicBuffer(Class<T>, int) -
Constructor for class org.apache.logging.log4j.core.helpers.CyclicBuffer
- Instantiate a new CyclicBuffer of at most
maxSize
events.
D
- DatagramOutputStream - Class in org.apache.logging.log4j.core.net
- OutputStream for UDP connections.
- DatagramOutputStream(String, int) -
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) -
Constructor for class org.apache.logging.log4j.core.net.DatagramSocketManager
- The Constructor.
- DateLookup - Class in org.apache.logging.log4j.core.lookup
- Formats the current date or the date in the LogEvent.
- DateLookup() -
Constructor for class org.apache.logging.log4j.core.lookup.DateLookup
-
- DatePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Convert and format the event's date in a StringBuffer.
- DEFAULT -
Static variable in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Default instance of
ThrowableFormatOptions
.
- 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_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_NAME -
Static variable in class org.apache.logging.log4j.core.config.DefaultConfiguration
- The name of the default configuration.
- 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.
- 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
-
- 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, 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
-
- doConfigure() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- doConfigure() -
Method in class org.apache.logging.log4j.core.config.DefaultConfiguration
-
- doesMatchClass() -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.ClassTest
-
- doesMatchClass() -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.ResourceTest
-
- doesMatchClass() -
Method in interface org.apache.logging.log4j.core.config.plugins.ResolverUtil.Test
-
- doesMatchResource() -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.ClassTest
-
- doesMatchResource() -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.ResourceTest
-
- doesMatchResource() -
Method in interface org.apache.logging.log4j.core.config.plugins.ResolverUtil.Test
-
- 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
- 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
-
- 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
-
- error(String) -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Handle an error with a message.
- error(String, Throwable) -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Handle an error with a message and an exception.
- 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) -
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 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.
- escapeTags(String) -
Static method in class org.apache.logging.log4j.core.helpers.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.
- execute() -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.AbstractAction
- Perform action.
- execute() -
Method in interface org.apache.logging.log4j.core.appender.rolling.helper.Action
- Perform an action.
- execute() -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.CompositeAction
- Execute sequence of actions.
- execute() -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.FileRenameAction
- Rename file.
- execute(File, File, boolean) -
Static method in class org.apache.logging.log4j.core.appender.rolling.helper.FileRenameAction
- Rename file.
- execute() -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.GZCompressAction
- Compress.
- execute(File, File, boolean) -
Static method in class org.apache.logging.log4j.core.appender.rolling.helper.GZCompressAction
- Compress a file.
- execute() -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.ZipCompressAction
- Compress.
- execute(File, File, boolean) -
Static method in class org.apache.logging.log4j.core.appender.rolling.helper.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.
- 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.
- 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.
- FastFileAppender - Class in org.apache.logging.log4j.core.appender
- File Appender.
- FastFileManager - 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. - FastFileManager(RandomAccessFile, String, OutputStream, boolean, String) -
Constructor for class org.apache.logging.log4j.core.appender.FastFileManager
-
- FastRollingFileAppender - Class in org.apache.logging.log4j.core.appender
- An appender that writes to random access files and can roll over at
intervals.
- FastRollingFileManager - 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. - FastRollingFileManager(RandomAccessFile, String, String, OutputStream, boolean, boolean, long, long, TriggeringPolicy, RolloverStrategy, String) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.FastRollingFileManager
-
- FileAppender - Class in org.apache.logging.log4j.core.appender
- File Appender.
- FileConfigurationMonitor - Class in org.apache.logging.log4j.core.config
- Configuration monitor that periodically checks the timestamp of the configuration file and calls the
ConfigurationListeners when an update occurs.
- FileConfigurationMonitor(Reconfigurable, File, List<ConfigurationListener>, int) -
Constructor for class org.apache.logging.log4j.core.config.FileConfigurationMonitor
- Constructor.
- FileDatePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats an date by delegating to DatePatternConverter.
- fileFromURI(URI) -
Static method in class org.apache.logging.log4j.core.helpers.FileUtils
- Tries to convert the specified URL to a file object.
- FileLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's line location information in a StringBuffer.
- FileManager - Class in org.apache.logging.log4j.core.appender
- Manages actual File I/O for File Appenders.
- FileManager(String, OutputStream, boolean, boolean, String) -
Constructor for class org.apache.logging.log4j.core.appender.FileManager
-
- FileRenameAction - Class in org.apache.logging.log4j.core.appender.rolling.helper
- File rename action.
- FileRenameAction(File, File, boolean) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.helper.FileRenameAction
- Creates an FileRenameAction.
- FileUtils - Class in org.apache.logging.log4j.core.helpers
- File utilities.
- fillInStackTrace() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- Filter - Interface in org.apache.logging.log4j.core
- Interface that must be implemented to allow custom event filtering.
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Appender Filter method.
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Appender Filter method.
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Appender Filter method.
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Context Filter method.
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Filter an event.
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Filter an event.
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Filter an event.
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
- Filter an event.
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in interface org.apache.logging.log4j.core.Filter
- Filter an event.
- filter(Logger, Level, Marker, Object, Throwable) -
Method in interface org.apache.logging.log4j.core.Filter
- Filter an event.
- filter(Logger, Level, Marker, Message, Throwable) -
Method in interface org.apache.logging.log4j.core.Filter
- Filter an event.
- filter(LogEvent) -
Method in interface org.apache.logging.log4j.core.Filter
- Filter an event.
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- filter(Map<String, String>) -
Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.MarkerFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.RegexFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
- filter(StructuredDataMessage) -
Method in class org.apache.logging.log4j.core.filter.StructuredDataFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.ThreadContextMapFilter
-
- filter(Logger, Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(Logger, Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(Logger, Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.ThresholdFilter
-
- filter(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.TimeFilter
-
- Filter.Result - Enum in org.apache.logging.log4j.core
- The result that can returned from a filter method call.
- Filterable - Interface in org.apache.logging.log4j.core.filter
- Interface implemented by Classes that allow filtering to occur.
- filterCount() -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is used primarily for unit testing.
- find(ResolverUtil.Test, String...) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
- Attempts to discover classes that pass the test.
- findAndSubst(String, Properties) -
Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
- Find the value corresponding to
key
in
props
.
- findAnnotated(Class<? extends Annotation>, String...) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
- Attempts to discover classes that are annotated with to the annotation.
- findImplementations(Class<?>, String...) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
- Attempts to discover classes that are assignable to the type provided.
- findInPackage(ResolverUtil.Test, String) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
- Scans for classes starting at the package provided and descending into subpackages.
- findNamedResource(String, String...) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
- findSuffix(String, String...) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
- Attempts to discover classes who's name ends with the provided suffix.
- flush() -
Method in class org.apache.logging.log4j.core.appender.FastFileManager
-
- flush() -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- Flush any buffers.
- flush() -
Method in class org.apache.logging.log4j.core.appender.rolling.FastRollingFileManager
-
- 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.
- 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(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- Formats an event into a string buffer.
- format(StringBuilder, Object...) -
Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
-
- format(Object, StringBuilder) -
Method in class org.apache.logging.log4j.core.pattern.DatePatternConverter
- Formats an object into a string buffer.
- 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.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(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
- getAbbreviator(String) -
Static method in class org.apache.logging.log4j.core.pattern.NameAbbreviator
- Gets an abbreviator.
- getActiveFileName() -
Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverDescription
- Active log file name after rollover.
- getActiveFileName() -
Method in class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
- Active log file name after rollover.
- getAdvertiser() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getAdvertiser() -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getAppend() -
Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverDescription
- Specifies if active file should be opened for appending.
- getAppend() -
Method in class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
- Specifies if active file should be opened for appending.
- getAppender() -
Method in class org.apache.logging.log4j.core.config.AppenderControl
- Returns the Appender.
- getAppender(String) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Returns the Appender with the specified name.
- getAppenderRef() -
Method in class org.apache.logging.log4j.core.appender.routing.Route
- Returns the appender reference.
- getAppenderRefs() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns the Appender references.
- getAppenderRefs() -
Method in class org.apache.logging.log4j.core.jmx.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
.
- getAppenders() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Returns a Map containing all the Appenders and their name.
- getAppenders() -
Method in interface org.apache.logging.log4j.core.config.Configuration
- Returns a Map containing all the Appenders and their name.
- getAppenders() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns all Appenders as a Map.
- getAppenders() -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is used primarily for unit testing.
- getAsynchronous() -
Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverDescription
- Action to be completed after close of current active log file
and before next rollover attempt, may be executed asynchronously.
- getAsynchronous() -
Method in class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
- Action to be completed after close of current active log file
and before next rollover attempt, may be executed asynchronously.
- getAttributes() -
Method in class org.apache.logging.log4j.core.config.Node
-
- getAvailable() -
Method in class org.apache.logging.log4j.core.filter.BurstFilter
- Returns the number of available slots.
- getCause() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- getCharset() -
Method in class org.apache.logging.log4j.core.layout.AbstractStringLayout
-
- getChildren() -
Method in class org.apache.logging.log4j.core.config.Node
-
- getClasses() -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
- Provides access to the classes discovered so far.
- getClassLoader() -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
- Returns the classloader that will be used for scanning for classes.
- getClassLoader(Class<?>, Class<?>) -
Static method in class org.apache.logging.log4j.core.helpers.Loader
-
- getClassLoader() -
Static method in class org.apache.logging.log4j.core.helpers.Loader
- Returns the ClassLoader to use.
- getClock() -
Static method in class org.apache.logging.log4j.core.async.ClockFactory
- Returns a
Clock
instance depending on the value of system
property "AsyncLogger.Clock"
.
- getCode() -
Method in enum org.apache.logging.log4j.core.net.Facility
- Retrieve the value of the enumeration.
- getCode() -
Method in enum org.apache.logging.log4j.core.net.Severity
- Returns the severity code.
- getCode() -
Method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
- Gets the escape code.
- getComponent(String) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getComponent(String) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getConfigClassName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigClassName() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the class name of the
Configuration
of the instrumented
LoggerContext.
- getConfigFilter() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigFilter() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns a string description of all Filters configured in the
Configuration
of the instrumented LoggerContext.
- getConfigLocation() -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- getConfigLocationURI() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigLocationURI() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the configuration location URI as a String.
- getConfigMonitorClassName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigMonitorClassName() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the class name of the object that is monitoring the configuration
file for modifications.
- getConfigName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigName() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the name of the Configuration of the instrumented LoggerContext.
- getConfigProperties() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigProperties() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns a map with configured properties.
- getConfigText() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getConfigText() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the configuration text, which may be the contents of the
configuration file or the text that was last set with a call to
setConfigText
.
- getConfiguration(ConfigurationFactory.ConfigurationSource) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- getConfiguration(String, URI) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Returns the Configuration.
- getConfiguration(ConfigurationFactory.ConfigurationSource) -
Method in class org.apache.logging.log4j.core.config.JSONConfigurationFactory
-
- getConfiguration(ConfigurationFactory.ConfigurationSource) -
Method in class org.apache.logging.log4j.core.config.XMLConfigurationFactory
- Returns the Configuration.
- getConfiguration() -
Method in class org.apache.logging.log4j.core.LoggerContext
- Returns the current Configuration.
- getConfigurationMonitor() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getConfigurationMonitor() -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getConnection() -
Method in class org.apache.logging.log4j.core.jmx.Client
- Returns the MBean server connection through which to communicate with the
remote mbeans.
- 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.FastFileManager
- FileManager's content format is specified by:
Key: "fileURI" Value: provided "advertiseURI" param.
- 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 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.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.dtd"
Key: "version" Value: "1.2"
- 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.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, boolean) -
Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- Load the LoggerContext using the ContextSelector.
- getContext(String, ClassLoader, boolean, URI) -
Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- Load the LoggerContext using the ContextSelector.
- getContext() -
Method in class org.apache.logging.log4j.core.Logger
- Returns the LoggerContext this Logger is associated with.
- getContext(String, ClassLoader, boolean) -
Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- getContext(String, ClassLoader, boolean, URI) -
Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- getContext(String, ClassLoader, boolean) -
Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- getContext(String, ClassLoader, boolean, URI) -
Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- getContext(String, ClassLoader, boolean) -
Method in interface org.apache.logging.log4j.core.selector.ContextSelector
- Returns the LoggerContext.
- getContext(String, ClassLoader, boolean, URI) -
Method in interface org.apache.logging.log4j.core.selector.ContextSelector
- Returns the LoggerContext.
- getContext(String, ClassLoader, boolean) -
Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- getContext(String, ClassLoader, boolean, URI) -
Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- getContextMap() -
Method in class org.apache.logging.log4j.core.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
- Get the MDC data.
- getContextSelectorAdmin() -
Method in class org.apache.logging.log4j.core.jmx.Client
- Returns a proxy that allows operations to be performed on the remote
ContextSelectorAdminMBean
.
- 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
- Get the NDC data.
- getConverter() -
Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
-
- 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.
- getDefaultStyle() -
Static method in enum org.apache.logging.log4j.core.pattern.AnsiEscape
- Gets the default style.
- getElementName() -
Method in class org.apache.logging.log4j.core.config.plugins.PluginType
-
- getEncoding(byte[], String) -
Method in class org.apache.logging.log4j.core.net.SMTPManager
-
- getEnvironment(String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.net.AbstractJMSManager
- Sets up the properties to pass to the InitialContext.
- getErrorHandler() -
Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- getErrorHandler() -
Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
- Returns the result of calling
toString
on the error handler of
this appender, or "null"
if no error handler was set.
- getEscapeChar() -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Returns the escape character.
- getExtendedStackTrace() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Format the stack trace including packaging information.
- getExtendedStackTrace(List<String>) -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Format the stack trace including packaging information.
- getExternalContext() -
Method in class org.apache.logging.log4j.core.LoggerContext
- Returns the external context.
- getFacility() -
Method in class org.apache.logging.log4j.core.net.Priority
- Returns the Facility.
- getFastRollingFileManager(String, String, boolean, boolean, TriggeringPolicy, RolloverStrategy, String) -
Static method in class org.apache.logging.log4j.core.appender.rolling.FastRollingFileManager
-
- getFile() -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- getFileManager(String, boolean, boolean, String) -
Static method in class org.apache.logging.log4j.core.appender.FastFileManager
- Returns the FastFileManager.
- getFileManager(String, boolean, boolean, boolean, String) -
Static method in class org.apache.logging.log4j.core.appender.FileManager
- Returns the FileManager.
- getFileManager(String, String, boolean, boolean, TriggeringPolicy, RolloverStrategy, String) -
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.FastFileAppender
- Returns the file name this appender is associated with.
- getFileName() -
Method in class org.apache.logging.log4j.core.appender.FastFileManager
- Returns the name of the File being managed.
- getFileName() -
Method in class org.apache.logging.log4j.core.appender.FastRollingFileAppender
- Returns the File name for the Appender.
- 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.RollingFileAppender
- Returns the File name for the Appender.
- getFilePattern() -
Method in class org.apache.logging.log4j.core.appender.FastRollingFileAppender
- Returns the file pattern used when rolling over.
- getFilePattern() -
Method in class org.apache.logging.log4j.core.appender.RollingFileAppender
- 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.LoggerConfigAdmin
-
- getFilter() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Returns a string description of all filters configured for the
instrumented
LoggerConfig
.
- getFilters() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- getFilters() -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is used primarily for unit testing.
- getFooter() -
Method in class org.apache.logging.log4j.core.layout.AbstractLayout
- Returns the footer, if one is available.
- getFooter() -
Method in interface org.apache.logging.log4j.core.Layout
- Returns the format for the layout format.
- getFooter() -
Method in class org.apache.logging.log4j.core.layout.HTMLLayout
- Returns the appropriate HTML footers.
- getFooter() -
Method in class org.apache.logging.log4j.core.layout.XMLLayout
- Returns appropriate XML headers.
- getFormattingInfo() -
Method in class org.apache.logging.log4j.core.pattern.PatternFormatter
-
- getFQCN() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getFQCN() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- The fully qualified class name of the class that was called by the caller.
- getFQCN() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Returns the fully qualified class name of the caller of the logging api.
- getHandler() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Returns the ErrorHandler, if any.
- getHandler() -
Method in interface org.apache.logging.log4j.core.Appender
-
- getHeader() -
Method in class org.apache.logging.log4j.core.layout.AbstractLayout
- Returns the header, if one is available.
- getHeader() -
Method in interface org.apache.logging.log4j.core.Layout
- Returns the header for the layout format.
- getHeader() -
Method in class org.apache.logging.log4j.core.layout.HTMLLayout
- Returns appropriate HTML headers.
- getHeader() -
Method in class org.apache.logging.log4j.core.layout.SerializedLayout
-
- getHeader() -
Method in class org.apache.logging.log4j.core.layout.XMLLayout
- Returns appropriate XML headers.
- getHeaders(String, String) -
Method in class org.apache.logging.log4j.core.net.SMTPManager
-
- getImplementationClassName() -
Method in class org.apache.logging.log4j.core.jmx.ContextSelectorAdmin
-
- getImplementationClassName() -
Method in interface org.apache.logging.log4j.core.jmx.ContextSelectorAdminMBean
- Returns the name of the class implementing the
ContextSelector
interface.
- getInputFromResource(String, ClassLoader) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Retrieve the configuration via the ClassLoader.
- getInputFromString(String, ClassLoader) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Load the configuration from the location represented by the String.
- getInputFromURI(URI) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Load the configuration from a URI.
- getInputStream() -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- getInstance() -
Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Returns the ConfigurationFactory.
- getJMSQueueManager(String, String, String, String, String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.net.JMSQueueManager
- Obtain a JMSQueueManager.
- getJMSTopicManager(String, String, String, String, String, String, String, String, String) -
Static method in class org.apache.logging.log4j.core.net.JMSTopicManager
- Obtain a JSMTopicManager.
- getKey() -
Method in class org.apache.logging.log4j.core.appender.routing.Route
- Returns the key for this Route.
- getKey() -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- getKey() -
Method in class org.apache.logging.log4j.core.helpers.KeyValuePair
- Returns the key.
- getLayout() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Returns the Layout for the appender.
- 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
.
- 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
- Get level.
- getLevel() -
Method in class org.apache.logging.log4j.core.Logger
- Returns the Level associated with the Logger.
- getLevelMap() -
Method in class org.apache.logging.log4j.core.filter.DynamicThresholdFilter
-
- getLines() -
Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Returns the number of lines to write.
- getLiteral() -
Method in class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
-
- getLocalHostname() -
Static method in class org.apache.logging.log4j.core.helpers.NetUtils
- This method gets the network name of the machine we are running on.
- getLocation() -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- getLocation() -
Method in class org.apache.logging.log4j.core.impl.StackTracePackageElement
- Returns the location of the element.
- getLogEventFactory() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns the LogEventFactory.
- getLogger(String) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Returns the LoggerConfig with the specified name.
- getLogger(String) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Obtain a Logger from the Context.
- getLogger(String, MessageFactory) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Obtain a Logger from the Context.
- getLoggerConfig(String) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Locates the appropriate LoggerConfig for a Logger name.
- getLoggerConfig(String) -
Method in interface org.apache.logging.log4j.core.config.Configuration
- Locates the appropriate LoggerConfig for a Logger name.
- getLoggerContextAdmins() -
Method in class org.apache.logging.log4j.core.jmx.Client
- Returns a list of proxies that allow operations to be performed on the
remote
LoggerContextAdminMBean
s.
- getLoggerContexts() -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
-
- getLoggerContexts() -
Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- getLoggerContexts() -
Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- getLoggerContexts() -
Method in interface org.apache.logging.log4j.core.selector.ContextSelector
- Returns a List of all the available LoggerContexts.
- getLoggerContexts() -
Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- getLoggerName() -
Method in class org.apache.logging.log4j.core.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
- Get logger name.
- getLoggers() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Returns a Map of all the LoggerConfigs.
- getLoggers() -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getManager(String, ManagerFactory<M, T>, T) -
Static method in class org.apache.logging.log4j.core.appender.AbstractManager
- Retrieves a Manager if it has been previously created or creates a new Manager.
- getManager() -
Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
- getManager(String, T, ManagerFactory<? extends OutputStreamManager, T>) -
Static method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- Create a Manager.
- getMap() -
Method in class org.apache.logging.log4j.core.config.Loggers
-
- getMap() -
Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- 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
- Get the Marker associated with the event.
- 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.async.RingBufferLogEvent
-
- getMessage() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the Message associated with the event.
- getMessage() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Get the message associated with the event.
- getMillis() -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- getMillis() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Returns the time in milliseconds from the epoch when the event occurred.
- getMillis() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Get event time in milliseconds since 1970.
- getMimeMessage() -
Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- getMimeMultipart(byte[], InternetHeaders) -
Method in class org.apache.logging.log4j.core.net.SMTPManager
-
- getMinLength() -
Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
- Get minimum length.
- getName() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Returns the name of the Appender.
- getName() -
Method in class org.apache.logging.log4j.core.appender.AbstractManager
- Returns the name of the Manager.
- getName() -
Method in interface org.apache.logging.log4j.core.Appender
- Get the name of this appender.
- getName() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Returns the name of the configuration.
- getName() -
Method in interface org.apache.logging.log4j.core.config.Configuration
- Returns the configuration name.
- getName() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns the name of the LoggerConfig.
- getName() -
Method in class org.apache.logging.log4j.core.config.Node
-
- getName() -
Method in class org.apache.logging.log4j.core.config.Property
- Returns the property name.
- getName() -
Method in class org.apache.logging.log4j.core.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.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
-
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.ContextSelectorAdmin
-
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getObjectName() -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- 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
- Returns the parent of this Logger.
- 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
-
- getPluginClass() -
Method in class org.apache.logging.log4j.core.config.plugins.PluginType
-
- getPluginManager() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getPlugins() -
Method in class org.apache.logging.log4j.core.config.plugins.PluginManager
- Returns all the matching plugins.
- getPluginType(String) -
Method in class org.apache.logging.log4j.core.config.plugins.PluginManager
- Returns the type of a specified plugin.
- getPriority(Facility, Level) -
Static method in class org.apache.logging.log4j.core.net.Priority
- Returns the priority value based on the Facility and Log Level.
- getProcessor() -
Method in class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
- Returns the pattern processor.
- getProcId() -
Method in class org.apache.logging.log4j.core.layout.RFC5424Layout
-
- getProperties() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getProperties() -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getProperties() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns an unmodifiable map with the configuration properties, or
null
if this LoggerConfig
does not have any configuration
properties.
- getRef() -
Method in class org.apache.logging.log4j.core.config.AppenderRef
-
- getResource(String, ClassLoader) -
Static method in class org.apache.logging.log4j.core.helpers.Loader
- This method will search for
resource
in different
places.
- getResourceAsStream(String, ClassLoader) -
Static method in class org.apache.logging.log4j.core.helpers.Loader
- This method will search for
resource
in different
places.
- getResources() -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
- Returns the matching resources.
- getRoot() -
Method in class org.apache.logging.log4j.core.config.Loggers
-
- getRootCauseStackTrace() -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Format the Throwable that is the cause of this Throwable.
- getRootCauseStackTrace(List<String>) -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
- Format the Throwable that is the cause of this Throwable.
- getRootLogger() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Returns the root Logger.
- getRoutes() -
Method in class org.apache.logging.log4j.core.appender.routing.Routes
- Returns the array of Route elements.
- getSecretKey() -
Method in interface org.apache.logging.log4j.core.helpers.SecretKeyProvider
-
- getSelector() -
Method in class org.apache.logging.log4j.core.impl.Log4jContextFactory
- Returns the ContextSelector.
- getSeparator() -
Method in class org.apache.logging.log4j.core.impl.ThrowableFormatOptions
- Returns the stack trace separator.
- 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) -
Static method in class org.apache.logging.log4j.core.net.DatagramSocketManager
- Obtain a SocketManager.
- getSocketManager(String, int, int, boolean) -
Static method in class org.apache.logging.log4j.core.net.TCPSocketManager
- Obtain a TCPSocketManager.
- 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
- Get source of logging request.
- getStatus() -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- getStatus() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Returns the status of the instrumented
LoggerContext
.
- getStatus() -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- getStatusData() -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getStatusData() -
Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Returns a list with the most recent
StatusData
objects in the
status history.
- getStatusDataHistory() -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- getStatusDataHistory() -
Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Returns a string array with the most recent messages in the status
history.
- getStatusLoggerAdmin() -
Method in class org.apache.logging.log4j.core.jmx.Client
- Returns a proxy that allows operations to be performed on the remote
StatusLoggerAdminMBean
.
- getStyleClass(Object) -
Method in class org.apache.logging.log4j.core.pattern.AbstractPatternConverter
- This method returns the CSS style class that should be applied to
the LoggingEvent passed as parameter, which can be null.
- getStyleClass(Object) -
Method in class org.apache.logging.log4j.core.pattern.LevelPatternConverter
- This method returns the CSS style class that should be applied to
the LoggingEvent passed as parameter, which can be null.
- getStyleClass(Object) -
Method in interface org.apache.logging.log4j.core.pattern.PatternConverter
- This method returns the CSS style class that should be applied to
the LoggingEvent passed as parameter, which can be null.
- getSubName(String) -
Static method in class org.apache.logging.log4j.core.helpers.NameUtil
-
- getSubst() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- getSubst() -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- getSupportedCharset(String) -
Static method in class org.apache.logging.log4j.core.helpers.Charsets
- Gets a Charset, starting with the preferred
charsetName
if supported, if not, use UTF-8, if not
supported, use the platform default.
- getSupportedTypes() -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- getSupportedTypes() -
Method in class org.apache.logging.log4j.core.config.JSONConfigurationFactory
-
- getSupportedTypes() -
Method in class org.apache.logging.log4j.core.config.XMLConfigurationFactory
- Returns the file suffixes for XML files.
- 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.
- getTabs() -
Method in class org.apache.logging.log4j.core.jmx.ClientGUIJConsolePlugin
-
- 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
- Get thread name.
- 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
- Get throwable associated with logging request.
- getTimeBasedUUID() -
Static method in class org.apache.logging.log4j.core.helpers.UUIDUtil
- Generates Type 1 UUID.
- getType() -
Method in class org.apache.logging.log4j.core.config.Node
-
- getValue() -
Method in class org.apache.logging.log4j.core.config.Node
-
- getValue() -
Method in class org.apache.logging.log4j.core.config.Property
- Returns the property value.
- getValue() -
Method in class org.apache.logging.log4j.core.helpers.KeyValuePair
- Returns the value.
- getValue() -
Method in class org.apache.logging.log4j.core.net.Priority
- Returns the value of this Priority.
- getVariablePrefixMatcher() -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Gets the variable prefix matcher currently in use.
- getVariableResolver() -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Gets the VariableResolver that is used to lookup variables.
- getVariableSuffixMatcher() -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Gets the variable suffix matcher currently in use.
- getVersion() -
Method in class org.apache.logging.log4j.core.impl.StackTracePackageElement
- Returns the version of the element.
- GZCompressAction - Class in org.apache.logging.log4j.core.appender.rolling.helper
- Compresses a file using GZ compression.
- GZCompressAction(File, File, boolean) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.helper.GZCompressAction
- Create new instance of GZCompressAction.
H
- handleNotification(Notification, Object) -
Method in class org.apache.logging.log4j.core.jmx.ClientGUI
-
- 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.ThrowablePatternConverter
- This converter obviously handles throwables.
- 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.
- hasFilters() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- 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
- This layout outputs events in a HTML table.
I
- 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.
- initCause(Throwable) -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- 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, URI) -
Static method in class org.apache.logging.log4j.core.config.Configurator
- Initializes the Logging Context.
- initialize(ClassLoader, ConfigurationFactory.ConfigurationSource) -
Static method in class org.apache.logging.log4j.core.config.Configurator
- Initializes the Logging Context.
- instance() -
Static method in class org.apache.logging.log4j.core.async.CachedClock
-
- instance() -
Static method in class org.apache.logging.log4j.core.async.CoarseCachedClock
- Returns the singleton instance.
- instantiateByClassName(String, Class<?>, Object) -
Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
- Instantiate an object given a class name.
- instantiateByKey(Properties, String, Class<?>, Object) -
Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
-
- IntegerPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats an integer.
- 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
-
- isActive() -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory
-
- isActive() -
Method in class org.apache.logging.log4j.core.config.JSONConfigurationFactory
-
- isAdditive() -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Returns the valid of the additive flag.
- isAdditive() -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- isAdditive() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Returns whether the instrumented
LoggerConfig
is additive.
- isAdditive() -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is present only to support the Log4j 1.2
compatibility bridge.
- isAnd() -
Method in class org.apache.logging.log4j.core.filter.MapFilter
-
- isAppend() -
Method in class org.apache.logging.log4j.core.appender.FileManager
- Returns the append status.
- isComplete() -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.AbstractAction
- Tests if the action is complete.
- isComplete() -
Method in interface org.apache.logging.log4j.core.appender.rolling.helper.Action
- Determines if action has been completed.
- isDeferChildren() -
Method in class org.apache.logging.log4j.core.config.plugins.PluginType
-
- isEmpty() -
Method in class org.apache.logging.log4j.core.helpers.CyclicBuffer
- Determines if the buffer contains elements.
- isEnabled(Level, Marker, String) -
Method in class org.apache.logging.log4j.core.Logger
-
- isEnabled(Level, Marker, String, Throwable) -
Method in class org.apache.logging.log4j.core.Logger
-
- isEnabled(Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.core.Logger
-
- isEnabled(Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.core.Logger
-
- isEnabled(Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.core.Logger
-
- isEnableSubstitutionInVariables() -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Returns a flag whether substitution is done in variable names.
- isEndOfBatch() -
Method in class org.apache.logging.log4j.core.appender.FastFileManager
-
- isEndOfBatch() -
Method in class org.apache.logging.log4j.core.appender.rolling.FastRollingFileManager
-
- 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.
- isExact() -
Method in class org.apache.logging.log4j.core.impl.StackTracePackageElement
- Returns the indicator of whether this is an exact match.
- isExceptionSuppressed() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Some appenders need to propagate exceptions back to the application.
- isExceptionSuppressed() -
Method in interface org.apache.logging.log4j.core.Appender
- If set to true any exceptions thrown by the Appender will be logged but not thrown.
- isExceptionSuppressed() -
Method in class org.apache.logging.log4j.core.jmx.AppenderAdmin
-
- isExceptionSuppressed() -
Method in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
- Returns how exceptions thrown on the instrumented
Appender
are
handled.
- isFile(URL) -
Static method in class org.apache.logging.log4j.core.helpers.FileUtils
-
- isFiltered(LogEvent) -
Method in class org.apache.logging.log4j.core.appender.SMTPAppender
- Capture all events in CyclicBuffer.
- isFiltered(LogEvent) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
- Determine if the LogEvent should be processed or ignored.
- isFiltered(LogEvent) -
Method in interface org.apache.logging.log4j.core.filter.Filterable
- Determines if the event should be filtered.
- 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.LoggerConfigAdmin
-
- isIncludeLocation() -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Returns whether the instrumented
LoggerConfig
is configured to
include location.
- isIncludeLocation() -
Method in interface org.apache.logging.log4j.core.LogEvent
- Returns whether the source of the logging request is required downstream.
- isLeftAligned() -
Method in class org.apache.logging.log4j.core.pattern.FormattingInfo
- Determine if left aligned.
- isLocking() -
Method in class org.apache.logging.log4j.core.appender.FileManager
- Returns the lock status.
- isMatch(char[], int, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Returns the number of matching characters, zero for no match.
- isMatch(char[], int) -
Method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Returns the number of matching characters, zero for no match.
- isNotNull(T, String) -
Static method in class org.apache.logging.log4j.core.jmx.Assert
- Throws a
NullPointerException
if the specified parameter is
null
, otherwise returns the specified parameter.
- isObjectPrintable() -
Method in class org.apache.logging.log4j.core.config.plugins.PluginType
-
- isOpen() -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- Returns the status of the stream.
- isRoot() -
Method in class org.apache.logging.log4j.core.config.Node
-
- isStarted() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Returns true if the Appender is started, false otherwise.
- isStarted() -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Determine if the the Filter has started.
- isStarted() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- isStarted() -
Method in interface org.apache.logging.log4j.core.LifeCycle
-
- isStarted() -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- 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.
- iterator() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
J
- JMSQueueAppender - Class in org.apache.logging.log4j.core.appender
- Appender to write to a JMS Queue.
- JMSQueueManager - Class in org.apache.logging.log4j.core.net
- Manager for a JMS Queue.
- JMSQueueManager(String, Context, String, String, String, String, JMSQueueManager.QueueInfo) -
Constructor for class org.apache.logging.log4j.core.net.JMSQueueManager
- The Constructor.
- JMSQueueReceiver - Class in org.apache.logging.log4j.core.net
- Receives Log Events over a JMS Queue.
- JMSQueueReceiver(String, String, String, String) -
Constructor for class org.apache.logging.log4j.core.net.JMSQueueReceiver
- Constructor.
- JMSTopicAppender - Class in org.apache.logging.log4j.core.appender
- Appender to write to a JMS Topic.
- JMSTopicManager - Class in org.apache.logging.log4j.core.net
- Manager for JMS Topic connections.
- JMSTopicManager(String, Context, String, String, String, String, JMSTopicManager.TopicInfo) -
Constructor for class org.apache.logging.log4j.core.net.JMSTopicManager
- Constructor.
- JMSTopicReceiver - Class in org.apache.logging.log4j.core.net
- Receives Topic messages that contain LogEvents.
- JMSTopicReceiver(String, String, String, String) -
Constructor for class org.apache.logging.log4j.core.net.JMSTopicReceiver
- Constructor.
- JNDI_CONTEXT_NAME -
Static variable in class org.apache.logging.log4j.core.helpers.Constants
- JNDI context name string literal.
- 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
-
- JSONConfiguration - Class in org.apache.logging.log4j.core.config
- Creates a Node hierarchy from a JSON file.
- JSONConfiguration(ConfigurationFactory.ConfigurationSource) -
Constructor for class org.apache.logging.log4j.core.config.JSONConfiguration
-
- JSONConfigurationFactory - Class in org.apache.logging.log4j.core.config
-
- JSONConfigurationFactory() -
Constructor for class org.apache.logging.log4j.core.config.JSONConfigurationFactory
-
K
- KEY -
Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
- Key to identify pattern converters.
- KeyValuePair - Class in org.apache.logging.log4j.core.helpers
- Key/Value pair configuration item.
- KeyValuePair(String, String) -
Constructor for class org.apache.logging.log4j.core.helpers.KeyValuePair
- Constructs a key/value pair.
L
- Layout<T extends Serializable> - Interface in org.apache.logging.log4j.core
- Lays out a LogEvent in different formats.
- LevelPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's level in a StringBuffer.
- LifeCycle - Interface in org.apache.logging.log4j.core
-
- LINE_SEP -
Static variable in class org.apache.logging.log4j.core.helpers.Constants
- Line separator.
- LineLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's line location information in a StringBuffer.
- LineSeparatorPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats a line separator.
- listeners -
Variable in class org.apache.logging.log4j.core.config.BaseConfiguration
- Listeners for configuration changes.
- LiteralPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats a string literal.
- LiteralPatternConverter(Configuration, String) -
Constructor for class org.apache.logging.log4j.core.pattern.LiteralPatternConverter
- Create a new instance.
- loadClass(String) -
Static method in class org.apache.logging.log4j.core.helpers.Loader
- Load a Class by name.
- Loader - Class in org.apache.logging.log4j.core.helpers
- Load resources (or images) from various sources.
- locateContext(String, String) -
Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- locateContext(String, URI) -
Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- locateContext(String, URI) -
Method in interface org.apache.logging.log4j.core.selector.NamedContextSelector
- Locate the LoggerContext with the specified name.
- log(LogEvent) -
Method in class org.apache.logging.log4j.core.AbstractServer
-
- log(Marker, String, Level, Message, Throwable) -
Method in class org.apache.logging.log4j.core.async.AsyncLogger
-
- log(String, Marker, String, Level, Message, Throwable) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Logs an event.
- log(LogEvent) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Logs an event.
- log(StatusData) -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- log(Marker, String, Level, Message, Throwable) -
Method in class org.apache.logging.log4j.core.Logger
-
- LOG4J_CONTEXT_SELECTOR -
Static variable in class org.apache.logging.log4j.core.helpers.Constants
- Name of the system property to use to identify the ContextSelector Class.
- Log4jContextFactory - Class in org.apache.logging.log4j.core.impl
- Factory to locate a ContextSelector and then load a LoggerContext.
- Log4jContextFactory() -
Constructor for class org.apache.logging.log4j.core.impl.Log4jContextFactory
- Constructor that initializes the ContextSelector.
- Log4jLogEvent - Class in org.apache.logging.log4j.core.impl
- Implementation of a LogEvent.
- Log4jLogEvent(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.
- LogEvent - Interface in org.apache.logging.log4j.core
-
- logEvent(LogEvent) -
Method in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- LogEventFactory - Interface in org.apache.logging.log4j.core.impl
-
- LogEventPatternConverter - Class in org.apache.logging.log4j.core.pattern
- LoggingEventPatternConverter is a base class for pattern converters
that can format information from instances of LoggingEvent.
- LogEventPatternConverter(String, String) -
Constructor for class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
- Constructs an instance of LoggingEventPatternConverter.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.appender.AbstractAppender
- 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.DefaultRolloverStrategy
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.appender.rolling.helper.AbstractAction
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.config.BaseConfiguration
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.filter.AbstractFilter
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.layout.AbstractLayout
- Allow subclasses access to the status logger without creating another instance.
- Logger - Class in org.apache.logging.log4j.core
-
- Logger(LoggerContext, String, MessageFactory) -
Constructor for class org.apache.logging.log4j.core.Logger
- The constructor.
- logger -
Variable in class org.apache.logging.log4j.core.net.AbstractJMSReceiver
- Logger to capture diagnostics.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.net.DatagramOutputStream
- Allow subclasses access to the status logger without creating another instance.
- LOGGER -
Static variable in class org.apache.logging.log4j.core.net.MulticastDNSAdvertiser
-
- LOGGER -
Static variable in class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
- Allow subclasses access to the status logger without creating another instance.
- Logger.PrivateConfig - Class in org.apache.logging.log4j.core
- The binding between a Logger and its configuration.
- Logger.PrivateConfig(Configuration, Logger) -
Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- Logger.PrivateConfig(Logger.PrivateConfig, Level) -
Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- Logger.PrivateConfig(Logger.PrivateConfig, LoggerConfig) -
Constructor for class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- LoggerConfig - Class in org.apache.logging.log4j.core.config
- Logger object that is created via configuration.
- LoggerConfig() -
Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
- Default constructor.
- LoggerConfig(String, Level, boolean) -
Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
- Constructor that sets the name, level and additive values.
- LoggerConfig(String, List<AppenderRef>, Filter, Level, boolean, Property[], Configuration, boolean) -
Constructor for class org.apache.logging.log4j.core.config.LoggerConfig
-
- loggerConfig -
Variable in class org.apache.logging.log4j.core.Logger.PrivateConfig
-
- LoggerConfig.RootLogger - Class in org.apache.logging.log4j.core.config
- The root Logger.
- LoggerConfig.RootLogger() -
Constructor for class org.apache.logging.log4j.core.config.LoggerConfig.RootLogger
-
- LoggerConfigAdmin - Class in org.apache.logging.log4j.core.jmx
- Implementation of the
LoggerConfigAdminMBean
interface. - LoggerConfigAdmin(String, LoggerConfig) -
Constructor for class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
- Constructs a new
LoggerConfigAdmin
with the specified contextName
and logger config.
- LoggerConfigAdminMBean - Interface in org.apache.logging.log4j.core.jmx
- The MBean interface for monitoring and managing a
LoggerConfig
. - LoggerContext - Class in org.apache.logging.log4j.core
- The LoggerContext is the anchor for the logging system.
- LoggerContext(String) -
Constructor for class org.apache.logging.log4j.core.LoggerContext
- Constructor taking only a name.
- LoggerContext(String, Object) -
Constructor for class org.apache.logging.log4j.core.LoggerContext
- Constructor taking a name and a reference to an external context.
- LoggerContext(String, Object, URI) -
Constructor for class org.apache.logging.log4j.core.LoggerContext
- Constructor taking a name, external context and a configuration URI.
- LoggerContext(String, Object, String) -
Constructor for class org.apache.logging.log4j.core.LoggerContext
- Constructor taking a name external context and a configuration location
String.
- LoggerContext.Status - Enum in org.apache.logging.log4j.core
- Status of the LoggerContext.
- LoggerContextAdmin - Class in org.apache.logging.log4j.core.jmx
- Implementation of the
LoggerContextAdminMBean
interface. - LoggerContextAdmin(LoggerContext, Executor) -
Constructor for class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
- Constructs a new
LoggerContextAdmin
with the Executor
to
be used for sending Notification
s asynchronously to listeners.
- LoggerContextAdminMBean - Interface in org.apache.logging.log4j.core.jmx
- The MBean interface for monitoring and managing a
LoggerContext
. - LoggerPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats a logger name.
- Loggers - Class in org.apache.logging.log4j.core.config
-
- Loggers(ConcurrentMap<String, LoggerConfig>, LoggerConfig) -
Constructor for class org.apache.logging.log4j.core.config.Loggers
-
- LoggersPlugin - Class in org.apache.logging.log4j.core.config.plugins
- Container of Logger objects.
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.ContextMapLookup
- Lookup the value from the ThreadContext Map.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.ContextMapLookup
- Lookup the value from the ThreadContext Map.
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.DateLookup
- Get the value of the environment variable.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.DateLookup
- Get the value of the environment variable.
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.EnvironmentLookup
- Get the value of the environment variable.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.EnvironmentLookup
- Get 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.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 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
- Lookup the value for the key.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.StructuredDataLookup
- Lookup the value for the key using the data in the LogEvent.
- lookup(String) -
Method in class org.apache.logging.log4j.core.lookup.SystemPropertiesLookup
- Lookup the value for the key.
- lookup(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.SystemPropertiesLookup
- Lookup the value for the key using the data in the LogEvent.
- lookup(Context, String) -
Static method in class org.apache.logging.log4j.core.net.AbstractJMSManager
- Looks up the name in the context.
- lookup(Context, String) -
Method in class org.apache.logging.log4j.core.net.AbstractJMSReceiver
- Looks up an object from the Context.
- lookup(Context, String) -
Static method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
M
- main(String[]) -
Static method in class org.apache.logging.log4j.core.config.plugins.PluginManager
-
- main(String[]) -
Static method in class org.apache.logging.log4j.core.jmx.ClientGUI
- Connects to the specified location and shows this panel in a window.
- main(String[]) -
Static method in class org.apache.logging.log4j.core.net.JMSQueueReceiver
- Main startup for the receiver.
- main(String[]) -
Static method in class org.apache.logging.log4j.core.net.JMSTopicReceiver
- Main startup for the receiver.
- main(String[]) -
Static method in class org.apache.logging.log4j.core.net.SocketServer
- Main startup for the server.
- manager -
Variable in class org.apache.logging.log4j.core.appender.SMTPAppender
- The SMTP Manager
- 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.
- 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 StringBuffer.
- matches(Class<?>) -
Method in class org.apache.logging.log4j.core.config.plugins.PluginManager.PluginTest
- Returns true if the type is annotated with the class provided to the constructor.
- matches(Class<?>) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.AnnotatedWith
- 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.ResolverUtil.ClassTest
-
- matches(Class<?>) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.IsA
- Returns true if type is assignable to the parent type supplied in the constructor.
- matches(Class<?>) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.NameEndsWith
- Returns true if type name ends with the suffix supplied in the constructor.
- matches(URI) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.NameIs
-
- matches(Class<?>) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.ResourceTest
-
- matches(Class<?>) -
Method in interface org.apache.logging.log4j.core.config.plugins.ResolverUtil.Test
- Will be called repeatedly with candidate classes.
- matches(URI) -
Method in interface org.apache.logging.log4j.core.config.plugins.ResolverUtil.Test
- Test for a resource.
- md5(String) -
Static method in class org.apache.logging.log4j.core.helpers.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.
- 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.
- MessagePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's rendered message in a StringBuffer.
- MethodLocationPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's line location information in a StringBuffer.
- MILLIS_IN_SECONDS -
Static variable in class org.apache.logging.log4j.core.helpers.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.helpers.FileUtils
- Asserts that the given directory exists and creates it if necessary.
- monitor -
Variable in class org.apache.logging.log4j.core.config.BaseConfiguration
- 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 interface org.apache.logging.log4j.core.jmx.ContextSelectorAdminMBean
- Object name of this MBean.
- NAME -
Static variable in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Object name of this MBean.
- 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.helpers
-
- NDCPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Returns the event's NDC in a StringBuffer.
- NetUtils - Class in org.apache.logging.log4j.core.helpers
-
- 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(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.
- 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.
- newSwingWorker() -
Method in class org.apache.logging.log4j.core.jmx.ClientGUIJConsolePlugin
-
- 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.
- 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
- 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.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
- Trigger 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.helpers
- 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.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.helper - package org.apache.logging.log4j.core.appender.rolling.helper
- 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.plugins - package org.apache.logging.log4j.core.config.plugins
- Configuration of Log4j 2.0 via Plugins.
- org.apache.logging.log4j.core.filter - package org.apache.logging.log4j.core.filter
- Log4j 2.0 Filter support.
- org.apache.logging.log4j.core.helpers - package org.apache.logging.log4j.core.helpers
- Log4j 2.0 helper classes.
- org.apache.logging.log4j.core.impl - package org.apache.logging.log4j.core.impl
- Log4j 2.0 private implementation classes.
- 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.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.
- OutputStreamManager - Class in org.apache.logging.log4j.core.appender
- Manage 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) -
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) -
Method in class org.apache.logging.log4j.core.pattern.PatternParser
-
- parse(String, List<PatternConverter>, List<FormattingInfo>) -
Method in class org.apache.logging.log4j.core.pattern.PatternParser
- Parse a format specifier.
- PATTERN -
Static variable in interface org.apache.logging.log4j.core.jmx.AppenderAdminMBean
- ObjectName pattern for AppenderAdmin MBeans.
- PATTERN -
Static variable in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- ObjectName pattern for LoggerConfigAdmin MBeans.
- PATTERN -
Static variable in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- ObjectName pattern for LoggerContextAdmin MBeans.
- 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.
- 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.
- Plugin - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Annotation that identifies a Class as a Plugin.
- PluginAttr - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a Plugin Attribute.
- PluginConfiguration - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a parameter as a Configuration.
- PluginElement - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a parameter as an element.
- PluginFactory - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a Method as the factory to create the plugin.
- PluginManager - Class in org.apache.logging.log4j.core.config.plugins
- Loads and manages all the plugins.
- PluginManager(String) -
Constructor for class org.apache.logging.log4j.core.config.plugins.PluginManager
- Constructor that takes only a type name.
- PluginManager(String, Class<?>) -
Constructor for class org.apache.logging.log4j.core.config.plugins.PluginManager
- Constructor that takes a type name and a Class.
- PluginManager.PluginTest - Class in org.apache.logging.log4j.core.config.plugins
- 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.PluginManager.PluginTest
- Constructs an AnnotatedWith test for the specified annotation type.
- PluginNode - Annotation Type in org.apache.logging.log4j.core.config.plugins
-
- PluginType<T> - Class in org.apache.logging.log4j.core.config.plugins
- Plugin Descriptor.
- PluginType(Class<T>, String, boolean, boolean) -
Constructor for class org.apache.logging.log4j.core.config.plugins.PluginType
-
- PluginValue - Annotation Type in org.apache.logging.log4j.core.config.plugins
- Identifies a parameter as a value.
- port -
Variable in class org.apache.logging.log4j.core.net.AbstractSocketManager
- The port on the host.
- 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.
- PropertiesPlugin - Class in org.apache.logging.log4j.core.config.plugins
- 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.async.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.
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
- Reconfigurable - Interface in org.apache.logging.log4j.core.config
- Interface to be implemented by Configurations that can be reconfigured at runtime.
- reconfigure() -
Method in class org.apache.logging.log4j.core.config.JSONConfiguration
-
- reconfigure() -
Method in interface org.apache.logging.log4j.core.config.Reconfigurable
-
- reconfigure() -
Method in class org.apache.logging.log4j.core.config.XMLConfiguration
-
- reconfigure() -
Method in class org.apache.logging.log4j.core.LoggerContext
- Reconfigure the context.
- 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.
- registerMBeans(ContextSelector) -
Static method in class org.apache.logging.log4j.core.jmx.Server
- Creates MBeans to instrument the specified selector and other classes in
the log4j class hierarchy and registers the MBeans in the platform MBean
server so they can be accessed by remote clients.
- registerMBeans(ContextSelector, MBeanServer) -
Static method in class org.apache.logging.log4j.core.jmx.Server
- Creates MBeans to instrument the specified selector and other classes in
the log4j class hierarchy and registers the MBeans in the specified MBean
server so they can be accessed by remote clients.
- 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.OutputStreamManager
- Default hook to write footer during close.
- releaseSub() -
Method in class org.apache.logging.log4j.core.net.JMSQueueManager
-
- releaseSub() -
Method in class org.apache.logging.log4j.core.net.JMSTopicManager
-
- removeAll() -
Method in class org.apache.logging.log4j.core.helpers.CyclicBuffer
- Removes all the elements from the buffer and returns them.
- removeAppender(String) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Remove an Appender.
- removeAppender(String) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Removes the Appender with the specific name.
- removeAppender(Appender<?>) -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is used primarily for unit testing.
- removeConfigurationFactory(ConfigurationFactory) -
Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Remove the ConfigurationFactory.
- removeContext(LoggerContext) -
Method in class org.apache.logging.log4j.core.selector.BasicContextSelector
-
- removeContext(LoggerContext) -
Method in class org.apache.logging.log4j.core.selector.ClassLoaderContextSelector
-
- removeContext(LoggerContext) -
Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- removeContext(String) -
Method in class org.apache.logging.log4j.core.selector.JNDIContextSelector
-
- removeContext(String) -
Method in interface org.apache.logging.log4j.core.selector.NamedContextSelector
- Locate the LoggerContext with the specified name using the default configuration.
- removeFilter(Filter) -
Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
- Remove a Filter.
- removeFilter(Filter) -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- removeFilter(Filter) -
Method in interface org.apache.logging.log4j.core.filter.Filterable
- Removes a Filter.
- removeFilter(Filter) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Removes a Filter from the current Configuration.
- removeListener(ConfigurationListener) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Remove a ConfigurationListener.
- removeListener(ConfigurationListener) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- removeLogger(String) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Removing a logger cannot be done atomically so is not allowed in an active configuration.
- removePropertyChangeListener(PropertyChangeListener) -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- replace(Object, Map<String, String>) -
Static method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables in the given source object with
their matching values from the map.
- replace(Object, Map<String, String>, String, String) -
Static method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables in the given source object with
their matching values from the map.
- replace(Object, Properties) -
Static method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables in the given source object with their matching
values from the properties.
- replace(String) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(LogEvent, String) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(String, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(LogEvent, String, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source string as a template.
- replace(char[]) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(LogEvent, char[]) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(char[], int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(LogEvent, char[], int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source array as a template.
- replace(StringBuffer) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(LogEvent, StringBuffer) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(StringBuffer, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(LogEvent, StringBuffer, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source buffer as a template.
- replace(StringBuilder) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(LogEvent, StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables with their matching values
from the resolver using the given source builder as a template.
- replace(Object) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables in the given source object with
their matching values from the resolver.
- replace(LogEvent, Object) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables in the given source object with
their matching values from the resolver.
- replaceIn(StringBuffer) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source buffer
with their matching values from the resolver.
- replaceIn(StringBuffer, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source buffer
with their matching values from the resolver.
- replaceIn(LogEvent, StringBuffer, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source buffer
with their matching values from the resolver.
- replaceIn(StringBuilder) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceIn(LogEvent, StringBuilder) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceIn(StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceIn(LogEvent, StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Replaces all the occurrences of variables within the given source
builder with their matching values from the resolver.
- replaceManager(OutputStreamManager) -
Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
- reportException(Exception) -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.AbstractAction
- Capture exception.
- reportException(Exception) -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.GZCompressAction
- Capture exception.
- reportException(Exception) -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.ZipCompressAction
- Capture exception.
- resetConfigurationFactory() -
Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Reset the ConfigurationFactory to the default.
- ResolverUtil - Class in org.apache.logging.log4j.core.config.plugins
- ResolverUtil is used to locate classes that are available in the/a class path and meet
arbitrary conditions.
- ResolverUtil() -
Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil
-
- ResolverUtil.AnnotatedWith - Class in org.apache.logging.log4j.core.config.plugins
- A Test that checks to see if each class is annotated with a specific annotation.
- ResolverUtil.AnnotatedWith(Class<? extends Annotation>) -
Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.AnnotatedWith
- Constructs an AnnotatedWith test for the specified annotation type.
- ResolverUtil.ClassTest - Class in org.apache.logging.log4j.core.config.plugins
- Test against a Class.
- ResolverUtil.ClassTest() -
Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.ClassTest
-
- ResolverUtil.IsA - Class in org.apache.logging.log4j.core.config.plugins
- A Test that checks to see if each class is assignable to the provided class.
- ResolverUtil.IsA(Class<?>) -
Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.IsA
- Constructs an IsA test using the supplied Class as the parent class/interface.
- ResolverUtil.NameEndsWith - Class in org.apache.logging.log4j.core.config.plugins
- A Test that checks to see if each class name ends with the provided suffix.
- ResolverUtil.NameEndsWith(String) -
Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.NameEndsWith
- Constructs a NameEndsWith test using the supplied suffix.
- ResolverUtil.NameIs - Class in org.apache.logging.log4j.core.config.plugins
- A Test that checks to see if the class name matches.
- ResolverUtil.NameIs(String) -
Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.NameIs
-
- ResolverUtil.ResourceTest - Class in org.apache.logging.log4j.core.config.plugins
- Test against a resource.
- ResolverUtil.ResourceTest() -
Constructor for class org.apache.logging.log4j.core.config.plugins.ResolverUtil.ResourceTest
-
- ResolverUtil.Test - Interface in org.apache.logging.log4j.core.config.plugins
- A simple interface that specifies how to test classes to determine if they
are to be included in the results produced by the ResolverUtil.
- resolveVariable(LogEvent, String, StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Internal method that resolves the value of a variable.
- 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.
- RFC5424Layout - Class in org.apache.logging.log4j.core.layout
- Formats a log event in accordance with RFC 5424.
- 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) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.RollingFileManager
-
- rollover(RollingFileManager) -
Method in class org.apache.logging.log4j.core.appender.rolling.DefaultRolloverStrategy
- Perform the rollover.
- rollover(RollingFileManager) -
Method in interface org.apache.logging.log4j.core.appender.rolling.RolloverStrategy
- Prepare for a rollover.
- RolloverDescription - Interface in org.apache.logging.log4j.core.appender.rolling
- Description of actions needed to complete rollover.
- RolloverDescriptionImpl - Class in org.apache.logging.log4j.core.appender.rolling
- Description of actions needed to complete rollover.
- RolloverDescriptionImpl(String, boolean, Action, Action) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.RolloverDescriptionImpl
- Create new instance.
- RolloverFrequency - Enum in org.apache.logging.log4j.core.appender.rolling
- Enumeration of rollover frequency values.
- RolloverStrategy - Interface in org.apache.logging.log4j.core.appender.rolling
- A
RollingPolicy
specifies the actions taken on a logging file rollover. - rootNode -
Variable in class org.apache.logging.log4j.core.config.BaseConfiguration
- The root node of the configuration.
- RootThrowablePatternConverter - Class in org.apache.logging.log4j.core.pattern
- Outputs the Throwable portion of the LoggingEvent as a full stacktrace
unless this converter's option is 'short', where it just outputs the first line of the trace, or if
the number of lines to print is explicitly specified.
- Route - Class in org.apache.logging.log4j.core.appender.routing
- A Route to an appender.
- Routes - Class in org.apache.logging.log4j.core.appender.routing
- Used to contain the individual Route elements.
- RoutingAppender - Class in org.apache.logging.log4j.core.appender.routing
- This Appender "routes" between various Appenders, some of which can be references to
Appenders defined earlier in the configuration while others can be dynamically created
within this Appender as required.
- run() -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.AbstractAction
-
- run() -
Method in class org.apache.logging.log4j.core.appender.rolling.helper.CompositeAction
-
- run() -
Method in class org.apache.logging.log4j.core.net.SocketServer
- Accept incoming events and processes them.
S
- SecretKeyProvider - Interface in org.apache.logging.log4j.core.helpers
-
- send(Serializable) -
Method in class org.apache.logging.log4j.core.net.AbstractJMSManager
- Send the message.
- send(Serializable, Session, MessageProducer) -
Method in class org.apache.logging.log4j.core.net.AbstractJMSManager
- Send the Object.
- send(Serializable) -
Method in class org.apache.logging.log4j.core.net.JMSQueueManager
-
- send(Serializable) -
Method in class org.apache.logging.log4j.core.net.JMSTopicManager
-
- sendEvents(Layout<?>, LogEvent) -
Method in class org.apache.logging.log4j.core.net.SMTPManager
- Send the contents of the cyclic buffer as an e-mail message.
- sendMultipartMessage(MimeMessage, MimeMultipart) -
Method in class org.apache.logging.log4j.core.net.SMTPManager
-
- SequenceNumberPatternConverter - Class in org.apache.logging.log4j.core.pattern
- Formats the event sequence number.
- serialize(Log4jLogEvent, boolean) -
Static method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- SerializedLayout - Class in org.apache.logging.log4j.core.layout
- Format a LogEvent in its serialized form.
- Server - Class in org.apache.logging.log4j.core.jmx
- Creates MBeans to instrument various classes in the log4j class hierarchy.
- Server() -
Constructor for class org.apache.logging.log4j.core.jmx.Server
-
- setAdditive(boolean) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Sets the additive setting.
- setAdditive(boolean) -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- setAdditive(boolean) -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Sets whether the instrumented
LoggerConfig
should be additive.
- setAdditive(boolean) -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is present only to support the Log4j 1.2
compatibility bridge.
- setAdvertiser(Advertiser) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- setAdvertiser(Advertiser) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- setClassLoader(ClassLoader) -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil
- Sets an explicit ClassLoader that should be used when scanning for classes.
- setConfigLocation(URI) -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- setConfigLocationURI(String) -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- setConfigLocationURI(String) -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Sets the configuration location to the specified URI.
- setConfigText(String, String) -
Method in class org.apache.logging.log4j.core.jmx.LoggerContextAdmin
-
- setConfigText(String, String) -
Method in interface org.apache.logging.log4j.core.jmx.LoggerContextAdminMBean
- Sets the configuration text.
- setConfiguration(Configuration) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Set the Configuration to be used.
- setConfigurationFactory(ConfigurationFactory) -
Static method in class org.apache.logging.log4j.core.config.ConfigurationFactory
- Set the configuration factory.
- setConfigurationMonitor(ConfigurationMonitor) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- setConfigurationMonitor(ConfigurationMonitor) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- setConversionPattern(String) -
Method in class org.apache.logging.log4j.core.layout.PatternLayout
- Set the ConversionPattern option.
- setEnableSubstitutionInVariables(boolean) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets a flag whether substitution is done in variable names.
- setEndOfBatch(boolean) -
Method in class org.apache.logging.log4j.core.appender.FastFileManager
-
- setEndOfBatch(boolean) -
Method in class org.apache.logging.log4j.core.appender.rolling.FastRollingFileManager
-
- setEndOfBatch(boolean) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- setEndOfBatch(boolean) -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- setEndOfBatch(boolean) -
Method in interface org.apache.logging.log4j.core.LogEvent
- Sets whether this event is the last one in a batch.
- setEscapeChar(char) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the escape character.
- setExternalContext(Object) -
Method in class org.apache.logging.log4j.core.LoggerContext
- Set the external context.
- setFile(File) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- setFooter(byte[]) -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- Set the footer to write when the stream is closed.
- setFooter(byte[]) -
Method in class org.apache.logging.log4j.core.layout.AbstractLayout
- Set the footer.
- setFrom(String) -
Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- setHandler(ErrorHandler) -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- The handler must be set before the appender is started.
- setHandler(ErrorHandler) -
Method in interface org.apache.logging.log4j.core.Appender
-
- setHeader(byte[]) -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
- Set the header to write when the stream is opened.
- setHeader(byte[]) -
Method in class org.apache.logging.log4j.core.layout.AbstractLayout
- Set the header.
- setIncludeLocation(boolean) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- setIncludeLocation(boolean) -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- setIncludeLocation(boolean) -
Method in interface org.apache.logging.log4j.core.LogEvent
- Sets whether the source of the logging request is required downstream.
- setInputStream(InputStream) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- setLevel(Level) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Sets the logging Level.
- setLevel(String) -
Method in class org.apache.logging.log4j.core.jmx.LoggerConfigAdmin
-
- setLevel(String) -
Method in interface org.apache.logging.log4j.core.jmx.LoggerConfigAdminMBean
- Sets the
LoggerConfig
level to the specified value.
- setLevel(String) -
Method in class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
-
- setLevel(String) -
Method in interface org.apache.logging.log4j.core.jmx.StatusLoggerAdminMBean
- Sets the
StatusLogger
level to the specified value.
- setLevel(Level) -
Method in class org.apache.logging.log4j.core.Logger
- This method is not exposed through the public API and is provided primarily for unit testing.
- setLocation(String) -
Method in class org.apache.logging.log4j.core.config.ConfigurationFactory.ConfigurationSource
-
- setLogEventFactory(LogEventFactory) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Sets the LogEventFactory.
- setLoggerAdditive(Logger, boolean) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Marks a LoggerConfig as additive.
- setLoggerAdditive(Logger, boolean) -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- setName(String) -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Set the name of the configuration.
- setObject(Object) -
Method in class org.apache.logging.log4j.core.config.Node
-
- setOutputStream(OutputStream) -
Method in class org.apache.logging.log4j.core.appender.OutputStreamManager
-
- setParent(LoggerConfig) -
Method in class org.apache.logging.log4j.core.config.LoggerConfig
- Sets the parent of this LoggerConfig.
- 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
-
- setStackTrace(StackTraceElement[]) -
Method in class org.apache.logging.log4j.core.impl.ThrowableProxy
-
- setSubject(String) -
Method in class org.apache.logging.log4j.core.net.MimeMessageBuilder
-
- setup() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
-
- setup() -
Method in class org.apache.logging.log4j.core.config.JSONConfiguration
-
- setup() -
Method in class org.apache.logging.log4j.core.config.XMLConfiguration
-
- setValue(String) -
Method in class org.apache.logging.log4j.core.config.Node
-
- setValues(AsyncLogger, String, Marker, String, Level, Message, Throwable, Map<String, String>, ThreadContext.ContextStack, String, StackTraceElement, long) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEvent
-
- setValues(AsyncLogger, String, Marker, String, Level, Message, Throwable, Map<String, String>, ThreadContext.ContextStack, String, StackTraceElement, long) -
Method in class org.apache.logging.log4j.core.async.RingBufferLogEventTranslator
-
- setVariablePrefix(char) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable prefix to use.
- setVariablePrefix(String) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable prefix to use.
- setVariablePrefixMatcher(StrMatcher) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable prefix matcher currently in use.
- setVariableResolver(StrLookup) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the VariableResolver that is used to lookup variables.
- setVariableSuffix(char) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable suffix to use.
- setVariableSuffix(String) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable suffix to use.
- setVariableSuffixMatcher(StrMatcher) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Sets the variable suffix matcher currently in use.
- Severity - Enum in org.apache.logging.log4j.core.net
- Severity values used by the Syslog system.
- shutdown(LoggerContext) -
Static method in class org.apache.logging.log4j.core.config.Configurator
- Shuts down the given logging context.
- shutdown() -
Method in class org.apache.logging.log4j.core.net.SocketServer
- Shutdown the server.
- SIMPLE_CONVERSION_PATTERN -
Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
- A simple pattern.
- singleQuoteMatcher() -
Static method in class org.apache.logging.log4j.core.lookup.StrMatcher
- Returns a matcher which matches the single quote character.
- size() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- SizeBasedTriggeringPolicy - Class in org.apache.logging.log4j.core.appender.rolling
-
- SizeBasedTriggeringPolicy() -
Constructor for class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- Constructs a new instance.
- SizeBasedTriggeringPolicy(long) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.SizeBasedTriggeringPolicy
- Constructs a new instance.
- SMTPAppender - Class in org.apache.logging.log4j.core.appender
- Send an e-mail when a specific logging event occurs, typically on errors or
fatal errors.
- SMTPManager - Class in org.apache.logging.log4j.core.net
- Manager for sending SMTP events.
- SMTPManager(String, Session, MimeMessage, SMTPManager.FactoryData) -
Constructor for class org.apache.logging.log4j.core.net.SMTPManager
-
- SocketAppender - Class in org.apache.logging.log4j.core.appender
- An Appender that delivers events over socket connections.
- SocketAppender(String, Layout, Filter, AbstractSocketManager, boolean, boolean, Advertiser) -
Constructor for class org.apache.logging.log4j.core.appender.SocketAppender
-
- SocketServer - Class in org.apache.logging.log4j.core.net
- Listens for events over a socket connection.
- SocketServer(int) -
Constructor for class org.apache.logging.log4j.core.net.SocketServer
- Constructor.
- 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.
- StackTracePackageElement - Class in org.apache.logging.log4j.core.impl
- Package data for a StackTraceElement.
- StackTracePackageElement(String, String, boolean) -
Constructor for class org.apache.logging.log4j.core.impl.StackTracePackageElement
- Constructor that takes the location, version, and exact match flag.
- start() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Start the Appender.
- start() -
Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
- start() -
Method in class org.apache.logging.log4j.core.appender.AsynchAppender
-
- start() -
Method in class org.apache.logging.log4j.core.appender.FailoverAppender
-
- start() -
Method in class org.apache.logging.log4j.core.appender.rewrite.RewriteAppender
-
- start() -
Method in class org.apache.logging.log4j.core.appender.routing.RoutingAppender
-
- start() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Initialize the configuration.
- start() -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- start() -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Mark the Filter as started.
- start() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- start() -
Method in interface org.apache.logging.log4j.core.LifeCycle
-
- start() -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- startFilter() -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
- startFilter() -
Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
- Make the Filter available for use.
- StatusLoggerAdmin - Class in org.apache.logging.log4j.core.jmx
- Implementation of the
StatusLoggerAdminMBean
interface. - StatusLoggerAdmin(Executor) -
Constructor for class org.apache.logging.log4j.core.jmx.StatusLoggerAdmin
- Constructs a new
StatusLoggerAdmin
with the Executor
to
be used for sending Notification
s asynchronously to listeners.
- StatusLoggerAdminMBean - Interface in org.apache.logging.log4j.core.jmx
- The MBean interface for monitoring and managing the
StatusLogger
. - stop() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
- Stop the Appender.
- stop() -
Method in class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.AsynchAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.FastFileAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.FastRollingFileAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.FileAppender
-
- 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.routing.RoutingAppender
-
- stop() -
Method in class org.apache.logging.log4j.core.appender.SocketAppender
-
- stop() -
Static method in class org.apache.logging.log4j.core.async.AsyncLogger
-
- stop() -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerContext
-
- stop() -
Method in class org.apache.logging.log4j.core.config.BaseConfiguration
- Tear down the configuration.
- stop() -
Method in interface org.apache.logging.log4j.core.config.Configuration
-
- stop() -
Method in class org.apache.logging.log4j.core.filter.AbstractFilter
- Mark the Filter as stopped.
- stop() -
Method in class org.apache.logging.log4j.core.filter.CompositeFilter
-
- stop() -
Method in interface org.apache.logging.log4j.core.LifeCycle
-
- stop() -
Method in class org.apache.logging.log4j.core.LoggerContext
-
- stopFilter() -
Method in class org.apache.logging.log4j.core.async.AsyncLoggerConfig
-
- stopFilter() -
Method in class org.apache.logging.log4j.core.filter.AbstractFilterable
- Cleanup the Filter.
- 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(StrLookup) -
Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Creates a new instance and initializes it.
- StrSubstitutor(StrLookup, String, String, char) -
Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Creates a new instance and initializes it.
- StrSubstitutor(StrLookup, StrMatcher, StrMatcher, char) -
Constructor for class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Creates a new instance and initializes it.
- StructuredDataFilter - Class in org.apache.logging.log4j.core.filter
- Filter based on data in a StructuredDataMessage.
- StructuredDataLookup - Class in org.apache.logging.log4j.core.lookup
- Looks up keys from system properties.
- StructuredDataLookup() -
Constructor for class org.apache.logging.log4j.core.lookup.StructuredDataLookup
-
- StyleConverter - Class in org.apache.logging.log4j.core.pattern
- Style pattern converter.
- substitute(LogEvent, StringBuilder, int, int) -
Method in class org.apache.logging.log4j.core.lookup.StrSubstitutor
- Internal method that substitutes the variables.
- substVars(String, Properties) -
Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
- Perform variable substitution in string
val
from the
values of keys found in the system propeties.
- SUFFIXES -
Static variable in class org.apache.logging.log4j.core.config.JSONConfigurationFactory
- The file extensions supported by this factory.
- SUFFIXES -
Static variable in class org.apache.logging.log4j.core.config.XMLConfigurationFactory
- Valid file extensions for XML files.
- SyslogAppender - Class in org.apache.logging.log4j.core.appender
- The Syslog Appender.
- SyslogAppender(String, Layout, Filter, boolean, boolean, AbstractSocketManager, Advertiser) -
Constructor for class org.apache.logging.log4j.core.appender.SyslogAppender
-
- 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.async
- Implementation of the
Clock
interface that returns the system time. - SystemClock() -
Constructor for class org.apache.logging.log4j.core.async.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) -
Constructor for class org.apache.logging.log4j.core.net.TCPSocketManager
- The 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.
- ThrowableFormatOptions - Class in org.apache.logging.log4j.core.impl
- Contains options which control how a
throwable
pattern is formatted. - ThrowableFormatOptions(Integer, 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
- Construct the wrapper for the Throwable that includes packaging data.
- 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.
- toBoolean(String, boolean) -
Static method in class org.apache.logging.log4j.core.helpers.OptionConverter
- If
value
is "true", then true
is
returned.
- toByteArray(InputStream) -
Method in class org.apache.logging.log4j.core.config.JSONConfiguration
-
- 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.helpers.OptionConverter
-
- toInt(String, int) -
Static method in class org.apache.logging.log4j.core.helpers.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.
- toSerializable(LogEvent) -
Method in class org.apache.logging.log4j.core.layout.XMLLayout
- Formats a
LogEvent
in conformance with the log4j.dtd.
- toString() -
Method in class org.apache.logging.log4j.core.appender.AbstractAppender
-
- 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.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.config.LoggerConfig
-
- toString() -
Method in class org.apache.logging.log4j.core.config.Node
-
- toString() -
Method in class org.apache.logging.log4j.core.config.plugins.PluginManager.PluginTest
-
- toString() -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.AnnotatedWith
-
- toString() -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.IsA
-
- toString() -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.NameEndsWith
-
- toString() -
Method in class org.apache.logging.log4j.core.config.plugins.ResolverUtil.NameIs
-
- toString() -
Method in class org.apache.logging.log4j.core.config.Property
-
- 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.helpers.KeyValuePair
-
- toString() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
-
- toString() -
Method in class org.apache.logging.log4j.core.impl.StackTracePackageElement
-
- 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.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.RegexReplacement
-
- Transform - Class in org.apache.logging.log4j.core.helpers
- 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.
- TTCC_CONVERSION_PATTERN -
Static variable in class org.apache.logging.log4j.core.layout.PatternLayout
- A conversion pattern equivalent to the TTCCCLayout.
U
- 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
- 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.
- UUID_SEQUENCE -
Static variable in class org.apache.logging.log4j.core.helpers.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.helpers
- Generates a unique id.
V
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.appender.CompressionType
- Returns the enum constant of this type with the specified name.
- 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.Filter.Result
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.logging.log4j.core.LoggerContext.Status
- 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.CompressionType
- Returns an array containing the constants of this enum type, in
the order they are declared.
- values() -
Static method in enum org.apache.logging.log4j.core.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.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.LoggerContext.Status
- 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.
W
- write(byte[], int, int) -
Method in class org.apache.logging.log4j.core.appender.FastFileManager
-
- 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.rolling.FastRollingFileManager
-
- 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.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
-
- 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
-
- writeReplace() -
Method in class org.apache.logging.log4j.core.impl.Log4jLogEvent
- Creates a LogEventProxy that can be serialized.
X
- XMLConfiguration - Class in org.apache.logging.log4j.core.config
- Creates a Node hierarchy from an XML file.
- XMLConfiguration(ConfigurationFactory.ConfigurationSource) -
Constructor for class org.apache.logging.log4j.core.config.XMLConfiguration
-
- XMLConfigurationFactory - Class in org.apache.logging.log4j.core.config
- Factory to construct an XMLConfiguration.
- XMLConfigurationFactory() -
Constructor for class org.apache.logging.log4j.core.config.XMLConfigurationFactory
-
- XMLLayout - Class in org.apache.logging.log4j.core.layout
- The output of the XMLLayout consists of a series of log4j:event
elements as defined in the log4j.dtd.
- XMLLayout(boolean, boolean, boolean, Charset) -
Constructor for class org.apache.logging.log4j.core.layout.XMLLayout
-
Z
- ZipCompressAction - Class in org.apache.logging.log4j.core.appender.rolling.helper
- Compresses a file using Zip compression.
- ZipCompressAction(File, File, boolean) -
Constructor for class org.apache.logging.log4j.core.appender.rolling.helper.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 Z
Copyright © 1999-2013 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.