Log4j 1.3alpha-7
A B C D E F G H I J K L M N O P R S T U V W X Z

A

ABSOLUTE_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
 
ABSOLUTE_TIME_PATTERN - Static variable in interface org.apache.log4j.helpers.Constants
 
ABS_TIME_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Deprecated. String constant used to specify the Absolute time and date format.
ACCEPT - Static variable in class org.apache.log4j.spi.Filter
The log event must be logged immediately without consulting with the remaining filters, if any, in the chain.
ACTION_CLASS_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 
ACTION_CLASS_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
ADDITIVITY_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
ALL - Static variable in class org.apache.log4j.Level
The ALL has the lowest possible rank and is intended to turn on all logging.
ALL_INT - Static variable in class org.apache.log4j.Level
ALL level integer value.
APPENDER_BAG - Static variable in class org.apache.log4j.joran.action.ActionConst
 
APPENDER_TAG - Static variable in class org.apache.log4j.joran.action.ActionConst
 
APPLICATION_KEY - Static variable in interface org.apache.log4j.helpers.Constants
 
AS_COLLECTION - Static variable in class org.apache.log4j.config.PropertySetter
 
AS_PROPERTY - Static variable in class org.apache.log4j.config.PropertySetter
 
AbsoluteTimeDateFormat - class org.apache.log4j.helpers.AbsoluteTimeDateFormat.
Deprecated. use java.text.SimpleDateFormat to perform date conversion or use org.apache.log4j.helpers.CachedDateFormat to optimize high-frequency date formatting.
AbsoluteTimeDateFormat() - Constructor for class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Deprecated. Create a new instance of AbsoluteTimeDateFormat.
AbsoluteTimeDateFormat(TimeZone) - Constructor for class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Deprecated. Create a new instance of AbsoluteTimeDateFormat.
AbstractRule - class org.apache.log4j.rule.AbstractRule.
An abstract Rule class that provides the PropertyChange support plumbing.
AbstractRule() - Constructor for class org.apache.log4j.rule.AbstractRule
 
Action - class org.apache.log4j.joran.action.Action.
Most of the work for configuring log4j is done by Actions.
Action() - Constructor for class org.apache.log4j.joran.action.Action
 
Action - interface org.apache.log4j.rolling.helper.Action.
The Action interface should be implemented by any class that performs file system actions for RollingFileAppenders after the close of the active log file.
ActionBase - class org.apache.log4j.rolling.helper.ActionBase.
Abstract base class for implementations of Action.
ActionBase() - Constructor for class org.apache.log4j.rolling.helper.ActionBase
Constructor.
ActionConst - class org.apache.log4j.joran.action.ActionConst.
This class contains costants used by other Actions.
ActionConst() - Constructor for class org.apache.log4j.joran.action.ActionConst
 
AddressBased - interface org.apache.log4j.net.AddressBased.
Net based entities that 'work with' an Address should consider implementing this interface so that they can be treated generically.
AndFilter - class org.apache.log4j.filter.AndFilter.
A filter that 'and's the results of any number of contained filters together.
AndFilter() - Constructor for class org.apache.log4j.filter.AndFilter
 
AndRule - class org.apache.log4j.rule.AndRule.
A Rule class implementing a logical 'and'.
Appender - interface org.apache.log4j.Appender.
Implement this interface for your own strategies for outputting log statements.
AppenderAction - class org.apache.log4j.joran.action.AppenderAction.
 
AppenderAction() - Constructor for class org.apache.log4j.joran.action.AppenderAction
 
AppenderAttachable - interface org.apache.log4j.spi.AppenderAttachable.
Interface for attaching appenders to objects.
AppenderAttachableImpl - class org.apache.log4j.helpers.AppenderAttachableImpl.
A straightforward implementation of the AppenderAttachable interface.
AppenderAttachableImpl() - Constructor for class org.apache.log4j.helpers.AppenderAttachableImpl
 
AppenderRefAction - class org.apache.log4j.joran.action.AppenderRefAction.
 
AppenderRefAction() - Constructor for class org.apache.log4j.joran.action.AppenderRefAction
 
AppenderSkeleton - class org.apache.log4j.AppenderSkeleton.
Abstract superclass of the other appenders in the package.
AppenderSkeleton() - Constructor for class org.apache.log4j.AppenderSkeleton
Deprecated. Provided for compatibility, migrate to AppenderSkeleton(boolean) to indicate whether appender is ready upon construction.
AppenderSkeleton(boolean) - Constructor for class org.apache.log4j.AppenderSkeleton
Construct an AppenderSkeleton.
AsyncAppender - class org.apache.log4j.AsyncAppender.
The AsyncAppender lets users log events asynchronously.
AsyncAppender() - Constructor for class org.apache.log4j.AsyncAppender
 
AttributesRenderer - class org.apache.log4j.or.sax.AttributesRenderer.
Render org.xml.sax.Attributes objects.
AttributesRenderer() - Constructor for class org.apache.log4j.or.sax.AttributesRenderer
 
abbreviate(int, StringBuffer) - Method in class org.apache.log4j.pattern.NameAbbreviator
Abbreviates a name in a StringBuffer.
abbreviate(int, StringBuffer) - Method in class org.apache.log4j.pattern.NamePatternConverter
Abbreviate name in string buffer.
activateOptions() - Method in class org.apache.log4j.AppenderSkeleton
Called to configure appender for use after configuration.
activateOptions() - Method in class org.apache.log4j.ConsoleAppender
Prepares the appender for use.
activateOptions() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Prepares DailyRollingFileAppender for use.
activateOptions() - Method in class org.apache.log4j.FileAppender
If the value of File is not null, then FileAppender.setFile(java.lang.String) is called with the values of File and Append properties.
activateOptions() - Method in class org.apache.log4j.PatternLayout
Activates the conversion pattern.
activateOptions() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Prepares RollingFileAppender for use.
activateOptions() - Method in class org.apache.log4j.SimpleLayout
 
activateOptions() - Method in class org.apache.log4j.TTCCLayout
Deprecated.  
activateOptions() - Method in class org.apache.log4j.WriterAppender
Checks that requires parameters are set and if everything is in order, activates this appender.
activateOptions() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
activateOptions() - Method in class org.apache.log4j.db.DBAppender
 
activateOptions() - Method in class org.apache.log4j.db.DBReceiver
 
activateOptions() - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
activateOptions() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
 
activateOptions() - Method in class org.apache.log4j.db.JNDIConnectionSource
 
activateOptions() - Method in class org.apache.log4j.filter.AndFilter
 
activateOptions() - Method in class org.apache.log4j.filter.ExpressionFilter
 
activateOptions() - Method in class org.apache.log4j.filter.LocationInfoFilter
 
activateOptions() - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
activateOptions() - Method in class org.apache.log4j.net.JMSAppender
Options are activated and become effective only after calling this method.
activateOptions() - Method in class org.apache.log4j.net.JMSReceiver
Starts the JMSReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.net.MulticastAppender
Open the multicast sender for the RemoteHost and Port.
activateOptions() - Method in class org.apache.log4j.net.MulticastReceiver
 
activateOptions() - Method in class org.apache.log4j.net.SMTPAppender
Activate the specified options, such as the smtp host, the recipient, from, etc.
activateOptions() - Method in class org.apache.log4j.net.SocketAppender
Connect to the specified RemoteHost and Port.
activateOptions() - Method in class org.apache.log4j.net.SocketHubAppender
Set up the socket server on the specified port.
activateOptions() - Method in class org.apache.log4j.net.SocketHubReceiver
Starts the SocketReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.net.SocketReceiver
Starts the SocketReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.net.SyslogAppender
This method returns immediately as options are activated when they are set.
activateOptions() - Method in class org.apache.log4j.net.TelnetAppender
all of the options have been set, create the socket handler and wait for connections.
activateOptions() - Method in class org.apache.log4j.net.UDPAppender
Open the UDP sender for the RemoteHost and Port.
activateOptions() - Method in class org.apache.log4j.net.UDPReceiver
Returns true if this receiver is active.
activateOptions() - Method in class org.apache.log4j.net.XMLSocketReceiver
Starts the SocketReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
Activate the options that were previously set with calls to option setters.

This allows to defer activiation of the options until all options have been set. This is required for components which have related options that remain ambigous until all are set.

For example, the FileAppender has the File and Append options both of which are ambigous until the other is also set.

activateOptions() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Activate the options that were previously set with calls to option setters.

This allows to defer activiation of the options until all options have been set. This is required for components which have related options that remain ambigous until all are set.

For example, the FileAppender has the File and Append options both of which are ambigous until the other is also set.

activateOptions() - Method in class org.apache.log4j.rolling.RollingFileAppender
Prepare instance of use.
activateOptions() - Method in class org.apache.log4j.rolling.RollingPolicyBase
Activate the options that were previously set with calls to option setters.

This allows to defer activiation of the options until all options have been set. This is required for components which have related options that remain ambigous until all are set.

For example, the FileAppender has the File and Append options both of which are ambigous until the other is also set.

activateOptions() - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Prepares policy for use.
activateOptions() - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
Prepares instance of use.
activateOptions() - Method in class org.apache.log4j.spi.Filter
Usually filters options become active when set.
activateOptions() - Method in interface org.apache.log4j.spi.OptionHandler
Activate the options that were previously set with calls to option setters.
activateOptions() - Method in class org.apache.log4j.varia.ExternallyRolledFileAppender
Deprecated. Start listening on the port specified by a preceding call to ExternallyRolledFileAppender.setPort(int).
activateOptions() - Method in class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
activateOptions() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Read and process the log file.
activateOptions() - Method in class org.apache.log4j.varia.SoundAppender
Attempt to initialize the appender by creating a reference to an AudioClip.
activateOptions() - Method in class org.apache.log4j.xml.XMLLayout
No options to activate.
active - Variable in class org.apache.log4j.AppenderSkeleton
Is the appender ready for action.
active - Variable in class org.apache.log4j.net.SocketHubReceiver
 
active - Variable in class org.apache.log4j.net.XMLSocketReceiver
 
active - Variable in class org.apache.log4j.plugins.PluginSkeleton
 
activeFileName - Variable in class org.apache.log4j.rolling.RollingPolicyBase
Active file name may be null.
add(LoggingEvent) - Method in class org.apache.log4j.helpers.CyclicBuffer
Add an event as the last event in the buffer.
addAppender(Appender) - Method in class org.apache.log4j.AsyncAppender
 
addAppender(Appender) - Method in class org.apache.log4j.Category
Add newAppender to the list of appenders of this Category instance.
addAppender(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Attach an appender.
addAppender(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
Add an appender.
addAppenderEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
 
addComponent(String, Object) - Method in class org.apache.log4j.config.PropertySetter
 
addError(ErrorItem) - Method in class org.apache.log4j.config.ConfiguratorBase
 
addErrorItem(ErrorItem) - Method in class org.apache.log4j.Hierarchy
Add an error item to the list of previously encountered errors.
addErrorItem(ErrorItem) - Method in interface org.apache.log4j.spi.LoggerRepository
Errors which cannot be logged, go to the error list
addFilter(Filter) - Method in interface org.apache.log4j.Appender
Add a filter to the end of the filter list.
addFilter(Filter) - Method in class org.apache.log4j.AppenderSkeleton
Add a filter to end of the filter list.
addFilter(Filter) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Add a filter to the end of the filter list.
addFilter(Filter) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Add a filter to the end of the filter list.
addFilter(Filter) - Method in class org.apache.log4j.filter.AndFilter
 
addFilter(Filter) - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
Add a filter to end of the filter list.
addLoggerEventListener(LoggerEventListener) - Method in class org.apache.log4j.Hierarchy
Add a LoggerEventListener to the repository.
addLoggerEventListener(LoggerEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
Add a LoggerEventListener to the repository.
addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in class org.apache.log4j.Hierarchy
Add a LoggerRepositoryEventListener to the repository.
addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
Add a LoggerRepositoryEventListener to the repository.
addPlugin(Plugin) - Method in class org.apache.log4j.plugins.PluginRegistry
Adds a plugin to the plugin registry.
addPluginListener(PluginListener) - Method in class org.apache.log4j.plugins.PluginRegistry
Adds a PluginListener to this registry to be notified of PluginEvents
addPropertyChangeListener(String, PropertyChangeListener) - Method in interface org.apache.log4j.plugins.Plugin
Adds a PropertyChangeListener to this instance which is notified only by changes of the property with name propertyName
addPropertyChangeListener(PropertyChangeListener) - Method in interface org.apache.log4j.plugins.Plugin
Adds a PropertyChangeListener that will be notified of all property changes.
addPropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
addPropertyChangeListener(String, PropertyChangeListener) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
addPropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.rule.AbstractRule
 
addPropertyChangeListener(PropertyChangeListener) - Method in interface org.apache.log4j.rule.Rule
Adds a PropertyChangeListener to this instance, which is notified when underlying Rule information has changed.
addRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.Hierarchy
Add an object renderer for a specific class.
addRenderer(String, String) - Method in class org.apache.log4j.or.RendererMap
Add a renderer to the current logger repository
addRenderer(RendererSupport, String, String) - Static method in class org.apache.log4j.or.RendererMap
Deprecated. As of release 1.3, replaced by RendererMap.addRenderer(String,String). Left here only to provide binary compatibility with 1.2.xx and will be removed in a future release.
addSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketHubReceiver
Adds a SocketNodeEventListener to this receiver to be notified of SocketNode events
addSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketNode
Adds the listener to the list of listeners to be notified of the respective event
addSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketReceiver
Adds the listener to the list of listeners to be notified of the respective event
additive - Variable in class org.apache.log4j.Category
Additivity is set to true by default, that is children inherit the appenders of their ancestors by default.
append(LoggingEvent) - Method in class org.apache.log4j.AppenderSkeleton
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
append(LoggingEvent) - Method in class org.apache.log4j.AsyncAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
This method is called by the AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent) method.
append(LoggingEvent) - Method in class org.apache.log4j.db.DBAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.net.JMSAppender
This method called by AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent) method to do most of the real appending work.
append(LoggingEvent) - Method in class org.apache.log4j.net.MulticastAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.net.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.
append(LoggingEvent) - Method in class org.apache.log4j.net.SocketAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.net.SocketHubAppender
Append an event to all of current connections.
append(LoggingEvent) - Method in class org.apache.log4j.net.SyslogAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.net.TelnetAppender
Handles a log event.
append(LoggingEvent) - Method in class org.apache.log4j.net.UDPAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.varia.ListAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.varia.ListModelAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.varia.NullAppender
Does not do anything.
append(LoggingEvent) - Method in class org.apache.log4j.varia.SoundAppender
Play the sound if an event is being processed
appendEscapingCDATA(Writer, String) - Static method in class org.apache.log4j.helpers.Transform
Ensures that embeded CDEnd strings (]]>) are handled properly within message, NDC and throwable tag text.
appendLoopOnAppenders(LoggingEvent) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Call the doAppend method on all attached appenders.
appenderAddedEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.LoggerEventListener
Called when an appender is added to the logger.
appenderList - Variable in class org.apache.log4j.helpers.AppenderAttachableImpl
Array of appenders.
appenderNames - Variable in class org.apache.log4j.config.PropertyPrinter
 
appenderRemovedEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.LoggerEventListener
Called when an appender is removed from the logger.
applyFields(String, LoggingEvent) - Method in class org.apache.log4j.spi.LoggingEventFieldResolver
 
assertLog(boolean, String) - Method in class org.apache.log4j.Category
If assertion parameter is false, then logs msg as an error statement.
attachListAppender(LoggerRepository) - Method in class org.apache.log4j.config.ConfiguratorBase
Attach a list appender which will be used to collect the logging events generated by log4j components, including this JoranConfigurator.
attachTemporaryConsoleAppender(LoggerRepository) - Static method in class org.apache.log4j.config.ConfiguratorBase
 

B

BasicConfigurator - class org.apache.log4j.BasicConfigurator.
Use this class to quickly configure the package.
BasicConfigurator() - Constructor for class org.apache.log4j.BasicConfigurator
 
BoundedFIFO - class org.apache.log4j.helpers.BoundedFIFO.
BoundedFIFO serves as the bounded first-in-first-out buffer heavily used by the AsyncAppender.
BoundedFIFO(int) - Constructor for class org.apache.log4j.helpers.BoundedFIFO
Instantiate a new BoundedFIFO with a maximum size passed as argument.
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.Action
Called when the parser first encounters an element.
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.AppenderAction
Instantiates an appender of the given class and sets its name.
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.AppenderRefAction
 
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.ConfigurationAction
 
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.ConversionRuleAction
Instantiates an layout of the given class and sets its name.
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.JndiSubstitutionPropertyAction
 
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.LayoutAction
Instantiates an layout of the given class and sets its name.
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.LevelAction
 
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.LoggerAction
 
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.NestComponentIA
 
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.NewRuleAction
Instantiates an layout of the given class and sets its name.
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.ParamAction
 
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.PluginAction
Instantiates an plugin of the given class and sets its name.
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.PriorityAction
 
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.PropertyAction
Set a new property for the execution context by name, value pair, or adds all the properties found in the given file.
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.RootLoggerAction
 
buf - Variable in class org.apache.log4j.TTCCLayout
Deprecated.  
bufferSize - Variable in class org.apache.log4j.FileAppender
The size of the IO buffer.
bufferedIO - Variable in class org.apache.log4j.FileAppender
Do we do bufferedIO?

C

CLASS_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 
CLASS_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
CODES_HREF - Static variable in interface org.apache.log4j.helpers.Constants
 
CONFIG - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
CONFIGURATOR_CLASS_KEY - Static variable in interface org.apache.log4j.helpers.Constants
 
CONFIG_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
CONVERSION_WORD_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
CONVERTER_CLASS_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
CORE_DEBUG_KEY - Static variable in class org.apache.log4j.helpers.LogLog
Defining this value makes log4j print log4j-internal debug statements to System.out.
Category - class org.apache.log4j.Category.
This class has been deprecated and replaced by the Loggersubclass.
Category(String) - Constructor for class org.apache.log4j.Category
This constructor created a new Category instance and sets its name.
ClassNamePatternConverter - class org.apache.log4j.pattern.ClassNamePatternConverter.
Formats the class name of the site of the logging request.
ColorRule - class org.apache.log4j.rule.ColorRule.
A Rule class which also holds a color
ColorRule(String, Rule, Color, Color) - Constructor for class org.apache.log4j.rule.ColorRule
 
Component - interface org.apache.log4j.spi.Component.
A common interface shared by log4j components.
ComponentBase - class org.apache.log4j.spi.ComponentBase.
Most log4j components derive from this class.
ComponentBase() - Constructor for class org.apache.log4j.spi.ComponentBase
 
CompositeAction - class org.apache.log4j.rolling.helper.CompositeAction.
A group of Actions to be executed in sequence.
CompositeAction(List, boolean, ULogger) - Constructor for class org.apache.log4j.rolling.helper.CompositeAction
Construct a new composite action.
ConfigWatchdog - interface org.apache.log4j.config.ConfigWatchdog.
Defines the basic interface that all ConfigWatchdogs must support.
ConfigurationAction - class org.apache.log4j.joran.action.ConfigurationAction.
 
ConfigurationAction() - Constructor for class org.apache.log4j.joran.action.ConfigurationAction
 
Configurator - interface org.apache.log4j.spi.Configurator.
Implemented by classes capable of configuring log4j using a URL.
ConfiguratorBase - class org.apache.log4j.config.ConfiguratorBase.
Code useful to most configurators.
ConfiguratorBase() - Constructor for class org.apache.log4j.config.ConfiguratorBase
 
ConnectionSource - interface org.apache.log4j.db.ConnectionSource.
The ConnectionSource interface provides a pluggable means of transparently obtaining JDBC Connections for log4j classes that require the use of a Connection.
ConnectionSourceSkeleton - class org.apache.log4j.db.ConnectionSourceSkeleton.
 
ConnectionSourceSkeleton() - Constructor for class org.apache.log4j.db.ConnectionSourceSkeleton
 
ConsoleAppender - class org.apache.log4j.ConsoleAppender.
ConsoleAppender appends log events to System.out or System.err using a layout specified by the user.
ConsoleAppender() - Constructor for class org.apache.log4j.ConsoleAppender
Constructs an unconfigured appender.
ConsoleAppender(Layout) - Constructor for class org.apache.log4j.ConsoleAppender
Creates a configured appender.
ConsoleAppender(Layout, String) - Constructor for class org.apache.log4j.ConsoleAppender
Creates a configured appender.
Constants - interface org.apache.log4j.helpers.Constants.
Constants used internally throughout log4j.
ContextJNDISelector - class org.apache.log4j.selector.ContextJNDISelector.
Log4j JNDI based Repository selector based primarily on Ceki Gülcü's article Supporting the Log4j RepositorySelector in Servlet Containers at: http://qos.ch/logging/sc.html By default, the class static RepositorySelector variable of the LogManager class is set to a trivial RepositorySelector implementation which always returns the same logger repository. a.k.a.
ContextJNDISelector() - Constructor for class org.apache.log4j.selector.ContextJNDISelector
public no-args constructor
ConversionRuleAction - class org.apache.log4j.joran.action.ConversionRuleAction.
 
ConversionRuleAction() - Constructor for class org.apache.log4j.joran.action.ConversionRuleAction
 
CustomSQLDBReceiver - class org.apache.log4j.db.CustomSQLDBReceiver.
Converts log data stored in a database into LoggingEvents.
CustomSQLDBReceiver() - Constructor for class org.apache.log4j.db.CustomSQLDBReceiver
 
CyclicBuffer - class org.apache.log4j.helpers.CyclicBuffer.
CyclicBuffer is used by other appenders to hold LoggingEvents for immediate or differed display.
CyclicBuffer(int) - Constructor for class org.apache.log4j.helpers.CyclicBuffer
Instantiate a new CyclicBuffer of at most maxSize events.
callAppenders(LoggingEvent) - Method in class org.apache.log4j.Category
Call the appenders in the hierrachy starting at this.
canContainComponent(String) - Method in class org.apache.log4j.config.PropertySetter
 
capitalize(String) - Static method in class org.apache.log4j.config.PropertyPrinter
 
cb - Variable in class org.apache.log4j.net.SMTPAppender
 
charArrayWriter - Variable in class org.apache.log4j.Layout
 
checkAndConfigure() - Method in class org.apache.log4j.helpers.FileWatchdog
 
checkEntryConditions() - Method in class org.apache.log4j.WriterAppender
This method determines if there is a sense in attempting to append.
checkEntryConditions() - Method in class org.apache.log4j.net.SMTPAppender
This method determines if there is a sense in attempting to append.
childValue(Object) - Method in class org.apache.log4j.helpers.ThreadLocalMap
 
cleanUp() - Method in class org.apache.log4j.net.MulticastAppender
Close the Socket and release the underlying connector thread if it has been created
cleanUp() - Method in class org.apache.log4j.net.SocketAppender
Drop the connection to the remote host and release the underlying connector thread if it has been created
cleanUp() - Method in class org.apache.log4j.net.SocketHubAppender
Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers.
cleanUp() - Method in class org.apache.log4j.net.UDPAppender
Close the UDP Socket and release the underlying connector thread if it has been created
clear() - Method in class org.apache.log4j.Hierarchy
This call will clear all logger definitions from the internal hashtable.
clear() - Static method in class org.apache.log4j.MDC
Clear all entries in the MDC.
clear() - Static method in class org.apache.log4j.NDC
Clear any nested diagnostic information if any.
clear() - Method in class org.apache.log4j.or.RendererMap
 
clearFilters() - Method in interface org.apache.log4j.Appender
Clear the list of filters by removing all the filters in it.
clearFilters() - Method in class org.apache.log4j.AppenderSkeleton
Clear the filters chain.
clearFilters() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Clear the list of filters by removing all the filters in it.
clearFilters() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Clear the list of filters by removing all the filters in it.
clearFilters() - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
Clear the filters chain.
clearList() - Method in class org.apache.log4j.varia.ListAppender
Removes all the Events from the model
clearModel() - Method in class org.apache.log4j.varia.ListModelAppender
Removes all the Events from the model
clearRegistry() - Method in class org.apache.log4j.PropertyConfigurator
Clears the registry so that we don't hold references to Appender objects, which would prevent their garbage collection.
cloneStack() - Static method in class org.apache.log4j.NDC
Clone the diagnostic context for the current thread.
close() - Method in interface org.apache.log4j.Appender
Release any resources allocated within the appender such as file handles, network connections, etc.
close() - Method in class org.apache.log4j.AsyncAppender
Close this AsyncAppender by interrupting the dispatcher thread which will process all pending events before exiting.
close() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Release any resources allocated within the appender such as file handles, network connections, etc.
close() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Release any resources allocated within the appender such as file handles, network connections, etc.
close() - Method in class org.apache.log4j.WriterAppender
Close this appender instance.
close() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
close() - Method in class org.apache.log4j.db.DBAppender
 
close() - Method in class org.apache.log4j.helpers.SyslogWriter
 
close() - Method in class org.apache.log4j.net.JMSAppender
Close this JMSAppender.
close() - Method in class org.apache.log4j.net.MulticastAppender
Close this appender.
close() - Method in class org.apache.log4j.net.SMTPAppender
 
close() - Method in class org.apache.log4j.net.SocketAppender
Close this appender.
close() - Method in class org.apache.log4j.net.SocketHubAppender
Close this appender.
close() - Method in class org.apache.log4j.net.SyslogAppender
Release any resources held by this SyslogAppender.
close() - Method in class org.apache.log4j.net.TelnetAppender
shuts down the appender.
close() - Method in class org.apache.log4j.net.UDPAppender
Close this appender.
close() - Method in class org.apache.log4j.rolling.RollingFileAppender
Close appender.
close() - Method in interface org.apache.log4j.rolling.helper.Action
Cancels the action if not already initialized or waits till completion.
close() - Method in class org.apache.log4j.rolling.helper.ActionBase
Cancels the action if not already initialized or waits till completion.
close() - Method in class org.apache.log4j.varia.ExternallyRolledFileAppender
Deprecated. Close this appender instance.
close() - Method in class org.apache.log4j.varia.ListAppender
 
close() - Method in class org.apache.log4j.varia.ListModelAppender
 
close() - Method in class org.apache.log4j.varia.NullAppender
 
close() - Method in class org.apache.log4j.varia.SoundAppender
 
closeConnection(Connection) - Static method in class org.apache.log4j.db.DBHelper
 
closeFile() - Method in class org.apache.log4j.FileAppender
Deprecated. Use the super class' WriterAppender.closeWriter() method instead.
closeStatement(Statement) - Static method in class org.apache.log4j.db.DBHelper
 
closeWriter() - Method in class org.apache.log4j.ConsoleAppender
Close the underlying Writer.
closeWriter() - Method in class org.apache.log4j.WriterAppender
Close the underlying Writer.
closed - Variable in class org.apache.log4j.AppenderSkeleton
Is this appender closed?
computeReferenceMask(LoggingEvent) - Static method in class org.apache.log4j.db.DBHelper
 
concatanateArrays(String[], String[]) - Static method in class org.apache.log4j.helpers.OptionConverter
 
configurationChangedEvent(LoggerRepository) - Method in interface org.apache.log4j.spi.LoggerRepositoryEventListener
Called when the repository configuration is changed.
configurationResetEvent(LoggerRepository) - Method in interface org.apache.log4j.spi.LoggerRepositoryEventListener
Called when the repository configuration is reset.
configure() - Static method in class org.apache.log4j.BasicConfigurator
Add a ConsoleAppender that uses PatternLayout using the PatternLayout.TTCC_CONVERSION_PATTERN and prints to System.out to the root category.
configure(Appender) - Static method in class org.apache.log4j.BasicConfigurator
Add appender to the root category.
configure(String) - Static method in class org.apache.log4j.PropertyConfigurator
 
configure(URL) - Static method in class org.apache.log4j.PropertyConfigurator
Read configuration options from url configURL.
configure(Properties) - Static method in class org.apache.log4j.PropertyConfigurator
Read configuration options from properties.
configure(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
Deprecated.  
configure(URL) - Static method in class org.apache.log4j.xml.DOMConfigurator
Deprecated.  
configure(Element) - Static method in class org.apache.log4j.xml.DOMConfigurator
Deprecated. Configure log4j using a configuration element.
configureLoggerFactory(Properties, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Check the provided Properties object for a LoggerFactory entry specified by PropertyConfigurator.LOGGER_FACTORY_KEY.
connection - Variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
connector - Variable in class org.apache.log4j.net.SocketHubReceiver
 
convert(String) - Method in class org.apache.log4j.rule.InFixToPostFix
 
convertArg(String, Class) - Method in class org.apache.log4j.config.PropertySetter
Convert val a String parameter to an object of a given type.
convertSpecialChars(String) - Static method in class org.apache.log4j.helpers.OptionConverter
 
createWriter(OutputStream) - Method in class org.apache.log4j.WriterAppender
Returns an OutputStreamWriter when passed an OutputStream.
createWriter(OutputStream) - Method in class org.apache.log4j.rolling.RollingFileAppender
Returns an OutputStreamWriter when passed an OutputStream.

D

DATE_AND_TIME_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Deprecated. String constant used to specify the "Date and Time" date format.
DATE_AND_TIME_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
 
DATE_AND_TIME_PATTERN - Static variable in interface org.apache.log4j.helpers.Constants
 
DBAppender - class org.apache.log4j.db.DBAppender.
The DBAppender inserts loggin events into three database tables in a format independent of the Java programming language.
DBAppender() - Constructor for class org.apache.log4j.db.DBAppender
 
DBHelper - class org.apache.log4j.db.DBHelper.
 
DBHelper() - Constructor for class org.apache.log4j.db.DBHelper
 
DBReceiver - class org.apache.log4j.db.DBReceiver.
 
DBReceiver() - Constructor for class org.apache.log4j.db.DBReceiver
 
DEBUG - Static variable in class org.apache.log4j.Level
The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
DEBUG_INT - Static variable in class org.apache.log4j.Level
DEBUG level integer value.
DEBUG_KEY - Static variable in class org.apache.log4j.config.ConfiguratorBase
Defining this value makes log4j print log4j-internal debug statements.
DEFAULT_BUFFER_SIZE - Static variable in class org.apache.log4j.AsyncAppender
The default buffer size is set to 128 events.
DEFAULT_CONFIGURATION_FILE - Static variable in interface org.apache.log4j.helpers.Constants
 
DEFAULT_CONFIGURATION_KEY - Static variable in interface org.apache.log4j.helpers.Constants
 
DEFAULT_CONVERSION_PATTERN - Static variable in class org.apache.log4j.PatternLayout
Default pattern string for log output.
DEFAULT_DELAY - Static variable in class org.apache.log4j.helpers.FileWatchdog
The default delay between every file modification check, set to 60 seconds.
DEFAULT_PORT - Static variable in class org.apache.log4j.net.SocketAppender
The default port number of remote logging server (4560).
DEFAULT_PORT - Static variable in class org.apache.log4j.net.SocketHubAppender
The default port number of the ServerSocket will be created on.
DEFAULT_PORT - Static variable in class org.apache.log4j.net.UDPAppender
The default port number for the UDP packets. (9991).
DEFAULT_PORT - Static variable in class org.apache.log4j.net.XMLSocketReceiver
 
DEFAULT_REPOSITORY_NAME - Static variable in interface org.apache.log4j.helpers.Constants
The name of the default repository is "default" (without the quotes).
DEFAULT_XML_CONFIGURATION_FILE - Static variable in interface org.apache.log4j.helpers.Constants
 
DENY - Static variable in class org.apache.log4j.spi.Filter
The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain.
DOMConfigurator - class org.apache.log4j.xml.DOMConfigurator.
Deprecated. Replaced by the much more flexible JoranConfigurator.
DOMConfigurator() - Constructor for class org.apache.log4j.xml.DOMConfigurator
Deprecated.  
DailyRollingFileAppender - class org.apache.log4j.DailyRollingFileAppender.
Deprecated. Replaced by RollingFileAppender
DailyRollingFileAppender() - Constructor for class org.apache.log4j.DailyRollingFileAppender
Deprecated. The default constructor simply calls its parents constructor.
DailyRollingFileAppender(Layout, String, String) - Constructor for class org.apache.log4j.DailyRollingFileAppender
Deprecated. Instantiate a DailyRollingFileAppender and open the file designated by filename.
DataSourceConnectionSource - class org.apache.log4j.db.DataSourceConnectionSource.
The DataSourceConnectionSource is an implementation of ConnectionSource that obtains the Connection in the recommended JDBC manner based on a DataSource.
DataSourceConnectionSource() - Constructor for class org.apache.log4j.db.DataSourceConnectionSource
 
DatePatternConverter - class org.apache.log4j.pattern.DatePatternConverter.
Convert and format the event's date in a StringBuffer.
Decoder - interface org.apache.log4j.spi.Decoder.
Allow LoggingEvents to be reconstructed from a different format (usually XML).
DefaultRepositorySelector - class org.apache.log4j.spi.DefaultRepositorySelector.
 
DefaultRepositorySelector(LoggerRepository) - Constructor for class org.apache.log4j.spi.DefaultRepositorySelector
 
DenyAllFilter - class org.apache.log4j.filter.DenyAllFilter.
This filter drops all logging events.
DenyAllFilter() - Constructor for class org.apache.log4j.filter.DenyAllFilter
 
DenyAllFilter - class org.apache.log4j.varia.DenyAllFilter.
Deprecated. Replaced by org.apache.log4j.filters.DenyAllFilter.
DenyAllFilter() - Constructor for class org.apache.log4j.varia.DenyAllFilter
Deprecated.  
DriverManagerConnectionSource - class org.apache.log4j.db.DriverManagerConnectionSource.
The DriverManagerConnectionSource is an implementation of ConnectionSource that obtains the Connection in the traditional JDBC manner based on the connection URL.
DriverManagerConnectionSource() - Constructor for class org.apache.log4j.db.DriverManagerConnectionSource
 
debug(Object) - Method in class org.apache.log4j.Category
Log a message object with the DEBUG level.
debug(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the DEBUG level including the stack trace of the Throwablet passed as parameter.
debug(Object, Object) - Method in class org.apache.log4j.Category
Log a message with the DEBUG level with message formatting done according to the value of messagePattern and arg parameters.
debug(String, Object, Object) - Method in class org.apache.log4j.Category
Log a message with the DEBUG level with message formatting done according to the messagePattern and the arguments arg1 and arg2.
debug(Object) - Method in interface org.apache.log4j.ULogger
Log a message object with the DEBUG level.
debug(Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the DEBUG level.
debug(String, Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the DEBUG level.
debug(Object, Throwable) - Method in interface org.apache.log4j.ULogger
 
debug(String) - Static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal debug statements.
debug(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal debug statements.
debug(Object) - Method in class org.apache.log4j.spi.NOPULogger
 
debug(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
debug(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
debug(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
 
debug(Object) - Method in class org.apache.log4j.spi.SimpleULogger
A NOP implementation.
debug(Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
A NOP implementation.
debug(String, Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
A NOP implementation.
debug(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
A NOP implementation.
debugEnabled - Static variable in class org.apache.log4j.helpers.LogLog
 
decide(LoggingEvent) - Method in class org.apache.log4j.filter.AndFilter
If this event does not already contain location information, evaluate the event against the expression.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.DenyAllFilter
Always returns the integer constant Filter.DENY regardless of the LoggingEvent parameter.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.ExpressionFilter
Returns Filter.NEUTRAL is there is no string match.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.LevelMatchFilter
Return the decision of this filter.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.LevelRangeFilter
Return the decision of this filter.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.LocationInfoFilter
If this event does not already contain location information, evaluate the event against the expression.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.MapFilter
NOTE: This filter modifies logging events by adding properties to the event.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.PropertyFilter
 
decide(LoggingEvent) - Method in class org.apache.log4j.filter.ReflectionFilter
NOTE: This filter modifies logging events by adding properties to the event.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.StringMatchFilter
Returns Filter.NEUTRAL is there is no string match.
decide(LoggingEvent) - Method in class org.apache.log4j.spi.Filter
If the decision is DENY, then the event will be dropped.
decode(String) - Method in interface org.apache.log4j.spi.Decoder
 
decode(URL) - Method in interface org.apache.log4j.spi.Decoder
 
decode(URL) - Method in class org.apache.log4j.xml.UtilLoggingXMLDecoder
Decodes a File into a Vector of LoggingEvents
decode(String) - Method in class org.apache.log4j.xml.UtilLoggingXMLDecoder
Converts the string data into an XML Document, and then soaks out the relevant bits to form a new LoggingEvent instance which can be used by any Log4j element locally.
decode(URL) - Method in class org.apache.log4j.xml.XMLDecoder
Decodes a File into a Vector of LoggingEvents
decode(String) - Method in class org.apache.log4j.xml.XMLDecoder
Converts the string data into an XML Document, and then soaks out the relevant bits to form a new LoggingEvent instance which can be used by any Log4j element locally.
decodeEvents(String) - Method in interface org.apache.log4j.spi.Decoder
 
decodeEvents(String) - Method in class org.apache.log4j.xml.UtilLoggingXMLDecoder
Decodes a String representing a number of events into a Vector of LoggingEvents
decodeEvents(String) - Method in class org.apache.log4j.xml.XMLDecoder
 
decoder - Variable in class org.apache.log4j.net.XMLSocketReceiver
 
defaultLoggerRepository - Static variable in class org.apache.log4j.LogManager
The default LoggerRepository instance created by LogManager.
delay - Variable in class org.apache.log4j.helpers.FileWatchdog
The delay to observe between every check.
detachListAppender(LoggerRepository) - Method in class org.apache.log4j.config.ConfiguratorBase
Output the previously collected events using the current log4j configuration.
detachRepository(String) - Method in class org.apache.log4j.selector.ContextJNDISelector
Remove the repository with the given name from the list of known repositories.
detachRepository(String) - Method in class org.apache.log4j.spi.DefaultRepositorySelector
Does nothing, always returns null.
detachRepository(String) - Method in interface org.apache.log4j.spi.RepositorySelector
Remove the repository with the given name from the list maintained by the respository selector.
detachTemporaryConsoleAppender(LoggerRepository, List) - Static method in class org.apache.log4j.config.ConfiguratorBase
 
discoverConnnectionProperties() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Learn relevant information about this connection source.
discoverSQLDialect(DatabaseMetaData) - Static method in class org.apache.log4j.db.dialect.Util
 
doAppend(LoggingEvent) - Method in interface org.apache.log4j.Appender
Log in Appender specific way.
doAppend(LoggingEvent) - Method in class org.apache.log4j.AppenderSkeleton
This method performs threshold checks and invokes filters before delegating actual logging to the subclasses specific AppenderSkeleton.append(org.apache.log4j.spi.LoggingEvent) method.
doAppend(LoggingEvent) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Log in Appender specific way.
doAppend(LoggingEvent) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Log in Appender specific way.
doAppend(LoggingEvent) - Method in class org.apache.log4j.varia.NullAppender
Does not do anything.
doCapitalize - Variable in class org.apache.log4j.config.PropertyPrinter
 
doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Read configuration from a file.
doConfigure(Properties, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Read configuration options from properties.
doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Read configuration options from url configURL.
doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Read configuration options from input stream configStream.
doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.joran.JoranConfigurator
 
doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.joran.JoranConfigurator
 
doConfigure(File, LoggerRepository) - Method in class org.apache.log4j.joran.JoranConfigurator
 
doConfigure(InputSource, LoggerRepository) - Method in class org.apache.log4j.joran.JoranConfigurator
 
doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.joran.JoranConfigurator
 
doConfigure(JoranConfigurator.ParseAction, LoggerRepository) - Method in class org.apache.log4j.joran.JoranConfigurator
 
doConfigure(URL, LoggerRepository) - Method in interface org.apache.log4j.spi.Configurator
Interpret a resource pointed by a URL and set up log4j accordingly.
doConfigure(InputStream, LoggerRepository) - Method in interface org.apache.log4j.spi.Configurator
Use an InputStream as a source for configuration and set up log4j accordingly.
doConfigure(Element, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
Deprecated. Configure by taking in an DOM element.
doOnChange() - Method in class org.apache.log4j.helpers.FileWatchdog
 
doPost(LoggingEvent) - Method in class org.apache.log4j.net.SocketReceiver
 
doPost(LoggingEvent) - Method in class org.apache.log4j.net.XMLSocketReceiver
 
doPost(LoggingEvent) - Method in class org.apache.log4j.plugins.Receiver
Posts the logging event to a logger in the configured logger repository.
doRender(Object) - Method in interface org.apache.log4j.or.ObjectRenderer
Render the object passed as parameter as a String.
doRender(Object) - Method in class org.apache.log4j.or.ThreadGroupRenderer
Render a ThreadGroup object similar to the way that the ThreadGroup.list() method output information.
doRender(Object) - Method in class org.apache.log4j.or.jms.MessageRenderer
Render a Message.
doRender(Object) - Method in class org.apache.log4j.or.sax.AttributesRenderer
Render a Attributes.
dump() - Method in class org.apache.log4j.spi.ErrorItem
Dump the details of this ErrorItem to System.out.
dump(PrintStream) - Method in class org.apache.log4j.spi.ErrorItem
Dump the details of this ErrorItem on the specified PrintStream.
dumpErrors() - Method in class org.apache.log4j.config.ConfiguratorBase
Dump any errors on System.out.

E

EMPTY_STRING - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
ERROR - Static variable in class org.apache.log4j.Level
The ERROR level designates error events that might still allow the application to continue running.
ERROR_INT - Static variable in class org.apache.log4j.Level
ERROR level integer value.
EXCEPTION_EXISTS - Static variable in class org.apache.log4j.db.DBHelper
 
EXCEPTION_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
EqualsRule - class org.apache.log4j.rule.EqualsRule.
A Rule class which returns the result of performing equals against two strings.
ErrorHandler - interface org.apache.log4j.spi.ErrorHandler.
Deprecated. As of 1.3
ErrorItem - class org.apache.log4j.spi.ErrorItem.
Used to store special log4j errors which cannot be logged using internal logging.
ErrorItem(String, Exception) - Constructor for class org.apache.log4j.spi.ErrorItem
 
ErrorItem(String) - Constructor for class org.apache.log4j.spi.ErrorItem
 
ExistsRule - class org.apache.log4j.rule.ExistsRule.
A Rule class implementing a not null (and not empty string) check.
ExpressionFilter - class org.apache.log4j.filter.ExpressionFilter.
A filter supporting complex expressions - supports both infix and postfix expressions (infix expressions must first be converted to postfix prior to processing).
ExpressionFilter() - Constructor for class org.apache.log4j.filter.ExpressionFilter
 
ExpressionRule - class org.apache.log4j.rule.ExpressionRule.
A Rule class supporting both infix and postfix expressions, accepting any rule which is supported by the RuleFactory.
ExternallyRolledFileAppender - class org.apache.log4j.varia.ExternallyRolledFileAppender.
Deprecated. version 1.3
ExternallyRolledFileAppender() - Constructor for class org.apache.log4j.varia.ExternallyRolledFileAppender
Deprecated. The default constructor does nothing but calls its super-class constructor.
emitNoAppenderWarning(Logger) - Method in class org.apache.log4j.Hierarchy
 
emitNoAppenderWarning(Logger) - Method in interface org.apache.log4j.spi.LoggerRepository
 
encoding - Variable in class org.apache.log4j.WriterAppender
The encoding to use when opening an InputStream.
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.Action
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.AppenderAction
Once the children elements are also parsed, now is the time to activate the appender options.
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.AppenderRefAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.ConfigurationAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.ConversionRuleAction
Once the children elements are also parsed, now is the time to activate the appender options.
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.JndiSubstitutionPropertyAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.LayoutAction
Once the children elements are also parsed, now is the time to activate the appender options.
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.LevelAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.LoggerAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.NestComponentIA
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.NewRuleAction
Once the children elements are also parsed, now is the time to activate the appender options.
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.ParamAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.PluginAction
Once the children elements are also parsed, now is the time to activate the plugin options.
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.PropertyAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.RootLoggerAction
 
equals(Object) - Method in class org.apache.log4j.Level
Two Levels (formerly Priorities) are equal if their level integer value fields are equal.
equals(Object) - Method in class org.apache.log4j.spi.LoggingEvent
Two events are considerd equal if they refer to the same instance, or if both their timestamps and sequence numbers match.
equals(Object) - Method in class org.apache.log4j.spi.ThrowableInformation
 
error(Object) - Method in class org.apache.log4j.Category
Log a message object with the ERROR Level.
error(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the ERROR level including the stack trace of the Throwablet passed as parameter.
error(Object, Object) - Method in class org.apache.log4j.Category
Log a message with the ERROR level with message formatting done according to the value of messagePattern and arg parameters.
error(String, Object, Object) - Method in class org.apache.log4j.Category
Log a message with the ERROR level with message formatting done according to the messagePattern and the arguments arg1 and arg2.
error(Object) - Method in interface org.apache.log4j.ULogger
 
error(Object, Object) - Method in interface org.apache.log4j.ULogger
 
error(String, Object, Object) - Method in interface org.apache.log4j.ULogger
 
error(Object, Throwable) - Method in interface org.apache.log4j.ULogger
 
error(String) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. Use Logger instead.
error(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. Use Logger instead.
error(String, Exception, int) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
error(String, Exception, int, LoggingEvent) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
error(String) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
error(String, Exception, int) - Method in interface org.apache.log4j.spi.ErrorHandler
Deprecated.  
error(String) - Method in interface org.apache.log4j.spi.ErrorHandler
Deprecated.  
error(String, Exception, int, LoggingEvent) - Method in interface org.apache.log4j.spi.ErrorHandler
Deprecated.  
error(Object) - Method in class org.apache.log4j.spi.NOPULogger
 
error(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
error(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
error(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
 
error(Object) - Method in class org.apache.log4j.spi.SimpleULogger
A simple implementation which always logs messages of level ERROR acoording to the format outlined above.
error(Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Perform single parameter substitution before logging the message of level ERROR according to the format outlined above.
error(String, Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Perform double parameter substitution before logging the message of level ERROR according to the format outlined above.
error(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message of level ERROR, including an exception.
error(String, Exception, int) - Method in class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
error(String, Exception, int, LoggingEvent) - Method in class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
error(String) - Method in class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
error(SAXParseException) - Method in class org.apache.log4j.xml.SAXErrorHandler
 
error(SAXParseException) - Method in class org.apache.log4j.xml.examples.ReportParserError
 
errorList - Variable in class org.apache.log4j.PropertyConfigurator
 
escapeTags(String, Writer) - Static method in class org.apache.log4j.helpers.Transform
This method takes a string which may contain HTML tags (ie, <b>, <table>, etc) and replaces any '<' and '>' characters with respective predefined entity references.
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.AndRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.ColorRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.EqualsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.ExistsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.ExpressionRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.InequalityRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.LevelEqualsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.LikeRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.NotEqualsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.NotRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.OrRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.PartialTextMatchRule
 
evaluate(LoggingEvent) - Method in interface org.apache.log4j.rule.Rule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.TimestampEqualsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.TimestampInequalityRule
 
evaluator - Variable in class org.apache.log4j.net.SMTPAppender
 
execute() - Method in interface org.apache.log4j.rolling.helper.Action
Perform an action.
execute() - Method in class org.apache.log4j.rolling.helper.ActionBase
Perform action.
execute() - Method in class org.apache.log4j.rolling.helper.CompositeAction
Execute sequence of actions.
execute() - Method in class org.apache.log4j.rolling.helper.FileRenameAction
Rename file.
execute(File, File, boolean) - Static method in class org.apache.log4j.rolling.helper.FileRenameAction
Rename file.
execute() - Method in class org.apache.log4j.rolling.helper.GZCompressAction
Compress.
execute(File, File, boolean, ULogger) - Static method in class org.apache.log4j.rolling.helper.GZCompressAction
Compress a file.
execute() - Method in class org.apache.log4j.rolling.helper.ZipCompressAction
Compress.
execute(File, File, boolean, ULogger) - Static method in class org.apache.log4j.rolling.helper.ZipCompressAction
Compress a file.
exists(String) - Static method in class org.apache.log4j.Category
Deprecated. Please use LogManager.exists(java.lang.String) instead.
exists(String) - Method in class org.apache.log4j.Hierarchy
Check if the named logger exists in the hierarchy.
exists(String) - Static method in class org.apache.log4j.LogManager
 
exists(String) - Method in interface org.apache.log4j.spi.LoggerRepository
 
extractDefaultReplacement(String) - Static method in class org.apache.log4j.helpers.OptionConverter
 
extractStringRep(Throwable, VectorWriter) - Method in class org.apache.log4j.spi.ThrowableInformation
 

F

FACILITY_OI - Static variable in class org.apache.log4j.net.SyslogAppender
 
FATAL - Static variable in class org.apache.log4j.Level
The FATAL level designates very severe error events that will presumably lead the application to abort.
FATAL_INT - Static variable in class org.apache.log4j.Level
FATAL level integer value.
FILE_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 
FILE_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
FILTER_CHAIN_BAG - Static variable in class org.apache.log4j.joran.action.ActionConst
 
FINE - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
FINER - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
FINER_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
FINEST - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
FINEST_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
FINE_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
FallbackErrorHandler - class org.apache.log4j.varia.FallbackErrorHandler.
Deprecated. As of 1.3
FallbackErrorHandler() - Constructor for class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
FileAppender - class org.apache.log4j.FileAppender.
FileAppender appends log events to a file.
FileAppender() - Constructor for class org.apache.log4j.FileAppender
The default constructor does not do anything.
FileAppender(Layout, String, boolean, boolean, int) - Constructor for class org.apache.log4j.FileAppender
Instantiate a FileAppender and open the file designated by filename.
FileAppender(Layout, String, boolean) - Constructor for class org.apache.log4j.FileAppender
Instantiate a FileAppender and open the file designated by filename.
FileAppender(Layout, String) - Constructor for class org.apache.log4j.FileAppender
Instantiate a FileAppender and open the file designated by filename.
FileDatePatternConverter - class org.apache.log4j.pattern.FileDatePatternConverter.
Formats an date by delegating to DatePatternConverter.
FileLocationPatternConverter - class org.apache.log4j.pattern.FileLocationPatternConverter.
Return the event's line location information in a StringBuffer.
FileRenameAction - class org.apache.log4j.rolling.helper.FileRenameAction.
File rename action.
FileRenameAction(File, File, boolean) - Constructor for class org.apache.log4j.rolling.helper.FileRenameAction
Creates an FileRenameAction.
FileWatchdog - class org.apache.log4j.helpers.FileWatchdog.
Check every now and then that a certain file has not changed.
FileWatchdog(String) - Constructor for class org.apache.log4j.helpers.FileWatchdog
 
Filter - class org.apache.log4j.spi.Filter.
Users should extend this class to implement customized logging event filtering.
Filter() - Constructor for class org.apache.log4j.spi.Filter
 
FilterBasedTriggeringPolicy - class org.apache.log4j.rolling.FilterBasedTriggeringPolicy.
FilterBasedTriggeringPolicy determines if rolling should be triggered by evaluating the current message against a set of filters.
FilterBasedTriggeringPolicy() - Constructor for class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
Creates a new FilterBasedTriggeringPolicy.
FixedWindowRollingPolicy - class org.apache.log4j.rolling.FixedWindowRollingPolicy.
When rolling over, FixedWindowRollingPolicy renames files according to a fixed window algorithm as described below.
FixedWindowRollingPolicy() - Constructor for class org.apache.log4j.rolling.FixedWindowRollingPolicy
Constructs a new instance.
FormattingInfo - class org.apache.log4j.pattern.FormattingInfo.
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.log4j.pattern.FormattingInfo
Creates new instance.
FullLocationPatternConverter - class org.apache.log4j.pattern.FullLocationPatternConverter.
Format the event's line location information.
fatal(Object) - Method in class org.apache.log4j.Category
Log a message object with the FATAL Level.
fatal(Object, Object) - Method in class org.apache.log4j.Category
Log a message with the FATAL level with message formatting done according to the value of messagePattern and arg parameters.
fatal(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the FATAL level including the stack trace of the Throwablet passed as parameter.
fatal(String, Object, Object) - Method in class org.apache.log4j.Logger
Log a message with the FATAL level with message formatting done according to the messagePattern and the arguments arg1 and arg2.
fatalError(SAXParseException) - Method in class org.apache.log4j.xml.SAXErrorHandler
 
fatalError(SAXParseException) - Method in class org.apache.log4j.xml.examples.ReportParserError
 
fileAppend - Variable in class org.apache.log4j.FileAppender
Append to or truncate the file?
fileName - Variable in class org.apache.log4j.FileAppender
The name of the log file.
filename - Variable in class org.apache.log4j.helpers.FileWatchdog
The name of the file to observe for changes.
finalize() - Method in class org.apache.log4j.AppenderSkeleton
Finalize this appender by calling the derived class' close method.
finalize() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
finalize() - Method in class org.apache.log4j.net.TelnetAppender.SocketHandler
make sure we close all network connections when this handler is destroyed.
findAndRender(Object) - Method in class org.apache.log4j.or.RendererMap
Find the appropriate renderer for the class type of the o parameter.
findAndSubst(String, Properties) - Static method in class org.apache.log4j.helpers.OptionConverter
Find the value corresponding to key in props.
findNamingContext() - Method in class org.apache.log4j.joran.action.JndiSubstitutionPropertyAction
Creates the naming context.
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.AppenderAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.AppenderRefAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.ConversionRuleAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.LayoutAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.LevelAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.LoggerAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.NestComponentIA
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.NewRuleAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.ParamAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.PluginAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.PropertyAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.RootLoggerAction
 
fireAddAppenderEvent(Logger, Appender) - Method in class org.apache.log4j.Hierarchy
Requests that a appender added event be sent to any registered LoggerEventListener.
fireAddAppenderEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.LoggerRepository
Requests that a appender added event be sent to any registered LoggerEventListener.
fireConfigurationChangedEvent() - Method in class org.apache.log4j.Hierarchy
Requests that a configuration changed event be sent to any registered LoggerRepositoryEventListener.
fireConfigurationChangedEvent() - Method in interface org.apache.log4j.spi.LoggerRepository
Requests that a configuration changed event be sent to any registered LoggerRepositoryEventListener.
fireLevelChangedEvent(Logger) - Method in class org.apache.log4j.Hierarchy
Requests that a level changed event be sent to any registered LoggerEventListener.
fireLevelChangedEvent(Logger) - Method in interface org.apache.log4j.spi.LoggerRepository
Requests that a level changed event be sent to any registered LoggerEventListener.
firePropertyChange(PropertyChangeEvent) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
firePropertyChange(String, boolean, boolean) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
firePropertyChange(String, int, int) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
firePropertyChange(String, Object, Object) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
firePropertyChange(String, Object, Object) - Method in class org.apache.log4j.rule.AbstractRule
 
firePropertyChange(PropertyChangeEvent) - Method in class org.apache.log4j.rule.AbstractRule
 
fireRemoveAppenderEvent(Logger, Appender) - Method in class org.apache.log4j.Hierarchy
Requests that a appender removed event be sent to any registered LoggerEventListener.
fireRemoveAppenderEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.LoggerRepository
Requests that a appender removed event be sent to any registered LoggerEventListener.
flush() - Method in class org.apache.log4j.helpers.SyslogWriter
 
forcedLog(String, Level, Object, Throwable) - Method in class org.apache.log4j.Category
This method creates a new logging event and logs the event without further checks.
format(LoggingEvent) - Method in class org.apache.log4j.Layout
Implement this method to create your own layout format.
format(Writer, LoggingEvent) - Method in class org.apache.log4j.Layout
 
format(Writer, LoggingEvent) - Method in class org.apache.log4j.PatternLayout
Formats a logging event to a writer.
format(Writer, LoggingEvent) - Method in class org.apache.log4j.SimpleLayout
Writes the log statement in a format consisting of the level, followed by " - " and then the message.
format(Writer, LoggingEvent) - Method in class org.apache.log4j.TTCCLayout
Deprecated. In addition to the level of the statement and message, the returned byte array includes time, thread, category and NDC information.
format(Date, StringBuffer, FieldPosition) - Method in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Deprecated. 
format(String, Object) - Static method in class org.apache.log4j.helpers.MessageFormatter
Performs single argument substitution for the 'messagePattern' passed as parameter.
format(String, Object, Object) - Static method in class org.apache.log4j.helpers.MessageFormatter
/** Performs a two argument substitution for the 'messagePattern' passed as parameter.
format(Date, StringBuffer, FieldPosition) - Method in class org.apache.log4j.helpers.RelativeTimeDateFormat
Appends to sbuf the number of milliseconds elapsed since the start of the application.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.ClassNamePatternConverter
Format a logging event.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.DatePatternConverter
Formats an event into a string buffer.
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.DatePatternConverter
Formats an object into a string buffer.
format(Date, StringBuffer) - Method in class org.apache.log4j.pattern.DatePatternConverter
Append formatted date to string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.FileLocationPatternConverter
Formats an event into a string buffer.
format(int, StringBuffer) - Method in class org.apache.log4j.pattern.FormattingInfo
Adjust the content of the buffer based on the specified lengths and alignment.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.FullLocationPatternConverter
Formats an event into a string buffer.
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.IntegerPatternConverter
Formats an object into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LevelPatternConverter
Formats an event into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LineLocationPatternConverter
Formats an event into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LineSeparatorPatternConverter
Formats an event into a string buffer.
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.LineSeparatorPatternConverter
Formats an object into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LiteralPatternConverter
Formats an event into a string buffer.
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.LiteralPatternConverter
Formats an object into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LoggerPatternConverter
Formats an event into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LoggingEventPatternConverter
Formats an event into a string buffer.
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.LoggingEventPatternConverter
Formats an object into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.MessagePatternConverter
Formats an event into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.MethodLocationPatternConverter
Formats an event into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.NDCPatternConverter
Formats an event into a string buffer.
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.PatternConverter
Formats an object into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.PropertiesPatternConverter
Formats an event into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.RelativeTimePatternConverter
Formats an event into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.SequenceNumberPatternConverter
Formats an event into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.ThreadPatternConverter
Formats an event into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.ThrowableInformationPatternConverter
Formats an event into a string buffer.
format(Writer, LoggingEvent) - Method in class org.apache.log4j.xml.XMLLayout
Formats a LoggingEventin conformance with the log4j.dtd.
formatFileName(Object, StringBuffer) - Method in class org.apache.log4j.rolling.RollingPolicyBase
Format file name.
foundProperty(Object, String, String, Object) - Method in interface org.apache.log4j.config.PropertyGetter.PropertyCallback
 
foundProperty(Object, String, String, Object) - Method in class org.apache.log4j.config.PropertyPrinter
 

G

GZCompressAction - class org.apache.log4j.rolling.helper.GZCompressAction.
Compresses a file using GZ compression.
GZCompressAction(File, File, boolean, ULogger) - Constructor for class org.apache.log4j.rolling.helper.GZCompressAction
Create new instance of GZCompressAction.
genAppName() - Method in class org.apache.log4j.config.PropertyPrinter
 
get(String) - Static method in class org.apache.log4j.MDC
Get the context identified by the key parameter.
get() - Static method in class org.apache.log4j.NDC
Never use this method directly, use the LoggingEvent.getNDC() method instead.
get() - Method in class org.apache.log4j.helpers.BoundedFIFO
Get the first element in the buffer.
get(int) - Method in class org.apache.log4j.helpers.CyclicBuffer
Get the ith oldest event currently in the buffer.
get() - Method in class org.apache.log4j.helpers.CyclicBuffer
Get the oldest (first) element in the buffer.
get(Object) - Method in class org.apache.log4j.or.RendererMap
Syntactic sugar method that calls RendererMap.get(Class) with the class of the object parameter.
get(Class) - Method in class org.apache.log4j.or.RendererMap
Search the parents of clazz for a renderer.
getAbbreviator(String) - Static method in class org.apache.log4j.pattern.NameAbbreviator
Gets an abbreviator.
getAcceptOnMatch() - Method in class org.apache.log4j.filter.ExpressionFilter
 
getAcceptOnMatch() - Method in class org.apache.log4j.filter.LevelMatchFilter
 
getAcceptOnMatch() - Method in class org.apache.log4j.filter.LevelRangeFilter
Get the value of the AcceptOnMatch option.
getAcceptOnMatch() - Method in class org.apache.log4j.filter.StringMatchFilter
 
getActiveFileName() - Method in class org.apache.log4j.rolling.RollingPolicyBase
Deprecated. Duplicates FileAppender.file and should be removed
getActiveFileName() - Method in interface org.apache.log4j.rolling.RolloverDescription
Active log file name after rollover.
getActiveFileName() - Method in class org.apache.log4j.rolling.RolloverDescriptionImpl
Active log file name after rollover.
getAdditivity() - Method in class org.apache.log4j.Category
Get the additivity flag for this Category instance.
getAddress() - Method in interface org.apache.log4j.net.AddressBased
Returns a String representation of the Address this instance encompasses
getAddress() - Method in class org.apache.log4j.net.MulticastReceiver
 
getAddress() - Method in class org.apache.log4j.net.SocketReceiver.SocketDetail
 
getAllAppenders() - Method in class org.apache.log4j.AsyncAppender
 
getAllAppenders() - Method in class org.apache.log4j.Category
Get the appenders contained in this category as an Enumeration.
getAllAppenders() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Get all attached appenders as an Enumeration.
getAllAppenders() - Method in interface org.apache.log4j.spi.AppenderAttachable
Get all previously added appenders as an Enumeration.
getAllPossibleLevels() - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
 
getAllPossiblePriorities() - Static method in class org.apache.log4j.Level
Deprecated. This method will be removed with no replacement.
getAppend() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Returns the value of the Append option.
getAppend() - Method in class org.apache.log4j.FileAppender
Returns the value of the Append option.
getAppend() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Returns the value of the Append option.
getAppend() - Method in interface org.apache.log4j.rolling.RolloverDescription
Specifies if active file should be opened for appending.
getAppend() - Method in class org.apache.log4j.rolling.RolloverDescriptionImpl
Specifies if active file should be opened for appending.
getAppender(String) - Method in class org.apache.log4j.AsyncAppender
 
getAppender(String) - Method in class org.apache.log4j.Category
Look for the appender named as name.
getAppender(String) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Look for an attached appender named as name.
getAppender(String) - Method in interface org.apache.log4j.spi.AppenderAttachable
Get an appender by name.
getApplication() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the App option.
getApplication() - Method in class org.apache.log4j.net.SocketAppender
Returns value of the Application option.
getApplication() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the App option.
getAsynchronous() - Method in interface org.apache.log4j.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.log4j.rolling.RolloverDescriptionImpl
Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.
getAudioURL() - Method in class org.apache.log4j.varia.SoundAppender
Accessor
getBackgroundColor() - Method in class org.apache.log4j.rule.ColorRule
 
getBufferSize() - Method in class org.apache.log4j.AsyncAppender
Returns the current value of the BufferSize option.
getBufferSize() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Get the size of the IO buffer.
getBufferSize() - Method in class org.apache.log4j.FileAppender
Get the size of the IO buffer.
getBufferSize() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Get the size of the IO buffer.
getBufferSize() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the BufferSize option.
getBufferSize() - Method in class org.apache.log4j.net.SocketHubAppender
Returns value of the bufferSize option.
getBufferedIO() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Get the value of the BufferedIO option.
getBufferedIO() - Method in class org.apache.log4j.FileAppender
Get the value of the BufferedIO option.
getBufferedIO() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Get the value of the BufferedIO option.
getCategoryPrefixing() - Method in class org.apache.log4j.TTCCLayout
Deprecated. Returns value of the CategoryPrefixing option.
getChainedLevel() - Method in class org.apache.log4j.spi.RootCategory
Deprecated. Return the assigned level value without walking the category hierarchy.
getChainedLevel() - Method in class org.apache.log4j.spi.RootLogger
Return the assigned level value without walking the category hierarchy.
getChainedPriority() - Method in class org.apache.log4j.Category
Deprecated. Please use the the Category.getEffectiveLevel() method instead.
getCharset() - Method in class org.apache.log4j.net.SMTPAppender
Returns the charset for messages.
getColNumber() - Method in class org.apache.log4j.spi.ErrorItem
 
getColumnNumber(ExecutionContext) - Method in class org.apache.log4j.joran.action.Action
 
getConfiguratorClass() - Method in interface org.apache.log4j.config.ConfigWatchdog
Gets the configurator class used for reconfiguration.
getConfiguratorClassName() - Method in interface org.apache.log4j.config.ConfigWatchdog
Gets the configurator class name used for reconfiguration.
getConnectedSocketDetails() - Method in class org.apache.log4j.net.SocketReceiver
Returns a Vector of SocketDetail representing the IP/Domain name of the currently connected sockets that this receiver has been responsible for creating.
getConnection() - Method in interface org.apache.log4j.db.ConnectionSource
Obtain a Connection for use.
getConnection() - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
getConnection() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
 
getConnection() - Method in class org.apache.log4j.db.JNDIConnectionSource
 
getConnectionSource() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getConnectionSource() - Method in class org.apache.log4j.db.DBAppender
 
getConnectionSource() - Method in class org.apache.log4j.db.DBReceiver
 
getContentType() - Method in class org.apache.log4j.Layout
Returns the content type output by this layout.
getContext() - Static method in class org.apache.log4j.MDC
Get the current thread's MDC as a hashtable.
getContextPrinting() - Method in class org.apache.log4j.TTCCLayout
Deprecated. Returns value of the ContextPrinting option.
getConversionPattern() - Method in class org.apache.log4j.PatternLayout
Returns the value of the ConversionPattern option.
getConvertInFixToPostFix() - Method in class org.apache.log4j.filter.ExpressionFilter
 
getConvertInFixToPostFix() - Method in class org.apache.log4j.filter.LocationInfoFilter
 
getCurrentCategories() - Static method in class org.apache.log4j.Category
Deprecated. Please use LogManager.getCurrentLoggers() instead.
getCurrentCategories() - Method in class org.apache.log4j.Hierarchy
Deprecated. Please use Hierarchy.getCurrentLoggers() instead.
getCurrentCategories() - Method in interface org.apache.log4j.spi.LoggerRepository
Deprecated. Please use LoggerRepository.getCurrentLoggers() instead.
getCurrentLoggers() - Method in class org.apache.log4j.Hierarchy
Returns all the currently defined categories in this hierarchy as an Enumeration.
getCurrentLoggers() - Static method in class org.apache.log4j.LogManager
 
getCurrentLoggers() - Method in interface org.apache.log4j.spi.LoggerRepository
 
getDataSource() - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
getDatePattern() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Returns the value of the DatePattern option.
getDatePatternConverter() - Method in class org.apache.log4j.rolling.RollingPolicyBase
 
getDecoder() - Method in class org.apache.log4j.net.MulticastReceiver
 
getDecoder() - Method in class org.apache.log4j.net.UDPReceiver
 
getDecoder() - Method in class org.apache.log4j.net.XMLSocketReceiver
 
getDefault() - Static method in class org.apache.log4j.pattern.FormattingInfo
Gets default instance.
getDefaultAbbreviator() - Static method in class org.apache.log4j.pattern.NameAbbreviator
Gets default abbreviator.
getDefaultHierarchy() - Static method in class org.apache.log4j.Category
Deprecated. Please use LogManager.getLoggerRepository() instead.
getDefaultRenderer() - Method in class org.apache.log4j.or.RendererMap
 
getDepth() - Static method in class org.apache.log4j.NDC
Get the current nesting depth of this diagnostic context.
getDialectFromCode(int) - Static method in class org.apache.log4j.db.dialect.Util
 
getDriverClass() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Returns the name of the driver class.
getEffectiveLevel() - Method in class org.apache.log4j.Category
Starting from this category, search the category hierarchy for a non-null level and return it.
getEncoding() - Method in class org.apache.log4j.WriterAppender
 
getEncoding() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.MulticastReceiver
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.UDPReceiver
Returns value of the Encoding option.
getErrorHandler() - Method in interface org.apache.log4j.Appender
Deprecated. As of 1.3
getErrorHandler() - Method in class org.apache.log4j.AppenderSkeleton
Deprecated. As of 1.3
getErrorHandler() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. As of 1.3
getErrorHandler() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. As of 1.3
getErrorList() - Method in class org.apache.log4j.Hierarchy
Return the the list of previously encoutered error items.
getErrorList() - Method in class org.apache.log4j.PropertyConfigurator
 
getErrorList() - Method in class org.apache.log4j.config.ConfiguratorBase
 
getErrorList() - Method in class org.apache.log4j.joran.JoranConfigurator
 
getErrorList() - Method in interface org.apache.log4j.spi.LoggerRepository
Errors which cannot be logged, go to the error list
getEvaluatorClass() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the EvaluatorClass option.
getException() - Method in class org.apache.log4j.spi.ErrorItem
 
getExecutionContext() - Method in class org.apache.log4j.joran.JoranConfigurator
 
getExpression() - Method in class org.apache.log4j.filter.ExpressionFilter
 
getExpression() - Method in class org.apache.log4j.filter.LocationInfoFilter
 
getExpression() - Method in class org.apache.log4j.rule.ColorRule
 
getFQNOfLoggerClass() - Method in class org.apache.log4j.spi.LoggingEvent
Get the fully qualified name of the calling logger sub-class/wrapper.
getFacility() - Method in class org.apache.log4j.net.SyslogAppender
Returns the value of the Facility option.
getFile() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Returns the value of the File option.
getFile() - Method in class org.apache.log4j.FileAppender
Returns the value of the File option.
getFile() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Returns the value of the File option.
getFileLength() - Method in class org.apache.log4j.rolling.RollingFileAppender
Get byte length of current active log file.
getFileNamePattern() - Method in class org.apache.log4j.rolling.RollingPolicyBase
Get file name pattern.
getFileNamePatternRules() - Static method in class org.apache.log4j.pattern.PatternParser
Get standard format specifiers for rolling file appender file specification.
getFileURL() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
getFilter() - Method in interface org.apache.log4j.Appender
Returns the head Filter.
getFilter() - Method in class org.apache.log4j.AppenderSkeleton
Returns the head Filter.
getFilter() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Returns the head Filter.
getFilter() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Returns the head Filter.
getFilter() - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
Returns the head Filter.
getFilterExpression() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
getFirstFilter() - Method in class org.apache.log4j.AppenderSkeleton
Return the first filter in the filter chain for this Appender.
getFooter() - Method in class org.apache.log4j.Layout
Returns the footer for the layout format.
getForegroundColor() - Method in class org.apache.log4j.rule.ColorRule
 
getFrom() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the From option.
getHeader() - Method in class org.apache.log4j.Layout
Returns the header for the layout format.
getHierarchy() - Method in class org.apache.log4j.Category
Deprecated. Please use Category.getLoggerRepository() instead.
getHost() - Method in class org.apache.log4j.net.SocketHubReceiver
Get the remote host to connect to for logging events.
getIDField() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getImmediateFlush() - Method in class org.apache.log4j.WriterAppender
Returns value of the ImmediateFlush option.
getInitialContext() - Static method in class org.apache.log4j.helpers.JNDIUtil
 
getInitialContextFactoryName() - Method in class org.apache.log4j.net.JMSAppender
Returns the value of the InitialContextFactoryName option.
getInstance(String) - Static method in class org.apache.log4j.Category
Deprecated. Please use the Logger.getLogger(String) method instead.
getInstance(Class) - Static method in class org.apache.log4j.Category
Deprecated. Please use Logger.getLogger(Class) instead.
getInstance() - Static method in class org.apache.log4j.helpers.NullEnumeration
 
getInstance() - Static method in class org.apache.log4j.rule.RuleFactory
 
getInstance() - Static method in class org.apache.log4j.spi.LoggingEventFieldResolver
 
getInstance() - Static method in class org.apache.log4j.varia.NullAppender
Whenever you can, use this method to retreive an instance instead of instantiating a new one with new.
getIntegerPatternConverter() - Method in class org.apache.log4j.rolling.RollingPolicyBase
 
getJndiLocation() - Method in class org.apache.log4j.db.JNDIConnectionSource
Returns the jndiLocation.
getJndiPath() - Method in class org.apache.log4j.net.JMSReceiver
Gets the path to a properties file containing the initial context and jndi provider url
getKeys() - Static method in class org.apache.log4j.MDC
Returns the keys in the MDC as an Enumeration.
getLayout() - Method in interface org.apache.log4j.Appender
Returns this appenders layout.
getLayout() - Method in class org.apache.log4j.AppenderSkeleton
Returns the layout of this appender.
getLayout() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Returns this appenders layout.
getLayout() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Returns this appenders layout.
getLayout() - Method in class org.apache.log4j.net.SyslogAppender
 
getLevel() - Method in class org.apache.log4j.Category
Returns the assigned Level, if any, for this Category.
getLevel() - Method in class org.apache.log4j.spi.LoggingEvent
Return the level of this event.
getLevelForPackage(String) - Method in class org.apache.log4j.helpers.LoggerTraverse
Returns the effective level for the given package name.
getLevelForRootLogger() - Method in class org.apache.log4j.helpers.LoggerTraverse
Returns the level for the root logger.
getLevelIsSetForPackage(String) - Method in class org.apache.log4j.helpers.LoggerTraverse
Returns true of the package has had its level set directly or false if the level is inherited.
getLevelMax() - Method in class org.apache.log4j.filter.LevelRangeFilter
Get the value of the LevelMax option.
getLevelMin() - Method in class org.apache.log4j.filter.LevelRangeFilter
Get the value of the LevelMin option.
getLevelToMatch() - Method in class org.apache.log4j.filter.LevelMatchFilter
 
getLineNumber(ExecutionContext) - Method in class org.apache.log4j.joran.action.Action
 
getLineNumber() - Method in class org.apache.log4j.spi.ErrorItem
 
getList() - Method in class org.apache.log4j.varia.ListAppender
Returns a writeable, BUT cloned List of all the LoggingEvents that are contained in the internal model.
getListener() - Method in class org.apache.log4j.net.SocketReceiver
Deprecated. This receiver now supports multiple listeners
getLocalHostname() - Method in class org.apache.log4j.net.SyslogAppender
This method gets the network name of the machine we are running on.
getLocationInfo() - Method in class org.apache.log4j.AsyncAppender
Returns the current value of the LocationInfo option.
getLocationInfo() - Method in class org.apache.log4j.db.DBAppender
Returns value of the LocationInfo property which determines whether caller's location info is written to the database.
getLocationInfo() - Method in class org.apache.log4j.net.JMSAppender
Returns value of the LocationInfo property which determines whether caller's location info is sent to the remote subscriber.
getLocationInfo() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the LocationInfo option.
getLocationInfo() - Method in class org.apache.log4j.net.SocketAppender
Returns value of the LocationInfo option.
getLocationInfo() - Method in class org.apache.log4j.net.SocketHubAppender
Returns value of the LocationInfo option.
getLocationInfo() - Method in class org.apache.log4j.xml.XMLLayout
Returns the current value of the LocationInfo option.
getLocationInformation() - Method in class org.apache.log4j.spi.LoggingEvent
Get the location information for this logging event.
getLogFormat() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
getLogger(String) - Method in class org.apache.log4j.Hierarchy
Return a new logger instance named as the first parameter using the default factory.
getLogger(String, LoggerFactory) - Method in class org.apache.log4j.Hierarchy
Return a new logger instance named as the first parameter using factory.
getLogger(String) - Static method in class org.apache.log4j.LogManager
Retrieve the appropriate Logger instance.
getLogger(Class) - Static method in class org.apache.log4j.LogManager
Retrieve the appropriate Logger instance.
getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.LogManager
Retrieve the appropriate Logger instance.
getLogger(String) - Static method in class org.apache.log4j.Logger
Retrieve a logger by name.
getLogger(Class) - Static method in class org.apache.log4j.Logger
Shorthand for getLogger(clazz.getName()).
getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.Logger
Like Logger.getLogger(String) except that the type of logger instantiated depends on the type returned by the LoggerFactory.makeNewLoggerInstance(java.lang.String) method of the factory parameter.
getLogger(LoggerRepository) - Method in class org.apache.log4j.config.ConfiguratorBase
 
getLogger() - Method in class org.apache.log4j.spi.ComponentBase
Return an instance specific logger to be used by the component itself.
getLogger(String) - Method in interface org.apache.log4j.spi.LoggerRepository
 
getLogger(String, LoggerFactory) - Method in interface org.apache.log4j.spi.LoggerRepository
 
getLogger() - Method in class org.apache.log4j.spi.LoggingEvent
Returns the logger of this event.
getLogger(String) - Static method in class org.apache.log4j.spi.NOPULogger
 
getLogger(String) - Static method in class org.apache.log4j.spi.SimpleULogger
Creates a new instance.
getLoggerName() - Method in class org.apache.log4j.spi.LoggingEvent
Return the name of the logger.
getLoggerNames() - Method in class org.apache.log4j.helpers.LoggerTraverse
Returns the list of all loggers, sorted by name.
getLoggerPackageNames(String) - Method in class org.apache.log4j.helpers.LoggerTraverse
Using a starting name pattern, returns the next level of package names that start with that pattern.
getLoggerRepository() - Method in class org.apache.log4j.Category
Return the the LoggerRepository where this Category is attached.
getLoggerRepository() - Static method in class org.apache.log4j.LogManager
 
getLoggerRepository() - Method in interface org.apache.log4j.config.ConfigWatchdog
Get the logger repository this watchdog will reconfigure when new configuration data is detected.
getLoggerRepository() - Method in interface org.apache.log4j.plugins.Plugin
Gets the logger repository for this plugin.
getLoggerRepository() - Method in class org.apache.log4j.plugins.PluginRegistry
 
getLoggerRepository() - Method in class org.apache.log4j.plugins.PluginSkeleton
Gets the logger repository for this plugin.
getLoggerRepository() - Method in class org.apache.log4j.selector.ContextJNDISelector
Return the repoistory selector based on the current JNDI environment.
getLoggerRepository(String) - Method in class org.apache.log4j.selector.ContextJNDISelector
Get the logger repository with the corresponding name.
getLoggerRepository() - Method in class org.apache.log4j.spi.ComponentBase
Return the LoggerRepository this component is attached to.
getLoggerRepository() - Method in class org.apache.log4j.spi.DefaultRepositorySelector
 
getLoggerRepository(String) - Method in class org.apache.log4j.spi.DefaultRepositorySelector
 
getLoggerRepository(String) - Method in interface org.apache.log4j.spi.RepositorySelector
Get a LoggerRepository by name.
getLoggerRepository() - Method in interface org.apache.log4j.spi.RepositorySelector
Returns a LoggerRepository depending on the context.
getMaxBackupIndex() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Returns the value of the MaxBackupIndex option.
getMaxFileSize() - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Gets rollover threshold size in bytes.
getMaxIndex() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Get index of oldest log file to be retained.
getMaxLength() - Method in class org.apache.log4j.pattern.FormattingInfo
Get maximum length.
getMaxSize() - Method in class org.apache.log4j.helpers.BoundedFIFO
Get the maximum size of the buffer.
getMaxSize() - Method in class org.apache.log4j.helpers.CyclicBuffer
 
getMaximumFileSize() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Get the maximum size that the output file is allowed to reach before being rolled over to backup files.
getMessage() - Method in class org.apache.log4j.config.PropertySetterException
Returns descriptive text on the cause of this exception.
getMessage() - Method in class org.apache.log4j.spi.ErrorItem
 
getMessage() - Method in class org.apache.log4j.spi.LoggingEvent
Return the message for this logging event.
getMethod(String) - Method in class org.apache.log4j.config.PropertySetter
 
getMinIndex() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Get index of most recent log file.
getMinLength() - Method in class org.apache.log4j.pattern.FormattingInfo
Get minimum length.
getModel() - Method in class org.apache.log4j.varia.ListModelAppender
Returns a reference to the ListModel that contains all the LoggingEvents that have been appended to this class.
getNDC() - Method in class org.apache.log4j.spi.LoggingEvent
This method returns the NDC for this event.
getName() - Method in interface org.apache.log4j.Appender
Get the name of this appender.
getName() - Method in class org.apache.log4j.AppenderSkeleton
Returns the name of this FileAppender.
getName() - Method in class org.apache.log4j.Category
Return the category name.
getName() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Get the name of this appender.
getName() - Method in class org.apache.log4j.Hierarchy
Return the name of this hierarchy.
getName() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Get the name of this appender.
getName() - Method in interface org.apache.log4j.config.ConfigWatchdog
Get the name of this watchdog.
getName() - Method in interface org.apache.log4j.net.NetworkBased
 
getName() - Method in class org.apache.log4j.net.SocketReceiver.SocketDetail
 
getName() - Method in class org.apache.log4j.pattern.PatternConverter
This method returns the name of the conversion pattern.
getName() - Method in interface org.apache.log4j.plugins.Plugin
Gets the name of the plugin.
getName() - Method in class org.apache.log4j.plugins.PluginSkeleton
Gets the name of the plugin.
getName() - Method in interface org.apache.log4j.spi.LoggerRepository
Get the name of this logger repository.
getNamingContext() - Method in class org.apache.log4j.joran.action.JndiSubstitutionPropertyAction
Returns the naming context for lookups.
getNext() - Method in class org.apache.log4j.spi.Filter
Return the pointer to the next filter;
getNonFloodingLogger() - Method in class org.apache.log4j.spi.ComponentBase
Frequently called methods in log4j components can invoke this method in order to avoid flooding the output when logging lasting error conditions.
getObjClass() - Method in class org.apache.log4j.config.PropertySetter
 
getObject(String) - Method in class org.apache.log4j.Hierarchy
 
getObject(String) - Method in interface org.apache.log4j.spi.LoggerRepository
A LoggerRepository can also act as a store for various objects used by log4j components.
getOptionStrings() - Method in class org.apache.log4j.filter.DenyAllFilter
Deprecated. We now use JavaBeans introspection to configure components. Options strings are no longer needed.
getOverrideProperties() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the OverrideProperties option.
getOverrideProperties() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the OverrideProperties option.
getParent() - Method in class org.apache.log4j.Category
Returns the parent of this category.
getPassword() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Get the password for this connection source.
getPassword() - Method in class org.apache.log4j.net.JMSAppender
 
getPassword() - Method in class org.apache.log4j.net.JMSReceiver
Gets the curernt password property.
getPatternLayoutRules() - Static method in class org.apache.log4j.pattern.PatternParser
Get standard format specifiers for PatternLayout.
getPlugin() - Method in class org.apache.log4j.plugins.PluginEvent
Returns the source Plugin of this event, which is simple the getSource() method casted to Plugin for convenience.
getPluginRegistry() - Method in class org.apache.log4j.Hierarchy
 
getPluginRegistry() - Method in interface org.apache.log4j.spi.LoggerRepository
Return the PluginRegisty for this LoggerRepository.
getPlugins() - Method in class org.apache.log4j.plugins.PluginRegistry
Returns all the plugins for a given repository.
getPlugins(Class) - Method in class org.apache.log4j.plugins.PluginRegistry
Returns all the plugins for a given repository that are instances of a certain class.
getPort() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the Port option.
getPort() - Method in class org.apache.log4j.net.MulticastReceiver
 
getPort() - Method in interface org.apache.log4j.net.PortBased
Returns the Port # that this net based thing is using
getPort() - Method in class org.apache.log4j.net.SocketAppender
Returns value of the Port option.
getPort() - Method in class org.apache.log4j.net.SocketHubAppender
Returns value of the Port option.
getPort() - Method in class org.apache.log4j.net.SocketHubReceiver
Get the remote port to connect to for logging events.
getPort() - Method in class org.apache.log4j.net.SocketReceiver.SocketDetail
 
getPort() - Method in class org.apache.log4j.net.SocketReceiver
Get the port to receive logging events on.
getPort() - Method in class org.apache.log4j.net.TelnetAppender
 
getPort() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the Port option.
getPort() - Method in class org.apache.log4j.net.UDPReceiver
 
getPort() - Method in class org.apache.log4j.net.XMLSocketReceiver
Get the port to receive logging events on.
getPort() - Method in class org.apache.log4j.varia.ExternallyRolledFileAppender
Deprecated. Gets the port monitored for rollover requests.
getPriority() - Method in class org.apache.log4j.Category
Deprecated. Please use Category.getLevel() instead.
getProperties() - Method in class org.apache.log4j.Hierarchy
 
getProperties(Object, PropertyGetter.PropertyCallback, String) - Static method in class org.apache.log4j.config.PropertyGetter
 
getProperties(PropertyGetter.PropertyCallback, String) - Method in class org.apache.log4j.config.PropertyGetter
 
getProperties() - Method in interface org.apache.log4j.spi.LoggerRepository
Get the properties specific for this repository.
getProperties() - Method in class org.apache.log4j.spi.LoggingEvent
 
getProperty(String) - Method in class org.apache.log4j.Hierarchy
 
getProperty(String) - Method in interface org.apache.log4j.spi.LoggerRepository
Get the property of this repository.
getProperty(String) - Method in class org.apache.log4j.spi.LoggingEvent
Return a property for this event.
getPropertyDescriptor(String) - Method in class org.apache.log4j.config.PropertySetter
 
getPropertyDescriptors() - Method in class org.apache.log4j.net.JMSReceiverBeanInfo
 
getPropertyDescriptors() - Method in class org.apache.log4j.net.MulticastReceiverBeanInfo
 
getPropertyDescriptors() - Method in class org.apache.log4j.net.SocketHubReceiverBeanInfo
 
getPropertyDescriptors() - Method in class org.apache.log4j.varia.LogFilePatternReceiverBeanInfo
 
getPropertyKeySet() - Method in class org.apache.log4j.spi.LoggingEvent
Returns the set of of the key values in the properties for the event.
getProviderURL() - Method in class org.apache.log4j.net.JMSAppender
 
getReadLock() - Method in class org.apache.log4j.helpers.ReaderWriterLock
 
getReconnectionDelay() - Method in class org.apache.log4j.net.SocketAppender
Returns value of the ReconnectionDelay option.
getReconnectionDelay() - Method in class org.apache.log4j.net.SocketHubReceiver
Returns value of the ReconnectionDelay option.
getRefreshMillis() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getRefreshMillis() - Method in class org.apache.log4j.db.DBReceiver
 
getRemoteHost() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the RemoteHost option.
getRemoteHost() - Method in class org.apache.log4j.net.SocketAppender
Returns value of the RemoteHost option.
getRemoteHost() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the RemoteHost option.
getRenderedMessage() - Method in class org.apache.log4j.spi.LoggingEvent
Returns the rendered version of the message according to the renderers registered in the logger repository.
getRendererMap() - Method in class org.apache.log4j.Hierarchy
Get the renderer map for this hierarchy.
getRendererMap() - Method in interface org.apache.log4j.spi.RendererSupport
 
getRepositorySelector() - Static method in class org.apache.log4j.LogManager
Return the repository selector currently in use.
getResource(String, Class) - Static method in class org.apache.log4j.helpers.Loader
Deprecated. as of 1.2.
getResource(String) - Static method in class org.apache.log4j.helpers.Loader
This method will search for resource in different places.
getResourceBundle() - Method in class org.apache.log4j.Category
Return the inheritedResourceBundle for this category.
getResourceBundleString(String) - Method in class org.apache.log4j.Category
Returns the string resource coresponding to key in this category's inherited resource bundle.
getRollingPolicy() - Method in class org.apache.log4j.rolling.RollingFileAppender
Get rolling policy.
getRoot() - Static method in class org.apache.log4j.Category
Deprecated. Please use the Logger.getRootLogger() method instead.
getRootLogger() - Method in class org.apache.log4j.Hierarchy
Get the root of this hierarchy.
getRootLogger() - Static method in class org.apache.log4j.LogManager
Retrieve the appropriate root logger.
getRootLogger() - Static method in class org.apache.log4j.Logger
Return the root of logger for the current hierarchy.
getRootLogger() - Method in interface org.apache.log4j.spi.LoggerRepository
 
getRule(Stack) - Static method in class org.apache.log4j.rule.AndRule
 
getRule(Rule, Rule) - Static method in class org.apache.log4j.rule.AndRule
 
getRule() - Method in class org.apache.log4j.rule.ColorRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.EqualsRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.EqualsRule
 
getRule(String) - Static method in class org.apache.log4j.rule.ExistsRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.ExistsRule
 
getRule(String) - Static method in class org.apache.log4j.rule.ExpressionRule
 
getRule(String, boolean) - Static method in class org.apache.log4j.rule.ExpressionRule
 
getRule(String, Stack) - Static method in class org.apache.log4j.rule.InequalityRule
 
getRule(String, String, String) - Static method in class org.apache.log4j.rule.InequalityRule
 
getRule(String) - Static method in class org.apache.log4j.rule.LevelEqualsRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.LevelInequalityRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.LikeRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.LikeRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.NotEqualsRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.NotEqualsRule
 
getRule(Rule) - Static method in class org.apache.log4j.rule.NotRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.NotRule
 
getRule(Rule, Rule) - Static method in class org.apache.log4j.rule.OrRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.OrRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.PartialTextMatchRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.PartialTextMatchRule
 
getRule(String, Stack) - Method in class org.apache.log4j.rule.RuleFactory
 
getRule(String) - Static method in class org.apache.log4j.rule.TimestampEqualsRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.TimestampInequalityRule
 
getSMTPHost() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the SMTPHost option.
getSQLDialectCode() - Method in interface org.apache.log4j.db.ConnectionSource
Get the SQL dialect that should be used for this connection.
getSQLDialectCode() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
 
getScheduler() - Method in class org.apache.log4j.Hierarchy
Return this repository's own scheduler.
getScheduler() - Method in interface org.apache.log4j.spi.LoggerRepository
Return the Scheduler for this LoggerRepository.
getSecurityCredentials() - Method in class org.apache.log4j.net.JMSAppender
 
getSecurityPrincipalName() - Method in class org.apache.log4j.net.JMSAppender
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.HSQLDBDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.MsSQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.MySQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.OracleDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.PostgreSQLDialect
 
getSelectInsertId() - Method in interface org.apache.log4j.db.dialect.SQLDialect
 
getSequenceCount() - Static method in class org.apache.log4j.spi.LoggingEvent
 
getSequenceNumber() - Method in class org.apache.log4j.spi.LoggingEvent
 
getSql() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getStartTime() - Static method in class org.apache.log4j.spi.LoggingEvent
Returns the time when the application started, in milliseconds elapsed since 01.01.1970.
getStringToMatch() - Method in class org.apache.log4j.filter.StringMatchFilter
 
getStyleClass(Object) - Method in class org.apache.log4j.pattern.LevelPatternConverter
This method returns the CSS style class that should be applied to the LoggingEvent passed as parameter, which can be null. This information is currently used only by HTMLLayout.
getStyleClass(Object) - Method in class org.apache.log4j.pattern.PatternConverter
This method returns the CSS style class that should be applied to the LoggingEvent passed as parameter, which can be null.
getSubject() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the Subject option.
getSynchronous() - Method in interface org.apache.log4j.rolling.RolloverDescription
Action to be completed after close of current active log file before returning control to caller.
getSynchronous() - Method in class org.apache.log4j.rolling.RolloverDescriptionImpl
Action to be completed after close of current active log file before returning control to caller.
getSyslogEquivalent() - Method in class org.apache.log4j.Level
Return the syslog equivalent of this priority as an integer.
getSyslogHost() - Method in class org.apache.log4j.net.SyslogAppender
Returns the value of the SyslogHost option.
getSystemProperty(String, String) - Static method in class org.apache.log4j.helpers.OptionConverter
Very similar to System.getProperty except that the SecurityException is hidden.
getTarget() - Method in class org.apache.log4j.ConsoleAppender
Returns the current value of the Target property.
getThreadName() - Method in class org.apache.log4j.spi.LoggingEvent
 
getThreadPrinting() - Method in class org.apache.log4j.TTCCLayout
Deprecated. Returns value of the ThreadPrinting option.
getThreshold() - Method in class org.apache.log4j.AppenderSkeleton
Returns this appenders threshold level.
getThreshold() - Method in class org.apache.log4j.Hierarchy
Returns a Level representation of the enable state.
getThreshold() - Method in class org.apache.log4j.plugins.Receiver
Gets the current threshold setting of the receiver.
getThreshold() - Method in interface org.apache.log4j.spi.LoggerRepository
Get the repository-wide threshold.
getThreshold() - Method in interface org.apache.log4j.spi.Thresholdable
Gets the current threshold setting of the component.
getThrowableInformation() - Method in class org.apache.log4j.spi.LoggingEvent
Returns the throwable information contained within this event.
getThrowableStrRep() - Method in class org.apache.log4j.spi.LoggingEvent
Return this event's throwable's string[] representaion.
getThrowableStrRep() - Method in class org.apache.log4j.spi.ThrowableInformation
Retun a clone of the string representation of the exceptopn (throwable) that this object represents.
getTimeStamp() - Method in class org.apache.log4j.spi.LoggingEvent
Getter for the event's time stamp.
getTimeToLive() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the Time to Live option.
getTimestampFormat() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
getTo() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the To option.
getTopicBindingName() - Method in class org.apache.log4j.net.JMSAppender
Returns the value of the TopicBindingName option.
getTopicConnection() - Method in class org.apache.log4j.net.JMSAppender
Returns the TopicConnection used for this appender.
getTopicConnectionFactoryBindingName() - Method in class org.apache.log4j.net.JMSAppender
Returns the value of the TopicConnectionFactoryBindingName option.
getTopicFactoryName() - Method in class org.apache.log4j.net.JMSReceiver
Gets the curernt JMS topic factory name property.
getTopicName() - Method in class org.apache.log4j.net.JMSReceiver
Gets the curernt JMS topic name property.
getTopicPublisher() - Method in class org.apache.log4j.net.JMSAppender
Returns the TopicPublisher used for this appender.
getTopicSession() - Method in class org.apache.log4j.net.JMSAppender
Returns the TopicSession used for this appender.
getTriggeringPolicy() - Method in class org.apache.log4j.rolling.RollingFileAppender
Get triggering policy.
getUrl() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Returns the url.
getUser() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Get the user for this connection source.
getUserId() - Method in class org.apache.log4j.net.JMSReceiver
Gets the current user id property.
getUserName() - Method in class org.apache.log4j.net.JMSAppender
 
getValue(String, LoggingEvent) - Method in class org.apache.log4j.spi.LoggingEventFieldResolver
 
getWriteLock() - Method in class org.apache.log4j.helpers.ReaderWriterLock
 

H

HOSTNAME_KEY - Static variable in interface org.apache.log4j.helpers.Constants
 
HSQLDBDialect - class org.apache.log4j.db.dialect.HSQLDBDialect.
The HSQLDB dialect.
HSQLDBDialect() - Constructor for class org.apache.log4j.db.dialect.HSQLDBDialect
 
HSQL_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
Hierarchy - class org.apache.log4j.Hierarchy.
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.
Hierarchy(Logger) - Constructor for class org.apache.log4j.Hierarchy
Create a new logger hierarchy.
HierarchyEventListener - interface org.apache.log4j.spi.HierarchyEventListener.
Listen to events occuring within a Hierarchy.
handlesThrowable() - Method in class org.apache.log4j.pattern.LoggingEventPatternConverter
Normally pattern converters are not meant to handle Exceptions although few pattern converters might.
handlesThrowable() - Method in class org.apache.log4j.pattern.ThrowableInformationPatternConverter
This converter obviously handles throwables.
hasConnections() - Method in class org.apache.log4j.net.TelnetAppender.SocketHandler
Determines if socket hander has any active connections.
hasMoreElements() - Method in class org.apache.log4j.helpers.NullEnumeration
 
hasStackTraceElement() - Static method in class org.apache.log4j.helpers.PlatformInfo
 
hashCode() - Method in class org.apache.log4j.Level
The hashCode of a Level (i.e.
hashCode() - Method in class org.apache.log4j.net.XMLSocketReceiver
 
hashCode() - Method in class org.apache.log4j.spi.LoggingEvent
The hashcode is computed as XOR of the lower 32 bits of sequenceNumber and bits 21 to 53 of timeStamp;
headFilter - Variable in class org.apache.log4j.AppenderSkeleton
The first filter in the filter chain.
host - Variable in class org.apache.log4j.net.SocketHubReceiver
 

I

INFO - Static variable in class org.apache.log4j.Level
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
INFO - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
INFO_INT - Static variable in class org.apache.log4j.Level
INFO level integer value.
INFO_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
INHERITED - Static variable in interface org.apache.log4j.spi.Configurator
Special level value signifying inherited behaviour.
ISO8601_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Deprecated. String constant used to specify the ISO8601 format.
ISO8601_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
 
ISO8601_PATTERN - Static variable in interface org.apache.log4j.helpers.Constants
 
ImplicitAction - class org.apache.log4j.joran.action.ImplicitAction.
ImplcitActions are like normal (explicit) actions except that are applied by the parser when no other pattern applies.
ImplicitAction() - Constructor for class org.apache.log4j.joran.action.ImplicitAction
 
InFixToPostFix - class org.apache.log4j.rule.InFixToPostFix.
A helper class which converts infix expressions to postfix expressions Currently grouping is supported, as well as all of the Rules supported by RuleFactory NOTE: parsing is supported through the use of StringTokenizer, which means all tokens in the expression must be separated by spaces.
InFixToPostFix() - Constructor for class org.apache.log4j.rule.InFixToPostFix
 
InequalityRule - class org.apache.log4j.rule.InequalityRule.
A Rule class implementing inequality evaluation - expects to be able to convert two values to longs.
IntegerPatternConverter - class org.apache.log4j.pattern.IntegerPatternConverter.
Formats an integer.
IntializationUtil - class org.apache.log4j.helpers.IntializationUtil.
This class groups certain internally used methods.
IntializationUtil() - Constructor for class org.apache.log4j.helpers.IntializationUtil
 
idField - Variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
ignoresThrowable - Variable in class org.apache.log4j.Layout
 
ignoresThrowable() - Method in class org.apache.log4j.Layout
If the layout handles the throwable object contained within LoggingEvent, then the layout should return false.
ignoresThrowable() - Method in class org.apache.log4j.PatternLayout
Will return false if any of the conversion specifiers in the pattern handles Exceptions.
immediateFlush - Variable in class org.apache.log4j.WriterAppender
Immediate flush means that the underlying writer or output stream will be flushed at the end of each append operation.
incrementFileLength(int) - Method in class org.apache.log4j.rolling.RollingFileAppender
Increments estimated byte length of current active log file.
info(Object) - Method in class org.apache.log4j.Category
Log a message object with the INFO Level.
info(Object, Object) - Method in class org.apache.log4j.Category
Log a message with the INFO level with message formatting done according to the value of messagePattern and arg parameters.
info(String, Object, Object) - Method in class org.apache.log4j.Category
Log a message with the INFO level with message formatting done according to the messagePattern and the arguments arg1 and arg2.
info(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the INFO level including the stack trace of the Throwablet passed as parameter.
info(Object) - Method in interface org.apache.log4j.ULogger
 
info(Object, Object) - Method in interface org.apache.log4j.ULogger
 
info(String, Object, Object) - Method in interface org.apache.log4j.ULogger
 
info(Object, Throwable) - Method in interface org.apache.log4j.ULogger
 
info(String) - Static method in class org.apache.log4j.helpers.LogLog
 
info(Object) - Method in class org.apache.log4j.spi.NOPULogger
 
info(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
info(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
info(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
 
info(Object) - Method in class org.apache.log4j.spi.SimpleULogger
A simple implementation which always logs messages of level INFO according to the format outlined above.
info(Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Perform single parameter substitution before logging the message of level INFO according to the format outlined above.
info(String, Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Perform double parameter substitution before logging the message of level INFO according to the format outlined above.
info(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message of level INFO, including an exception.
inherit(Stack) - Static method in class org.apache.log4j.NDC
Inherit the diagnostic context of another thread.
initialConfiguration(LoggerRepository, String, String) - Static method in class org.apache.log4j.helpers.IntializationUtil
Configure repository using configuratonResourceStr and configuratorClassNameStr.
initialize(String, boolean) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Initialize the policy and return any initial actions for rolling file appender..
initialize(String, boolean) - Method in interface org.apache.log4j.rolling.RollingPolicy
Initialize the policy and return any initial actions for rolling file appender..
initialize(String, boolean) - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
Initialize the policy and return any initial actions for rolling file appender..
initialize() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Build the regular expression needed to parse log entries
initializeProperties() - Method in class org.apache.log4j.spi.LoggingEvent
If the properties field is null, this method creates a new properties map containing a copy of MDC context and a copy of the properites in LoggerRepository generating this event.
instantiateByClassName(String, Class, Object) - Static method in class org.apache.log4j.helpers.OptionConverter
Instantiate an object given a class name.
instantiateByKey(Properties, String, Class, Object) - Static method in class org.apache.log4j.helpers.OptionConverter
 
introspect() - Method in class org.apache.log4j.config.PropertySetter
Uses JavaBeans Introspector to computer setters of object to be configured.
isActive() - Method in class org.apache.log4j.AppenderSkeleton
Returns true if this appender is working order.
isActive() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Is this appender in working order?
isActive() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Is this appender in working order?
isActive() - Method in class org.apache.log4j.net.JMSReceiver
Returns true if this receiver is active.
isActive() - Method in class org.apache.log4j.net.MulticastAppender
 
isActive() - Method in class org.apache.log4j.net.MulticastReceiver
Returns true if this receiver is active.
isActive() - Method in interface org.apache.log4j.net.NetworkBased
 
isActive() - Method in class org.apache.log4j.net.SocketHubReceiver
Returns true if this receiver is active.
isActive() - Method in class org.apache.log4j.net.SocketReceiver.SocketDetail
 
isActive() - Method in class org.apache.log4j.net.UDPAppender
 
isActive() - Method in class org.apache.log4j.net.XMLSocketReceiver
Returns true if this receiver is active.
isActive() - Method in interface org.apache.log4j.plugins.Plugin
True if the plugin is active and running.
isActive() - Method in class org.apache.log4j.plugins.PluginSkeleton
Returns whether this plugin is Active or not
isApplicable(Pattern, Attributes, ExecutionContext) - Method in class org.apache.log4j.joran.action.ImplicitAction
Check whether this implicit action is apprioriate in the current context.
isApplicable(Pattern, Attributes, ExecutionContext) - Method in class org.apache.log4j.joran.action.NestComponentIA
 
isAsSevereAsThreshold(Level) - Method in class org.apache.log4j.AppenderSkeleton
Check whether the message level is below the appender's threshold.
isAsSevereAsThreshold(Level) - Method in class org.apache.log4j.plugins.Receiver
Returns true if the given level is equals or greater than the current threshold value of the receiver.
isAsSevereAsThreshold(Level) - Method in interface org.apache.log4j.spi.Thresholdable
Returns true if the given level is equals or greater than the current threshold value of the component.
isAttached(Appender) - Method in class org.apache.log4j.AsyncAppender
Is the appender passed as parameter attached to this category?
isAttached(Appender) - Method in class org.apache.log4j.Category
Is the appender passed as parameter attached to this category?
isAttached(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Returns true if the specified appender is in the list of attached appenders, false otherwise.
isAttached(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
Returns true if the specified appender is in list of attached attached, false otherwise.
isClosed() - Method in class org.apache.log4j.AppenderSkeleton
Returns true if this appender instance is closed.
isClosed() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Is this appender closed?
isClosed() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Is this appender closed?
isComplete() - Method in interface org.apache.log4j.rolling.helper.Action
Determines if action has been completed.
isComplete() - Method in class org.apache.log4j.rolling.helper.ActionBase
Tests if the action is complete.
isDebugEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the DEBUG Level.
isDebugEnabled() - Method in interface org.apache.log4j.ULogger
Is the logger instance enabled for the DEBUG level?
isDebugEnabled() - Method in class org.apache.log4j.spi.NOPULogger
 
isDebugEnabled() - Method in class org.apache.log4j.spi.SimpleULogger
Always returns false.
isDisabled(int) - Method in class org.apache.log4j.Hierarchy
This method will return true if this repository is disabled for level object passed as parameter and false otherwise.
isDisabled(int) - Method in interface org.apache.log4j.spi.LoggerRepository
Is the repository disabled for a given level?
isEmpty(String) - Static method in class org.apache.log4j.helpers.Option
 
isEnabledFor(Level) - Method in class org.apache.log4j.Category
Check whether this category is enabled for a given Level passed as parameter.
isEnabledFor(Priority) - Method in class org.apache.log4j.Category
Deprecated. Use the alternate form taking a parameter of type Level.
isEquivalent(Plugin) - Method in class org.apache.log4j.net.JMSReceiver
Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent.
isEquivalent(Plugin) - Method in class org.apache.log4j.net.SocketHubReceiver
Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent.
isEquivalent(Plugin) - Method in class org.apache.log4j.net.SocketReceiver
Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent.
isEquivalent(Plugin) - Method in class org.apache.log4j.net.XMLSocketReceiver
Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent.
isEquivalent(Plugin) - Method in interface org.apache.log4j.plugins.Plugin
Returns true if the testPlugin is considered to be "equivalent" to the this plugin.
isEquivalent(Plugin) - Method in class org.apache.log4j.plugins.PluginSkeleton
Returns true if the plugin has the same name and logger repository as the testPlugin passed in.
isErrorEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the ERROR Level.
isErrorEnabled() - Method in interface org.apache.log4j.ULogger
 
isErrorEnabled() - Method in class org.apache.log4j.spi.NOPULogger
 
isErrorEnabled() - Method in class org.apache.log4j.spi.SimpleULogger
Always returns true.
isField(String) - Method in class org.apache.log4j.spi.LoggingEventFieldResolver
 
isFull() - Method in class org.apache.log4j.helpers.BoundedFIFO
Return true if the buffer is full, i.e. of the number of elements in the buffer equals the buffer size.
isGenAppName(String) - Method in class org.apache.log4j.config.PropertyPrinter
Returns true if the specified appender name is considered to have been generated, i.e. if it is of the form A[0-9]+.
isGreaterOrEqual(Level) - Method in class org.apache.log4j.Level
Returns true if this level has a higher or equal level than the level passed as argument, false otherwise.
isHandledType(Class) - Method in class org.apache.log4j.config.PropertyGetter
 
isInVisualAge() - Static method in class org.apache.log4j.helpers.PlatformInfo
 
isInfoEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the info Level.
isInfoEnabled() - Method in interface org.apache.log4j.ULogger
 
isInfoEnabled() - Method in class org.apache.log4j.spi.NOPULogger
 
isInfoEnabled() - Method in class org.apache.log4j.spi.SimpleULogger
Always returns true.
isJDK14OrLater() - Static method in class org.apache.log4j.helpers.PlatformInfo
 
isJava1() - Static method in class org.apache.log4j.helpers.Loader
Are we running under JDK 1.x?
isLeftAligned() - Method in class org.apache.log4j.pattern.FormattingInfo
Determine if left aligned.
isOnAS400() - Static method in class org.apache.log4j.helpers.PlatformInfo
Are we running on AS400?
isPaused() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
isPaused() - Method in class org.apache.log4j.db.DBReceiver
 
isPaused() - Method in class org.apache.log4j.net.MulticastReceiver
 
isPaused() - Method in class org.apache.log4j.net.SocketNode
 
isPaused() - Method in class org.apache.log4j.net.SocketReceiver.SocketDetail
 
isPaused() - Method in class org.apache.log4j.net.SocketReceiver
 
isPaused() - Method in class org.apache.log4j.net.UDPReceiver
 
isPaused() - Method in class org.apache.log4j.net.XMLSocketReceiver
 
isPaused() - Method in interface org.apache.log4j.plugins.Pauseable
 
isPristine() - Method in class org.apache.log4j.Hierarchy
 
isPristine() - Method in interface org.apache.log4j.spi.LoggerRepository
Is the current configuration of the reposiroty in its original (pristine) state?
isRule(String) - Method in class org.apache.log4j.rule.RuleFactory
 
isRunning() - Method in interface org.apache.log4j.config.ConfigWatchdog
Returns true if this watchdog is currently running.
isTailing() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
isTraceEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the TRACE Level.
isTriggeringEvent(Appender, LoggingEvent, String, long) - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
Determines if a rollover may be appropriate at this time. If true is returned, RolloverPolicy.rollover will be called but it can determine that a rollover is not warranted.
isTriggeringEvent(Appender, LoggingEvent, String, long) - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Determines if a rollover may be appropriate at this time. If true is returned, RolloverPolicy.rollover will be called but it can determine that a rollover is not warranted.
isTriggeringEvent(Appender, LoggingEvent, String, long) - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
Determines if a rollover may be appropriate at this time. If true is returned, RolloverPolicy.rollover will be called but it can determine that a rollover is not warranted.
isTriggeringEvent(Appender, LoggingEvent, String, long) - Method in interface org.apache.log4j.rolling.TriggeringPolicy
Determines if a rollover may be appropriate at this time.
isTriggeringEvent(LoggingEvent) - Method in interface org.apache.log4j.spi.TriggeringEventEvaluator
Is this the triggering event?
isWarnEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the WARN Level.
isWarnEnabled() - Method in interface org.apache.log4j.ULogger
 
isWarnEnabled() - Method in class org.apache.log4j.spi.NOPULogger
 
isWarnEnabled() - Method in class org.apache.log4j.spi.SimpleULogger
Always returns true.

J

JMSAppender - class org.apache.log4j.net.JMSAppender.
A simple appender that publishes events to a JMS Topic.
JMSAppender() - Constructor for class org.apache.log4j.net.JMSAppender
 
JMSReceiver - class org.apache.log4j.net.JMSReceiver.
JMSReceiver receives a remote logging event on a configured JSM topic and "posts" it to a LoggerRepository as if the event was generated locally.
JMSReceiver() - Constructor for class org.apache.log4j.net.JMSReceiver
 
JMSReceiver(String, String, String, String, String) - Constructor for class org.apache.log4j.net.JMSReceiver
 
JMSReceiverBeanInfo - class org.apache.log4j.net.JMSReceiverBeanInfo.
BeanInfo class for the JMSReceiver.
JMSReceiverBeanInfo() - Constructor for class org.apache.log4j.net.JMSReceiverBeanInfo
 
JMSSink - class org.apache.log4j.net.JMSSink.
A simple application that consumes logging events sent by a JMSAppender.
JMSSink(String, String, String, String) - Constructor for class org.apache.log4j.net.JMSSink
 
JNDIConnectionSource - class org.apache.log4j.db.JNDIConnectionSource.
The JNDIConnectionSource is an implementation of ConnectionSource that obtains a DataSource from a JNDI provider and uses it to obtain a Connection.
JNDIConnectionSource() - Constructor for class org.apache.log4j.db.JNDIConnectionSource
 
JNDIUtil - class org.apache.log4j.helpers.JNDIUtil.
 
JNDIUtil() - Constructor for class org.apache.log4j.helpers.JNDIUtil
 
JNDI_CONTEXT_NAME - Static variable in interface org.apache.log4j.helpers.Constants
 
JndiSubstitutionPropertyAction - class org.apache.log4j.joran.action.JndiSubstitutionPropertyAction.
This action looks up JNDI properties specified in the configuration file and adds them to the Joran ExecutionContext.
JndiSubstitutionPropertyAction() - Constructor for class org.apache.log4j.joran.action.JndiSubstitutionPropertyAction
 
JoranConfigurator - class org.apache.log4j.joran.JoranConfigurator.
A JoranConfigurator instance should not be used more than once to configure a LoggerRepository.
JoranConfigurator() - Constructor for class org.apache.log4j.joran.JoranConfigurator
 
JoranConfigurator.ParseAction - interface org.apache.log4j.joran.JoranConfigurator.ParseAction.
 
jndiPath - Variable in class org.apache.log4j.net.JMSReceiver
 

K

keywordList - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 

L

LEVEL_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
LINE_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
LINE_SEP - Static variable in class org.apache.log4j.Layout
 
LINE_SEPARATOR - Static variable in class org.apache.log4j.spi.SimpleULogger
 
LINE_SEP_LEN - Static variable in class org.apache.log4j.Layout
 
LOG4J_ID_KEY - Static variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
LOG4J_ID_KEY - Static variable in interface org.apache.log4j.helpers.Constants
 
LOG4J_PACKAGE_NAME - Static variable in interface org.apache.log4j.helpers.Constants
 
LOGGER_FACTORY_KEY - Static variable in class org.apache.log4j.PropertyConfigurator
Key for specifying the LoggerFactory.
LOGGER_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
LOG_ALERT - Static variable in class org.apache.log4j.net.SyslogConstants
log alert, numerical code 14.
LOG_AUDIT - Static variable in class org.apache.log4j.net.SyslogConstants
log audit, numerical code 13.
LOG_AUTH - Static variable in class org.apache.log4j.net.SyslogConstants
security/authorization messages, numerical code 4.
LOG_AUTHPRIV - Static variable in class org.apache.log4j.net.SyslogConstants
security/authorization messages, numerical code 10.
LOG_CLOCK - Static variable in class org.apache.log4j.net.SyslogConstants
clock daemon, numerical code 15.
LOG_CRON - Static variable in class org.apache.log4j.net.SyslogConstants
clock daemon, numerical code 9.
LOG_DAEMON - Static variable in class org.apache.log4j.net.SyslogConstants
system daemons, numerical code 3.
LOG_FTP - Static variable in class org.apache.log4j.net.SyslogConstants
ftp daemon, numerical code 11.
LOG_KERN - Static variable in class org.apache.log4j.net.SyslogConstants
kernel messages, numerical code 0.
LOG_LOCAL0 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 16.
LOG_LOCAL1 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 17.
LOG_LOCAL2 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 18.
LOG_LOCAL3 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 19.
LOG_LOCAL4 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 20.
LOG_LOCAL5 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 21.
LOG_LOCAL6 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 22.
LOG_LOCAL7 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 23.
LOG_LPR - Static variable in class org.apache.log4j.net.SyslogConstants
line printer subsystem, numerical code 6.
LOG_MAIL - Static variable in class org.apache.log4j.net.SyslogConstants
mail system, numerical code 2.
LOG_NEWS - Static variable in class org.apache.log4j.net.SyslogConstants
network news subsystem, numerical code 7.
LOG_NTP - Static variable in class org.apache.log4j.net.SyslogConstants
NTP subsystem, numerical code 12.
LOG_SYSLOG - Static variable in class org.apache.log4j.net.SyslogConstants
messages generated internally by syslogd, numerical code 5.
LOG_USER - Static variable in class org.apache.log4j.net.SyslogConstants
user-level messages, numerical code 1.
LOG_UUCP - Static variable in class org.apache.log4j.net.SyslogConstants
UUCP subsystem, numerical code 8
Layout - class org.apache.log4j.Layout.
Extend this abstract class to create your own log layout format.
Layout() - Constructor for class org.apache.log4j.Layout
 
LayoutAction - class org.apache.log4j.joran.action.LayoutAction.
 
LayoutAction() - Constructor for class org.apache.log4j.joran.action.LayoutAction
 
Level - class org.apache.log4j.Level.
Defines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, and ALL.
Level(int, String, int) - Constructor for class org.apache.log4j.Level
Instantiate a level object.
LevelAction - class org.apache.log4j.joran.action.LevelAction.
 
LevelAction() - Constructor for class org.apache.log4j.joran.action.LevelAction
 
LevelEqualsRule - class org.apache.log4j.rule.LevelEqualsRule.
A Rule class implementing equals against two levels.
LevelInequalityRule - class org.apache.log4j.rule.LevelInequalityRule.
A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.
LevelMatchFilter - class org.apache.log4j.filter.LevelMatchFilter.
This is a very simple filter based on level matching.
LevelMatchFilter() - Constructor for class org.apache.log4j.filter.LevelMatchFilter
 
LevelMatchFilter - class org.apache.log4j.varia.LevelMatchFilter.
Deprecated. moved to org.apache.log4j.filter.LevelMatchFilter
LevelMatchFilter() - Constructor for class org.apache.log4j.varia.LevelMatchFilter
Deprecated.  
LevelPatternConverter - class org.apache.log4j.pattern.LevelPatternConverter.
Return the event's level in a StringBuffer.
LevelRangeFilter - class org.apache.log4j.filter.LevelRangeFilter.
This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.
LevelRangeFilter() - Constructor for class org.apache.log4j.filter.LevelRangeFilter
 
LevelRangeFilter - class org.apache.log4j.varia.LevelRangeFilter.
Deprecated. moved to org.apache.log4j.filter.LevelRangeFilter
LevelRangeFilter() - Constructor for class org.apache.log4j.varia.LevelRangeFilter
Deprecated.  
LikeRule - class org.apache.log4j.rule.LikeRule.
A Rule class providing support for ORO-based regular expression syntax.
LineLocationPatternConverter - class org.apache.log4j.pattern.LineLocationPatternConverter.
Return the event's line location information in a StringBuffer.
LineSeparatorPatternConverter - class org.apache.log4j.pattern.LineSeparatorPatternConverter.
Formats a line separator.
ListAppender - class org.apache.log4j.varia.ListAppender.
A very basic appender that takes the events and stores them in to a java.util.List for late retrieval.
ListAppender() - Constructor for class org.apache.log4j.varia.ListAppender
Constructs a list appender.
ListModelAppender - class org.apache.log4j.varia.ListModelAppender.
A very basic appender that takes the events and stores them in to a ListModel for late retrieval.
ListModelAppender() - Constructor for class org.apache.log4j.varia.ListModelAppender
Constructs a ListModelAppender.
LiteralPatternConverter - class org.apache.log4j.pattern.LiteralPatternConverter.
Formats a string literal.
LiteralPatternConverter(String) - Constructor for class org.apache.log4j.pattern.LiteralPatternConverter
Create a new instance.
Loader - class org.apache.log4j.helpers.Loader.
Load resources (or images) from various sources.
Loader() - Constructor for class org.apache.log4j.helpers.Loader
 
LocationInfoFilter - class org.apache.log4j.filter.LocationInfoFilter.
Location information is usually specified at the appender level - all events associated with an appender either create and parse stack traces or they do not.
LocationInfoFilter() - Constructor for class org.apache.log4j.filter.LocationInfoFilter
 
Log4jEntityResolver - class org.apache.log4j.xml.Log4jEntityResolver.
An EntityResolver specifically designed to return log4j.dtd which is embedded within the log4j jar file.
Log4jEntityResolver() - Constructor for class org.apache.log4j.xml.Log4jEntityResolver
 
LogFilePatternReceiver - class org.apache.log4j.varia.LogFilePatternReceiver.
LogFilePatternReceiver can parse and tail log files, converting entries into LoggingEvents.
LogFilePatternReceiver() - Constructor for class org.apache.log4j.varia.LogFilePatternReceiver
 
LogFilePatternReceiverBeanInfo - class org.apache.log4j.varia.LogFilePatternReceiverBeanInfo.
BeanInfo class for the meta-data of the LogFilePatternReceiver.
LogFilePatternReceiverBeanInfo() - Constructor for class org.apache.log4j.varia.LogFilePatternReceiverBeanInfo
 
LogLog - class org.apache.log4j.helpers.LogLog.
This class used to output log statements from within the log4j package.
LogLog() - Constructor for class org.apache.log4j.helpers.LogLog
 
LogManager - class org.apache.log4j.LogManager.
Use the LogManager class to retreive Logger instances or to operate on the current LoggerRepository.
LogManager() - Constructor for class org.apache.log4j.LogManager
 
Logger - class org.apache.log4j.Logger.
This is the central class in the log4j package.
Logger(String) - Constructor for class org.apache.log4j.Logger
This constructor creates a new Logger instance and sets its name.
LoggerAction - class org.apache.log4j.joran.action.LoggerAction.
 
LoggerAction() - Constructor for class org.apache.log4j.joran.action.LoggerAction
 
LoggerEventListener - interface org.apache.log4j.spi.LoggerEventListener.
Interface used to listen for Logger related events such as add/remove appender or changing levels.
LoggerFactory - interface org.apache.log4j.spi.LoggerFactory.
Implement this interface to create new instances of Logger or a sub-class of Logger.
LoggerPatternConverter - class org.apache.log4j.pattern.LoggerPatternConverter.
Formats a logger name.
LoggerRepository - interface org.apache.log4j.spi.LoggerRepository.
A LoggerRepository is used to create and retrieve Loggers.
LoggerRepositoryEventListener - interface org.apache.log4j.spi.LoggerRepositoryEventListener.
Interface used to listen for LoggerRepository related events such as startup, reset, and shutdown.
LoggerTraverse - class org.apache.log4j.helpers.LoggerTraverse.
This helper class can be used to extract/traverse logger information for a given LoggerRepository.
LoggerTraverse() - Constructor for class org.apache.log4j.helpers.LoggerTraverse
Empty constructor.
LoggerTraverse(LoggerRepository) - Constructor for class org.apache.log4j.helpers.LoggerTraverse
 
LoggingEvent - class org.apache.log4j.spi.LoggingEvent.
The internal representation of logging events.
LoggingEvent() - Constructor for class org.apache.log4j.spi.LoggingEvent
The no-argument constructor for LoggingEvent.
LoggingEvent(String, Logger, Level, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
Instantiate a LoggingEvent from the supplied parameters.
LoggingEvent(String, Logger, long, Level, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
Deprecated. Please use the no argument constructor and the setter methods instead.
LoggingEventFieldResolver - class org.apache.log4j.spi.LoggingEventFieldResolver.
A singleton helper utility which accepts a field name and a LoggingEvent and returns the String value of that field.
LoggingEventPatternConverter - class org.apache.log4j.pattern.LoggingEventPatternConverter.
LoggingEventPatternConverter is a base class for pattern converters that can format information from instances of LoggingEvent.
LoggingEventPatternConverter(String, String) - Constructor for class org.apache.log4j.pattern.LoggingEventPatternConverter
Constructs an instance of LoggingEventPatternConverter.
l7dlog(Level, String, Throwable) - Method in class org.apache.log4j.Category
Log a localized message.
l7dlog(Level, String, Object[], Throwable) - Method in class org.apache.log4j.Category
Log a localized and parameterized message.
layout - Variable in class org.apache.log4j.AppenderSkeleton
The layout variable does not need to be set if the appender implementation has its own layout.
layoutNames - Variable in class org.apache.log4j.config.PropertyPrinter
 
length() - Method in class org.apache.log4j.helpers.BoundedFIFO
Get the number of elements in the buffer.
length() - Method in class org.apache.log4j.helpers.CyclicBuffer
Get the number of elements in the buffer.
level - Variable in class org.apache.log4j.Category
The assigned level of this category.
levelChangedEvent(Logger) - Method in interface org.apache.log4j.spi.LoggerEventListener
Called when level changed on the logger.
loadClass(String) - Static method in class org.apache.log4j.helpers.Loader
If running under JDK 1.2 load the specified class using the Thread contextClassLoader if that fails try Class.forname.
locationInformationExists() - Method in class org.apache.log4j.spi.LoggingEvent
Check for the existence of location information without creating it (a byproduct of calling getLocationInformation).
lock - Variable in class org.apache.log4j.Category
 
log(Priority, Object, Throwable) - Method in class org.apache.log4j.Category
Deprecated. Use the form taking in a Level as a parameter.
log(Level, Object, Throwable) - Method in class org.apache.log4j.Category
This generic form is intended to be used by wrappers.
log(Priority, Object) - Method in class org.apache.log4j.Category
Deprecated. Use the form taking in a Level as a parameter.
log(Level, Object) - Method in class org.apache.log4j.Category
This generic form is intended to be used by wrappers.
log(String, Level, Object, Throwable) - Method in class org.apache.log4j.Category
This is the most generic printing method.
log(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
Deprecated. Use the form taking in a Level as a parameter.
log4jInternalConfiguration(LoggerRepository) - Static method in class org.apache.log4j.helpers.IntializationUtil
 
loggerFactory - Variable in class org.apache.log4j.PropertyConfigurator
 
loggerHasSubPackages(String) - Method in class org.apache.log4j.helpers.LoggerTraverse
Returns true if the given package name appears to have sub-package.
lookup(Context, String) - Static method in class org.apache.log4j.helpers.JNDIUtil
 
lookup(Context, String) - Method in class org.apache.log4j.net.JMSAppender
 
lookup(Context, String) - Method in class org.apache.log4j.net.JMSReceiver
 
lookup(Context, String) - Static method in class org.apache.log4j.net.JMSSink
 

M

MDC - class org.apache.log4j.MDC.
The MDC class is similar to the NDC class except that it is based on a map instead of a stack.
METHOD_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
MSG_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
MSSQL_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
MYSQL_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
MapFilter - class org.apache.log4j.filter.MapFilter.
 
MapFilter() - Constructor for class org.apache.log4j.filter.MapFilter
 
MessageFormatter - class org.apache.log4j.helpers.MessageFormatter.
Formats messages according to very simple rules.
MessageFormatter() - Constructor for class org.apache.log4j.helpers.MessageFormatter
 
MessagePatternConverter - class org.apache.log4j.pattern.MessagePatternConverter.
Return the event's rendered message in a StringBuffer.
MessageRenderer - class org.apache.log4j.or.jms.MessageRenderer.
Render javax.jms.Message objects.
MessageRenderer() - Constructor for class org.apache.log4j.or.jms.MessageRenderer
 
MethodLocationPatternConverter - class org.apache.log4j.pattern.MethodLocationPatternConverter.
Return the event's line location information in a StringBuffer.
MsSQLDialect - class org.apache.log4j.db.dialect.MsSQLDialect.
The MS SQL Server dialect is untested.
MsSQLDialect() - Constructor for class org.apache.log4j.db.dialect.MsSQLDialect
 
MulticastAppender - class org.apache.log4j.net.MulticastAppender.
Multicast-based Appender.
MulticastAppender() - Constructor for class org.apache.log4j.net.MulticastAppender
 
MulticastReceiver - class org.apache.log4j.net.MulticastReceiver.
Multicast-based receiver.
MulticastReceiver() - Constructor for class org.apache.log4j.net.MulticastReceiver
 
MulticastReceiverBeanInfo - class org.apache.log4j.net.MulticastReceiverBeanInfo.
BeanInfo class for the meta-data of the MulticastReceiver.
MulticastReceiverBeanInfo() - Constructor for class org.apache.log4j.net.MulticastReceiverBeanInfo
 
MySQLDialect - class org.apache.log4j.db.dialect.MySQLDialect.
 
MySQLDialect() - Constructor for class org.apache.log4j.db.dialect.MySQLDialect
 
main(String[]) - Static method in class org.apache.log4j.config.PropertyPrinter
 
main(String[]) - Static method in class org.apache.log4j.helpers.LoggerTraverse
here is an example of using the hierarchical version, iterating through all the package names, all the loggers.
main(String[]) - Static method in class org.apache.log4j.net.JMSSink
 
main(String[]) - Static method in class org.apache.log4j.net.SimpleSocketServer
 
main(String[]) - Static method in class org.apache.log4j.net.SocketServer
 
main(String[]) - Static method in class org.apache.log4j.varia.LogFilePatternReceiver
 
main(String[]) - Static method in class org.apache.log4j.varia.Roller
Deprecated. Send a "RollOver" message to ExternallyRolledFileAppender on host and port.
main(String[]) - Static method in class org.apache.log4j.xml.examples.XMLSample
Command-line entry.
makeNewLoggerInstance(String) - Method in interface org.apache.log4j.spi.LoggerFactory
 
methodDescriptors - Variable in class org.apache.log4j.config.PropertySetter
 
msg - Variable in class org.apache.log4j.net.SMTPAppender
 

N

NAME_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 
NDC - class org.apache.log4j.NDC.
The NDC class implements nested diagnostic contexts as defined by Neil Harrison in the article "Patterns for Logging Diagnostic Messages" part of the book "Pattern Languages of Program Design 3" edited by Martin et al.
NDCPatternConverter - class org.apache.log4j.pattern.NDCPatternConverter.
Return the event's NDC in a StringBuffer.
NDC_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
NEUTRAL - Static variable in class org.apache.log4j.spi.Filter
This filter is neutral with respect to the log event.
NOPULogger - class org.apache.log4j.spi.NOPULogger.
A no operation (NOP) implementation of ULogger.
NOP_LOGGER - Static variable in class org.apache.log4j.spi.NOPULogger
The unique instance of NOPLogger.
NOT_FOUND - Static variable in class org.apache.log4j.config.PropertySetter
 
NULL - Static variable in interface org.apache.log4j.spi.Configurator
Special level signifying inherited behaviour, same as Configurator.INHERITED.
NULL_ARG - Static variable in class org.apache.log4j.config.PropertyGetter
 
NameAbbreviator - class org.apache.log4j.pattern.NameAbbreviator.
NameAbbreviator generates abbreviated logger and class names.
NameAbbreviator() - Constructor for class org.apache.log4j.pattern.NameAbbreviator
 
NamePatternConverter - class org.apache.log4j.pattern.NamePatternConverter.
Base class for other pattern converters which can return only parts of their name.
NamePatternConverter(String, String, String[]) - Constructor for class org.apache.log4j.pattern.NamePatternConverter
Constructor.
NestComponentIA - class org.apache.log4j.joran.action.NestComponentIA.
 
NestComponentIA() - Constructor for class org.apache.log4j.joran.action.NestComponentIA
 
NetworkBased - interface org.apache.log4j.net.NetworkBased.
The parent of all the Network based interfaces.
NewRuleAction - class org.apache.log4j.joran.action.NewRuleAction.
 
NewRuleAction() - Constructor for class org.apache.log4j.joran.action.NewRuleAction
 
NotEqualsRule - class org.apache.log4j.rule.NotEqualsRule.
A Rule class implementing not equals against two strings.
NotRule - class org.apache.log4j.rule.NotRule.
A Rule class implementing logical not.
NullAppender - class org.apache.log4j.varia.NullAppender.
A NullAppender merely exists, it never outputs a message to any device.
NullAppender() - Constructor for class org.apache.log4j.varia.NullAppender
 
NullEnumeration - class org.apache.log4j.helpers.NullEnumeration.
An always-empty Enumerator.
name - Variable in class org.apache.log4j.AppenderSkeleton
Appenders are named.
name - Variable in class org.apache.log4j.Category
The name of this category.
name - Variable in class org.apache.log4j.plugins.PluginSkeleton
Name of this plugin.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.ClassNamePatternConverter
Gets an instance of ClassNamePatternConverter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.DatePatternConverter
Obtains an instance of pattern converter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.FileDatePatternConverter
Obtains an instance of pattern converter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.FileLocationPatternConverter
Obtains an instance of pattern converter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.FullLocationPatternConverter
Obtains an instance of pattern converter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.IntegerPatternConverter
Obtains an instance of pattern converter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.LevelPatternConverter
Obtains an instance of pattern converter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.LineLocationPatternConverter
Obtains an instance of pattern converter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.LineSeparatorPatternConverter
Obtains an instance of pattern converter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.LoggerPatternConverter
Obtains an instance of pattern converter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.MessagePatternConverter
Obtains an instance of pattern converter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.MethodLocationPatternConverter
Obtains an instance of MethodLocationPatternConverter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.NDCPatternConverter
Obtains an instance of NDCPatternConverter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.PropertiesPatternConverter
Obtains an instance of PropertiesPatternConverter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.RelativeTimePatternConverter
Obtains an instance of RelativeTimePatternConverter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.SequenceNumberPatternConverter
Obtains an instance of SequencePatternConverter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.ThreadPatternConverter
Obtains an instance of ThreadPatternConverter.
newInstance(String[], ULogger) - Static method in class org.apache.log4j.pattern.ThrowableInformationPatternConverter
Gets an instance of the class.
next - Variable in class org.apache.log4j.spi.Filter
Deprecated. As of 1.2.12, use Filter.getNext() and Filter.setNext(org.apache.log4j.spi.Filter) instead
nextElement() - Method in class org.apache.log4j.helpers.NullEnumeration
 
numAppenders - Variable in class org.apache.log4j.config.PropertyPrinter
 

O

OFF - Static variable in class org.apache.log4j.Level
The OFF has the highest possible rank and is intended to turn off logging.
OFF_INT - Static variable in class org.apache.log4j.Level
OFF level integer value.
OK - Static variable in class org.apache.log4j.varia.ExternallyRolledFileAppender
Deprecated. The string constant sent to acknowledge a roll over.
ORACLE_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
ObjectRenderer - interface org.apache.log4j.or.ObjectRenderer.
Implement this interface in order to render objects as strings.
OnlyOnceErrorHandler - class org.apache.log4j.helpers.OnlyOnceErrorHandler.
Deprecated. As of 1.3
OnlyOnceErrorHandler() - Constructor for class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
Option - class org.apache.log4j.helpers.Option.
 
Option() - Constructor for class org.apache.log4j.helpers.Option
 
OptionConverter - class org.apache.log4j.helpers.OptionConverter.
A convenience class to convert property values to specific types.
OptionConverter() - Constructor for class org.apache.log4j.helpers.OptionConverter
 
OptionHandler - interface org.apache.log4j.spi.OptionHandler.
A string based interface to configure package components.
OrRule - class org.apache.log4j.rule.OrRule.
A Rule class implementing logical or.
OracleDialect - class org.apache.log4j.db.dialect.OracleDialect.
The Oracle dialect.
OracleDialect() - Constructor for class org.apache.log4j.db.dialect.OracleDialect
 
obj - Variable in class org.apache.log4j.config.PropertyGetter
 
obj - Variable in class org.apache.log4j.config.PropertySetter
 
objClass - Variable in class org.apache.log4j.config.PropertySetter
 
onMessage(Message) - Method in class org.apache.log4j.net.JMSReceiver
 
onMessage(Message) - Method in class org.apache.log4j.net.JMSSink
 
org.apache.log4j - package org.apache.log4j
The main log4j package.
org.apache.log4j.config - package org.apache.log4j.config
Package used in getting/setting component properties.
org.apache.log4j.db - package org.apache.log4j.db
The org.apache.log4j.db package provides means to append logging events into various databases.
org.apache.log4j.db.dialect - package org.apache.log4j.db.dialect
 
org.apache.log4j.filter - package org.apache.log4j.filter
 
org.apache.log4j.helpers - package org.apache.log4j.helpers
This package is used internally.
org.apache.log4j.joran - package org.apache.log4j.joran
 
org.apache.log4j.joran.action - package org.apache.log4j.joran.action
 
org.apache.log4j.net - package org.apache.log4j.net
Package for remote logging.
org.apache.log4j.or - package org.apache.log4j.or
ObjectRenders are resposible for rendering messages depending on their class type.
org.apache.log4j.or.jms - package org.apache.log4j.or.jms
This package contains the MessageRenderer which renders objects of type javax.jms.Message.
org.apache.log4j.or.sax - package org.apache.log4j.or.sax
This package contains the AttributesRenderer which renders object of class org.xml.sax.Attributes.
org.apache.log4j.pattern - package org.apache.log4j.pattern
Provides classes implementing format specifiers in conversion patterns.
org.apache.log4j.plugins - package org.apache.log4j.plugins
 
org.apache.log4j.rolling - package org.apache.log4j.rolling
Implements various file rolling policies.
org.apache.log4j.rolling.helper - package org.apache.log4j.rolling.helper
Internal helper classes used by org.apache.log4j.rolling package.
org.apache.log4j.rule - package org.apache.log4j.rule
 
org.apache.log4j.selector - package org.apache.log4j.selector
org.apache.log4j.selector This package contains classes useful for working with Log4j in a container environment where many applications need to share Log4j without stepping on each other's logging configuration.
org.apache.log4j.spi - package org.apache.log4j.spi
Contains part of the System Programming Interface (SPI) needed to extend log4j.
org.apache.log4j.varia - package org.apache.log4j.varia
Contains various appenders, filters and other odds and ends.
org.apache.log4j.xml - package org.apache.log4j.xml
XML based components.
org.apache.log4j.xml.examples - package org.apache.log4j.xml.examples
Example usage of log4j with XML (including source code).
out - Variable in class org.apache.log4j.config.PropertyPrinter
 

P

PATTERN_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 
PATTERN_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
PATTERN_RULE_REGISTRY - Static variable in class org.apache.log4j.PatternLayout
Customized pattern conversion rules are stored under this key in the LoggerRepository object store.
POSTGRES_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
PROPERTIES_EXIST - Static variable in class org.apache.log4j.db.DBHelper
 
PROP_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
ParamAction - class org.apache.log4j.joran.action.ParamAction.
 
ParamAction() - Constructor for class org.apache.log4j.joran.action.ParamAction
 
PartialTextMatchRule - class org.apache.log4j.rule.PartialTextMatchRule.
A Rule class implementing case-insensitive partial-text matches against two strings.
PatternConverter - class org.apache.log4j.pattern.PatternConverter.
PatternConverter is an abstract class that provides the formatting functionality that derived classes need.
PatternConverter(String, String) - Constructor for class org.apache.log4j.pattern.PatternConverter
Create a new pattern converter.
PatternLayout - class org.apache.log4j.PatternLayout.
A flexible layout configurable with pattern string.
PatternLayout() - Constructor for class org.apache.log4j.PatternLayout
Constructs a PatternLayout using the DEFAULT_LAYOUT_PATTERN.
PatternLayout(String) - Constructor for class org.apache.log4j.PatternLayout
Constructs a PatternLayout using the supplied conversion pattern.
PatternParser - class org.apache.log4j.pattern.PatternParser.
Most of the work of the PatternLayout class is delegated to the PatternParser class.
Pauseable - interface org.apache.log4j.plugins.Pauseable.
Instances of this interface can be paused, and resumed.
PlatformInfo - class org.apache.log4j.helpers.PlatformInfo.
This class provides information about the runtime platform.
PlatformInfo() - Constructor for class org.apache.log4j.helpers.PlatformInfo
 
Plugin - interface org.apache.log4j.plugins.Plugin.
Defines the required interface for all Plugin objects.
PluginAction - class org.apache.log4j.joran.action.PluginAction.
 
PluginAction() - Constructor for class org.apache.log4j.joran.action.PluginAction
 
PluginEvent - class org.apache.log4j.plugins.PluginEvent.
All Plugin events are encapsulated in this class, which simply contains the source Plugin, but may in future include more information.
PluginListener - interface org.apache.log4j.plugins.PluginListener.
PluginListeners are notified when plugins are started or stopped by the PluginRegistry.
PluginRegistry - class org.apache.log4j.plugins.PluginRegistry.
This is a registry for Plugin instances.
PluginRegistry(LoggerRepository) - Constructor for class org.apache.log4j.plugins.PluginRegistry
 
PluginSkeleton - class org.apache.log4j.plugins.PluginSkeleton.
A convienent abstract class for plugin subclasses that implements the basic methods of the Plugin interface.
PluginSkeleton() - Constructor for class org.apache.log4j.plugins.PluginSkeleton
 
PortBased - interface org.apache.log4j.net.PortBased.
Net based entities that 'work with' a Port should consider implementing this interface so that they can be treated generically.
PostgreSQLDialect - class org.apache.log4j.db.dialect.PostgreSQLDialect.
 
PostgreSQLDialect() - Constructor for class org.apache.log4j.db.dialect.PostgreSQLDialect
 
Priority - class org.apache.log4j.Priority.
Deprecated.  
PriorityAction - class org.apache.log4j.joran.action.PriorityAction.
This action allows us to warn users that the Priority element has been deprecated but is still accepted.
PriorityAction() - Constructor for class org.apache.log4j.joran.action.PriorityAction
 
PropertiesPatternConverter - class org.apache.log4j.pattern.PropertiesPatternConverter.
Able to handle the contents of the LoggingEvent's Property bundle 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.
PropertyAction - class org.apache.log4j.joran.action.PropertyAction.
This class serves as a base for other actions, which similar to the ANT task which add/set properties of a given object.
PropertyAction() - Constructor for class org.apache.log4j.joran.action.PropertyAction
 
PropertyConfigurator - class org.apache.log4j.PropertyConfigurator.
Allows the configuration of log4j from an external file.
PropertyConfigurator() - Constructor for class org.apache.log4j.PropertyConfigurator
 
PropertyFilter - class org.apache.log4j.filter.PropertyFilter.
NOTE: This filter modifies logging events by adding properties to the event.
PropertyFilter() - Constructor for class org.apache.log4j.filter.PropertyFilter
 
PropertyGetter - class org.apache.log4j.config.PropertyGetter.
Used for inferring configuration information for a log4j's component.
PropertyGetter(Object) - Constructor for class org.apache.log4j.config.PropertyGetter
Create a new PropertyGetter for the specified Object.
PropertyGetter.PropertyCallback - interface org.apache.log4j.config.PropertyGetter.PropertyCallback.
 
PropertyPrinter - class org.apache.log4j.config.PropertyPrinter.
Prints the configuration of the log4j default hierarchy (which needs to be auto-initialized) as a propoperties file on a PrintWriter.
PropertyPrinter(PrintWriter) - Constructor for class org.apache.log4j.config.PropertyPrinter
 
PropertyPrinter(PrintWriter, boolean) - Constructor for class org.apache.log4j.config.PropertyPrinter
 
PropertySetter - class org.apache.log4j.config.PropertySetter.
General purpose Object property setter.
PropertySetter(Object) - Constructor for class org.apache.log4j.config.PropertySetter
Create a new PropertySetter for the specified Object.
PropertySetterException - exception org.apache.log4j.config.PropertySetterException.
Thrown when an error is encountered whilst attempting to set a property using the PropertySetter utility class.
PropertySetterException(String) - Constructor for class org.apache.log4j.config.PropertySetterException
 
PropertySetterException(Throwable) - Constructor for class org.apache.log4j.config.PropertySetterException
 
parent - Variable in class org.apache.log4j.Category
The parent of this category.
parse(String, ParsePosition) - Method in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Deprecated. 
parse(String, ParsePosition) - Method in class org.apache.log4j.helpers.RelativeTimeDateFormat
This method does not do anything but return null.
parse(SAXParser, DefaultHandler) - Method in interface org.apache.log4j.joran.JoranConfigurator.ParseAction
 
parse(String, List, List, Map, Map, ULogger) - Static method in class org.apache.log4j.pattern.PatternParser
Parse a format specifier.
parseCatsAndRenderers(Properties, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Parse non-root elements, such non-root categories and renderers.
parseFileNamePattern() - Method in class org.apache.log4j.rolling.RollingPolicyBase
Parse file name pattern.
password - Variable in class org.apache.log4j.net.JMSReceiver
 
paused - Variable in class org.apache.log4j.net.UDPReceiver
 
peek() - Static method in class org.apache.log4j.NDC
Looks at the last diagnostic context at the top of this NDC without removing it.
pluginNameExists(String) - Method in class org.apache.log4j.plugins.PluginRegistry
Returns true if the specified name is already taken by an existing Plugin registered within the scope of the specified LoggerRepository.
pluginStarted(PluginEvent) - Method in interface org.apache.log4j.plugins.PluginListener
 
pluginStopped(PluginEvent) - Method in interface org.apache.log4j.plugins.PluginListener
 
pop() - Static method in class org.apache.log4j.NDC
Clients should call this method before leaving a diagnostic context.
port - Variable in class org.apache.log4j.net.SocketHubReceiver
 
port - Variable in class org.apache.log4j.net.SocketReceiver
 
port - Variable in class org.apache.log4j.net.XMLSocketReceiver
 
pos - Variable in class org.apache.log4j.TTCCLayout
Deprecated.  
pos - Variable in class org.apache.log4j.net.SyslogAppender
 
prepareForDeferredProcessing() - Method in class org.apache.log4j.spi.LoggingEvent
This method should be called prior to serializing an event.
printOptions(PrintWriter, Logger) - Method in class org.apache.log4j.config.PropertyPrinter
Prints the configuration of the default log4j hierarchy as a Java properties file on the specified Writer.
printOptions(PrintWriter, Object, String) - Method in class org.apache.log4j.config.PropertyPrinter
 
process(Reader) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Read, parse and optionally tail the log file, converting entries into logging events A runtimeException is thrown if the logFormat pattern is malformed according to ORO's Perl5Compiler.
propertyDescriptors - Variable in class org.apache.log4j.config.PropertySetter
 
props - Variable in class org.apache.log4j.config.PropertyGetter
 
push(String) - Static method in class org.apache.log4j.NDC
Push new diagnostic context information for the current thread.
put(String, String) - Static method in class org.apache.log4j.MDC
Put a context value (the val parameter) as identified with the key parameter into the current thread's context map.
put(String, Object) - Static method in class org.apache.log4j.MDC
Deprecated. please use the MDC.put(String key, String val) form.
put(LoggingEvent) - Method in class org.apache.log4j.helpers.BoundedFIFO
Place a LoggingEvent in the buffer.
put(Class, ObjectRenderer) - Method in class org.apache.log4j.or.RendererMap
Register an ObjectRenderer for clazz.
putObject(String, Object) - Method in class org.apache.log4j.Hierarchy
 
putObject(String, Object) - Method in interface org.apache.log4j.spi.LoggerRepository
Store an object under 'key'.

R

REF_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
ROLL_OVER - Static variable in class org.apache.log4j.varia.ExternallyRolledFileAppender
Deprecated. The string constant sent to initiate a roll over.
ReaderWriterLock - class org.apache.log4j.helpers.ReaderWriterLock.
A RederWriterLock allows multiple readers to obtain the lock at the same time but allows only one writer at a time.
ReaderWriterLock() - Constructor for class org.apache.log4j.helpers.ReaderWriterLock
 
ReaderWriterLock(PrintWriter) - Constructor for class org.apache.log4j.helpers.ReaderWriterLock
 
Receiver - class org.apache.log4j.plugins.Receiver.
Defines the base class for Receiver plugins.
Receiver() - Constructor for class org.apache.log4j.plugins.Receiver
 
ReflectionFilter - class org.apache.log4j.filter.ReflectionFilter.
 
ReflectionFilter() - Constructor for class org.apache.log4j.filter.ReflectionFilter
 
RelativeTimeDateFormat - class org.apache.log4j.helpers.RelativeTimeDateFormat.
Formats a Date by printing the number of milliseconds elapsed since the start of the application.
RelativeTimeDateFormat() - Constructor for class org.apache.log4j.helpers.RelativeTimeDateFormat
 
RelativeTimePatternConverter - class org.apache.log4j.pattern.RelativeTimePatternConverter.
Return the relative time in milliseconds since loading of the LoggingEvent class.
RelativeTimePatternConverter() - Constructor for class org.apache.log4j.pattern.RelativeTimePatternConverter
Private constructor.
RendererMap - class org.apache.log4j.or.RendererMap.
Map class objects to an ObjectRenderer.
RendererMap() - Constructor for class org.apache.log4j.or.RendererMap
 
RendererSupport - interface org.apache.log4j.spi.RendererSupport.
 
ReportParserError - class org.apache.log4j.xml.examples.ReportParserError.
This class is needed for validating a log4j.dtd derived XML file.
ReportParserError() - Constructor for class org.apache.log4j.xml.examples.ReportParserError
 
RepositoryPropertyAction - class org.apache.log4j.joran.action.RepositoryPropertyAction.
 
RepositoryPropertyAction() - Constructor for class org.apache.log4j.joran.action.RepositoryPropertyAction
 
RepositorySelector - interface org.apache.log4j.spi.RepositorySelector.
The LogManager uses one (and only one) RepositorySelector implementation to select the LoggerRepository for a particular application context.
Roller - class org.apache.log4j.varia.Roller.
Deprecated. 1.3
RollingFileAppender - class org.apache.log4j.RollingFileAppender.
Deprecated. Replaced by RollingFileAppender
RollingFileAppender() - Constructor for class org.apache.log4j.RollingFileAppender
Deprecated. The default constructor simply calls its parents constructor.
RollingFileAppender(Layout, String, boolean) - Constructor for class org.apache.log4j.RollingFileAppender
Deprecated. Instantiate a RollingFileAppender and open the file designated by filename.
RollingFileAppender(Layout, String) - Constructor for class org.apache.log4j.RollingFileAppender
Deprecated. Instantiate a FileAppender and open the file designated by filename.
RollingFileAppender - class org.apache.log4j.rolling.RollingFileAppender.
RollingFileAppender extends FileAppender to backup the log files depending on RollingPolicy and TriggeringPolicy.
RollingFileAppender() - Constructor for class org.apache.log4j.rolling.RollingFileAppender
Construct a new instance.
RollingPolicy - interface org.apache.log4j.rolling.RollingPolicy.
A RollingPolicy specifies the actions taken on a logging file rollover.
RollingPolicyBase - class org.apache.log4j.rolling.RollingPolicyBase.
Implements methods common to most, it not all, rolling policies.
RollingPolicyBase() - Constructor for class org.apache.log4j.rolling.RollingPolicyBase
 
RolloverDescription - interface org.apache.log4j.rolling.RolloverDescription.
Description of actions needed to complete rollover.
RolloverDescriptionImpl - class org.apache.log4j.rolling.RolloverDescriptionImpl.
Description of actions needed to complete rollover.
RolloverDescriptionImpl(String, boolean, Action, Action) - Constructor for class org.apache.log4j.rolling.RolloverDescriptionImpl
Create new instance.
RootCategory - class org.apache.log4j.spi.RootCategory.
Deprecated. Replaced by RootLogger.
RootCategory(Level) - Constructor for class org.apache.log4j.spi.RootCategory
Deprecated. The root category names itself as "root".
RootLogger - class org.apache.log4j.spi.RootLogger.
RootLogger sits at the top of the category hierachy.
RootLogger(Level) - Constructor for class org.apache.log4j.spi.RootLogger
The root category names itself as "root".
RootLoggerAction - class org.apache.log4j.joran.action.RootLoggerAction.
 
RootLoggerAction() - Constructor for class org.apache.log4j.joran.action.RootLoggerAction
 
Rule - interface org.apache.log4j.rule.Rule.
A Rule evaluates to true of false given a LoggingEvent object, and can notify listeners when the underlying implementation of this Rule has it's criteria changed by using the standard PropertyChangeListener infrastructure.
RuleFactory - class org.apache.log4j.rule.RuleFactory.
A Factory class which, given a string representation of the rule, and a context stack, will return a Rule ready for evaluation against events.
reconnectionDelay - Variable in class org.apache.log4j.net.SocketHubReceiver
 
registry - Variable in class org.apache.log4j.PropertyConfigurator
Used internally to keep track of configured appenders.
releaseReadLock() - Method in class org.apache.log4j.helpers.ReaderWriterLock
 
releaseWriteLock() - Method in class org.apache.log4j.helpers.ReaderWriterLock
 
remove(String) - Static method in class org.apache.log4j.MDC
Remove the the context identified by the key parameter.
remove() - Static method in class org.apache.log4j.NDC
Remove the diagnostic context for this thread.
removeAllAppenders() - Method in class org.apache.log4j.AsyncAppender
 
removeAllAppenders() - Method in class org.apache.log4j.Category
Remove all previously added appenders from this Category instance.
removeAllAppenders() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Remove and close all previously attached appenders.
removeAllAppenders() - Method in interface org.apache.log4j.spi.AppenderAttachable
Remove all previously added appenders.
removeAppender(Appender) - Method in class org.apache.log4j.AsyncAppender
 
removeAppender(String) - Method in class org.apache.log4j.AsyncAppender
 
removeAppender(Appender) - Method in class org.apache.log4j.Category
Remove the appender passed as parameter form the list of appenders.
removeAppender(String) - Method in class org.apache.log4j.Category
Remove the appender with the name passed as parameter form the list of appenders.
removeAppender(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Remove the appender passed as parameter form the list of attached appenders.
removeAppender(String) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Remove the appender with the name passed as parameter form the list of appenders.
removeAppender(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
Remove the appender passed as parameter from the list of appenders.
removeAppender(String) - Method in interface org.apache.log4j.spi.AppenderAttachable
Remove the appender with the name passed as parameter from the list of appenders.
removeAppenderEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
 
removeLoggerEventListener(LoggerEventListener) - Method in class org.apache.log4j.Hierarchy
Remove a LoggerEventListener from the repository.
removeLoggerEventListener(LoggerEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
Remove a LoggerEventListener from the repository.
removeLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in class org.apache.log4j.Hierarchy
Remove a LoggerRepositoryEventListener from the repository.
removeLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
Remove a LoggerRepositoryEventListener from the repository.
removePluginListener(PluginListener) - Method in class org.apache.log4j.plugins.PluginRegistry
Removes a particular PluginListener from this registry such that it will no longer be notified of PluginEvents
removePropertyChangeListener(PropertyChangeListener) - Method in interface org.apache.log4j.plugins.Plugin
Removes a specific PropertyChangeListener from this instances registry that has been mapped to be notified of all property changes.
removePropertyChangeListener(String, PropertyChangeListener) - Method in interface org.apache.log4j.plugins.Plugin
Removes a specific PropertyChangeListener from this instance's registry which has been previously registered to be notified of only a specific property change.
removePropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
removePropertyChangeListener(String, PropertyChangeListener) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
removePropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.rule.AbstractRule
 
removePropertyChangeListener(PropertyChangeListener) - Method in interface org.apache.log4j.rule.Rule
Removes a known PropertyChangeListener from this Rule.
removeSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketHubReceiver
Removes a specific SocketNodeEventListener from this instance so that it will no longer be notified of SocketNode events.
removeSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketNode
Removes the registered Listener from this instances list of listeners.
removeSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketReceiver
Removes the registered Listener from this instances list of listeners.
reportException(Exception) - Method in class org.apache.log4j.rolling.helper.ActionBase
Capture exception.
reportException(Exception) - Method in class org.apache.log4j.rolling.helper.GZCompressAction
Capture exception.
reportException(Exception) - Method in class org.apache.log4j.rolling.helper.ZipCompressAction
Capture exception.
repository - Variable in class org.apache.log4j.Category
 
repository - Variable in class org.apache.log4j.spi.ComponentBase
 
requiresLayout() - Method in class org.apache.log4j.AsyncAppender
Deprecated. Will be removed with no replacement.
requiresLayout() - Method in class org.apache.log4j.net.SMTPAppender
The SMTPAppender requires a layout.
requiresLayout() - Method in class org.apache.log4j.net.SocketHubAppender
The SocketHubAppender does not use a layout.
requiresLayout() - Method in class org.apache.log4j.net.TelnetAppender
This appender requires a layout to format the text to the attached client(s).
requiresLayout() - Method in class org.apache.log4j.net.UDPAppender
The UDPAppender uses layouts.
resetConfiguration() - Static method in class org.apache.log4j.BasicConfigurator
Reset the default hierarchy to its defaut.
resetConfiguration() - Method in class org.apache.log4j.Hierarchy
Reset all values contained in this hierarchy instance to their default.
resetConfiguration() - Static method in class org.apache.log4j.LogManager
 
resetConfiguration() - Method in interface org.apache.log4j.spi.LoggerRepository
 
resetErrorCount() - Method in class org.apache.log4j.spi.ComponentBase
Called by derived classes when they deem that the component has recovered from an erroneous state.
resize(int) - Method in class org.apache.log4j.helpers.BoundedFIFO
Resize the buffer to a new size.
resize(int) - Method in class org.apache.log4j.helpers.CyclicBuffer
Resize the cyclic buffer to newSize.
resolveEntity(String, String) - Method in class org.apache.log4j.xml.Log4jEntityResolver
 
resolveEntity(String, String) - Method in class org.apache.log4j.xml.UtilLoggingEntityResolver
 
resourceBundle - Variable in class org.apache.log4j.Category
 
rollOver() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Implements the usual roll over behaviour.
rollover(String) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Prepare for a rollover. This method is called prior to closing the active log file, performs any necessary preliminary actions and describes actions needed after close of current log file.
rollover() - Method in class org.apache.log4j.rolling.RollingFileAppender
Implements the usual roll over behaviour.
rollover(String) - Method in interface org.apache.log4j.rolling.RollingPolicy
Prepare for a rollover.
rollover(String) - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
Prepare for a rollover. This method is called prior to closing the active log file, performs any necessary preliminary actions and describes actions needed after close of current log file.
rootCause - Variable in class org.apache.log4j.config.PropertySetterException
 
run() - Method in class org.apache.log4j.helpers.FileWatchdog
 
run() - Method in class org.apache.log4j.net.SocketNode
 
run() - Method in class org.apache.log4j.net.SocketReceiver
Loop, accepting new socket connections.
run() - Method in class org.apache.log4j.net.TelnetAppender.SocketHandler
Continually accepts client connections.
run() - Method in class org.apache.log4j.net.XMLSocketNode
 
run() - Method in class org.apache.log4j.net.XMLSocketReceiver
Loop, accepting new socket connections.
run() - Method in class org.apache.log4j.rolling.helper.ActionBase
run() - Method in class org.apache.log4j.rolling.helper.CompositeAction

S

SAXErrorHandler - class org.apache.log4j.xml.SAXErrorHandler.
 
SAXErrorHandler() - Constructor for class org.apache.log4j.xml.SAXErrorHandler
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.db.dialect.HSQLDBDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.db.dialect.MsSQLDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.db.dialect.OracleDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.db.dialect.PostgreSQLDialect
 
SELECT_LAST_INSERT_ID - Static variable in class org.apache.log4j.db.dialect.MySQLDialect
 
SEVERE - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
SEVERE_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
SMTPAppender - class org.apache.log4j.net.SMTPAppender.
Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.
SMTPAppender() - Constructor for class org.apache.log4j.net.SMTPAppender
The default constructor will instantiate the appender with a TriggeringEventEvaluator that will trigger on events with level ERROR or higher.
SMTPAppender(TriggeringEventEvaluator) - Constructor for class org.apache.log4j.net.SMTPAppender
Use evaluator passed as parameter as the TriggeringEventEvaluator for this SMTPAppender.
SQLDialect - interface org.apache.log4j.db.dialect.SQLDialect.
 
SYSLOG_HOST_OI - Static variable in class org.apache.log4j.net.SyslogAppender
 
SYSTEM_ERR - Static variable in class org.apache.log4j.ConsoleAppender
 
SYSTEM_OUT - Static variable in class org.apache.log4j.ConsoleAppender
 
SequenceNumberPatternConverter - class org.apache.log4j.pattern.SequenceNumberPatternConverter.
Formats the event sequence number.
SimpleLayout - class org.apache.log4j.SimpleLayout.
SimpleLayout consists of the level of the log statement, followed by " - " and then the log message itself.
SimpleLayout() - Constructor for class org.apache.log4j.SimpleLayout
 
SimpleSocketServer - class org.apache.log4j.net.SimpleSocketServer.
A simple SocketNode based server.
SimpleSocketServer() - Constructor for class org.apache.log4j.net.SimpleSocketServer
 
SimpleULogger - class org.apache.log4j.spi.SimpleULogger.
A simple implementation that logs messages of level INFO or higher on the console (System.out).
SizeBasedTriggeringPolicy - class org.apache.log4j.rolling.SizeBasedTriggeringPolicy.
SizeBasedTriggeringPolicy looks at size of the file being currently written to.
SizeBasedTriggeringPolicy() - Constructor for class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Constructs a new instance.
SizeBasedTriggeringPolicy(long) - Constructor for class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Constructs an new instance.
SocketAppender - class org.apache.log4j.net.SocketAppender.
Sends LoggingEvent objects to a remote a log server, usually a SocketNode.
SocketAppender() - Constructor for class org.apache.log4j.net.SocketAppender
 
SocketAppender(InetAddress, int) - Constructor for class org.apache.log4j.net.SocketAppender
Connects to remote server at address and port.
SocketAppender(String, int) - Constructor for class org.apache.log4j.net.SocketAppender
Connects to remote server at host and port.
SocketHubAppender - class org.apache.log4j.net.SocketHubAppender.
Sends LoggingEvent objects to a set of remote log servers, usually a SocketNodes.
SocketHubAppender() - Constructor for class org.apache.log4j.net.SocketHubAppender
 
SocketHubAppender(int) - Constructor for class org.apache.log4j.net.SocketHubAppender
Connects to remote server at address and port.
SocketHubReceiver - class org.apache.log4j.net.SocketHubReceiver.
SocketHubReceiver receives a remote logging event on a configured socket and "posts" it to a LoggerRepository as if the event was generated locally.
SocketHubReceiver() - Constructor for class org.apache.log4j.net.SocketHubReceiver
 
SocketHubReceiver(String, int) - Constructor for class org.apache.log4j.net.SocketHubReceiver
 
SocketHubReceiver(String, int, LoggerRepository) - Constructor for class org.apache.log4j.net.SocketHubReceiver
 
SocketHubReceiverBeanInfo - class org.apache.log4j.net.SocketHubReceiverBeanInfo.
BeanInfo class for the SocketHubReceiver.
SocketHubReceiverBeanInfo() - Constructor for class org.apache.log4j.net.SocketHubReceiverBeanInfo
 
SocketNode - class org.apache.log4j.net.SocketNode.
Read LoggingEvent objects sent from a remote client using Sockets (TCP).
SocketNode(Socket, LoggerRepository) - Constructor for class org.apache.log4j.net.SocketNode
Constructor for socket and logger repository.
SocketNode(Socket, Receiver) - Constructor for class org.apache.log4j.net.SocketNode
Constructor for socket and reciever.
SocketNodeEventListener - interface org.apache.log4j.net.SocketNodeEventListener.
Interface used to listen for SocketNode related events.
SocketReceiver - class org.apache.log4j.net.SocketReceiver.
SocketReceiver receives a remote logging event on a configured socket and "posts" it to a LoggerRepository as if the event was generated locally.
SocketReceiver() - Constructor for class org.apache.log4j.net.SocketReceiver
 
SocketReceiver(int) - Constructor for class org.apache.log4j.net.SocketReceiver
 
SocketReceiver(int, LoggerRepository) - Constructor for class org.apache.log4j.net.SocketReceiver
 
SocketReceiver.SocketDetail - class org.apache.log4j.net.SocketReceiver.SocketDetail.
 
SocketServer - class org.apache.log4j.net.SocketServer.
A SocketNode based server that uses a different hierarchy for each client.
SocketServer(File) - Constructor for class org.apache.log4j.net.SocketServer
 
SoundAppender - class org.apache.log4j.varia.SoundAppender.
Plays a sound clip created using Applet.newAudioClip when an event is received.
SoundAppender() - Constructor for class org.apache.log4j.varia.SoundAppender
 
StringMatchFilter - class org.apache.log4j.filter.StringMatchFilter.
This is a very simple filter based on string matching.
StringMatchFilter() - Constructor for class org.apache.log4j.filter.StringMatchFilter
 
StringMatchFilter - class org.apache.log4j.varia.StringMatchFilter.
Deprecated. org.apache.log4j.filter.StringMatchFilter
StringMatchFilter() - Constructor for class org.apache.log4j.varia.StringMatchFilter
Deprecated.  
SubstitutionPropertyAction - class org.apache.log4j.joran.action.SubstitutionPropertyAction.
This action sets new substitution properties for the execution context by name, value pair, or adds all the properties passed in the Properties argument.
SubstitutionPropertyAction() - Constructor for class org.apache.log4j.joran.action.SubstitutionPropertyAction
 
SyslogAppender - class org.apache.log4j.net.SyslogAppender.
Implements an RFC 3164 compliant agent to send log messages to a remote syslog daemon.
SyslogAppender() - Constructor for class org.apache.log4j.net.SyslogAppender
 
SyslogConstants - class org.apache.log4j.net.SyslogConstants.
Constants used by the SyslogAppender class.
SyslogConstants() - Constructor for class org.apache.log4j.net.SyslogConstants
 
SyslogWriter - class org.apache.log4j.helpers.SyslogWriter.
SyslogWriter is a wrapper around the java.net.DatagramSocket class so that it behaves like a java.io.Writer.
SyslogWriter(String) - Constructor for class org.apache.log4j.helpers.SyslogWriter
 
selectAndConfigure(URL, String, LoggerRepository) - Static method in class org.apache.log4j.helpers.OptionConverter
Configure log4j given a URL.
selfInitialize(LoggerRepository) - Method in class org.apache.log4j.joran.JoranConfigurator
 
send(String) - Method in class org.apache.log4j.net.TelnetAppender.SocketHandler
sends a message to each of the clients in telnet-friendly output.
sendBuffer(LoggingEvent) - Method in class org.apache.log4j.net.SMTPAppender
Send the contents of the cyclic buffer as an e-mail message.
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.AndFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.ExpressionFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.LevelMatchFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.LevelRangeFilter
Set the AcceptOnMatch option.
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.StringMatchFilter
 
setActive(boolean) - Method in class org.apache.log4j.net.JMSReceiver
Sets the flag to indicate if receiver is active or not.
setActive(boolean) - Method in class org.apache.log4j.net.SocketHubReceiver
Sets the flag to indicate if receiver is active or not.
setActiveFileName(String) - Method in class org.apache.log4j.rolling.RollingPolicyBase
Deprecated. Duplicates FileAppender.file and should be removed
setAdditionalProperties(Map) - Method in interface org.apache.log4j.spi.Decoder
 
setAdditionalProperties(Map) - Method in class org.apache.log4j.xml.UtilLoggingXMLDecoder
Sets an additionalProperty map, where each Key/Value pair is automatically added to each LoggingEvent as it is decoded.
setAdditionalProperties(Map) - Method in class org.apache.log4j.xml.XMLDecoder
Sets an additionalProperty map, where each Key/Value pair is automatically added to each LoggingEvent as it is decoded.
setAdditivity(boolean) - Method in class org.apache.log4j.Category
Set the additivity flag for this Category instance.
setAddress(String) - Method in class org.apache.log4j.net.MulticastReceiver
 
setAppend(boolean) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. The Append option takes a boolean value.
setAppend(boolean) - Method in class org.apache.log4j.FileAppender
The Append option takes a boolean value.
setAppend(boolean) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. The Append option takes a boolean value.
setAppender(Appender) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
setAppender(Appender) - Method in interface org.apache.log4j.spi.ErrorHandler
Deprecated.  
setAppender(Appender) - Method in class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
setApplication(String) - Method in class org.apache.log4j.net.MulticastAppender
The App option takes a string value which should be the name of the application getting logged.
setApplication(String) - Method in class org.apache.log4j.net.SocketAppender
The App option takes a string value which should be the name of the application getting logged.
setApplication(String) - Method in class org.apache.log4j.net.UDPAppender
The App option takes a string value which should be the name of the application getting logged.
setAudioURL(String) - Method in class org.apache.log4j.varia.SoundAppender
Mutator - common format for a file-based url: file:///c:/path/someaudioclip.wav
setBackupAppender(Appender) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
setBackupAppender(Appender) - Method in interface org.apache.log4j.spi.ErrorHandler
Deprecated.  
setBackupAppender(Appender) - Method in class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
setBufferSize(int) - Method in class org.apache.log4j.AsyncAppender
The BufferSize option takes a non-negative integer value.
setBufferSize(int) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Set the size of the IO buffer.
setBufferSize(int) - Method in class org.apache.log4j.FileAppender
Set the size of the IO buffer.
setBufferSize(int) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Set the size of the IO buffer.
setBufferSize(int) - Method in class org.apache.log4j.net.SMTPAppender
The BufferSize option takes a positive integer representing the maximum number of logging events to collect in a cyclic buffer.
setBufferSize(int) - Method in class org.apache.log4j.net.SocketHubAppender
The BufferSize option takes a positive integer representing the number of events this appender will buffer and send to newly connected clients.
setBufferedIO(boolean) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. The BufferedIO option takes a boolean value.
setBufferedIO(boolean) - Method in class org.apache.log4j.FileAppender
The BufferedIO option takes a boolean value.
setBufferedIO(boolean) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. The BufferedIO option takes a boolean value.
setCategoryPrefixing(boolean) - Method in class org.apache.log4j.TTCCLayout
Deprecated. The CategoryPrefixing option specifies whether Category name is part of log output or not.
setCharset(String) - Method in class org.apache.log4j.net.SMTPAppender
Set charset for messages: ensure the charset you are using is available on your platform.
setColNumber(int) - Method in class org.apache.log4j.spi.ErrorItem
 
setComponent(String, Object) - Method in class org.apache.log4j.config.PropertySetter
 
setConfiguratorClass(Class) - Method in interface org.apache.log4j.config.ConfigWatchdog
Sets the configurator class used for reconfiguration.
setConfiguratorClassName(String) - Method in interface org.apache.log4j.config.ConfigWatchdog
Sets the configurator class name used for reconfiguration.
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.db.DBAppender
 
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.db.DBReceiver
 
setContextPrinting(boolean) - Method in class org.apache.log4j.TTCCLayout
Deprecated. The ContextPrinting option specifies log output will include the nested context information belonging to the current thread.
setConversionPattern(String) - Method in class org.apache.log4j.PatternLayout
Set the ConversionPattern option.
setConvertInFixToPostFix(boolean) - Method in class org.apache.log4j.filter.ExpressionFilter
 
setConvertInFixToPostFix(boolean) - Method in class org.apache.log4j.filter.LocationInfoFilter
 
setDataSource(DataSource) - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
setDateFormat(String) - Method in class org.apache.log4j.TTCCLayout
Deprecated.  
setDatePattern(String) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. The DatePattern takes a string in the same format as expected by SimpleDateFormat.
setDecoder(String) - Method in class org.apache.log4j.net.MulticastReceiver
 
setDecoder(String) - Method in class org.apache.log4j.net.UDPReceiver
 
setDecoder(String) - Method in class org.apache.log4j.net.XMLSocketReceiver
 
setDelay(long) - Method in class org.apache.log4j.helpers.FileWatchdog
Set the delay to observe between each check of the file changes.
setDriverClass(String) - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Sets the driver class.
setEncoding(String) - Method in class org.apache.log4j.WriterAppender
 
setEncoding(String) - Method in class org.apache.log4j.net.MulticastAppender
The Encoding option specifies how the bytes are encoded.
setEncoding(String) - Method in class org.apache.log4j.net.MulticastReceiver
The Encoding option specifies how the bytes are encoded.
setEncoding(String) - Method in class org.apache.log4j.net.UDPAppender
The Encoding option specifies how the bytes are encoded.
setEncoding(String) - Method in class org.apache.log4j.net.UDPReceiver
The Encoding option specifies how the bytes are encoded.
setErrorHandler(ErrorHandler) - Method in interface org.apache.log4j.Appender
Deprecated. As of 1.3
setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.AppenderSkeleton
Deprecated. As of 1.3
setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. As of 1.3
setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. As of 1.3
setEvaluator(TriggeringEventEvaluator) - Method in class org.apache.log4j.net.SMTPAppender
Set TriggeringEventEvaluator for this instance of SMTPAppender.
setEvaluatorClass(String) - Method in class org.apache.log4j.net.SMTPAppender
Deprecated. replaced by SMTPAppender.setEvaluator(org.apache.log4j.spi.TriggeringEventEvaluator).
setException(Throwable) - Method in class org.apache.log4j.spi.ErrorItem
 
setExpression(String) - Method in class org.apache.log4j.filter.ExpressionFilter
 
setExpression(String) - Method in class org.apache.log4j.filter.LocationInfoFilter
 
setFQNOfLoggerClass(String) - Method in class org.apache.log4j.spi.LoggingEvent
Set the fully qualified name of the calling logger sub-class/wrapper.
setFacility(String) - Method in class org.apache.log4j.net.SyslogAppender
Set the syslog facility.
setFile(String) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. The File property takes a string value which should be the name of the file to append to.
setFile(String) - Method in class org.apache.log4j.FileAppender
The File property takes a string value which should be the name of the file to append to.
setFile(String, boolean, boolean, int) - Method in class org.apache.log4j.FileAppender
Sets and opens the file where the log output will go.
setFile(String) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. The File property takes a string value which should be the name of the file to append to.
setFileNamePattern(String) - Method in class org.apache.log4j.rolling.RollingPolicyBase
Set file name pattern.
setFileURL(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setFilterExpression(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setFooter(String) - Method in class org.apache.log4j.Layout
Set the footer.
setFrom(String) - Method in class org.apache.log4j.net.SMTPAppender
The From option takes a string value which should be a e-mail address of the sender.
setHeader(String) - Method in class org.apache.log4j.Layout
Set the header.
setHost(String) - Method in class org.apache.log4j.net.SocketHubReceiver
Configures the Host property, this will require activateOptions to be called for this to take effect.
setIDField(String) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setIgnoresThrowable(boolean) - Method in class org.apache.log4j.Layout
 
setImmediateFlush(boolean) - Method in class org.apache.log4j.WriterAppender
If the ImmediateFlush option is set to true, the appender will flush at the end of each write.
setInitialContextFactoryName(String) - Method in class org.apache.log4j.net.JMSAppender
Setting the InitialContextFactoryName method will cause this JMSAppender instance to use the InitialContext.InitialContext(Hashtable) method instead of the no-argument constructor.
setInternalDebugging(boolean) - Static method in class org.apache.log4j.helpers.LogLog
Allows to enable/disable log4j internal logging.
setJndiLocation(String) - Method in class org.apache.log4j.db.JNDIConnectionSource
Sets the jndiLocation.
setJndiPath(String) - Method in class org.apache.log4j.net.JMSReceiver
Sets the path to a properties file containing the initial context and jndi provider url
setLayout(Layout) - Method in interface org.apache.log4j.Appender
Set the Layout for this appender.
setLayout(Layout) - Method in class org.apache.log4j.AppenderSkeleton
Set the layout for this appender.
setLayout(Layout) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Set the Layout for this appender.
setLayout(Layout) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Set the Layout for this appender.
setLayout(Layout) - Method in class org.apache.log4j.net.SyslogAppender
 
setLevel(Level) - Method in class org.apache.log4j.Category
Set the level of this Category.
setLevel(Level) - Method in class org.apache.log4j.spi.LoggingEvent
Set the level of this event.
setLevel(Level) - Method in class org.apache.log4j.spi.RootCategory
Deprecated. Setting a null value to the level of the root logger may have catastrophic results.
setLevel(Level) - Method in class org.apache.log4j.spi.RootLogger
Setting a null value to the level of the root logger may have catastrophic results.
setLevelMax(Level) - Method in class org.apache.log4j.filter.LevelRangeFilter
Set the LevelMax option.
setLevelMin(Level) - Method in class org.apache.log4j.filter.LevelRangeFilter
Set the LevelMin option.
setLevelToMatch(String) - Method in class org.apache.log4j.filter.LevelMatchFilter
 
setLineNumber(int) - Method in class org.apache.log4j.spi.ErrorItem
 
setListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketNode
Deprecated. Now supports mutliple listeners, this method simply invokes the removeSocketNodeEventListener() to remove the listener, and then readds it.
setListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketReceiver
Deprecated. This receiver now supports multiple listeners and so this method simply removes the listener (if there already) and readds it to the list. The passed listener will also be returned via the getListener() method still, but this is also deprecated
setListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.XMLSocketNode
Set the event listener on this node.
setLocationInfo(boolean) - Method in class org.apache.log4j.AsyncAppender
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - Method in class org.apache.log4j.db.DBAppender
If true, the information written to the database will include caller's location information.
setLocationInfo(boolean) - Method in class org.apache.log4j.net.JMSAppender
If true, the information sent to the remote subscriber will include caller's location information.
setLocationInfo(boolean) - Method in class org.apache.log4j.net.SMTPAppender
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - Method in class org.apache.log4j.net.SocketAppender
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - Method in class org.apache.log4j.net.SocketHubAppender
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - Method in class org.apache.log4j.xml.XMLLayout
The LocationInfo option takes a boolean value.
setLocationInformation(LocationInfo) - Method in class org.apache.log4j.spi.LoggingEvent
Set the location information for this logging event.
setLogFormat(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setLogger(Logger) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
setLogger(Logger) - Method in interface org.apache.log4j.spi.ErrorHandler
Deprecated.  
setLogger(Logger) - Method in class org.apache.log4j.spi.LoggingEvent
Set the logger of this event.
setLogger(Logger) - Method in class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
setLoggerName(String) - Method in class org.apache.log4j.spi.LoggingEvent
Set the loggerName for this event.
setLoggerRepository(LoggerRepository) - Method in interface org.apache.log4j.Appender
 
setLoggerRepository(LoggerRepository) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated.  
setLoggerRepository(LoggerRepository) - Method in class org.apache.log4j.RollingFileAppender
Deprecated.  
setLoggerRepository(LoggerRepository) - Method in interface org.apache.log4j.config.ConfigWatchdog
Set the logger repository this watchdog will reconfigure when new configuration data is detected.
setLoggerRepository(LoggerRepository) - Static method in class org.apache.log4j.helpers.OptionConverter
 
setLoggerRepository(LoggerRepository) - Method in interface org.apache.log4j.plugins.Plugin
Sets the logger repository used by this plugin.
setLoggerRepository(LoggerRepository) - Method in class org.apache.log4j.plugins.PluginSkeleton
Sets the logger repository used by this plugin and notifies an relevant PropertyChangeListeners registered.
setLoggerRepository(LoggerRepository) - Method in interface org.apache.log4j.spi.Component
Set owning logger repository for this component.
setLoggerRepository(LoggerRepository) - Method in class org.apache.log4j.spi.ComponentBase
Set the owning repository.
setMaxBackupIndex(int) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Set the maximum number of backup files to keep around.
setMaxDepth(int) - Static method in class org.apache.log4j.NDC
Set maximum depth of this diagnostic context.
setMaxFileSize(String) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Set the maximum size that the output file is allowed to reach before being rolled over to backup files.
setMaxFileSize(long) - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Sets rollover threshold size in bytes.
setMaxIndex(int) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Set index of oldest log file to be retained.
setMaximumFileSize(long) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Set the maximum size that the output file is allowed to reach before being rolled over to backup files.
setMessage(String) - Method in class org.apache.log4j.spi.ErrorItem
 
setMessage(Object) - Method in class org.apache.log4j.spi.LoggingEvent
Set the message for this event.
setMinIndex(int) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Set index of most recent log file.
setNDC(String) - Method in class org.apache.log4j.spi.LoggingEvent
This method sets the NDC string for this event.
setName(String) - Method in interface org.apache.log4j.Appender
Set the name of this appender.
setName(String) - Method in class org.apache.log4j.AppenderSkeleton
Set the name of this Appender.
setName(String) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Set the name of this appender.
setName(String) - Method in class org.apache.log4j.Hierarchy
 
setName(String) - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Set the name of this appender.
setName(String) - Method in interface org.apache.log4j.config.ConfigWatchdog
Set the name of this watchdog.
setName(String) - Method in interface org.apache.log4j.plugins.Plugin
Sets the name of the plugin.
setName(String) - Method in class org.apache.log4j.plugins.PluginSkeleton
Sets the name of the plugin and notifies PropertyChangeListeners of the change
setName(String) - Method in interface org.apache.log4j.spi.LoggerRepository
A logger repository is a named entity.
setNext(Filter) - Method in class org.apache.log4j.spi.Filter
Set the next filter pointer.
setOption(String, String) - Method in class org.apache.log4j.filter.DenyAllFilter
Deprecated. Use the setter method for the option directly instead of the generic setOption method.
setOverrideProperties(String) - Method in class org.apache.log4j.net.MulticastAppender
The OverrideProperties option allows configurations where the appender does not apply the machinename/appname properties - the properties will be used as provided.
setOverrideProperties(String) - Method in class org.apache.log4j.net.UDPAppender
The OverrideProperties option allows configurations where the appender does not apply the machinename/appname properties - the properties will be used as provided.
setPassword(String) - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Sets the password.
setPassword(String) - Method in class org.apache.log4j.net.JMSAppender
The paswword to use when creating a topic session.
setPassword(String) - Method in class org.apache.log4j.net.JMSReceiver
Sets the password to use when creating the JMS connection.
setPaused(boolean) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.db.DBReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.net.MulticastReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.net.SocketNode
 
setPaused(boolean) - Method in class org.apache.log4j.net.SocketReceiver.SocketDetail
 
setPaused(boolean) - Method in class org.apache.log4j.net.SocketReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.net.UDPReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.net.XMLSocketReceiver
 
setPaused(boolean) - Method in interface org.apache.log4j.plugins.Pauseable
 
setPort(int) - Method in class org.apache.log4j.net.MulticastAppender
The Port option takes a positive integer representing the port where multicast packets will be sent.
setPort(int) - Method in class org.apache.log4j.net.MulticastReceiver
 
setPort(int) - Method in class org.apache.log4j.net.SocketAppender
The Port option takes a positive integer representing the port where the server is waiting for connections.
setPort(int) - Method in class org.apache.log4j.net.SocketHubAppender
The Port option takes a positive integer representing the port where the server is waiting for connections.
setPort(String) - Method in class org.apache.log4j.net.SocketHubReceiver
Set the remote host to connect to for logging events.
setPort(int) - Method in class org.apache.log4j.net.SocketHubReceiver
Set the remote port to connect to for logging events.
setPort(int) - Method in class org.apache.log4j.net.SocketReceiver
Set the port to receive logging events on.
setPort(int) - Method in class org.apache.log4j.net.TelnetAppender
 
setPort(int) - Method in class org.apache.log4j.net.UDPAppender
The Port option takes a positive integer representing the port where UDP packets will be sent.
setPort(int) - Method in class org.apache.log4j.net.UDPReceiver
 
setPort(int) - Method in class org.apache.log4j.net.XMLSocketReceiver
Set the port to receive logging events on.
setPort(int) - Method in class org.apache.log4j.varia.ExternallyRolledFileAppender
Deprecated. Sets the port monitored for rollover requests.
setPristine(boolean) - Method in class org.apache.log4j.Hierarchy
 
setPristine(boolean) - Method in interface org.apache.log4j.spi.LoggerRepository
Set the pristine flag.
setProperties(Properties, String) - Method in class org.apache.log4j.config.PropertySetter
Set the properites for the object that match the prefix passed as parameter.
setProperties(String) - Method in class org.apache.log4j.filter.PropertyFilter
 
setProperties(ExecutionContext, Properties) - Method in class org.apache.log4j.joran.action.RepositoryPropertyAction
 
setProperties(ExecutionContext, Properties) - Method in class org.apache.log4j.joran.action.SubstitutionPropertyAction
 
setProperties(Hashtable) - Method in class org.apache.log4j.spi.LoggingEvent
 
setProperty(String, String) - Method in class org.apache.log4j.Hierarchy
 
setProperty(String, String) - Method in class org.apache.log4j.config.PropertySetter
Set a property on this PropertySetter's Object.
setProperty(PropertyDescriptor, String, String) - Method in class org.apache.log4j.config.PropertySetter
Set the named property given a PropertyDescriptor.
setProperty(ExecutionContext, String, String) - Method in class org.apache.log4j.joran.action.RepositoryPropertyAction
 
setProperty(ExecutionContext, String, String) - Method in class org.apache.log4j.joran.action.SubstitutionPropertyAction
 
setProperty(String, String) - Method in interface org.apache.log4j.spi.LoggerRepository
Set a property of this repository.
setProperty(String, String) - Method in class org.apache.log4j.spi.LoggingEvent
Set a string property using a key and a string value.
setProviderURL(String) - Method in class org.apache.log4j.net.JMSAppender
 
setQuietMode(boolean) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. with no replacement
setReconnectionDelay(int) - Method in class org.apache.log4j.net.SocketAppender
The ReconnectionDelay option takes a positive integer representing the number of milliseconds to wait between each failed connection attempt to the server.
setReconnectionDelay(int) - Method in class org.apache.log4j.net.SocketHubReceiver
The ReconnectionDelay option takes a positive integer representing the number of milliseconds to wait between each failed connection attempt to the server.
setRefreshMillis(int) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setRefreshMillis(int) - Method in class org.apache.log4j.db.DBReceiver
 
setRemoteHost(String) - Method in class org.apache.log4j.net.MulticastAppender
The RemoteHost option takes a string value which should be the host name or ipaddress to send the multicast packets.
setRemoteHost(String) - Method in class org.apache.log4j.net.SocketAppender
The RemoteHost option takes a string value which should be the host name of the server where a SocketNode or a SocketReceiver is running.
setRemoteHost(String) - Method in class org.apache.log4j.net.UDPAppender
The RemoteHost option takes a string value which should be the host name or ipaddress to send the UDP packets.
setRenderedMessage(String) - Method in class org.apache.log4j.spi.LoggingEvent
 
setRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.Hierarchy
Used by subclasses to add a renderer to the hierarchy passed as parameter.
setRenderer(Class, ObjectRenderer) - Method in interface org.apache.log4j.spi.RendererSupport
 
setRepositorySelector(RepositorySelector, Object) - Static method in class org.apache.log4j.LogManager
Sets RepositorySelector but only if the correct guard is passed as parameter.
setResourceBundle(ResourceBundle) - Method in class org.apache.log4j.Category
Set the resource bundle to be used with localized logging methods Category.l7dlog(Level,String,Throwable) and Category.l7dlog(Level,String,Object[],Throwable).
setRollingPolicy(RollingPolicy) - Method in class org.apache.log4j.rolling.RollingFileAppender
Sets the rolling policy.
setSMTPHost(String) - Method in class org.apache.log4j.net.SMTPAppender
The SMTPHost option takes a string value which should be a the host name of the SMTP server that will send the e-mail message.
setSecurityCredentials(String) - Method in class org.apache.log4j.net.JMSAppender
 
setSecurityPrincipalName(String) - Method in class org.apache.log4j.net.JMSAppender
 
setSequenceNumber(long) - Method in class org.apache.log4j.spi.LoggingEvent
 
setSql(String) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setStringToMatch(String) - Method in class org.apache.log4j.filter.StringMatchFilter
 
setSubject(String) - Method in class org.apache.log4j.net.SMTPAppender
The Subject option takes a string value which will be the subject of the e-mail message.
setSyslogHost(String) - Method in class org.apache.log4j.net.SyslogAppender
The SyslogHost option is the name of the the syslog host where log output should go.
setTailing(boolean) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setTarget(String) - Method in class org.apache.log4j.ConsoleAppender
Sets the value of the Target option.
setThreadName(String) - Method in class org.apache.log4j.spi.LoggingEvent
 
setThreadPrinting(boolean) - Method in class org.apache.log4j.TTCCLayout
Deprecated. The ThreadPrinting option specifies whether the name of the current thread is part of log output or not.
setThreshold(Level) - Method in class org.apache.log4j.AppenderSkeleton
Set the threshold level.
setThreshold(String) - Method in class org.apache.log4j.Hierarchy
The string form of Hierarchy.setThreshold(Level).
setThreshold(Level) - Method in class org.apache.log4j.Hierarchy
Enable logging for logging requests with level l or higher.
setThreshold(Level) - Method in class org.apache.log4j.plugins.Receiver
Sets the receiver theshold to the given level.
setThreshold(Level) - Method in interface org.apache.log4j.spi.LoggerRepository
Set the repository-wide threshold.
setThreshold(String) - Method in interface org.apache.log4j.spi.LoggerRepository
Another form of LoggerRepository.setThreshold(Level) accepting a string parameter instead of a Level.
setThreshold(Level) - Method in interface org.apache.log4j.spi.Thresholdable
Sets the component theshold to the given level.
setThrowableInformation(ThrowableInformation) - Method in class org.apache.log4j.spi.LoggingEvent
Set this event's throwable information.
setTimeStamp(long) - Method in class org.apache.log4j.spi.LoggingEvent
Setter for the even'ts time stamp.
setTimeToLive(int) - Method in class org.apache.log4j.net.MulticastAppender
The Time to live option takes a positive integer representing the time to live value.
setTimeZone(TimeZone) - Method in class org.apache.log4j.helpers.RelativeTimeDateFormat
Sets the timezone.
setTimestampFormat(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setTo(String) - Method in class org.apache.log4j.net.SMTPAppender
The To option takes a string value which should be a comma separated list of e-mail address of the recipients.
setTopicBindingName(String) - Method in class org.apache.log4j.net.JMSAppender
The TopicBindingName option takes a string value.
setTopicConnectionFactoryBindingName(String) - Method in class org.apache.log4j.net.JMSAppender
The TopicConnectionFactoryBindingName option takes a string value.
setTopicFactoryName(String) - Method in class org.apache.log4j.net.JMSReceiver
Sets the JMS topic factory name to use when creating the JMS connection.
setTopicName(String) - Method in class org.apache.log4j.net.JMSReceiver
Sets the JMS topic name to use when creating the JMS connection.
setTriggeringPolicy(TriggeringPolicy) - Method in class org.apache.log4j.rolling.RollingFileAppender
Set triggering policy.
setURLPkgPrefixes(String) - Method in class org.apache.log4j.net.JMSAppender
 
setUrl(String) - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Sets the url.
setUser(String) - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Sets the username.
setUserId(String) - Method in class org.apache.log4j.net.JMSReceiver
Sets the user id to use when creating the JMS connection.
setUserName(String) - Method in class org.apache.log4j.net.JMSAppender
The user name to use when TopicConnectionFactory.createTopicConnection(String, String) creating a topic session}.
setWriter(Writer) - Method in class org.apache.log4j.WriterAppender
Sets the Writer where the log output will go.
shutdown() - Static method in class org.apache.log4j.Category
Deprecated. Please use LogManager.shutdown() instead.
shutdown() - Method in class org.apache.log4j.Hierarchy
Shutting down a hierarchy will safely close and remove all appenders in all categories including the root logger.
shutdown() - Static method in class org.apache.log4j.LogManager
 
shutdown() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
shutdown() - Method in class org.apache.log4j.db.DBReceiver
 
shutdown() - Method in class org.apache.log4j.net.JMSReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.net.MulticastReceiver
 
shutdown() - Method in class org.apache.log4j.net.SocketHubReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.net.SocketReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.net.UDPReceiver
 
shutdown() - Method in class org.apache.log4j.net.XMLSocketReceiver
Called when the receiver should be stopped.
shutdown() - Method in interface org.apache.log4j.plugins.Plugin
Call when the plugin should be stopped.
shutdown() - Method in interface org.apache.log4j.spi.LoggerRepository
 
shutdown() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Close the reader.
shutdownEvent(LoggerRepository) - Method in interface org.apache.log4j.spi.LoggerRepositoryEventListener
Called when the repository is shutdown.
socket - Variable in class org.apache.log4j.net.SocketHubReceiver
 
socketClosedEvent(Exception) - Method in class org.apache.log4j.net.SocketHubReceiver
Listen for a socketClosedEvent from the SocketNode.
socketClosedEvent(Exception) - Method in interface org.apache.log4j.net.SocketNodeEventListener
Called when the socket the node was given has been closed.
socketOpened(String) - Method in class org.apache.log4j.net.SocketHubReceiver
 
socketOpened(String) - Method in interface org.apache.log4j.net.SocketNodeEventListener
Called when the SocketNode is created and begins awaiting data.
sqlStatement - Variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
startTime - Variable in class org.apache.log4j.helpers.RelativeTimeDateFormat
 
startWatching() - Method in interface org.apache.log4j.config.ConfigWatchdog
Starts this watchdog watching.
stopAllPlugins() - Method in class org.apache.log4j.plugins.PluginRegistry
Stops all plugins in the given logger repository.
stopPlugin(String) - Method in class org.apache.log4j.plugins.PluginRegistry
Stops a plugin by plugin name and repository.
stopWatching() - Method in interface org.apache.log4j.config.ConfigWatchdog
Stops this watchdog.
stripDuplicateBackslashes(String) - Static method in class org.apache.log4j.helpers.OptionConverter
Replaces double backslashes (except the leading doubles in UNC's) with single backslashes for compatibility with existing path specifications that were working around use of OptionConverter.convertSpecialChars in XML configuration files.
subAppend(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
Actual writing occurs here.
subAppend(LoggingEvent) - Method in class org.apache.log4j.rolling.RollingFileAppender
Actual writing occurs here.

Most subclasses of WriterAppender will need to override this method.

substVars(String, Properties) - Static method in class org.apache.log4j.helpers.OptionConverter
Perform variable substitution in string val from the values of keys found the properties passed as parameter or in the system propeties.
supportsBatchUpdates() - Method in interface org.apache.log4j.db.ConnectionSource
If the connection does not support batch updates, we will avoid using them.
supportsBatchUpdates() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Does this connection support batch updates?
supportsBatchUpdates(DatabaseMetaData) - Method in class org.apache.log4j.db.dialect.Util
This method handles cases where the DatabaseMetaData.supportsBatchUpdates() method is missing in the JDBC driver implementation.
supportsGetGeneratedKeys() - Method in interface org.apache.log4j.db.ConnectionSource
If the connection supports the JDBC 3.0 getGeneratedKeys method, then we do not need any specific dialect support.
supportsGetGeneratedKeys() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Does this connection support the JDBC Connection.getGeneratedKeys method?
supportsGetGeneratedKeys(DatabaseMetaData) - Method in class org.apache.log4j.db.dialect.Util
This method handles cases where the DatabaseMetaData.supportsGetGeneratedKeys() method is missing in the JDBC driver implementation.

T

TEMP_CONSOLE_APPENDER_NAME - Static variable in interface org.apache.log4j.helpers.Constants
 
TEMP_LIST_APPENDER_NAME - Static variable in interface org.apache.log4j.helpers.Constants
 
THREAD_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
TIMESTAMP_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
TIMESTAMP_RULE_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
 
TRACE - Static variable in class org.apache.log4j.Level
The TRACE Level designates finer-grained informational events than the DEBUGTRACE_INT - Static variable in class org.apache.log4j.Level
TRACE level integer value.
TTCCLayout - class org.apache.log4j.TTCCLayout.
Deprecated. Please use PatternLayout instead.
TTCCLayout() - Constructor for class org.apache.log4j.TTCCLayout
Deprecated. Instantiate a TTCCLayout object with in the ISO8601 format as the date formatter.
TTCCLayout(String) - Constructor for class org.apache.log4j.TTCCLayout
Deprecated. Instantiate a TTCCLayout object using the local time zone.
TTCC_CONVERSION_PATTERN - Static variable in class org.apache.log4j.PatternLayout
A conversion pattern equivalent to the TTCCCLayout.
TelnetAppender - class org.apache.log4j.net.TelnetAppender.
The TelnetAppender is a log4j appender that specializes in writing to a read-only socket.
TelnetAppender() - Constructor for class org.apache.log4j.net.TelnetAppender
Creates a TelnetAppender.
TelnetAppender.SocketHandler - class org.apache.log4j.net.TelnetAppender.SocketHandler.
The SocketHandler class is used to accept connections from clients.
TelnetAppender.SocketHandler(int) - Constructor for class org.apache.log4j.net.TelnetAppender.SocketHandler
 
ThreadGroupRenderer - class org.apache.log4j.or.ThreadGroupRenderer.
Render ThreadGroup objects in a format similar to the information output by the ThreadGroup.list() method.
ThreadGroupRenderer() - Constructor for class org.apache.log4j.or.ThreadGroupRenderer
 
ThreadLocalMap - class org.apache.log4j.helpers.ThreadLocalMap.
ThreadLocalMap extends InheritableThreadLocal to bequeath a copy of the hashtable of the MDC of the parent thread.
ThreadLocalMap() - Constructor for class org.apache.log4j.helpers.ThreadLocalMap
 
ThreadPatternConverter - class org.apache.log4j.pattern.ThreadPatternConverter.
Formats the event thread name.
Thresholdable - interface org.apache.log4j.spi.Thresholdable.
An interface that defines the required methods for supporting the setting and getting of a level threshold.
ThrowableInformation - class org.apache.log4j.spi.ThrowableInformation.
ThrowableInformation is log4j's internal representation of throwables.
ThrowableInformation(Throwable) - Constructor for class org.apache.log4j.spi.ThrowableInformation
 
ThrowableInformation(String[]) - Constructor for class org.apache.log4j.spi.ThrowableInformation
 
ThrowableInformationPatternConverter - class org.apache.log4j.pattern.ThrowableInformationPatternConverter.
Outputs the ThrowableInformation portion of the LoggingiEvent as a full stacktrace unless this converter's option is 'short', where it just outputs the first line of the trace.
TimeBasedRollingPolicy - class org.apache.log4j.rolling.TimeBasedRollingPolicy.
TimeBasedRollingPolicy is both easy to configure and quite powerful.
TimeBasedRollingPolicy() - Constructor for class org.apache.log4j.rolling.TimeBasedRollingPolicy
Constructs a new instance.
TimestampEqualsRule - class org.apache.log4j.rule.TimestampEqualsRule.
A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.
TimestampInequalityRule - class org.apache.log4j.rule.TimestampInequalityRule.
A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.
Transform - class org.apache.log4j.helpers.Transform.
Utility class for transforming strings.
Transform() - Constructor for class org.apache.log4j.helpers.Transform
 
TriggeringEventEvaluator - interface org.apache.log4j.spi.TriggeringEventEvaluator.
Implementions of this interface allow certain appenders to decide when to perform an appender specific action.
TriggeringPolicy - interface org.apache.log4j.rolling.TriggeringPolicy.
A TriggeringPolicy controls the conditions under which rollover occurs.
tailFilter - Variable in class org.apache.log4j.AppenderSkeleton
The last filter in the filter chain.
target - Variable in class org.apache.log4j.ConsoleAppender
 
threshold - Variable in class org.apache.log4j.AppenderSkeleton
There is no level threshold filtering by default.
thresholdLevel - Variable in class org.apache.log4j.plugins.Receiver
 
toBoolean(String, boolean) - Static method in class org.apache.log4j.helpers.OptionConverter
If value is "true", then true is returned.
toFileSize(String, long) - Static method in class org.apache.log4j.helpers.OptionConverter
 
toInt() - Method in class org.apache.log4j.Level
Returns the integer representation of this level.
toInt(String, int) - Static method in class org.apache.log4j.helpers.OptionConverter
 
toLevel(String) - Static method in class org.apache.log4j.Level
Convert the string passed as argument to a level.
toLevel(int) - Static method in class org.apache.log4j.Level
Convert an integer passed as argument to a level.
toLevel(int, Level) - Static method in class org.apache.log4j.Level
Convert an integer passed as argument to a level.
toLevel(String, Level) - Static method in class org.apache.log4j.Level
Convert the string passed as argument to a level.
toLevel(String, Level) - Static method in class org.apache.log4j.helpers.OptionConverter
Converts a standard or custom priority level to a Level object.
toLevel(int, UtilLoggingLevel) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
Convert an integer passed as argument to a level.
toLevel(int) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
 
toLevel(String) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
 
toLevel(String, Level) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
 
toString() - Method in class org.apache.log4j.Level
Returns the string representation of this Level.
toString() - Method in class org.apache.log4j.joran.action.Action
 
toString() - Method in class org.apache.log4j.rule.ColorRule
 
toString() - Method in class org.apache.log4j.rule.ExpressionRule
 
toString() - Method in class org.apache.log4j.spi.ErrorItem
 
topicConnection - Variable in class org.apache.log4j.net.JMSReceiver
 
topicFactoryName - Variable in class org.apache.log4j.net.JMSReceiver
 
topicName - Variable in class org.apache.log4j.net.JMSReceiver
 
trace(Object) - Method in class org.apache.log4j.Logger
Log a message object with the TRACE level.
trace(Object, Throwable) - Method in class org.apache.log4j.Logger
Log a message object with the TRACE level including the stack trace of the Throwablet passed as parameter.
trace(Object, Object) - Method in class org.apache.log4j.Logger
Log a message with the TRACE level with message formatting done according to the value of messagePattern and arg parameters.
trace(String, Object, Object) - Method in class org.apache.log4j.Logger
Log a message with the TRACE level with message formatting done according to the messagePattern and the arguments arg1 and arg2.

U

UDPAppender - class org.apache.log4j.net.UDPAppender.
Sends log information as a UDP datagrams.
UDPAppender() - Constructor for class org.apache.log4j.net.UDPAppender
 
UDPAppender(InetAddress, int) - Constructor for class org.apache.log4j.net.UDPAppender
Sends UDP packets to the address and port.
UDPAppender(String, int) - Constructor for class org.apache.log4j.net.UDPAppender
Sends UDP packets to the address and port.
UDPReceiver - class org.apache.log4j.net.UDPReceiver.
Receive LoggingEvents encoded with an XMLLayout, convert the XML data to a LoggingEvent and post the LoggingEvent.
UDPReceiver() - Constructor for class org.apache.log4j.net.UDPReceiver
 
ULogger - interface org.apache.log4j.ULogger.
A proxy for org.slf4j.ULogger.
UNKNOWN_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
UNKNOWN_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
Util - class org.apache.log4j.db.dialect.Util.
 
Util() - Constructor for class org.apache.log4j.db.dialect.Util
 
UtilLoggingEntityResolver - class org.apache.log4j.xml.UtilLoggingEntityResolver.
An EntityResolver specifically designed to return java 1.4's logging dtd, logger.dtd which is embedded within the log4j jar file.
UtilLoggingEntityResolver() - Constructor for class org.apache.log4j.xml.UtilLoggingEntityResolver
 
UtilLoggingLevel - class org.apache.log4j.helpers.UtilLoggingLevel.
An extension of the Level class that provides support for java.util.logging Levels.
UtilLoggingLevel(int, String, int) - Constructor for class org.apache.log4j.helpers.UtilLoggingLevel
 
UtilLoggingXMLDecoder - class org.apache.log4j.xml.UtilLoggingXMLDecoder.
Decodes JDK 1.4's java.util.logging package events delivered via XML (using the logger.dtd).
UtilLoggingXMLDecoder(Component) - Constructor for class org.apache.log4j.xml.UtilLoggingXMLDecoder
 
UtilLoggingXMLDecoder() - Constructor for class org.apache.log4j.xml.UtilLoggingXMLDecoder
 
update(LoggerRepository) - Method in class org.apache.log4j.helpers.LoggerTraverse
Updates the LoggerTraverse to the current information in the given LoggerRepository.
userId - Variable in class org.apache.log4j.net.JMSReceiver
 

V

VALUE_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 

W

WARN - Static variable in class org.apache.log4j.Level
The WARN level designates potentially harmful situations.
WARNING - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
WARNING_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
WARN_INT - Static variable in class org.apache.log4j.Level
WARN level integer value.
WriterAppender - class org.apache.log4j.WriterAppender.
WriterAppender appends log events to a Writer or an OutputStream depending on the user's choice.
WriterAppender() - Constructor for class org.apache.log4j.WriterAppender
The default constructor does nothing.
WriterAppender(Layout, OutputStream) - Constructor for class org.apache.log4j.WriterAppender
Deprecated. This constructor will be removed with no replacement in future log4j versions.
WriterAppender(Layout, Writer) - Constructor for class org.apache.log4j.WriterAppender
Deprecated. This constructor will be removed with no replacement in future log4j versions
warn(Object) - Method in class org.apache.log4j.Category
Log a message object with the WARN Level.
warn(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message with the WARN level including the stack trace of the Throwablet passed as parameter.
warn(Object, Object) - Method in class org.apache.log4j.Category
Log a message with the WARN level with message formatting done according to the value of messagePattern and arg parameters.
warn(String, Object, Object) - Method in class org.apache.log4j.Category
Log a message with the WARN level with message formatting done according to the messagePattern and the arguments arg1 and arg2.
warn(Object) - Method in interface org.apache.log4j.ULogger
 
warn(Object, Object) - Method in interface org.apache.log4j.ULogger
 
warn(String, Object, Object) - Method in interface org.apache.log4j.ULogger
 
warn(Object, Throwable) - Method in interface org.apache.log4j.ULogger
 
warn(String) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. Use Logger instead.
warn(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. Use Logger instead.
warn(Object) - Method in class org.apache.log4j.spi.NOPULogger
 
warn(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
warn(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
warn(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
 
warn(Object) - Method in class org.apache.log4j.spi.SimpleULogger
A simple implementation which always logs messages of level WARN according to the format outlined above.
warn(Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Perform single parameter substitution before logging the message of level WARN according to the format outlined above.
warn(String, Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Perform double parameter substitution before logging the message of level WARN according to the format outlined above.
warn(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message of level WARN, including an exception.
warning(SAXParseException) - Method in class org.apache.log4j.xml.SAXErrorHandler
 
warning(SAXParseException) - Method in class org.apache.log4j.xml.examples.ReportParserError
 
wasEmpty() - Method in class org.apache.log4j.helpers.BoundedFIFO
Returns true if there is just one element in the buffer.
wasFull() - Method in class org.apache.log4j.helpers.BoundedFIFO
Returns true if the number of elements in the buffer plus 1 equals the maximum buffer size, returns false otherwise.
write(char[], int, int) - Method in class org.apache.log4j.helpers.SyslogWriter
 
write(String) - Method in class org.apache.log4j.helpers.SyslogWriter
 
writeFooter() - Method in class org.apache.log4j.WriterAppender
Write a footer as produced by the embedded layout's Layout.getFooter() method.
writeHeader() - Method in class org.apache.log4j.WriterAppender
Write a header as produced by the embedded layout's Layout.getHeader() method.
writer - Variable in class org.apache.log4j.WriterAppender
This is the Writer where we will write to.

X

XMLDecoder - class org.apache.log4j.xml.XMLDecoder.
Decodes Logging Events in XML formated into elements that are used by Chainsaw.
XMLDecoder(Component) - Constructor for class org.apache.log4j.xml.XMLDecoder
 
XMLDecoder() - Constructor for class org.apache.log4j.xml.XMLDecoder
 
XMLLayout - class org.apache.log4j.xml.XMLLayout.
The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd .
XMLLayout() - Constructor for class org.apache.log4j.xml.XMLLayout
Default constructor.
XMLSample - class org.apache.log4j.xml.examples.XMLSample.
This example code shows how to read an XML based configuration file using a DOM parser.
XMLSample() - Constructor for class org.apache.log4j.xml.examples.XMLSample
 
XMLSocketNode - class org.apache.log4j.net.XMLSocketNode.
Read LoggingEvent objects sent from a remote client using XML over Sockets (TCP).
XMLSocketNode(String, Socket, LoggerRepository) - Constructor for class org.apache.log4j.net.XMLSocketNode
Constructor for socket and logger repository.
XMLSocketNode(String, Socket, Receiver) - Constructor for class org.apache.log4j.net.XMLSocketNode
Constructor for socket and reciever.
XMLSocketReceiver - class org.apache.log4j.net.XMLSocketReceiver.
XMLSocketReceiver receives a remote logging event via XML on a configured socket and "posts" it to a LoggerRepository as if the event were generated locally.
XMLSocketReceiver() - Constructor for class org.apache.log4j.net.XMLSocketReceiver
 
XMLSocketReceiver(int) - Constructor for class org.apache.log4j.net.XMLSocketReceiver
 
XMLSocketReceiver(int, LoggerRepository) - Constructor for class org.apache.log4j.net.XMLSocketReceiver
 
xreset() - Method in class org.apache.log4j.WriterAppender
Deprecated. Use WriterAppender.closeWriter() method instead.

Z

ZipCompressAction - class org.apache.log4j.rolling.helper.ZipCompressAction.
Compresses a file using Zip compression.
ZipCompressAction(File, File, boolean, ULogger) - Constructor for class org.apache.log4j.rolling.helper.ZipCompressAction
Create new instance of GZCompressAction.

A B C D E F G H I J K L M N O P R S T U V W X Z
Log4j 1.3alpha-7

Copyright 2000-2005 Apache Software Foundation.