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

A

abbreviate(int, StringBuffer) - Method in class org.apache.log4j.pattern.NamePatternConverter
Abbreviate name in string buffer.
abbreviate(int, StringBuffer) - Method in class org.apache.log4j.pattern.NameAbbreviator
Abbreviates a name in a StringBuffer.
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.
ABSOLUTE_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
 
ABSOLUTE_TIME_PATTERN - Static variable in interface org.apache.log4j.helpers.Constants
 
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(String) - Constructor for class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Deprecated. Create a new instance of AbsoluteTimeDateFormat.
AbsoluteTimeDateFormat(String, TimeZone) - 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.
AbstractDynamicMBean - class org.apache.log4j.jmx.AbstractDynamicMBean.
 
AbstractDynamicMBean() - Constructor for class org.apache.log4j.jmx.AbstractDynamicMBean
 
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
 
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.
ACCEPT_ON_MATCH_OPTION - Static variable in class org.apache.log4j.varia.StringMatchFilter
Deprecated. Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
Action - class org.apache.log4j.joran.action.Action.
Most of the work for configuring log4j is done by Actions.
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.
ACTION_CLASS_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
ACTION_CLASS_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 
Action() - Constructor for class org.apache.log4j.joran.action.Action
 
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
 
activate() - Method in class org.apache.log4j.config.PropertySetter
Deprecated.  
activateOptions() - Method in class org.apache.log4j.SimpleLayout
 
activateOptions() - Method in class org.apache.log4j.TTCCLayout
Deprecated.  
activateOptions() - Method in class org.apache.log4j.PatternLayout
Activates the conversion pattern.
activateOptions() - Method in class org.apache.log4j.HTMLLayout
Does not do anything as options become effective
activateOptions() - Method in class org.apache.log4j.AppenderSkeleton
Called to configure appender for use after configuration.
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.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.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.RollingFileAppender
Deprecated. Prepares RollingFileAppender for use.
activateOptions() - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
activateOptions() - Method in class org.apache.log4j.db.DBAppender
 
activateOptions() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
activateOptions() - Method in class org.apache.log4j.db.JNDIConnectionSource
 
activateOptions() - Method in class org.apache.log4j.db.DBReceiver
 
activateOptions() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
 
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.DateLayout
Deprecated.  
activateOptions() - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
activateOptions() - Method in class org.apache.log4j.net.MulticastReceiver
 
activateOptions() - Method in class org.apache.log4j.net.XMLSocketReceiver
Starts the SocketReceiver 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.TelnetAppender
all of the options have been set, create the socket handler and wait for connections.
activateOptions() - Method in class org.apache.log4j.net.UDPReceiver
Returns true if this receiver is active.
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.JMSReceiver
Starts the JMSReceiver 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.JMSAppender
Options are activated and become effective only after calling this method.
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.SocketAppender
Connect to the specified RemoteHost and 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.SMTPAppender
Activate the specified options, such as the smtp host, the recipient, from, etc.
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.nt.NTEventLogAppender
 
activateOptions() - Method in class org.apache.log4j.rolling.RollingPolicyBase
{@inheritDoc}
activateOptions() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
{@inheritDoc}
activateOptions() - Method in class org.apache.log4j.rolling.RollingFileAppender
Prepare instance of use.
activateOptions() - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
Prepares instance of use.
activateOptions() - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Prepares policy for use.
activateOptions() - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
{@inheritDoc}
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.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.varia.FallbackErrorHandler
Deprecated.  
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.XMLSocketReceiver
 
active - Variable in class org.apache.log4j.net.SocketHubReceiver
 
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.Category
Add newAppender to the list of appenders of this Category instance.
addAppender(Appender) - Method in class org.apache.log4j.AsyncAppender
 
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(Category, Appender) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
addAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
Deprecated.  
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.LoggerRepositoryEx
Errors which cannot be logged, go to the error list
addFilter(Filter) - Method in class org.apache.log4j.AppenderSkeleton
Add a filter to end of the filter 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.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.
addHierarchyEventListener(HierarchyEventListener) - Method in class org.apache.log4j.Hierarchy
Deprecated. Superceded by addLoggerEventListener
addHierarchyEventListener(HierarchyEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
Deprecated. Superceded by LoggerRepositoryEx.addLoggerEventListener.
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.
ADDITIVITY_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
addLoggerEventListener(LoggerEventListener) - Method in class org.apache.log4j.Hierarchy
Add a LoggerEventListener to the repository.
addLoggerEventListener(LoggerEventListener) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Add a LoggerEventListener to the repository.
addLoggerMBean(String) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in class org.apache.log4j.Hierarchy
Add a LoggerRepositoryEventListener to the repository.
addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Add a LoggerRepositoryEventListener to the repository.
addNotificationListener(NotificationListener, NotificationFilter, Object) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
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(PropertyChangeListener) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
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.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.
addPropertyChangeListener(String, PropertyChangeListener) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
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
addRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.Hierarchy
Add an object renderer for a specific class.
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.
addRenderer(String, String) - Method in class org.apache.log4j.or.RendererMap
Add a renderer to the current logger repository
ADDRESS_PARSE_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
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.
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
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
Agent - class org.apache.log4j.jmx.Agent.
 
Agent() - Constructor for class org.apache.log4j.jmx.Agent
 
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.Priority
ALL level integer value.
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'.
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.WriterAppender
This method is called by the AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent) method.
append(LoggingEvent) - Method in class org.apache.log4j.AsyncAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.db.DBAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.net.MulticastAppender
 
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.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.SyslogAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.net.SocketAppender
 
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.SocketHubAppender
Append an event to all of current connections.
append(LoggingEvent) - Method in class org.apache.log4j.nt.NTEventLogAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.varia.NullAppender
Does not do anything.
append(LoggingEvent) - Method in class org.apache.log4j.varia.ListModelAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.varia.ListAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.varia.SoundAppender
Play the sound if an event is being processed
Appender - interface org.apache.log4j.Appender.
Implement this interface for your own strategies for outputting log statements.
APPENDER_BAG - Static variable in class org.apache.log4j.joran.action.ActionConst
 
APPENDER_TAG - Static variable in class org.apache.log4j.joran.action.ActionConst
 
AppenderAction - class org.apache.log4j.joran.action.AppenderAction.
 
AppenderAction() - Constructor for class org.apache.log4j.joran.action.AppenderAction
 
appenderAddedEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.LoggerEventListener
Called when an appender is added to the logger.
appenderAddedEvent(Logger, Appender) - Method in class org.apache.log4j.spi.HierarchyEventListenerAdapter
Deprecated. Called when an appender is added to the logger.
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
 
AppenderDynamicMBean - class org.apache.log4j.jmx.AppenderDynamicMBean.
 
AppenderDynamicMBean(Appender) - Constructor for class org.apache.log4j.jmx.AppenderDynamicMBean
 
appenderList - Variable in class org.apache.log4j.helpers.AppenderAttachableImpl
Array of appenders.
appenderNames - Variable in class org.apache.log4j.config.PropertyPrinter
 
AppenderRefAction - class org.apache.log4j.joran.action.AppenderRefAction.
 
AppenderRefAction() - Constructor for class org.apache.log4j.joran.action.AppenderRefAction
 
appenderRemovedEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.LoggerEventListener
Called when an appender is removed from the logger.
appenderRemovedEvent(Logger, Appender) - Method in class org.apache.log4j.spi.HierarchyEventListenerAdapter
Deprecated. Called when an appender is removed from the logger.
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.
appendEscapingCDATA(StringBuffer, 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.
APPLICATION_KEY - Static variable in interface org.apache.log4j.helpers.Constants
 
applyFields(String, LoggingEvent) - Method in class org.apache.log4j.spi.LoggingEventFieldResolver
 
AS_COLLECTION - Static variable in class org.apache.log4j.config.PropertySetter
 
AS_PROPERTY - Static variable in class org.apache.log4j.config.PropertySetter
 
assertLog(boolean, String) - Method in class org.apache.log4j.Category
If assertion parameter is false, then logs msg as an error statement.
AsyncAppender - class org.apache.log4j.AsyncAppender.
The AsyncAppender lets users log events asynchronously.
AsyncAppender() - Constructor for class org.apache.log4j.AsyncAppender
 
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
 
AttributesRenderer - class org.apache.log4j.or.sax.AttributesRenderer.
Render org.xml.sax.Attributes objects.
AttributesRenderer() - Constructor for class org.apache.log4j.or.sax.AttributesRenderer
 

B

BasicConfigurator - class org.apache.log4j.BasicConfigurator.
Use this class to quickly configure the package.
BasicConfigurator() - Constructor for class org.apache.log4j.BasicConfigurator
 
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.RootLoggerAction
 
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.LevelAction
 
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.NewRuleAction
Instantiates an layout of the given class and sets its name.
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.AppenderRefAction
 
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.PriorityAction
 
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.LayoutAction
Instantiates an layout of the given class and sets its name.
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.LoggerAction
 
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.AppenderAction
Instantiates an appender of the given class and sets its name.
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.
buf - Variable in class org.apache.log4j.TTCCLayout
Deprecated.  
BUF_SIZE - Variable in class org.apache.log4j.PatternLayout
Deprecated. since 1.3
BUF_SIZE - Variable in class org.apache.log4j.HTMLLayout
 
bufferedIO - Variable in class org.apache.log4j.FileAppender
Do we do bufferedIO?
bufferSize - Variable in class org.apache.log4j.FileAppender
The size of the IO buffer.

C

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
 
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.
categoryName - Variable in class org.apache.log4j.spi.LoggingEvent
The logger name.
cb - Variable in class org.apache.log4j.net.SMTPAppender
 
checkAndConfigure() - Method in class org.apache.log4j.helpers.FileWatchdog
Deprecated.  
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.JMSAppender
Gets whether appender is properly configured to append messages.
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
 
CLASS_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 
CLASS_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
className - Variable in class org.apache.log4j.spi.LocationInfo
Caller's fully qualified class name.
ClassNamePatternConverter - class org.apache.log4j.pattern.ClassNamePatternConverter.
Formats the class name of the site of the logging request.
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.UDPAppender
Close the UDP 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.
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 class org.apache.log4j.AppenderSkeleton
Clear the filters chain.
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.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_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
close() - Method in class org.apache.log4j.WriterAppender
Close this appender instance.
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.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.AsyncAppender
Close this AsyncAppender by interrupting the dispatcher thread which will process all pending events before exiting.
close() - Method in class org.apache.log4j.db.DBAppender
 
close() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
close() - Method in class org.apache.log4j.helpers.SyslogWriter
 
close() - Method in class org.apache.log4j.net.MulticastAppender
Close this appender.
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.net.JMSAppender
Close this JMSAppender.
close() - Method in class org.apache.log4j.net.SyslogAppender
Release any resources held by this SyslogAppender.
close() - Method in class org.apache.log4j.net.SocketAppender
Close this appender.
close() - Method in class org.apache.log4j.net.SMTPAppender
 
close() - Method in class org.apache.log4j.net.SocketHubAppender
Close this appender.
close() - Method in class org.apache.log4j.nt.NTEventLogAppender
 
close() - Method in class org.apache.log4j.rolling.RollingFileAppender
Close appender.
close() - Method in class org.apache.log4j.rolling.helper.ActionBase
{@inheritDoc}
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.varia.NullAppender
 
close() - Method in class org.apache.log4j.varia.ListModelAppender
 
close() - Method in class org.apache.log4j.varia.ListAppender
 
close() - Method in class org.apache.log4j.varia.ExternallyRolledFileAppender
Deprecated. Close this appender instance.
close() - Method in class org.apache.log4j.varia.SoundAppender
 
closeConnection(Connection) - Static method in class org.apache.log4j.db.DBHelper
 
closed - Variable in class org.apache.log4j.AppenderSkeleton
Is this appender closed?
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.WriterAppender
Close the underlying Writer.
closeWriter() - Method in class org.apache.log4j.ConsoleAppender
{@inheritDoc}
CODES_HREF - Static variable in interface org.apache.log4j.helpers.Constants
 
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.
computeReferenceMask(LoggingEvent) - Static method in class org.apache.log4j.db.DBHelper
 
concatanateArrays(String[], String[]) - Static method in class org.apache.log4j.helpers.OptionConverter
 
CONFIG - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
CONFIG_DEBUG_KEY - Static variable in class org.apache.log4j.helpers.LogLog
Deprecated. Use LogLog.DEBUG_KEY instead.
CONFIG_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
ConfigurationAction - class org.apache.log4j.joran.action.ConfigurationAction.
 
ConfigurationAction() - Constructor for class org.apache.log4j.joran.action.ConfigurationAction
 
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.
Configurator - interface org.apache.log4j.spi.Configurator.
Implemented by classes capable of configuring log4j using a URL.
CONFIGURATOR_CLASS_KEY - Static variable in class org.apache.log4j.LogManager
Deprecated. This variable is for internal use only. It will become private in future versions.
CONFIGURATOR_CLASS_KEY - Static variable in interface org.apache.log4j.helpers.Constants
 
ConfiguratorBase - class org.apache.log4j.config.ConfiguratorBase.
Code useful to most configurators.
ConfiguratorBase() - Constructor for class org.apache.log4j.config.ConfiguratorBase
 
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(Element) - Static method in class org.apache.log4j.xml.DOMConfigurator
Deprecated. Configure log4j using a configuration element.
configure(Properties) - Static method in class org.apache.log4j.PropertyConfigurator
Read configuration options from properties.
configure(String) - Static method in class org.apache.log4j.PropertyConfigurator
 
configure(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
Deprecated.  
configure(URL) - Static method in class org.apache.log4j.PropertyConfigurator
Read configuration options from url configURL.
configure(URL) - Static method in class org.apache.log4j.xml.DOMConfigurator
Deprecated.  
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.
ConfigWatchdog - interface org.apache.log4j.config.ConfigWatchdog.
Defines the basic interface that all ConfigWatchdogs must support.
connection - Variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
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
 
connector - Variable in class org.apache.log4j.net.SocketHubReceiver
 
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.
Defines a unique logger repository for each web-application in a J2EE environment.
ContextJNDISelector() - Constructor for class org.apache.log4j.selector.ContextJNDISelector
public no-args constructor
CONVERSION_WORD_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
ConversionRuleAction - class org.apache.log4j.joran.action.ConversionRuleAction.
 
ConversionRuleAction() - Constructor for class org.apache.log4j.joran.action.ConversionRuleAction
 
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.
CONVERTER_CLASS_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
convertSpecialChars(String) - Static method in class org.apache.log4j.helpers.OptionConverter
 
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.
count - Variable in class org.apache.log4j.helpers.CountingQuietWriter
Deprecated.  
CountingQuietWriter - class org.apache.log4j.helpers.CountingQuietWriter.
Deprecated.  
CountingQuietWriter(Writer, ErrorHandler) - Constructor for class org.apache.log4j.helpers.CountingQuietWriter
Deprecated.  
createQuietWriter(Writer) - Method in class org.apache.log4j.WriterAppender
 
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.
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.

D

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
 
date - Variable in class org.apache.log4j.helpers.DateLayout
Deprecated.  
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
 
DATE_FORMAT_OPTION - Static variable in class org.apache.log4j.helpers.DateLayout
Deprecated. Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
dateFormat - Variable in class org.apache.log4j.helpers.DateLayout
Deprecated.  
dateFormat(StringBuffer, LoggingEvent) - Method in class org.apache.log4j.helpers.DateLayout
Deprecated.  
DateLayout - class org.apache.log4j.helpers.DateLayout.
Deprecated. since 1.3
DateLayout() - Constructor for class org.apache.log4j.helpers.DateLayout
Deprecated. Instantiate a DateLayout object with in the ISO8601 format as the date formatter.
DateLayout(String) - Constructor for class org.apache.log4j.helpers.DateLayout
Deprecated. Instantiate a DateLayout object using the local time zone.
DatePatternConverter - class org.apache.log4j.pattern.DatePatternConverter.
Convert and format the event's date in a StringBuffer.
DateTimeDateFormat - class org.apache.log4j.helpers.DateTimeDateFormat.
Deprecated.  
DateTimeDateFormat() - Constructor for class org.apache.log4j.helpers.DateTimeDateFormat
Deprecated. Create a new instance of DateTimeDateFormat.
DateTimeDateFormat(TimeZone) - Constructor for class org.apache.log4j.helpers.DateTimeDateFormat
Deprecated. Create a new instance of DateTimeDateFormat.
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.Priority
Deprecated.  
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.Priority
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.
DEBUG_KEY - Static variable in class org.apache.log4j.helpers.LogLog
Defining this value makes log4j print log4j-internal debug statements to System.out.
debug(Object) - Method in class org.apache.log4j.Category
Log a message object with the DEBUG level.
debug(Object) - Method in interface org.apache.log4j.ULogger
Log a message object with the DEBUG level.
debug(Object) - Method in class org.apache.log4j.spi.SimpleULogger
A NOP implementation.
debug(Object) - Method in class org.apache.log4j.spi.NOPULogger
 
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(Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the DEBUG level.
debug(Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
A NOP implementation.
debug(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
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, Throwable) - Method in interface org.apache.log4j.ULogger
 
debug(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
A NOP implementation.
debug(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
 
debug(String) - Static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal debug statements.
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(String, Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the DEBUG level.
debug(String, Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
A NOP implementation.
debug(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
debug(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal debug statements.
debugEnabled - Static variable in class org.apache.log4j.helpers.LogLog
 
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.StringMatchFilter
Returns Filter.NEUTRAL is there is no string match.
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.PropertyFilter
 
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.LevelMatchFilter
Return the decision of this filter.
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.ExpressionFilter
Returns Filter.NEUTRAL is there is no string match.
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.spi.Filter
If the decision is DENY, then the event will be dropped.
decode(String) - Method in interface org.apache.log4j.spi.Decoder
 
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.
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 interface org.apache.log4j.spi.Decoder
 
decode(URL) - Method in class org.apache.log4j.xml.XMLDecoder
Decodes a File into a Vector of LoggingEvents
decode(URL) - Method in class org.apache.log4j.xml.UtilLoggingXMLDecoder
Decodes a File into a Vector of LoggingEvents
decodeEvents(String) - Method in interface org.apache.log4j.spi.Decoder
 
decodeEvents(String) - Method in class org.apache.log4j.xml.XMLDecoder
 
decodeEvents(String) - Method in class org.apache.log4j.xml.UtilLoggingXMLDecoder
Decodes a String representing a number of events into a Vector of LoggingEvents
decoder - Variable in class org.apache.log4j.net.XMLSocketReceiver
 
Decoder - interface org.apache.log4j.spi.Decoder.
Allow LoggingEvents to be reconstructed from a different format (usually XML).
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 class org.apache.log4j.LogManager
Deprecated. This variable is for internal use only. It will become package protected in future versions.
DEFAULT_CONFIGURATION_FILE - Static variable in interface org.apache.log4j.helpers.Constants
 
DEFAULT_CONFIGURATION_KEY - Static variable in class org.apache.log4j.LogManager
Deprecated. This variable is for internal use only. It will become private in future versions.
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
Deprecated. The default delay between every file modification check, set to 60 seconds.
DEFAULT_INIT_OVERRIDE_KEY - Static variable in class org.apache.log4j.LogManager
Deprecated. This variable is for internal use only. It will become private in future versions.
DEFAULT_PORT - Static variable in class org.apache.log4j.net.XMLSocketReceiver
 
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.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_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
 
defaultLoggerRepository - Static variable in class org.apache.log4j.LogManager
The default LoggerRepository instance created by LogManager.
DefaultRepositorySelector - class org.apache.log4j.spi.DefaultRepositorySelector.
 
DefaultRepositorySelector(LoggerRepository) - Constructor for class org.apache.log4j.spi.DefaultRepositorySelector
 
delay - Variable in class org.apache.log4j.helpers.FileWatchdog
Deprecated. The delay to observe between every check.
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.
DenyAllFilter - class org.apache.log4j.filter.DenyAllFilter.
This filter drops all logging events.
DenyAllFilter - class org.apache.log4j.varia.DenyAllFilter.
Deprecated. Replaced by org.apache.log4j.filters.DenyAllFilter.
DenyAllFilter() - Constructor for class org.apache.log4j.filter.DenyAllFilter
 
DenyAllFilter() - Constructor for class org.apache.log4j.varia.DenyAllFilter
Deprecated.  
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.RepositorySelectorEx
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 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 interface org.apache.log4j.Appender
Log in Appender specific way.
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(Element, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
Deprecated. Configure by taking in an DOM element.
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.PropertyConfigurator
Read configuration options from input stream configStream.
doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.joran.JoranConfigurator
 
doConfigure(JoranConfigurator.ParseAction, LoggerRepository) - Method in class org.apache.log4j.joran.JoranConfigurator
 
doConfigure(Properties, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Read configuration options from properties.
doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Read configuration from a file.
doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.joran.JoranConfigurator
 
doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Read configuration options from url configURL.
doConfigure(URL, 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.
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.  
doOnChange() - Method in class org.apache.log4j.helpers.FileWatchdog
Deprecated.  
doPost(LoggingEvent) - Method in class org.apache.log4j.net.XMLSocketReceiver
 
doPost(LoggingEvent) - Method in class org.apache.log4j.net.SocketReceiver
 
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.
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
 
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

emitNoAppenderWarning(Category) - Method in class org.apache.log4j.Hierarchy
 
emitNoAppenderWarning(Category) - Method in interface org.apache.log4j.spi.LoggerRepository
 
EMPTY_STRING - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
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.RootLoggerAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.ParamAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.LevelAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.PropertyAction
 
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.ConfigurationAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.AppenderRefAction
 
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.NestComponentIA
 
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.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.LoggerAction
 
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.
equals(Object) - Method in class org.apache.log4j.Priority
Two priorities are equal if their level fields are equal.
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.ThrowableInformation
 
equals(Object) - Method in class org.apache.log4j.spi.LocationInfo
 
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.
EqualsRule - class org.apache.log4j.rule.EqualsRule.
A Rule class which returns the result of performing equals against two strings.
ERROR - Static variable in class org.apache.log4j.Priority
Deprecated.  
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.Priority
ERROR level integer value.
error(Object) - Method in class org.apache.log4j.Category
Log a message object with the ERROR Level.
error(Object) - Method in interface org.apache.log4j.ULogger
 
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) - Method in class org.apache.log4j.spi.NOPULogger
 
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(Object, Object) - Method in interface org.apache.log4j.ULogger
 
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(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
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, Throwable) - Method in interface org.apache.log4j.ULogger
 
error(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message of level ERROR, including an exception.
error(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
 
error(SAXParseException) - Method in class org.apache.log4j.xml.SAXErrorHandler
 
error(SAXParseException) - Method in class org.apache.log4j.xml.examples.ReportParserError
 
error(String) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. Use Logger instead.
error(String) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
error(String) - Method in interface org.apache.log4j.spi.ErrorHandler
Deprecated.  
error(String) - Method in class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
error(String, Exception, int) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
error(String, Exception, int) - Method in interface org.apache.log4j.spi.ErrorHandler
Deprecated.  
error(String, Exception, int) - Method in class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
error(String, Exception, int, LoggingEvent) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
error(String, Exception, int, LoggingEvent) - Method in interface org.apache.log4j.spi.ErrorHandler
Deprecated.  
error(String, Exception, int, LoggingEvent) - Method in class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
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(String, Object, Object) - Method in interface org.apache.log4j.ULogger
 
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(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
error(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. Use Logger instead.
ErrorCode - interface org.apache.log4j.spi.ErrorCode.
This interface defines commonly encoutered error codes.
errorHandler - Variable in class org.apache.log4j.AppenderSkeleton
Deprecated. as of 1.3
errorHandler - Variable in class org.apache.log4j.helpers.QuietWriter
Deprecated.  
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) - Constructor for class org.apache.log4j.spi.ErrorItem
 
ErrorItem(String, Exception) - Constructor for class org.apache.log4j.spi.ErrorItem
 
errorList - Variable in class org.apache.log4j.PropertyConfigurator
 
escapeTags(String) - 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.LevelEqualsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.PartialTextMatchRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.AndRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.TimestampEqualsRule
 
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.ExpressionRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.LikeRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.ColorRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.ExistsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.NotRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.TimestampInequalityRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.EqualsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.OrRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.InequalityRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.NotEqualsRule
 
evaluator - Variable in class org.apache.log4j.net.SMTPAppender
 
EXCEPTION_EXISTS - Static variable in class org.apache.log4j.db.DBHelper
 
EXCEPTION_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
execute() - Method in class org.apache.log4j.rolling.helper.ActionBase
Perform action.
execute() - Method in class org.apache.log4j.rolling.helper.ZipCompressAction
Compress.
execute() - Method in class org.apache.log4j.rolling.helper.GZCompressAction
Compress.
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() - Method in interface org.apache.log4j.rolling.helper.Action
Perform an action.
execute(File, File, boolean) - Static method in class org.apache.log4j.rolling.helper.FileRenameAction
Rename file.
execute(File, File, boolean, ULogger) - Static method in class org.apache.log4j.rolling.helper.ZipCompressAction
Compress a file.
execute(File, File, boolean, ULogger) - Static method in class org.apache.log4j.rolling.helper.GZCompressAction
Compress a file.
exists(String) - Static method in class org.apache.log4j.Category
Deprecated. Please use LogManager.exists(java.lang.String) instead.
exists(String) - Static method in class org.apache.log4j.LogManager
 
exists(String) - Method in class org.apache.log4j.Hierarchy
Check if the named logger exists in the hierarchy.
exists(String) - Method in interface org.apache.log4j.spi.LoggerRepository
 
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.
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
 
FallbackErrorHandler - class org.apache.log4j.varia.FallbackErrorHandler.
Deprecated. As of 1.3
FallbackErrorHandler() - Constructor for class org.apache.log4j.varia.FallbackErrorHandler
Deprecated.  
FATAL - Static variable in class org.apache.log4j.Priority
Deprecated.  
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.Priority
FATAL level integer value.
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
 
FILE_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 
FILE_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
FILE_OPEN_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
fileAppend - Variable in class org.apache.log4j.FileAppender
Controls whether to append to or truncate an existing file.
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) - 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, boolean, boolean, int) - 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.
filename - Variable in class org.apache.log4j.helpers.FileWatchdog
Deprecated. The name of the file to observe for changes.
fileName - Variable in class org.apache.log4j.FileAppender
The name of the log file.
fileName - Variable in class org.apache.log4j.spi.LocationInfo
Caller's file name.
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.
Deprecated. Use org.apache.log4j.watchdog.FileWatchdog instead.
FileWatchdog(String) - Constructor for class org.apache.log4j.helpers.FileWatchdog
Deprecated.  
Filter - class org.apache.log4j.spi.Filter.
Users should extend this class to implement customized logging event filtering.
FILTER_CHAIN_BAG - Static variable in class org.apache.log4j.joran.action.ActionConst
 
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.
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.
finalize() - Method in class org.apache.log4j.nt.NTEventLogAppender
 
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.
FINE - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
FINE_INT - 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
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.RootLoggerAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.ParamAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.LevelAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.PropertyAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.NewRuleAction
 
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.NestComponentIA
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.LayoutAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.PluginAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.LoggerAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.AppenderAction
 
fireAddAppenderEvent(Category, Appender) - Method in class org.apache.log4j.Hierarchy
Requests that a appender added event be sent to any registered LoggerEventListener.
fireAddAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.LoggerRepository
 
fireAddAppenderEvent(Logger, Appender) - Method in class org.apache.log4j.Hierarchy
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.LoggerRepositoryEx
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.LoggerRepositoryEx
Requests that a level changed event be sent to any registered LoggerEventListener.
firePropertyChange(PropertyChangeEvent) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
firePropertyChange(PropertyChangeEvent) - Method in class org.apache.log4j.rule.AbstractRule
 
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
 
fireRemoveAppenderEvent(Category, Appender) - Method in class org.apache.log4j.Hierarchy
Requests that a appender removed event be sent to any registered LoggerEventListener.
fireRemoveAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Requests that a appender removed event be sent to any registered LoggerEventListener.
fireRemoveAppenderEvent(Logger, Appender) - Method in class org.apache.log4j.Hierarchy
Requests that a appender removed event be sent to any registered LoggerEventListener.
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.
FLUSH_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
flush() - Method in class org.apache.log4j.helpers.QuietWriter
Deprecated.  
flush() - Method in class org.apache.log4j.helpers.SyslogWriter
 
forcedLog(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
This method creates a new logging event and logs the event without further checks.
format(Date, StringBuffer) - Method in class org.apache.log4j.pattern.DatePatternConverter
Append formatted date to string buffer.
format(Date, StringBuffer, FieldPosition) - Method in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Deprecated. {@inheritDoc}
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(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) - Method in class org.apache.log4j.Layout
Implement this method to create your own layout format.
format(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(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(LoggingEvent) - Method in class org.apache.log4j.PatternLayout
Formats a logging event to a writer.
format(LoggingEvent) - Method in class org.apache.log4j.HTMLLayout
{@inheritDoc}
format(LoggingEvent) - Method in class org.apache.log4j.xml.XMLLayout
Formats a LoggingEventin conformance with the log4j.dtd.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LoggingEventPatternConverter
Formats an event into a string buffer.
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LineSeparatorPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.FileLocationPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.RelativeTimePatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LevelPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LineLocationPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LoggerPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.FullLocationPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.ThrowableInformationPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.ThreadPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.NDCPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.SequenceNumberPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LiteralPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.PropertiesPatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.MessagePatternConverter
{@inheritDoc}
format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.MethodLocationPatternConverter
{@inheritDoc}
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
{@inheritDoc}
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.PatternConverter
Formats an object into a string buffer.
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.LoggingEventPatternConverter
{@inheritDoc}
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.LineSeparatorPatternConverter
{@inheritDoc}
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.IntegerPatternConverter
{@inheritDoc}
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.LiteralPatternConverter
{@inheritDoc}
format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.DatePatternConverter
{@inheritDoc}
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.
formatFileName(Object, StringBuffer) - Method in class org.apache.log4j.rolling.RollingPolicyBase
Format file name.
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.
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
 
fqnOfCategoryClass - Variable in class org.apache.log4j.spi.LoggingEvent
Fully qualified name of the calling category class.
fullInfo - Variable in class org.apache.log4j.spi.LocationInfo
All available caller information, in the format fully.qualified.classname.of.caller.methodName(Filename.java:line)
FullLocationPatternConverter - class org.apache.log4j.pattern.FullLocationPatternConverter.
Format the event's line location information.

G

genAppName() - Method in class org.apache.log4j.config.PropertyPrinter
 
GENERIC_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
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.CyclicBuffer
Get the oldest (first) element in the buffer.
get() - Method in class org.apache.log4j.helpers.BoundedFIFO
Get the first element in the buffer.
get(Class) - Method in class org.apache.log4j.or.RendererMap
Search the parents of clazz for a renderer.
get(int) - Method in class org.apache.log4j.helpers.CyclicBuffer
Get the ith oldest event currently 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(String) - Static method in class org.apache.log4j.MDC
Get the context identified by the key parameter.
getAbbreviator(String) - Static method in class org.apache.log4j.pattern.NameAbbreviator
Gets an abbreviator.
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
 
getAcceptOnMatch() - Method in class org.apache.log4j.filter.LevelMatchFilter
 
getAcceptOnMatch() - Method in class org.apache.log4j.filter.ExpressionFilter
 
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 class org.apache.log4j.net.MulticastReceiver
 
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.SocketReceiver.SocketDetail
 
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.AsyncAppender
 
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.Priority
Deprecated. This method will be removed with no replacement.
getAppend() - Method in class org.apache.log4j.FileAppender
Returns the value of the Append option.
getAppend() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. 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
{@inheritDoc}
getAppender(String) - Method in class org.apache.log4j.Category
Look for the appender named as name.
getAppender(String) - Method in class org.apache.log4j.AsyncAppender
 
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.UDPAppender
Returns value of the App option.
getApplication() - Method in class org.apache.log4j.net.SocketAppender
Returns value of the Application 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.
getAttribute(String) - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
 
getAttribute(String) - Method in class org.apache.log4j.jmx.LayoutDynamicMBean
 
getAttribute(String) - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
 
getAttribute(String) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
getAttributes(String[]) - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
Enables the to get the values of several attributes of the Dynamic MBean.
getAudioURL() - Method in class org.apache.log4j.varia.SoundAppender
Accessor
getBackgroundColor() - Method in class org.apache.log4j.rule.ColorRule
 
getBufferedIO() - Method in class org.apache.log4j.FileAppender
Get the value of the BufferedIO option.
getBufferedIO() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Get the value of the BufferedIO option.
getBufferedIO() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Get the value of the BufferedIO option.
getBufferSize() - Method in class org.apache.log4j.FileAppender
Get the size of the IO buffer.
getBufferSize() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. 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.AsyncAppender
Returns the current value of the BufferSize option.
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.
getCategoryPrefixing() - Method in class org.apache.log4j.TTCCLayout
Deprecated. Returns value of the CategoryPrefixing option.
getChainedLevel() - Method in class org.apache.log4j.spi.RootLogger
Return the assigned level value without walking the category hierarchy.
getChainedLevel() - Method in class org.apache.log4j.spi.RootCategory
Deprecated. 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.
getClassName() - Method in class org.apache.log4j.spi.LocationInfo
Return the fully qualified class name of the caller making the logging request.
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 class org.apache.log4j.db.DataSourceConnectionSource
 
getConnection() - Method in class org.apache.log4j.db.JNDIConnectionSource
 
getConnection() - Method in interface org.apache.log4j.db.ConnectionSource
Obtain a Connection for use.
getConnection() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
 
getConnectionSource() - Method in class org.apache.log4j.db.DBAppender
 
getConnectionSource() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
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.
getContentType() - Method in class org.apache.log4j.HTMLLayout
Returns the content type output by this layout, i.e "text/html".
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.
getConversionPattern() - Method in class org.apache.log4j.HTMLLayout
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
 
getCount() - Method in class org.apache.log4j.helpers.CountingQuietWriter
Deprecated.  
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.
getCurrentLoggers() - Static method in class org.apache.log4j.LogManager
 
getCurrentLoggers() - Method in class org.apache.log4j.Hierarchy
Returns all the currently defined categories in this hierarchy as an Enumeration.
getCurrentLoggers() - Method in interface org.apache.log4j.spi.LoggerRepository
 
getDataSource() - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
getDateFormat() - Method in class org.apache.log4j.helpers.DateLayout
Deprecated. Returns value of the DateFormat option.
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.XMLSocketReceiver
 
getDecoder() - Method in class org.apache.log4j.net.UDPReceiver
 
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.MulticastReceiver
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.UDPReceiver
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the Encoding option.
getErrorHandler() - Method in class org.apache.log4j.AppenderSkeleton
Deprecated. As of 1.3
getErrorHandler() - Method in interface org.apache.log4j.Appender
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.PropertyConfigurator
 
getErrorList() - Method in class org.apache.log4j.Hierarchy
Return the the list of previously encoutered error items.
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.LoggerRepositoryEx
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
 
getFacility() - Method in class org.apache.log4j.net.SyslogAppender
Returns the value of the Facility option.
getFacility(String) - Static method in class org.apache.log4j.net.SyslogAppender
Returns the integer value corresponding to the named syslog facility, or -1 if it couldn't be recognized.
getFacilityPrinting() - Method in class org.apache.log4j.net.SyslogAppender
Deprecated. No effect in log4j 1.3
getFacilityString(int) - Static method in class org.apache.log4j.net.SyslogAppender
Deprecated. since 1.3
getFile() - Method in class org.apache.log4j.FileAppender
Returns the value of the File option.
getFile() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. 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.
getFileName() - Method in class org.apache.log4j.spi.LocationInfo
Return the file name of the caller.
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 class org.apache.log4j.AppenderSkeleton
Returns the head Filter.
getFilter() - Method in interface org.apache.log4j.Appender
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.
getFollow() - Method in class org.apache.log4j.ConsoleAppender
Gets whether the appender honors reassignments of System.out or System.err made after configuration.
getFooter() - Method in class org.apache.log4j.Layout
Returns the footer for the layout format.
getFooter() - Method in class org.apache.log4j.HTMLLayout
Returns the appropriate HTML footers.
getForegroundColor() - 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.
getFrom() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the From option.
getFullInfo() - Method in class org.apache.log4j.spi.LocationInfo
fullInfo format is: fully.qualified.classname.of.caller.methodName(Filename.java:line)
getHeader() - Method in class org.apache.log4j.Layout
Returns the header for the layout format.
getHeader() - Method in class org.apache.log4j.HTMLLayout
Returns appropriate HTML headers.
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() - 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.
getInstance(Class) - Static method in class org.apache.log4j.Category
Deprecated. Please use Logger.getLogger(Class) instead.
getInstance(String) - Static method in class org.apache.log4j.Category
Deprecated. Please use the Logger.getLogger(String) method instead.
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 class org.apache.log4j.AppenderSkeleton
Returns the layout of this appender.
getLayout() - Method in interface org.apache.log4j.Appender
Returns this appenders layout.
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() - Method in class org.apache.log4j.spi.LocationInfo
Returns the line number of the caller.
getLineNumber() - Method in class org.apache.log4j.spi.ErrorItem
 
getLineNumber(ExecutionContext) - Method in class org.apache.log4j.joran.action.Action
 
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.HTMLLayout
Returns the current value of the LocationInfo option.
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.SocketAppender
Returns value of the LocationInfo option.
getLocationInfo() - Method in class org.apache.log4j.net.SMTPAppender
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() - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
 
getLogger() - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
 
getLogger() - Method in class org.apache.log4j.jmx.LayoutDynamicMBean
 
getLogger() - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
 
getLogger() - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
getLogger() - Method in class org.apache.log4j.spi.ComponentBase
Return an instance specific logger to be used by the component itself.
getLogger() - Method in class org.apache.log4j.spi.LoggingEvent
Returns the logger of this event.
getLogger(Class) - Static method in class org.apache.log4j.LogManager
Retrieve the appropriate Logger instance.
getLogger(Class) - Static method in class org.apache.log4j.Logger
Shorthand for getLogger(clazz.getName()).
getLogger(LoggerRepository) - Method in class org.apache.log4j.config.ConfiguratorBase
 
getLogger(String) - 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(String) - Method in class org.apache.log4j.Hierarchy
Return a new logger instance named as the first parameter using the default factory.
getLogger(String) - Method in interface org.apache.log4j.spi.LoggerRepository
 
getLogger(String) - Static method in class org.apache.log4j.spi.SimpleULogger
Creates a new instance.
getLogger(String) - Static method in class org.apache.log4j.spi.NOPULogger
 
getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.LogManager
Retrieve the appropriate Logger instance.
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(String, LoggerFactory) - Method in class org.apache.log4j.Hierarchy
Return a new logger instance named as the first parameter using factory.
getLogger(String, LoggerFactory) - Method in interface org.apache.log4j.spi.LoggerRepository
 
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 class org.apache.log4j.plugins.PluginSkeleton
Gets the logger repository for this plugin.
getLoggerRepository() - Method in class org.apache.log4j.plugins.PluginRegistry
 
getLoggerRepository() - Method in interface org.apache.log4j.plugins.Plugin
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() - 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() - Method in interface org.apache.log4j.spi.RepositorySelector
Returns a LoggerRepository depending on the context.
getLoggerRepository(String) - Method in class org.apache.log4j.selector.ContextJNDISelector
Get the logger repository with the corresponding name.
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.
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.
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.CyclicBuffer
 
getMaxSize() - Method in class org.apache.log4j.helpers.BoundedFIFO
Get the maximum size of the buffer.
getMBeanInfo() - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
 
getMBeanInfo() - Method in class org.apache.log4j.jmx.LayoutDynamicMBean
 
getMBeanInfo() - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
 
getMBeanInfo() - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
getMDC(String) - Method in class org.apache.log4j.spi.LoggingEvent
Deprecated. use getProperty(String) instead.
getMDCCopy() - Method in class org.apache.log4j.spi.LoggingEvent
Deprecated. use initializeProperties().
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.LoggingEvent
Return the message for this logging event.
getMessage() - Method in class org.apache.log4j.spi.ErrorItem
 
getMethod(String) - Method in class org.apache.log4j.config.PropertySetter
 
getMethodName() - Method in class org.apache.log4j.spi.LocationInfo
Returns the method name of the caller.
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.
getName() - Method in class org.apache.log4j.Category
Return the category name.
getName() - Method in class org.apache.log4j.AppenderSkeleton
Returns the name of this FileAppender.
getName() - Method in interface org.apache.log4j.Appender
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.DailyRollingFileAppender
Deprecated. Get the name of this appender.
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 class org.apache.log4j.net.SocketReceiver.SocketDetail
 
getName() - Method in interface org.apache.log4j.net.NetworkBased
 
getName() - Method in class org.apache.log4j.pattern.PatternConverter
This method returns the name of the conversion pattern.
getName() - Method in class org.apache.log4j.plugins.PluginSkeleton
Gets the name of the plugin.
getName() - Method in interface org.apache.log4j.plugins.Plugin
Gets the name of the plugin.
getName() - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Get the name of this logger repository.
getNamingContext() - Method in class org.apache.log4j.joran.action.JndiSubstitutionPropertyAction
Returns the naming context for lookups.
getNDC() - Method in class org.apache.log4j.spi.LoggingEvent
This method returns the NDC for this event.
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.
getNotificationInfo() - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
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.LoggerRepositoryEx
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.
getOptionStrings() - Method in class org.apache.log4j.helpers.DateLayout
Deprecated. Use the setter method for the option directly instead of the generic setOption method.
getOptionStrings() - Method in class org.apache.log4j.varia.StringMatchFilter
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.JMSReceiver
Gets the curernt password property.
getPassword() - Method in class org.apache.log4j.net.JMSAppender
 
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.LoggerRepositoryEx
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.MulticastReceiver
 
getPort() - Method in class org.apache.log4j.net.XMLSocketReceiver
Get the port to receive logging events on.
getPort() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the Port option.
getPort() - Method in class org.apache.log4j.net.TelnetAppender
 
getPort() - Method in class org.apache.log4j.net.UDPReceiver
 
getPort() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the Port option.
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.SocketReceiver.SocketDetail
 
getPort() - Method in class org.apache.log4j.net.SocketAppender
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 interface org.apache.log4j.net.PortBased
Returns the Port # that this net based thing is using
getPort() - Method in class org.apache.log4j.net.SocketHubAppender
Returns value of the Port option.
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() - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Get the properties specific for this repository.
getProperties() - Method in class org.apache.log4j.spi.LoggingEvent
 
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
 
getProperty(String) - Method in class org.apache.log4j.Hierarchy
 
getProperty(String) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
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.SocketHubReceiverBeanInfo
 
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.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.UDPAppender
Returns value of the RemoteHost option.
getRemoteHost() - Method in class org.apache.log4j.net.SocketAppender
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) - Static method in class org.apache.log4j.helpers.Loader
This method will search for resource in different places.
getResource(String, Class) - Static method in class org.apache.log4j.helpers.Loader
Deprecated. as of 1.2.
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() - 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 class org.apache.log4j.Hierarchy
Get the root of this hierarchy.
getRootLogger() - Method in interface org.apache.log4j.spi.LoggerRepository
 
getRule() - Method in class org.apache.log4j.rule.ColorRule
 
getRule(Rule) - Static method in class org.apache.log4j.rule.NotRule
 
getRule(Rule, Rule) - Static method in class org.apache.log4j.rule.AndRule
 
getRule(Rule, Rule) - Static method in class org.apache.log4j.rule.OrRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.PartialTextMatchRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.AndRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.LikeRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.ExistsRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.NotRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.EqualsRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.OrRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.NotEqualsRule
 
getRule(String) - Static method in class org.apache.log4j.rule.LevelEqualsRule
 
getRule(String) - Static method in class org.apache.log4j.rule.TimestampEqualsRule
 
getRule(String) - Static method in class org.apache.log4j.rule.ExpressionRule
 
getRule(String) - Static method in class org.apache.log4j.rule.ExistsRule
 
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, Stack) - Method in class org.apache.log4j.rule.RuleFactory
 
getRule(String, String) - Static method in class org.apache.log4j.rule.PartialTextMatchRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.LikeRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.TimestampInequalityRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.EqualsRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.LevelInequalityRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.NotEqualsRule
 
getRule(String, String, String) - Static method in class org.apache.log4j.rule.InequalityRule
 
getScheduler() - Method in class org.apache.log4j.Hierarchy
Return this repository's own scheduler.
getScheduler() - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
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.OracleDialect
 
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.HSQLDBDialect
 
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
 
getSMTPHost() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the SMTPHost option.
getSource() - Method in class org.apache.log4j.nt.NTEventLogAppender
 
getSql() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getSQLDialectCode() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
 
getSQLDialectCode() - Method in interface org.apache.log4j.db.ConnectionSource
Get the SQL dialect that should be used for this connection.
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.PatternConverter
This method returns the CSS style class that should be applied to the LoggingEvent passed as parameter, which can be null.
getStyleClass(Object) - Method in class org.apache.log4j.pattern.LevelPatternConverter
{@inheritDoc}
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.Priority
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.Thresholdable
Gets the current threshold setting of the component.
getThreshold() - Method in interface org.apache.log4j.spi.LoggerRepository
Get the repository-wide threshold.
getThrowable() - Method in class org.apache.log4j.spi.ThrowableInformation
Deprecated.  
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.ThrowableInformation
Retun a clone of the string representation of the exceptopn (throwable) that this object represents.
getThrowableStrRep() - Method in class org.apache.log4j.spi.LoggingEvent
Return this event's throwable's string[] representaion.
getTimeStamp() - Method in class org.apache.log4j.spi.LoggingEvent
Getter for the event's time stamp.
getTimestampFormat() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
getTimeToLive() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the Time to Live option.
getTimeZone() - Method in class org.apache.log4j.helpers.DateLayout
Deprecated. Returns value of the TimeZone option.
getTitle() - Method in class org.apache.log4j.HTMLLayout
Returns the current value of the Title option.
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.
getURL2ExternalCSS() - Method in class org.apache.log4j.HTMLLayout
Return the URL to the external CSS file.
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
 
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.

H

handleNotification(Notification, Object) - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
 
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.
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;
hasMoreElements() - Method in class org.apache.log4j.helpers.NullEnumeration
 
hasStackTraceElement() - Static method in class org.apache.log4j.helpers.PlatformInfo
 
headFilter - Variable in class org.apache.log4j.AppenderSkeleton
The first filter in the filter chain.
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.
HierarchyDynamicMBean - class org.apache.log4j.jmx.HierarchyDynamicMBean.
 
HierarchyDynamicMBean() - Constructor for class org.apache.log4j.jmx.HierarchyDynamicMBean
 
HierarchyEventListener - interface org.apache.log4j.spi.HierarchyEventListener.
Deprecated. Superceded by LoggerEventListener.
HierarchyEventListenerAdapter - class org.apache.log4j.spi.HierarchyEventListenerAdapter.
Deprecated.  
HierarchyEventListenerAdapter(HierarchyEventListener) - Constructor for class org.apache.log4j.spi.HierarchyEventListenerAdapter
Deprecated.  
host - Variable in class org.apache.log4j.net.SocketHubReceiver
 
HOSTNAME_KEY - Static variable in interface org.apache.log4j.helpers.Constants
 
HSQL_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
HSQLDBDialect - class org.apache.log4j.db.dialect.HSQLDBDialect.
The HSQLDB dialect.
HSQLDBDialect() - Constructor for class org.apache.log4j.db.dialect.HSQLDBDialect
 
HTMLLayout - class org.apache.log4j.HTMLLayout.
HTMLLayout outputs events in an HTML table.
HTMLLayout() - Constructor for class org.apache.log4j.HTMLLayout
Constructs a PatternLayout using the DEFAULT_LAYOUT_PATTERN.
HTMLLayout(String) - Constructor for class org.apache.log4j.HTMLLayout
Constructs a PatternLayout using the supplied conversion pattern.

I

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.
ignoresThrowable() - Method in class org.apache.log4j.HTMLLayout
The HTML layout handles the throwable contained in logging events.
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.
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
 
incrementFileLength(int) - Method in class org.apache.log4j.rolling.RollingFileAppender
Increments estimated byte length of current active log file.
InequalityRule - class org.apache.log4j.rule.InequalityRule.
A Rule class implementing inequality evaluation - expects to be able to convert two values to longs.
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
 
INFO - Static variable in class org.apache.log4j.Priority
Deprecated.  
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.Priority
INFO level integer value.
INFO_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
info(Object) - Method in class org.apache.log4j.Category
Log a message object with the INFO Level.
info(Object) - Method in interface org.apache.log4j.ULogger
 
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) - Method in class org.apache.log4j.spi.NOPULogger
 
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(Object, Object) - Method in interface org.apache.log4j.ULogger
 
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(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
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, Throwable) - Method in interface org.apache.log4j.ULogger
 
info(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message of level INFO, including an exception.
info(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
 
info(String) - Static method in class org.apache.log4j.helpers.LogLog
 
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(String, Object, Object) - Method in interface org.apache.log4j.ULogger
 
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(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
inherit(Stack) - Static method in class org.apache.log4j.NDC
Inherit the diagnostic context of another thread.
INHERITED - Static variable in interface org.apache.log4j.spi.Configurator
Special level value signifying inherited behaviour.
initialConfiguration(LoggerRepository, String, String) - Static method in class org.apache.log4j.helpers.IntializationUtil
Configure repository using configuratonResourceStr and configuratorClassNameStr.
initialize() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Build the regular expression needed to parse log entries
initialize(String, boolean) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
{@inheritDoc}
initialize(String, boolean) - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
{@inheritDoc}
initialize(String, boolean) - Method in interface org.apache.log4j.rolling.RollingPolicy
Initialize the policy and return any initial actions for rolling file appender..
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
 
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
 
introspect() - Method in class org.apache.log4j.config.PropertySetter
Uses JavaBeans Introspector to computer setters of object to be configured.
invoke(String, Object[], String[]) - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
 
invoke(String, Object[], String[]) - Method in class org.apache.log4j.jmx.LayoutDynamicMBean
 
invoke(String, Object[], String[]) - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
 
invoke(String, Object[], String[]) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
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.MulticastReceiver
Returns true if this receiver is active.
isActive() - Method in class org.apache.log4j.net.XMLSocketReceiver
Returns true if this receiver is active.
isActive() - Method in class org.apache.log4j.net.MulticastAppender
 
isActive() - Method in class org.apache.log4j.net.UDPAppender
 
isActive() - Method in class org.apache.log4j.net.JMSReceiver
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.SocketHubReceiver
Returns true if this receiver is active.
isActive() - Method in interface org.apache.log4j.net.NetworkBased
 
isActive() - Method in class org.apache.log4j.plugins.PluginSkeleton
Returns whether this plugin is Active or not
isActive() - Method in interface org.apache.log4j.plugins.Plugin
True if the plugin is active and running.
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.
isAsSevereAsThreshold(Priority) - Method in class org.apache.log4j.AppenderSkeleton
Deprecated.  
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.AsyncAppender
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 class org.apache.log4j.rolling.helper.ActionBase
Tests if the action is complete.
isComplete() - Method in interface org.apache.log4j.rolling.helper.Action
Determines if action has been completed.
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.SimpleULogger
Always returns false.
isDebugEnabled() - Method in class org.apache.log4j.spi.NOPULogger
 
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
Returns whether this repository is 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.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 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.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.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.plugins.PluginSkeleton
Returns true if the plugin has the same name and logger repository as the testPlugin passed in.
isEquivalent(Plugin) - Method in interface org.apache.log4j.plugins.Plugin
Returns true if the testPlugin is considered to be "equivalent" to the this plugin.
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.SimpleULogger
Always returns true.
isErrorEnabled() - Method in class org.apache.log4j.spi.NOPULogger
 
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, that is 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, that is, if it is of the form A[0-9]+.
isGreaterOrEqual(Priority) - Method in class org.apache.log4j.Priority
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
 
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.SimpleULogger
Always returns true.
isInfoEnabled() - Method in class org.apache.log4j.spi.NOPULogger
 
isInternalCSS() - Method in class org.apache.log4j.HTMLLayout
Returns the value of the internalCSS option.
isInVisualAge() - 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?
isJDK14OrLater() - Static method in class org.apache.log4j.helpers.PlatformInfo
 
isLeftAligned() - Method in class org.apache.log4j.pattern.FormattingInfo
Determine if left aligned.
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
 
ISO8601DateFormat - class org.apache.log4j.helpers.ISO8601DateFormat.
Deprecated.  
ISO8601DateFormat() - Constructor for class org.apache.log4j.helpers.ISO8601DateFormat
Deprecated. Create a new instance of ISO8601DateFormat.
ISO8601DateFormat(TimeZone) - Constructor for class org.apache.log4j.helpers.ISO8601DateFormat
Deprecated. Create a new instance of ISO8601DateFormat.
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.XMLSocketReceiver
 
isPaused() - Method in class org.apache.log4j.net.UDPReceiver
 
isPaused() - Method in class org.apache.log4j.net.SocketReceiver
 
isPaused() - Method in class org.apache.log4j.net.SocketReceiver.SocketDetail
 
isPaused() - Method in class org.apache.log4j.net.SocketNode
 
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.LoggerRepositoryEx
Is the current configuration of the repository 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.TimeBasedRollingPolicy
{@inheritDoc}
isTriggeringEvent(Appender, LoggingEvent, String, long) - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
{@inheritDoc}
isTriggeringEvent(Appender, LoggingEvent, String, long) - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
{@inheritDoc}
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.SimpleULogger
Always returns true.
isWarnEnabled() - Method in class org.apache.log4j.spi.NOPULogger
 

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
 
JNDI_CONTEXT_NAME - Static variable in interface org.apache.log4j.helpers.Constants
 
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
 
jndiPath - Variable in class org.apache.log4j.net.JMSReceiver
 
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
 
JNDIUtil - class org.apache.log4j.helpers.JNDIUtil.
 
JNDIUtil() - Constructor for class org.apache.log4j.helpers.JNDIUtil
 
JoranConfigurator - class org.apache.log4j.joran.JoranConfigurator.
A JoranConfigurator instance should not be used more than once to configure a LoggerRepository.
JoranConfigurator.ParseAction - interface org.apache.log4j.joran.JoranConfigurator.ParseAction.
 
JoranConfigurator() - Constructor for class org.apache.log4j.joran.JoranConfigurator
 

K

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

L

l7dlog(Priority, String, Object[], Throwable) - Method in class org.apache.log4j.Category
Log a localized and parameterized message.
l7dlog(Priority, String, Throwable) - Method in class org.apache.log4j.Category
Log a localized 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.
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
 
LayoutDynamicMBean - class org.apache.log4j.jmx.LayoutDynamicMBean.
 
LayoutDynamicMBean(Layout) - Constructor for class org.apache.log4j.jmx.LayoutDynamicMBean
 
layoutNames - Variable in class org.apache.log4j.config.PropertyPrinter
 
length() - Method in class org.apache.log4j.helpers.CyclicBuffer
Get the number of elements in the buffer.
length() - Method in class org.apache.log4j.helpers.BoundedFIFO
Get the number of elements in the buffer.
level - Variable in class org.apache.log4j.Category
The assigned level of this category.
level - Variable in class org.apache.log4j.spi.LoggingEvent
Level of logging event.
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_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
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
 
levelChangedEvent(Logger) - Method in interface org.apache.log4j.spi.LoggerEventListener
Called when level changed on the logger.
levelChangedEvent(Logger) - Method in class org.apache.log4j.spi.HierarchyEventListenerAdapter
Deprecated. Called when level changed on the logger.
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 - class org.apache.log4j.varia.LevelMatchFilter.
Deprecated. moved to org.apache.log4j.filter.LevelMatchFilter
LevelMatchFilter() - Constructor for class 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 - class org.apache.log4j.varia.LevelRangeFilter.
Deprecated. moved to org.apache.log4j.filter.LevelRangeFilter
LevelRangeFilter() - Constructor for class 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.
LINE_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
LINE_SEP - Static variable in class org.apache.log4j.Layout
 
LINE_SEP_LEN - Static variable in class org.apache.log4j.Layout
 
LINE_SEPARATOR - Static variable in class org.apache.log4j.spi.SimpleULogger
 
LineLocationPatternConverter - class org.apache.log4j.pattern.LineLocationPatternConverter.
Return the event's line location information in a StringBuffer.
lineNumber - Variable in class org.apache.log4j.spi.LocationInfo
Caller's line number.
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.
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.
Loader - class org.apache.log4j.helpers.Loader.
Load resources (or images) from various sources.
Loader() - Constructor for class org.apache.log4j.helpers.Loader
 
LOCATION_INFO_OPTION - Static variable in class org.apache.log4j.HTMLLayout
Deprecated. Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
LocationInfo - class org.apache.log4j.spi.LocationInfo.
The internal representation of caller location information.
LocationInfo(String, String, String, String) - Constructor for class org.apache.log4j.spi.LocationInfo
 
LocationInfo(Throwable, String) - Constructor for class org.apache.log4j.spi.LocationInfo
Instantiate location information based on a Throwable.
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
 
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_AUTH - Static variable in class org.apache.log4j.net.SyslogAppender
security/authorization messages
LOG_AUTHPRIV - Static variable in class org.apache.log4j.net.SyslogAppender
security/authorization messages (private)
LOG_CRON - Static variable in class org.apache.log4j.net.SyslogAppender
clock daemon
LOG_DAEMON - Static variable in class org.apache.log4j.net.SyslogAppender
System daemons
LOG_FTP - Static variable in class org.apache.log4j.net.SyslogAppender
ftp daemon
LOG_KERN - Static variable in class org.apache.log4j.net.SyslogAppender
Kernel messages
LOG_LOCAL0 - Static variable in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL1 - Static variable in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL2 - Static variable in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL3 - Static variable in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL4 - Static variable in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL5 - Static variable in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL6 - Static variable in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL7 - Static variable in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LPR - Static variable in class org.apache.log4j.net.SyslogAppender
line printer subsystem
LOG_MAIL - Static variable in class org.apache.log4j.net.SyslogAppender
Mail system
LOG_NEWS - Static variable in class org.apache.log4j.net.SyslogAppender
network news subsystem
LOG_SYSLOG - Static variable in class org.apache.log4j.net.SyslogAppender
messages generated internally by syslogd
LOG_USER - Static variable in class org.apache.log4j.net.SyslogAppender
Random user-level messages
LOG_UUCP - Static variable in class org.apache.log4j.net.SyslogAppender
UUCP subsystem
log(Level, Object) - Method in class org.apache.log4j.Category
This generic form is intended to be used by wrappers.
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(Priority, Object, Throwable) - Method in class org.apache.log4j.Category
Deprecated. Use the form taking in a Level as a parameter.
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.
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
 
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
 
log4jInternalConfiguration(LoggerRepository) - Static method in class org.apache.log4j.helpers.IntializationUtil
 
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
 
Logger - class org.apache.log4j.Logger.
This is the central class in the log4j package.
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
 
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
 
LoggerDynamicMBean - class org.apache.log4j.jmx.LoggerDynamicMBean.
 
LoggerDynamicMBean(Logger) - Constructor for class org.apache.log4j.jmx.LoggerDynamicMBean
 
LoggerEventListener - interface org.apache.log4j.spi.LoggerEventListener.
Interface used to listen for Logger related events such as add/remove appender or changing levels.
loggerFactory - Variable in class org.apache.log4j.PropertyConfigurator
 
LoggerFactory - interface org.apache.log4j.spi.LoggerFactory.
Implement this interface to create new instances of Logger or a sub-class of Logger.
loggerHasSubPackages(String) - Method in class org.apache.log4j.helpers.LoggerTraverse
Returns true if the given package name appears to have sub-package.
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.
LoggerRepositoryEx - interface org.apache.log4j.spi.LoggerRepositoryEx.
A LoggerRepository is used to create and retrieve Loggers.
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, Category, long, Priority, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
Deprecated. Please use the no argument constructor and the setter methods instead.
LoggingEvent(String, Category, Priority, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
Instantiate a LoggingEvent from the supplied parameters.
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.
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
 
lookup(Context, String) - Static method in class org.apache.log4j.helpers.JNDIUtil
 
lookup(Context, String) - Method in class org.apache.log4j.net.JMSReceiver
 
lookup(Context, String) - Static method in class org.apache.log4j.net.JMSSink
 
lookup(Context, String) - Method in class org.apache.log4j.net.JMSAppender
 

M

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.SimpleSocketServer
 
main(String[]) - Static method in class org.apache.log4j.net.JMSSink
 
main(String[]) - Static method in class org.apache.log4j.net.SocketServer
 
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.varia.LogFilePatternReceiver
 
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
 
MapFilter - class org.apache.log4j.filter.MapFilter.
 
MapFilter() - Constructor for class org.apache.log4j.filter.MapFilter
 
MAX_CAPACITY - Variable in class org.apache.log4j.PatternLayout
Deprecated. since 1.3
MAX_CAPACITY - Variable in class org.apache.log4j.HTMLLayout
 
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.
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
 
METHOD_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
methodDescriptors - Variable in class org.apache.log4j.config.PropertySetter
 
MethodLocationPatternConverter - class org.apache.log4j.pattern.MethodLocationPatternConverter.
Return the event's line location information in a StringBuffer.
methodName - Variable in class org.apache.log4j.spi.LocationInfo
Caller's method name.
MISSING_LAYOUT - Static variable in interface org.apache.log4j.spi.ErrorCode
 
msg - Variable in class org.apache.log4j.net.SMTPAppender
 
MSG_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
MSSQL_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
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
 
MYSQL_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
MySQLDialect - class org.apache.log4j.db.dialect.MySQLDialect.
 
MySQLDialect() - Constructor for class org.apache.log4j.db.dialect.MySQLDialect
 

N

NA - Static variable in class org.apache.log4j.spi.LocationInfo
When location information is not available the constant NA is returned.
NA_LOCATION_INFO - Static variable in class org.apache.log4j.spi.LocationInfo
NA_LOCATION_INFO is used in conjunction with deserialized LoggingEvents without real location info available.
name - Variable in class org.apache.log4j.Category
The name of this category.
name - Variable in class org.apache.log4j.AppenderSkeleton
Appenders are named.
name - Variable in class org.apache.log4j.plugins.PluginSkeleton
Name of this plugin.
NAME_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 
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.
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.
NDC_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
NDCPatternConverter - class org.apache.log4j.pattern.NDCPatternConverter.
Return the event's NDC in a StringBuffer.
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.
NEUTRAL - Static variable in class org.apache.log4j.spi.Filter
This filter is neutral with respect to the log event.
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.FileLocationPatternConverter
Obtains an instance of pattern converter.
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.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.LoggerPatternConverter
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.ThrowableInformationPatternConverter
Gets an instance of the class.
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.NDCPatternConverter
Obtains an instance of NDCPatternConverter.
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.SequenceNumberPatternConverter
Obtains an instance of SequencePatternConverter.
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.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.ClassNamePatternConverter
Gets an instance of ClassNamePatternConverter.
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.DatePatternConverter
Obtains an instance of pattern converter.
NewRuleAction - class org.apache.log4j.joran.action.NewRuleAction.
 
NewRuleAction() - Constructor for class org.apache.log4j.joran.action.NewRuleAction
 
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
 
NOP_LOGGER - Static variable in class org.apache.log4j.spi.NOPULogger
The unique instance of NOPLogger.
NOPULogger - class org.apache.log4j.spi.NOPULogger.
A no operation (NOP) implementation of ULogger.
NOT_FOUND - Static variable in class org.apache.log4j.config.PropertySetter
 
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.
NTEventLogAppender - class org.apache.log4j.nt.NTEventLogAppender.
Append to the NT event log system.
NTEventLogAppender() - Constructor for class org.apache.log4j.nt.NTEventLogAppender
 
NTEventLogAppender(Layout) - Constructor for class org.apache.log4j.nt.NTEventLogAppender
 
NTEventLogAppender(String) - Constructor for class org.apache.log4j.nt.NTEventLogAppender
 
NTEventLogAppender(String, Layout) - Constructor for class org.apache.log4j.nt.NTEventLogAppender
 
NTEventLogAppender(String, String) - Constructor for class org.apache.log4j.nt.NTEventLogAppender
 
NTEventLogAppender(String, String, Layout) - Constructor for class org.apache.log4j.nt.NTEventLogAppender
 
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
 
NULL_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.DateLayout
Deprecated. String constant designating no time information.
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.
numAppenders - Variable in class org.apache.log4j.config.PropertyPrinter
 

O

obj - Variable in class org.apache.log4j.config.PropertySetter
 
obj - Variable in class org.apache.log4j.config.PropertyGetter
 
objClass - Variable in class org.apache.log4j.config.PropertySetter
 
ObjectRenderer - interface org.apache.log4j.or.ObjectRenderer.
Implement this interface in order to render objects as strings.
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.Priority
OFF level integer value.
OK - Static variable in class org.apache.log4j.varia.ExternallyRolledFileAppender
Deprecated. The string constant sent to acknowledge a roll over.
OnlyOnceErrorHandler - class org.apache.log4j.helpers.OnlyOnceErrorHandler.
Deprecated. As of 1.3
OnlyOnceErrorHandler() - Constructor for class org.apache.log4j.helpers.OnlyOnceErrorHandler
Deprecated.  
onMessage(Message) - Method in class org.apache.log4j.net.JMSReceiver
 
onMessage(Message) - Method in class org.apache.log4j.net.JMSSink
 
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.
ORACLE_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
OracleDialect - class org.apache.log4j.db.dialect.OracleDialect.
The Oracle dialect.
OracleDialect() - Constructor for class org.apache.log4j.db.dialect.OracleDialect
 
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.jmx - package org.apache.log4j.jmx
This package lets you manage log4j settings using JMX.
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.nt - package org.apache.log4j.nt
Package for NT event 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
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).
OrRule - class org.apache.log4j.rule.OrRule.
A Rule class implementing logical or.
out - Variable in class org.apache.log4j.config.PropertyPrinter
 

P

ParamAction - class org.apache.log4j.joran.action.ParamAction.
 
ParamAction() - Constructor for class org.apache.log4j.joran.action.ParamAction
 
parent - Variable in class org.apache.log4j.Category
The parent of this category.
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.
parse(String, ParsePosition) - Method in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Deprecated. {@inheritDoc}
parse(String, ParsePosition) - Method in class org.apache.log4j.helpers.RelativeTimeDateFormat
This method does not do anything but return null.
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.
PartialTextMatchRule - class org.apache.log4j.rule.PartialTextMatchRule.
A Rule class implementing case-insensitive partial-text matches against two strings.
password - Variable in class org.apache.log4j.net.JMSReceiver
 
PATTERN - Static variable in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Deprecated. Equivalent SimpleDateFormat pattern.
PATTERN_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
PATTERN_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 
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.
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.
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.
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.
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.
PluginRegistry - class org.apache.log4j.plugins.PluginRegistry.
This is a registry for Plugin instances.
PluginRegistry(LoggerRepositoryEx) - 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
 
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.XMLSocketReceiver
 
port - Variable in class org.apache.log4j.net.SocketReceiver
 
port - Variable in class org.apache.log4j.net.SocketHubReceiver
 
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.
pos - Variable in class org.apache.log4j.helpers.DateLayout
Deprecated.  
postDeregister() - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
 
POSTGRES_DIALECT - Static variable in interface org.apache.log4j.db.ConnectionSource
 
PostgreSQLDialect - class org.apache.log4j.db.dialect.PostgreSQLDialect.
 
PostgreSQLDialect() - Constructor for class org.apache.log4j.db.dialect.PostgreSQLDialect
 
postRegister(Boolean) - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
 
postRegister(Boolean) - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
 
postRegister(Boolean) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
preDeregister() - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
 
prepareForDeferredProcessing() - Method in class org.apache.log4j.spi.LoggingEvent
This method should be called prior to serializing an event.
preRegister(MBeanServer, ObjectName) - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
 
preRegister(MBeanServer, ObjectName) - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
 
print(PrintWriter) - 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, Logger) - Method in class org.apache.log4j.config.PropertyPrinter
 
printOptions(PrintWriter, Object, String) - Method in class org.apache.log4j.config.PropertyPrinter
 
Priority - class org.apache.log4j.Priority.
Refrain from using this class directly, use the Level class instead.
Priority() - Constructor for class org.apache.log4j.Priority
Default constructor for deserialization.
Priority(int, String, int) - Constructor for class org.apache.log4j.Priority
Instantiate a level object.
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
 
process(Reader) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Read, parse and optionally tail the log file, converting entries into logging events.
PROP_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
PROPERTIES_EXIST - Static variable in class org.apache.log4j.db.DBHelper
 
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.PropertyCallback - interface org.apache.log4j.config.PropertyGetter.PropertyCallback.
 
PropertyGetter(Object) - Constructor for class org.apache.log4j.config.PropertyGetter
Create a new PropertyGetter for the specified Object.
PropertyPrinter - class org.apache.log4j.config.PropertyPrinter.
Prints the configuration of the log4j default hierarchy (which needs to be auto-initialized) as a properties 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
 
props - 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(Class, ObjectRenderer) - Method in class org.apache.log4j.or.RendererMap
Register an ObjectRenderer for clazz.
put(LoggingEvent) - Method in class org.apache.log4j.helpers.BoundedFIFO
Place a LoggingEvent in the buffer.
put(String, Object) - Static method in class org.apache.log4j.MDC
Deprecated. please use the MDC.put(String key, String val) form.
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.
putObject(String, Object) - Method in class org.apache.log4j.Hierarchy
 
putObject(String, Object) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Store an object under 'key'.

Q

QuietWriter - class org.apache.log4j.helpers.QuietWriter.
Deprecated.  
QuietWriter(Writer, ErrorHandler) - Constructor for class org.apache.log4j.helpers.QuietWriter
Deprecated.  
qw - Variable in class org.apache.log4j.WriterAppender
This is the quietWriter where we will write to.

R

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
 
reconnectionDelay - Variable in class org.apache.log4j.net.SocketHubReceiver
 
REF_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.ActionConst
 
ReflectionFilter - class org.apache.log4j.filter.ReflectionFilter.
 
ReflectionFilter() - Constructor for class org.apache.log4j.filter.ReflectionFilter
 
registry - Variable in class org.apache.log4j.PropertyConfigurator
Used internally to keep track of configured appenders.
RELATIVE_TIME_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.DateLayout
Deprecated. String constant designating relative time.
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.
releaseReadLock() - Method in class org.apache.log4j.helpers.ReaderWriterLock
 
releaseWriteLock() - Method in class org.apache.log4j.helpers.ReaderWriterLock
 
remove() - Static method in class org.apache.log4j.NDC
Remove the diagnostic context for this thread.
remove(String) - Static method in class org.apache.log4j.MDC
Remove the the context identified by the key parameter.
removeAllAppenders() - Method in class org.apache.log4j.Category
Remove all previously added appenders from this Category instance.
removeAllAppenders() - Method in class org.apache.log4j.AsyncAppender
 
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.Category
Remove the appender passed as parameter form the list of appenders.
removeAppender(Appender) - Method in class org.apache.log4j.AsyncAppender
 
removeAppender(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Remove the appender passed as parameter form the list of attached 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 class org.apache.log4j.Category
Remove the appender with the name passed as parameter form the list of appenders.
removeAppender(String) - Method in class org.apache.log4j.AsyncAppender
 
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(String) - Method in interface org.apache.log4j.spi.AppenderAttachable
Remove the appender with the name passed as parameter from the list of appenders.
removeAppenderEvent(Category, Appender) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
removeAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
Deprecated.  
removeLoggerEventListener(LoggerEventListener) - Method in class org.apache.log4j.Hierarchy
Remove a LoggerEventListener from the repository.
removeLoggerEventListener(LoggerEventListener) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
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.LoggerRepositoryEx
Remove a LoggerRepositoryEventListener from the repository.
removeNotificationListener(NotificationListener) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
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 class org.apache.log4j.plugins.PluginSkeleton
 
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(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.
removePropertyChangeListener(String, PropertyChangeListener) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
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.
removeSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketReceiver
Removes the registered Listener from this instances list of listeners.
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.
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.
 
reportException(Exception) - Method in class org.apache.log4j.rolling.helper.ActionBase
Capture exception.
reportException(Exception) - Method in class org.apache.log4j.rolling.helper.ZipCompressAction
Capture exception.
reportException(Exception) - Method in class org.apache.log4j.rolling.helper.GZCompressAction
Capture exception.
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
 
repository - Variable in class org.apache.log4j.Category
 
repository - Variable in class org.apache.log4j.spi.ComponentBase
 
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.
RepositorySelectorEx - interface org.apache.log4j.spi.RepositorySelectorEx.
The LogManager uses one (and only one) RepositorySelector implementation to select the LoggerRepository for a particular application context.
requiresLayout() - Method in class org.apache.log4j.WriterAppender
Gets whether appender requires a layout.
requiresLayout() - Method in interface org.apache.log4j.Appender
Configurators call this method to determine if the appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.RollingFileAppender
Deprecated. Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.AsyncAppender
Deprecated. Will be removed with no replacement.
requiresLayout() - Method in class org.apache.log4j.db.DBAppender
Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.net.MulticastAppender
Gets whether appender requires 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.
requiresLayout() - Method in class org.apache.log4j.net.JMSAppender
Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.net.SyslogAppender
The SyslogAppender requires a layout.
requiresLayout() - Method in class org.apache.log4j.net.SocketAppender
Gets whether appender requires a layout.
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.nt.NTEventLogAppender
The NTEventLogAppender requires a layout.
requiresLayout() - Method in class org.apache.log4j.varia.NullAppender
Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.varia.ListModelAppender
Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.varia.ListAppender
Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.varia.SoundAppender
Gets whether appender requires a layout.
reset() - Method in class org.apache.log4j.WriterAppender
Deprecated. Use WriterAppender.closeWriter() method instead.
reset() - Method in class org.apache.log4j.FileAppender
Deprecated.  
resetConfiguration() - Static method in class org.apache.log4j.LogManager
 
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.BasicConfigurator
Reset the default hierarchy to its defaut.
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.CyclicBuffer
Resize the cyclic buffer to newSize.
resize(int) - Method in class org.apache.log4j.helpers.BoundedFIFO
Resize the buffer to a new size.
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
 
ROLL_OVER - Static variable in class org.apache.log4j.varia.ExternallyRolledFileAppender
Deprecated. The string constant sent to initiate a roll over.
Roller - class org.apache.log4j.varia.Roller.
Deprecated. 1.3
RollingFileAppender - class org.apache.log4j.RollingFileAppender.
Deprecated. Replaced by RollingFileAppender
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.RollingFileAppender
Deprecated. The default constructor simply calls its parents constructor.
RollingFileAppender() - Constructor for class org.apache.log4j.rolling.RollingFileAppender
Construct a new instance.
RollingFileAppender(Layout, String) - Constructor for class org.apache.log4j.RollingFileAppender
Deprecated. Instantiate a FileAppender and open the file designated by filename.
RollingFileAppender(Layout, String, boolean) - Constructor for class org.apache.log4j.RollingFileAppender
Deprecated. Instantiate a RollingFileAppender and open the file designated by filename.
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
 
rollover() - Method in class org.apache.log4j.rolling.RollingFileAppender
Implements the usual roll over behaviour.
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
{@inheritDoc}
rollover(String) - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
{@inheritDoc}
rollover(String) - Method in interface org.apache.log4j.rolling.RollingPolicy
Prepare for a rollover.
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".
rootCause - Variable in class org.apache.log4j.config.PropertySetterException
 
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.
run() - Method in class org.apache.log4j.helpers.FileWatchdog
Deprecated.  
run() - Method in class org.apache.log4j.net.XMLSocketReceiver
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.SocketReceiver
Loop, accepting new socket connections.
run() - Method in class org.apache.log4j.net.SocketNode
 
run() - Method in class org.apache.log4j.net.XMLSocketNode
 
run() - Method in class org.apache.log4j.rolling.helper.ActionBase
{@inheritDoc}
run() - Method in class org.apache.log4j.rolling.helper.CompositeAction
{@inheritDoc}

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.OracleDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.db.dialect.MsSQLDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.db.dialect.HSQLDBDialect
 
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
 
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.
SequenceNumberPatternConverter - class org.apache.log4j.pattern.SequenceNumberPatternConverter.
Formats the event sequence number.
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.LevelRangeFilter
Set the AcceptOnMatch option.
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.StringMatchFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.AndFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.LevelMatchFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.ExpressionFilter
 
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.XMLDecoder
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.UtilLoggingXMLDecoder
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.FileAppender
The Append option takes a boolean value.
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.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.UDPAppender
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.
setAttribute(Attribute) - Method in class org.apache.log4j.jmx.LoggerDynamicMBean
 
setAttribute(Attribute) - Method in class org.apache.log4j.jmx.LayoutDynamicMBean
 
setAttribute(Attribute) - Method in class org.apache.log4j.jmx.AppenderDynamicMBean
 
setAttribute(Attribute) - Method in class org.apache.log4j.jmx.HierarchyDynamicMBean
 
setAttributes(AttributeList) - Method in class org.apache.log4j.jmx.AbstractDynamicMBean
Sets the values of several attributes of the Dynamic MBean, and returns the list of attributes that have been set.
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.  
setBufferedIO(boolean) - Method in class org.apache.log4j.FileAppender
The BufferedIO option takes a boolean value.
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.RollingFileAppender
Deprecated. The BufferedIO option takes a boolean value.
setBufferSize(int) - Method in class org.apache.log4j.FileAppender
Set the size of the IO buffer.
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.RollingFileAppender
Deprecated. Set the size of the IO buffer.
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.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.
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.DBAppender
 
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
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.
setConversionPattern(String) - Method in class org.apache.log4j.HTMLLayout
Set the ConversionPattern option.
setConvertInFixToPostFix(boolean) - Method in class org.apache.log4j.filter.ExpressionFilter
 
setConvertInFixToPostFix(boolean) - Method in class org.apache.log4j.filter.LocationInfoFilter
 
setCount(long) - Method in class org.apache.log4j.helpers.CountingQuietWriter
Deprecated.  
setDataSource(DataSource) - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
setDateFormat(DateFormat, TimeZone) - Method in class org.apache.log4j.helpers.DateLayout
Deprecated. Sets the DateFormat used to format time and date in the zone determined by timeZone.
setDateFormat(String) - Method in class org.apache.log4j.helpers.DateLayout
Deprecated. The value of the DateFormat option should be either an argument to the constructor of SimpleDateFormat or one of the srings "NULL", "RELATIVE", "ABSOLUTE", "DATE" or "ISO8601.
setDateFormat(String, TimeZone) - Method in class org.apache.log4j.helpers.DateLayout
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.XMLSocketReceiver
 
setDecoder(String) - Method in class org.apache.log4j.net.UDPReceiver
 
setDelay(long) - Method in class org.apache.log4j.helpers.FileWatchdog
Deprecated. 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.MulticastReceiver
The Encoding option specifies how the bytes are encoded.
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.UDPReceiver
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.
setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.AppenderSkeleton
Deprecated. As of 1.3
setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.WriterAppender
Deprecated.  
setErrorHandler(ErrorHandler) - Method in interface org.apache.log4j.Appender
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
setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.helpers.QuietWriter
Deprecated.  
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
 
setFacility(String) - Method in class org.apache.log4j.net.SyslogAppender
Set the syslog facility.
setFacilityPrinting(boolean) - Method in class org.apache.log4j.net.SyslogAppender
Deprecated. No effect in log4j 1.3
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) - 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.RollingFileAppender
Deprecated. 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.
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
setFollow(boolean) - Method in class org.apache.log4j.ConsoleAppender
Sets whether the appender honors reassignments of System.out or System.err made after configuration.
setFooter(String) - Method in class org.apache.log4j.Layout
Set the footer.
setFQNOfLoggerClass(String) - Method in class org.apache.log4j.spi.LoggingEvent
Set the fully qualified name of the calling logger sub-class/wrapper.
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.
setHost(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
 
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.
setInternalCSS(boolean) - Method in class org.apache.log4j.HTMLLayout
Set the value of the internalCSS option.
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 class org.apache.log4j.AppenderSkeleton
Set the layout for this appender.
setLayout(Layout) - Method in interface org.apache.log4j.Appender
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(int) - Method in class org.apache.log4j.helpers.SyslogQuietWriter
Deprecated.  
setLevel(Level) - Method in class org.apache.log4j.Category
Set the level of this Category.
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.
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.LoggingEvent
Set the level of this event.
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.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.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.XMLSocketNode
Set the event listener on this node.
setLocationInfo(boolean) - Method in class org.apache.log4j.HTMLLayout
The LocationInfo option takes a boolean value.
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.SocketAppender
The LocationInfo option takes a boolean value.
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.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 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 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.plugins.Plugin
Sets the logger repository used by this plugin.
setLoggerRepository(LoggerRepository) - Method in class org.apache.log4j.spi.ComponentBase
Set the owning repository.
setLoggerRepository(LoggerRepository) - Method in interface org.apache.log4j.spi.Component
Set owning logger repository for this component.
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(long) - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Sets rollover threshold size in bytes.
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.
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.
setMaxIndex(int) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Set index of oldest log file to be retained.
setMessage(Object) - Method in class org.apache.log4j.spi.LoggingEvent
Set the message for this event.
setMessage(String) - Method in class org.apache.log4j.spi.ErrorItem
 
setMinIndex(int) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Set index of most recent log file.
setName(String) - Method in class org.apache.log4j.AppenderSkeleton
Set the name of this Appender.
setName(String) - Method in interface org.apache.log4j.Appender
Set the name of this appender.
setName(String) - Method in class org.apache.log4j.Hierarchy
 
setName(String) - Method in class org.apache.log4j.DailyRollingFileAppender
Deprecated. Set the name of this appender.
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 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.plugins.Plugin
Sets the name of the plugin.
setName(String) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
A logger repository is a named entity.
setNDC(String) - Method in class org.apache.log4j.spi.LoggingEvent
This method sets the NDC string for this event.
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.
setOption(String, String) - Method in class org.apache.log4j.helpers.DateLayout
Deprecated. Use the setter method for the option directly instead of the generic setOption method.
setOption(String, String) - Method in class org.apache.log4j.varia.StringMatchFilter
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.JMSReceiver
Sets the password to use when creating the JMS connection.
setPassword(String) - Method in class org.apache.log4j.net.JMSAppender
The paswword to use when creating a topic session.
setPath(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
 
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.XMLSocketReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.net.UDPReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.net.SocketReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.net.SocketReceiver.SocketDetail
 
setPaused(boolean) - Method in class org.apache.log4j.net.SocketNode
 
setPaused(boolean) - Method in interface org.apache.log4j.plugins.Pauseable
 
setPort(int) - Method in class org.apache.log4j.net.MulticastReceiver
 
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.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.TelnetAppender
 
setPort(int) - Method in class org.apache.log4j.net.UDPReceiver
 
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.SocketReceiver
Set the port to receive logging events on.
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.SocketHubReceiver
Set the remote port to connect to for logging events.
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(int) - Method in class org.apache.log4j.varia.ExternallyRolledFileAppender
Deprecated. Sets the port monitored for rollover requests.
setPort(String) - Method in class org.apache.log4j.net.SocketHubReceiver
Set the remote host to connect to for logging events.
setPriority(Level) - Method in class org.apache.log4j.spi.RootCategory
Deprecated.  
setPriority(Priority) - Method in class org.apache.log4j.Category
Deprecated. Please use Category.setLevel(org.apache.log4j.Level) instead.
setPristine(boolean) - Method in class org.apache.log4j.Hierarchy
 
setPristine(boolean) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Set the pristine flag.
setProperties(ExecutionContext, Properties) - Method in class org.apache.log4j.joran.action.SubstitutionPropertyAction
 
setProperties(ExecutionContext, Properties) - Method in class org.apache.log4j.joran.action.RepositoryPropertyAction
 
setProperties(Hashtable) - Method in class org.apache.log4j.spi.LoggingEvent
 
setProperties(Object, Properties, String) - Static method in class org.apache.log4j.config.PropertySetter
Deprecated.  
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
 
setProperty(ExecutionContext, String, String) - Method in class org.apache.log4j.joran.action.SubstitutionPropertyAction
 
setProperty(ExecutionContext, String, String) - Method in class org.apache.log4j.joran.action.RepositoryPropertyAction
 
setProperty(PropertyDescriptor, String, String) - Method in class org.apache.log4j.config.PropertySetter
Set the named property given a PropertyDescriptor.
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(String, String) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
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
setQWForFiles(Writer) - Method in class org.apache.log4j.FileAppender
Sets the quiet writer being used.
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.UDPAppender
The RemoteHost option takes a string value which should be the host name or ipaddress to send the UDP 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.
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(Priority,String,Throwable) and Category.l7dlog(Priority,String,Object[],Throwable).
setRollingPolicy(RollingPolicy) - Method in class org.apache.log4j.rolling.RollingFileAppender
Sets the rolling policy.
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
 
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.
setSource(String) - Method in class org.apache.log4j.nt.NTEventLogAppender
The Source option which names the source of the event.
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.
setSyslogFacility(int) - Method in class org.apache.log4j.helpers.SyslogQuietWriter
Deprecated.  
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.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.Thresholdable
Sets the component theshold to the given level.
setThreshold(Level) - Method in interface org.apache.log4j.spi.LoggerRepository
Set the repository-wide threshold.
setThreshold(Priority) - 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(String) - Method in interface org.apache.log4j.spi.LoggerRepository
Another form of LoggerRepository.setThreshold(Level) accepting a string parameter instead of a 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.
setTimestampFormat(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
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(String) - Method in class org.apache.log4j.helpers.DateLayout
Deprecated. The TimeZoneID option is a time zone ID string in the format expected by the TimeZone.getTimeZone(java.lang.String) method.
setTimeZone(TimeZone) - Method in class org.apache.log4j.helpers.RelativeTimeDateFormat
Sets the timezone.
setTitle(String) - Method in class org.apache.log4j.HTMLLayout
The Title option takes a String value.
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.
setUrl(String) - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Sets the url.
setURL2ExternalCSS(String) - Method in class org.apache.log4j.HTMLLayout
Set the URL for the external CSS file.
setURLPkgPrefixes(String) - Method in class org.apache.log4j.net.JMSAppender
 
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.
SEVERE - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
SEVERE_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
shutdown() - Static method in class org.apache.log4j.Category
Deprecated. Please use LogManager.shutdown() instead.
shutdown() - Static method in class org.apache.log4j.LogManager
 
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() - 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.MulticastReceiver
 
shutdown() - Method in class org.apache.log4j.net.XMLSocketReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.net.UDPReceiver
 
shutdown() - Method in class org.apache.log4j.net.JMSReceiver
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.SocketHubReceiver
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.
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.
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.
socket - Variable in class org.apache.log4j.net.SocketHubReceiver
 
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.
socketClosedEvent(Exception) - Method in interface org.apache.log4j.net.SocketNodeEventListener
Called when the socket the node was given has been closed.
socketClosedEvent(Exception) - Method in class org.apache.log4j.net.SocketHubReceiver
Listen for a socketClosedEvent from the SocketNode.
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.
socketOpened(String) - Method in interface org.apache.log4j.net.SocketNodeEventListener
Called when the SocketNode is created and begins awaiting data.
socketOpened(String) - Method in class org.apache.log4j.net.SocketHubReceiver
 
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.SocketDetail - class org.apache.log4j.net.SocketReceiver.SocketDetail.
 
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
 
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
 
SQLDialect - interface org.apache.log4j.db.dialect.SQLDialect.
 
sqlStatement - Variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
start() - Method in class org.apache.log4j.jmx.Agent
 
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.
STRING_TO_MATCH_OPTION - Static variable in class org.apache.log4j.varia.StringMatchFilter
Deprecated. Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
StringMatchFilter - class org.apache.log4j.filter.StringMatchFilter.
This is a very simple filter based on string matching.
StringMatchFilter - class org.apache.log4j.varia.StringMatchFilter.
Deprecated. org.apache.log4j.filter.StringMatchFilter
StringMatchFilter() - Constructor for class org.apache.log4j.filter.StringMatchFilter
 
StringMatchFilter() - Constructor for class org.apache.log4j.varia.StringMatchFilter
Deprecated.  
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
{@inheritDoc}
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
 
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 class org.apache.log4j.db.ConnectionSourceSkeleton
Does this connection support batch updates?
supportsBatchUpdates() - Method in interface org.apache.log4j.db.ConnectionSource
If the connection does not support batch updates, we will avoid using them.
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 class org.apache.log4j.db.ConnectionSourceSkeleton
Does this connection support the JDBC Connection.getGeneratedKeys method?
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(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.
SYSLOG_HOST_OI - Static variable in class org.apache.log4j.net.SyslogAppender
 
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
 
SyslogAppender(Layout, int) - Constructor for class org.apache.log4j.net.SyslogAppender
 
SyslogAppender(Layout, String, int) - Constructor for class org.apache.log4j.net.SyslogAppender
 
SyslogQuietWriter - class org.apache.log4j.helpers.SyslogQuietWriter.
Deprecated.  
SyslogQuietWriter(Writer, int, ErrorHandler) - Constructor for class org.apache.log4j.helpers.SyslogQuietWriter
Deprecated.  
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
 
SYSTEM_ERR - Static variable in class org.apache.log4j.ConsoleAppender
 
SYSTEM_OUT - Static variable in class org.apache.log4j.ConsoleAppender
 

T

tailFilter - Variable in class org.apache.log4j.AppenderSkeleton
The last filter in the filter chain.
target - Variable in class org.apache.log4j.ConsoleAppender
 
TelnetAppender - class org.apache.log4j.net.TelnetAppender.
The TelnetAppender is a log4j appender that specializes in writing to a read-only socket.
TelnetAppender.SocketHandler - class org.apache.log4j.net.TelnetAppender.SocketHandler.
The SocketHandler class is used to accept connections from clients.
TelnetAppender.SocketHandler(TelnetAppender, int) - Constructor for class org.apache.log4j.net.TelnetAppender.SocketHandler
 
TelnetAppender() - Constructor for class org.apache.log4j.net.TelnetAppender
Creates a TelnetAppender.
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
 
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.
threshold - Variable in class org.apache.log4j.AppenderSkeleton
There is no level threshold filtering by default.
Thresholdable - interface org.apache.log4j.spi.Thresholdable.
An interface that defines the required methods for supporting the setting and getting of a level threshold.
thresholdLevel - Variable in class org.apache.log4j.plugins.Receiver
 
ThrowableInformation - class org.apache.log4j.spi.ThrowableInformation.
ThrowableInformation is log4j's internal representation of throwables.
ThrowableInformation(String[]) - Constructor for class org.apache.log4j.spi.ThrowableInformation
 
ThrowableInformation(Throwable) - 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.
timeStamp - Variable in class org.apache.log4j.spi.LoggingEvent
The number of milliseconds elapsed from 1/1/1970 until logging event was created.
TIMESTAMP_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
TIMESTAMP_RULE_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
 
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.
TIMEZONE_OPTION - Static variable in class org.apache.log4j.helpers.DateLayout
Deprecated. Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
TITLE_OPTION - Static variable in class org.apache.log4j.HTMLLayout
Deprecated. Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
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.Priority
Returns the integer representation of this level.
toInt(String, int) - Static method in class org.apache.log4j.helpers.OptionConverter
 
toLevel(int) - Static method in class org.apache.log4j.Level
Convert an integer passed as argument to a level.
toLevel(int) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
 
toLevel(int, Level) - Static method in class org.apache.log4j.Level
Convert an integer passed as argument to a level.
toLevel(int, UtilLoggingLevel) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
Convert an integer passed as argument to a level.
toLevel(String) - Static method in class org.apache.log4j.Level
Convert the string passed as argument to a level.
toLevel(String) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
 
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(String, Level) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
 
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
 
toPriority(int) - Static method in class org.apache.log4j.Priority
Deprecated.  
toPriority(int, Priority) - Static method in class org.apache.log4j.Priority
Deprecated.  
toPriority(String) - Static method in class org.apache.log4j.Priority
Deprecated. Please use the Level.toLevel(String) method instead.}
toPriority(String, Priority) - Static method in class org.apache.log4j.Priority
Deprecated.  
toString() - Method in class org.apache.log4j.Priority
Returns the string representation of this priority.
toString() - Method in class org.apache.log4j.joran.action.Action
 
toString() - Method in class org.apache.log4j.rule.ExpressionRule
 
toString() - Method in class org.apache.log4j.rule.ColorRule
 
toString() - Method in class org.apache.log4j.spi.LocationInfo
 
toString() - Method in class org.apache.log4j.spi.ErrorItem
 
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.
trace(Object) - Method in class org.apache.log4j.Logger
Log a message object with the TRACE level.
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(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(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.
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.
TTCC_CONVERSION_PATTERN - Static variable in class org.apache.log4j.PatternLayout
A conversion pattern equivalent to the TTCCCLayout.
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.

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
 
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
 
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() - Constructor for class org.apache.log4j.xml.UtilLoggingXMLDecoder
 
UtilLoggingXMLDecoder(Component) - Constructor for class org.apache.log4j.xml.UtilLoggingXMLDecoder
 

V

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

W

WARN - Static variable in class org.apache.log4j.Priority
Deprecated.  
WARN - Static variable in class org.apache.log4j.Level
The WARN level designates potentially harmful situations.
WARN_INT - Static variable in class org.apache.log4j.Priority
WARN level integer value.
warn(Object) - Method in class org.apache.log4j.Category
Log a message object with the WARN Level.
warn(Object) - Method in interface org.apache.log4j.ULogger
 
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) - Method in class org.apache.log4j.spi.NOPULogger
 
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(Object, Object) - Method in interface org.apache.log4j.ULogger
 
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(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
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, Throwable) - Method in interface org.apache.log4j.ULogger
 
warn(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message of level WARN, including an exception.
warn(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
 
warn(String) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. Use Logger instead.
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(String, Object, Object) - Method in interface org.apache.log4j.ULogger
 
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(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
 
warn(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. Use Logger instead.
WARNING - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
WARNING_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
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_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
write(char[], int, int) - Method in class org.apache.log4j.helpers.SyslogWriter
 
write(String) - Method in class org.apache.log4j.helpers.QuietWriter
Deprecated.  
write(String) - Method in class org.apache.log4j.helpers.CountingQuietWriter
Deprecated.  
write(String) - Method in class org.apache.log4j.helpers.SyslogWriter
 
write(String) - Method in class org.apache.log4j.helpers.SyslogQuietWriter
Deprecated.  
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.
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

X

XMLDecoder - class org.apache.log4j.xml.XMLDecoder.
Decodes Logging Events in XML formated into elements that are used by Chainsaw.
XMLDecoder() - Constructor for class org.apache.log4j.xml.XMLDecoder
 
XMLDecoder(Component) - 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
 

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 Q R S T U V W X Z
Log4j 1.3alpha-8

Copyright © 2000-2006 Apache Software Foundation.
Licensed under the Apache License, Version 2.0.