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

A

ABSOLUTE_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
 
ABSOLUTE_TIME_PATTERN - Static variable in interface org.apache.log4j.helpers.Constants
 
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.
Action - class org.apache.log4j.joran.action.Action.
Most of the work for configuring log4j is done by Actions.
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
 
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
 
activateOptions() - Method in class org.apache.log4j.WriterAppender
Does nothing.
activateOptions() - Method in class org.apache.log4j.TTCCLayout
Deprecated.  
activateOptions() - Method in class org.apache.log4j.SimpleLayout
 
activateOptions() - Method in class org.apache.log4j.PatternLayout
Activates the conversion pattern.
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
 
activateOptions() - Method in class org.apache.log4j.AppenderSkeleton
Derived appenders should override this method if option structure requires it.
activateOptions() - Method in class org.apache.log4j.db.JNDIConnectionSource
 
activateOptions() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
 
activateOptions() - Method in class org.apache.log4j.db.DBReceiver
 
activateOptions() - Method in class org.apache.log4j.db.DBAppender2
 
activateOptions() - Method in class org.apache.log4j.db.DBAppender
 
activateOptions() - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
activateOptions() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
activateOptions() - Method in class org.apache.log4j.filter.LocationInfoFilter
 
activateOptions() - Method in class org.apache.log4j.filter.ExpressionFilter
 
activateOptions() - Method in class org.apache.log4j.filter.AndFilter
 
activateOptions() - Method in class org.apache.log4j.net.XMLSocketReceiver
Starts the SocketReceiver with the current options.
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.TelnetAppender
all of the options have been set, create the socket handler and wait for connections.
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.SocketReceiver
Starts the SocketReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.net.SocketHubReceiver
Starts the SocketReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.net.SocketHubAppender
Set up the socket server on the specified port.
activateOptions() - Method in class org.apache.log4j.net.SocketAppender
Connect to the specified RemoteHost and Port.
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.MulticastReceiver
 
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.JMSReceiver
Starts the JMSReceiver 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.rolling.TimeBasedRollingPolicy
 
activateOptions() - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
 
activateOptions() - Method in class org.apache.log4j.rolling.RollingPolicyBase
 
activateOptions() - Method in class org.apache.log4j.rolling.RollingFileAppender
 
activateOptions() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
 
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.spi.Filter
Usually filters options become active when set.
activateOptions() - Method in class org.apache.log4j.varia.NullAppender
There are no options to acticate.
activateOptions() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Read and process the log file.
activateOptions() - Method in class org.apache.log4j.xml.XMLLayout
No options to activate.
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
 
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(Logger, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
 
addComponent(String, Object) - Method in class org.apache.log4j.config.PropertySetter
 
addConverter(PatternConverter) - Method in class org.apache.log4j.pattern.PatternParser
 
addError(ErrorItem) - Method in class org.apache.log4j.config.ConfiguratorBase
 
addErrorItem(ErrorItem) - Method in class org.apache.log4j.Hierarchy
Add an error item to the list of previously encountered errors.
addErrorItem(ErrorItem) - Method in interface org.apache.log4j.spi.LoggerRepository
Errors which cannot be logged, go to the error list,
addFilter(Filter) - Method in 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.filter.AndFilter
 
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.LoggerRepository
Add a LoggerEventListener to the repository.
addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in class org.apache.log4j.Hierarchy
Add a LoggerRepositoryEventListener to the repository.
addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
Add a LoggerRepositoryEventListener to the repository.
addPlugin(Plugin) - Method in class org.apache.log4j.plugins.PluginRegistry
Adds a plugin to the plugin registry.
addPluginListener(PluginListener) - Method in class org.apache.log4j.plugins.PluginRegistry
Adds a PluginListener to this registry to be notified of PluginEvents
addPropertyChangeListener(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 interface org.apache.log4j.rule.Rule
Adds a PropertyChangeListener to this instance, which is notified when underlying Rule information has changed.
addPropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.rule.AbstractRule
 
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(String, String) - Method in class org.apache.log4j.or.RendererMap
Add a renderer to a hierarchy passed as parameter.
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.SocketNode
Adds the listener to the list of listeners to be notified of the respective event
addSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.net.SocketHubReceiver
Adds a SocketNodeEventListener to this receiver to be notified of SocketNode events
ALL - Static variable in class org.apache.log4j.Level
The ALL has the lowest possible rank and is intended to turn on all logging.
ALL_INT - Static variable in class org.apache.log4j.Level
ALL level integer value.
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.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.AppenderSkeleton
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
append(LoggingEvent) - Method in class org.apache.log4j.db.DBAppender2
 
append(LoggingEvent) - Method in class org.apache.log4j.db.DBAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.net.UDPAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.net.TelnetAppender
Handles a log event.
append(LoggingEvent) - Method in class org.apache.log4j.net.SyslogAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.net.SocketHubAppender
Append an event to all of current connections.
append(LoggingEvent) - Method in class org.apache.log4j.net.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.MulticastAppender
 
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.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
 
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.
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
 
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.
AppenderSkeleton - class org.apache.log4j.AppenderSkeleton.
Abstract superclass of the other appenders in the package.
AppenderSkeleton() - Constructor for class org.apache.log4j.AppenderSkeleton
 
appendEscapingCDATA(Writer, String) - Static method in class org.apache.log4j.helpers.Transform
Ensures that embeded CDEnd strings (]]>) are handled properly within message, NDC and throwable tag text.
appendLoopOnAppenders(LoggingEvent) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Call the doAppend method on all attached appenders.
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.RootLoggerAction
 
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.PriorityAction
 
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.ParamAction
 
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.NestComponentIA
 
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.LevelAction
 
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.JndiSubstitutionPropertyAction
 
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.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.AppenderAction
Instantiates an appender of the given class and sets its name.
begin(ExecutionContext, String, Attributes) - Method in class org.apache.log4j.joran.action.Action
Called when the parser first encounters an element.
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.  
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.
cb - Variable in class org.apache.log4j.net.SMTPAppender
 
chainHandlesThrowable(PatternConverter) - Static method in class org.apache.log4j.pattern.PatternConverter
This method computes whether a chain of converters handles exceptions or not.
charArrayWriter - Variable in class org.apache.log4j.Layout
 
checkAndConfigure() - Method in class org.apache.log4j.helpers.FileWatchdog
 
checkEntryConditions() - Method in class org.apache.log4j.WriterAppender
This method determines if there is a sense in attempting to append.
checkEntryConditions() - Method in class org.apache.log4j.net.SMTPAppender
This method determines if there is a sense in attempting to append.
childValue(Object) - Method in class org.apache.log4j.helpers.ThreadLocalMap
 
CLASS_ATTRIBUTE - Static variable in class org.apache.log4j.joran.action.Action
 
CLASS_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
 
ClassNamePatternConverter - class org.apache.log4j.pattern.ClassNamePatternConverter.
Most of the work is done in the parent class NamedPatternConverter.
ClassNamePatternConverter() - Constructor for class org.apache.log4j.pattern.ClassNamePatternConverter
 
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.SocketHubAppender
Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers.
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.MulticastAppender
Close the Socket and release the underlying connector thread if it has been created
clear() - Static method in class org.apache.log4j.NDC
Clear any nested diagnostic information if any.
clear() - Static method in class org.apache.log4j.MDC
Clear all entries in the MDC.
clear() - Method in class org.apache.log4j.Hierarchy
This call will clear all logger definitions from the internal hashtable.
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.
clearList() - Method in class org.apache.log4j.varia.ListAppender
Removes all the Events from the model
clearModel() - Method in class org.apache.log4j.varia.ListModelAppender
Removes all the Events from the model
clearRegistry() - Method in class org.apache.log4j.PropertyConfigurator
Clears the registry so that we don't hold references to Appender objects, which would prevent their garbage collection.
cloneStack() - Static method in class org.apache.log4j.NDC
Clone the diagnostic context for the current thread.
close() - Method in class org.apache.log4j.WriterAppender
Close this appender instance.
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 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.db.DBAppender2
 
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.UDPAppender
Close this appender.
close() - Method in class org.apache.log4j.net.TelnetAppender
shuts down the appender.
close() - Method in class org.apache.log4j.net.SyslogAppender
Release any resources held by this SyslogAppender.
close() - Method in class org.apache.log4j.net.SocketHubAppender
Close this appender.
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.MulticastAppender
Close this appender.
close() - Method in class org.apache.log4j.net.JMSAppender
Close this JMSAppender.
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
 
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
This method overrides the parent WriterAppender.closeWriter() implementation to do nothing because the console stream is not ours to close.
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
 
Compress - class org.apache.log4j.rolling.helper.Compress.
The Compression class implements ZIP and GZ file compression/decompression methods.
Compress() - Constructor for class org.apache.log4j.rolling.helper.Compress
 
compressionMode - Variable in class org.apache.log4j.rolling.RollingPolicyBase
 
computeReferenceMask(LoggingEvent) - Static method in class org.apache.log4j.db.DBHelper
 
computeTriggeringPeriod(String) - Method in class org.apache.log4j.rolling.helper.RollingCalendar
 
concatanateArrays(String[], String[]) - Static method in class org.apache.log4j.helpers.OptionConverter
 
CONFIG - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
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 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(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
As in most cases, the default constructor does nothing.
ConsoleAppender(Layout) - Constructor for class org.apache.log4j.ConsoleAppender
 
ConsoleAppender(Layout, String) - Constructor for class org.apache.log4j.ConsoleAppender
 
Constants - interface org.apache.log4j.helpers.Constants.
Constants used internally throughout log4j.
ContextJNDISelector - class org.apache.log4j.selector.ContextJNDISelector.
Log4j JNDI based Repository selector based primarily on Ceki Gülcü's article Supporting the Log4j RepositorySelector in Servlet Containers at: http://qos.ch/logging/sc.html By default, the class static RepositorySelector variable of the LogManager class is set to a trivial RepositorySelector implementation which always returns the same logger repository. a.k.a.
ContextJNDISelector() - Constructor for class org.apache.log4j.selector.ContextJNDISelector
public no-args constructor
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() - Method in class org.apache.log4j.rolling.helper.IdentityTokenConverter
Return the string value encapsulated by this instance.
convert(Date) - Method in class org.apache.log4j.rolling.helper.FileNamePattern
 
convert(Date) - Method in class org.apache.log4j.rolling.helper.DateTokenConverter
 
convert(int) - Method in class org.apache.log4j.rolling.helper.IntegerTokenConverter
 
convert(int) - Method in class org.apache.log4j.rolling.helper.FileNamePattern
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.ThrowableInformationPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.ThreadPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.StackPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.SequenceNumberPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.RelativeTimePatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.PropertiesPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.PatternConverter
Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.NDCPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.MethodLocationPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.MessagePatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.LiteralPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.LineSeparatorPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.LineLocationPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.LevelPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.FullLocationPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.FileLocationPatternConverter
 
convert(LoggingEvent) - Method in class org.apache.log4j.pattern.DatePatternConverter
 
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
 
createWriter(OutputStream) - Method in class org.apache.log4j.WriterAppender
Returns an OutputStreamWriter when passed an OutputStream.
currentLiteral - Variable in class org.apache.log4j.pattern.PatternParser
 
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

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_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
 
DatePatternConverter - class org.apache.log4j.pattern.DatePatternConverter.
Convert and format the event's date in a StringBuffer.
DatePatternConverter() - Constructor for class org.apache.log4j.pattern.DatePatternConverter
 
DateTokenConverter - class org.apache.log4j.rolling.helper.DateTokenConverter.
 
DateTokenConverter(String) - Constructor for class org.apache.log4j.rolling.helper.DateTokenConverter
 
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
 
DBAppender2 - class org.apache.log4j.db.DBAppender2.
 
DBAppender2() - Constructor for class org.apache.log4j.db.DBAppender2
 
DBHelper - class org.apache.log4j.db.DBHelper.
 
DBHelper() - Constructor for class org.apache.log4j.db.DBHelper
 
DBReceiver - class org.apache.log4j.db.DBReceiver.
 
DBReceiver() - Constructor for class org.apache.log4j.db.DBReceiver
 
DEBUG - Static variable in class org.apache.log4j.Level
The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
DEBUG_INT - Static variable in class org.apache.log4j.Level
DEBUG level integer value.
DEBUG_KEY - Static variable in class org.apache.log4j.config.ConfiguratorBase
Defining this value makes log4j print log4j-internal debug statements.
DEBUG_KEY - Static variable in class org.apache.log4j.helpers.LogLog
Deprecated. 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.ugli.ULogger
Log a message object with the DEBUG level.
debug(Object) - Method in class org.apache.ugli.impl.SimpleLogger
A NOP implementation.
debug(Object) - Method in class org.apache.ugli.impl.NOPLogger
 
debug(Object) - Method in class org.apache.ugli.impl.JDK14Logger
Log a message object with the DEBUG level.
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.ugli.ULogger
Log a parameterized message object at the DEBUG level.
debug(Object, Object) - Method in class org.apache.ugli.impl.SimpleLogger
A NOP implementation.
debug(Object, Object) - Method in class org.apache.ugli.impl.NOPLogger
 
debug(Object, Object) - Method in class org.apache.ugli.impl.JDK14Logger
Log a parameterized message object at the DEBUG level.
debug(Object, Throwable) - Method in class org.apache.log4j.Category
Log a message object with the DEBUG level including the stack trace of the Throwablet passed as parameter.
debug(Object, Throwable) - Method in interface org.apache.ugli.ULogger
 
debug(Object, Throwable) - Method in class org.apache.ugli.impl.SimpleLogger
A NOP implementation.
debug(Object, Throwable) - Method in class org.apache.ugli.impl.NOPLogger
 
debug(Object, Throwable) - Method in class org.apache.ugli.impl.JDK14Logger
 
debug(String) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. 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.ugli.ULogger
Log a parameterized message object at the DEBUG level.
debug(String, Object, Object) - Method in class org.apache.ugli.impl.SimpleLogger
A NOP implementation.
debug(String, Object, Object) - Method in class org.apache.ugli.impl.NOPLogger
 
debug(String, Object, Object) - Method in class org.apache.ugli.impl.JDK14Logger
Log a parameterized message object at the DEBUG level.
debug(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. This method is used to output log4j internal debug statements.
debugEnabled - Static variable in class org.apache.log4j.helpers.LogLog
Deprecated.  
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.MapFilter
NOTE: This filter modifies logging events by adding properties to the event.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.LocationInfoFilter
If this event does not already contain location information, evaluate the event against the expression.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.LevelRangeFilter
Return the decision of this filter.
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.ExpressionFilter
Returns Filter.NEUTRAL is there is no string match.
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.AndFilter
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 interface org.apache.log4j.helpers.Constants
 
DEFAULT_CONFIGURATION_KEY - Static variable in interface org.apache.log4j.helpers.Constants
 
DEFAULT_CONVERSION_PATTERN - Static variable in class org.apache.log4j.PatternLayout
Default pattern string for log output.
DEFAULT_DELAY - Static variable in class org.apache.log4j.helpers.FileWatchdog
The default delay between every file modification check, set to 60 seconds.
DEFAULT_PORT - Static variable in class org.apache.log4j.net.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.SocketHubAppender
The default port number of the ServerSocket will be created on.
DEFAULT_PORT - Static variable in class org.apache.log4j.net.SocketAppender
The default port number of remote logging server (4560).
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
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() - Constructor for class org.apache.log4j.filter.DenyAllFilter
 
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 interface org.apache.log4j.spi.RepositorySelector
Remove the repository with the given name from the list maintained by the respository selector.
detachRepository(String) - Method in class org.apache.log4j.spi.DefaultRepositorySelector
Does nothing, always returns null.
detachTemporaryConsoleAppender(LoggerRepository, List) - Static method in class org.apache.log4j.config.ConfiguratorBase
 
determineCompressionMode() - Method in class org.apache.log4j.rolling.RollingPolicyBase
Given the FileNamePattern string, this method determines the compression mode depending on last letters of the fileNamePatternStr.
dialectCode - Variable in class org.apache.log4j.db.ConnectionSourceSkeleton
 
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.varia.NullAppender
Does not do anything.
doCapitalize - Variable in class org.apache.log4j.config.PropertyPrinter
 
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(InputStream, LoggerRepository) - Method in interface org.apache.log4j.spi.Configurator
Use an InputStream as a source for configuration and set up log4j accordingly.
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
 
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 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 interface org.apache.log4j.or.ObjectRenderer
Render the object passed as parameter as a String.
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(Logger) - Method in class org.apache.log4j.Hierarchy
 
emitNoAppenderWarning(Logger) - 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.RootLoggerAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.PropertyAction
 
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.ParamAction
 
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.NestComponentIA
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.LoggerAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.LevelAction
 
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.JndiSubstitutionPropertyAction
 
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.ConfigurationAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.AppenderRefAction
 
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.AppenderAction
Once the children elements are also parsed, now is the time to activate the appender options.
end(ExecutionContext, String) - Method in class org.apache.log4j.joran.action.Action
 
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.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.Level
The ERROR level designates error events that might still allow the application to continue running.
ERROR_INT - Static variable in class org.apache.log4j.Level
ERROR level integer value.
error(Object) - Method in class org.apache.log4j.Category
Log a message object with the ERROR Level.
error(Object) - Method in interface org.apache.ugli.ULogger
 
error(Object) - Method in class org.apache.ugli.impl.SimpleLogger
A simple implementation which always logs messages of level ERROR acoording to the format outlined above.
error(Object) - Method in class org.apache.ugli.impl.NOPLogger
 
error(Object) - Method in class org.apache.ugli.impl.JDK14Logger
 
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.ugli.ULogger
 
error(Object, Object) - Method in class org.apache.ugli.impl.SimpleLogger
Perform single parameter substituion before logging the message of level ERROR according to the format outlined above.
error(Object, Object) - Method in class org.apache.ugli.impl.NOPLogger
 
error(Object, Object) - Method in class org.apache.ugli.impl.JDK14Logger
 
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.ugli.ULogger
 
error(Object, Throwable) - Method in class org.apache.ugli.impl.SimpleLogger
Log a message of level ERROR, including an exception.
error(Object, Throwable) - Method in class org.apache.ugli.impl.NOPLogger
 
error(Object, Throwable) - Method in class org.apache.ugli.impl.JDK14Logger
 
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. This method is used to output log4j internal error statements.
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.ugli.ULogger
 
error(String, Object, Object) - Method in class org.apache.ugli.impl.SimpleLogger
Perform double parameter substituion before logging the message of level ERROR according to the format outlined above.
error(String, Object, Object) - Method in class org.apache.ugli.impl.NOPLogger
 
error(String, Object, Object) - Method in class org.apache.ugli.impl.JDK14Logger
 
error(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. This method is used to output log4j internal error statements.
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, Writer) - Static method in class org.apache.log4j.helpers.Transform
This method takes a string which may contain HTML tags (ie, <b>, <table>, etc) and replaces any '<' and '>' characters with respective predefined entity references.
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.TimestampInequalityRule
 
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.PartialTextMatchRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.OrRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.NotRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.NotEqualsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.LikeRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.LevelEqualsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.InequalityRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.ExpressionRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.ExistsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.EqualsRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.ColorRule
 
evaluate(LoggingEvent) - Method in class org.apache.log4j.rule.AndRule
 
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
 
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) - Static method in class org.apache.log4j.Category
Deprecated. Please use LogManager.exists(java.lang.String) instead.
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.
extractConverter(char) - Method in class org.apache.log4j.pattern.PatternParser
Extract the converter identifier found at position i.
extractDefaultReplacement(String) - Static method in class org.apache.log4j.helpers.OptionConverter
 
extractOptions() - Method in class org.apache.log4j.pattern.PatternParser
Returns the option, null if not in the expected format.
extractStringRep(Throwable, VectorWriter) - Method in class org.apache.log4j.spi.ThrowableInformation
 

F

FACILITY_OI - Static variable in class org.apache.log4j.net.SyslogAppender
 
FATAL - Static variable in class org.apache.log4j.Level
The FATAL level designates very severe error events that will presumably lead the application to abort.
FATAL_INT - Static variable in class org.apache.log4j.Level
FATAL level integer value.
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
 
fileAppend - Variable in class org.apache.log4j.FileAppender
Append to or truncate the 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.
FileLocationPatternConverter - class org.apache.log4j.pattern.FileLocationPatternConverter.
Return the event's line location information in a StringBuffer.
FileLocationPatternConverter() - Constructor for class org.apache.log4j.pattern.FileLocationPatternConverter
 
filename - Variable in class org.apache.log4j.helpers.FileWatchdog
The name of the file to observe for changes.
fileName - Variable in class org.apache.log4j.FileAppender
The name of the log file.
fileNamePattern - Variable in class org.apache.log4j.rolling.RollingPolicyBase
 
FileNamePattern - class org.apache.log4j.rolling.helper.FileNamePattern.
This class helps parse file name patterns.
FileNamePattern(String) - Constructor for class org.apache.log4j.rolling.helper.FileNamePattern
 
fileNamePatternStr - Variable in class org.apache.log4j.rolling.RollingPolicyBase
 
FileWatchdog - class org.apache.log4j.helpers.FileWatchdog.
Check every now and then that a certain file has not changed.
FileWatchdog(String) - Constructor for class org.apache.log4j.helpers.FileWatchdog
 
Filter - class org.apache.log4j.spi.Filter.
Users should extend this class to implement customized logging event filtering.
FILTER_CHAIN_BAG - Static variable in class org.apache.log4j.joran.action.ActionConst
 
Filter() - Constructor for class org.apache.log4j.spi.Filter
 
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.
finalizeConverter(char) - Method in class org.apache.log4j.pattern.PatternParser
When finalizeConverter is called 'c' is the current conversion caracter and i points to the character following 'c'.
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.PropertyAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.PluginAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.ParamAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.NewRuleAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.NestComponentIA
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.LoggerAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.LevelAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.LayoutAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.ConversionRuleAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.AppenderRefAction
 
finish(ExecutionContext) - Method in class org.apache.log4j.joran.action.AppenderAction
 
fireAddAppenderEvent(Logger, Appender) - Method in class org.apache.log4j.Hierarchy
Requests that a appender added event be sent to any registered LoggerEventListener.
fireAddAppenderEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.LoggerRepository
Requests that a appender added event be sent to any registered LoggerEventListener.
fireConfigurationChangedEvent() - Method in class org.apache.log4j.Hierarchy
Requests that a configuration changed event be sent to any registered LoggerRepositoryEventListener.
fireConfigurationChangedEvent() - Method in interface org.apache.log4j.spi.LoggerRepository
Requests that a configuration changed event be sent to any registered LoggerRepositoryEventListener.
fireLevelChangedEvent(Logger) - Method in class org.apache.log4j.Hierarchy
Requests that a level changed event be sent to any registered LoggerEventListener.
fireLevelChangedEvent(Logger) - Method in interface org.apache.log4j.spi.LoggerRepository
Requests that a level changed event be sent to any registered LoggerEventListener.
firePropertyChange(PropertyChangeEvent) - Method in class org.apache.log4j.plugins.PluginSkeleton
 
firePropertyChange(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(Logger, Appender) - Method in class org.apache.log4j.Hierarchy
Requests that a appender removed event be sent to any registered LoggerEventListener.
fireRemoveAppenderEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.LoggerRepository
Requests that a appender removed event be sent to any registered LoggerEventListener.
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
 
flush() - Method in class org.apache.log4j.helpers.SyslogWriter
 
forcedLog(String, Level, Object, Throwable) - Method in class org.apache.log4j.Category
This method creates a new logging event and logs the event without further checks.
format(Date, StringBuffer, FieldPosition) - Method in class org.apache.log4j.helpers.RelativeTimeDateFormat
Appends to sbuf the number of milliseconds elapsed since the start of the application.
format(LoggingEvent) - Method in class org.apache.log4j.Layout
Implement this method to create your own layout format.
format(String, Object) - Static method in class org.apache.ugli.impl.MessageFormatter
Performs single argument substitution for the 'messagePattern' passed as parameter.
format(String, Object, Object) - Static method in class org.apache.ugli.impl.MessageFormatter
/** Performs a two argument substitution for the 'messagePattern' passed as parameter.
format(Writer, LoggingEvent) - Method in class org.apache.log4j.TTCCLayout
Deprecated. In addition to the level of the statement and message, the returned byte array includes time, thread, category and NDC information.
format(Writer, LoggingEvent) - Method in class org.apache.log4j.SimpleLayout
Writes the log statement in a format consisting of the level, followed by " - " and then the message.
format(Writer, LoggingEvent) - Method in class org.apache.log4j.PatternLayout
Produces a formatted string as specified by the conversion pattern.
format(Writer, LoggingEvent) - Method in class org.apache.log4j.Layout
 
format(Writer, LoggingEvent) - Method in class org.apache.log4j.pattern.PatternConverter
A template method for formatting in a converter specific way.
format(Writer, LoggingEvent) - Method in class org.apache.log4j.xml.XMLLayout
Formats a LoggingEventin conformance with the log4j.dtd.
formattingInfo - Variable in class org.apache.log4j.pattern.PatternParser
 
FormattingInfo - class org.apache.log4j.pattern.FormattingInfo.
FormattingInfo instances contain the information obtained when parsing formatting modifiers in conversion modifiers.
FormattingInfo() - Constructor for class org.apache.log4j.pattern.FormattingInfo
 
foundProperty(Object, String, String, Object) - Method in class org.apache.log4j.config.PropertyPrinter
 
foundProperty(Object, String, String, Object) - Method in interface org.apache.log4j.config.PropertyGetter.PropertyCallback
 
FullLocationPatternConverter - class org.apache.log4j.pattern.FullLocationPatternConverter.
Return the event's line location information in a StringBuffer.
FullLocationPatternConverter() - Constructor for class org.apache.log4j.pattern.FullLocationPatternConverter
 

G

genAppName() - Method in class org.apache.log4j.config.PropertyPrinter
 
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.
getAcceptOnMatch() - Method in class org.apache.log4j.filter.StringMatchFilter
 
getAcceptOnMatch() - Method in class org.apache.log4j.filter.LevelRangeFilter
Get the value of the AcceptOnMatch option.
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.TimeBasedRollingPolicy
The active log file is determined by the value of the activeFileName option if it is set.
getActiveFileName() - Method in interface org.apache.log4j.rolling.RollingPolicy
Get the new name of the active log file.
getActiveFileName() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Return the value of the ActiveFile option.
getAdditivity() - Method in class org.apache.log4j.Category
Get the additivity flag for this Category instance.
getAddress() - Method in class org.apache.log4j.net.SocketReceiver.SocketDetail
 
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
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.Level
Deprecated. This method will be removed with no replacement.
getAppend() - Method in class org.apache.log4j.FileAppender
Returns the value of the Append option.
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.UDPAppender
Returns value of the App option.
getApplication() - Method in class org.apache.log4j.net.SocketAppender
Returns value of the Application option.
getApplication() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the App option.
getBackgroundColor() - Method in class org.apache.log4j.rule.ColorRule
 
getBufferedIO() - Method in class org.apache.log4j.FileAppender
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.AsyncAppender
Returns the current value of the BufferSize option.
getBufferSize() - Method in class org.apache.log4j.net.SocketHubAppender
Returns value of the bufferSize option.
getBufferSize() - Method in class org.apache.log4j.net.SMTPAppender
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.
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.JNDIConnectionSource
 
getConnection() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
 
getConnection() - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
getConnection() - Method in interface org.apache.log4j.db.ConnectionSource
Obtain a Connection for use.
getConnectionSource() - Method in class org.apache.log4j.db.DBReceiver
 
getConnectionSource() - Method in class org.apache.log4j.db.DBAppender2
 
getConnectionSource() - Method in class org.apache.log4j.db.DBAppender
 
getConnectionSource() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getContentType() - Method in class org.apache.log4j.Layout
Returns the content type output by this layout.
getContext() - Static method in class org.apache.log4j.MDC
Get the current thread's MDC as a hashtable.
getContextPrinting() - Method in class org.apache.log4j.TTCCLayout
Deprecated. Returns value of the ContextPrinting option.
getConversionPattern() - Method in class org.apache.log4j.PatternLayout
Returns the value of the ConversionPattern option.
getConverterRegistry() - Method in class org.apache.log4j.pattern.PatternParser
Returns the converter registry for this PatternParser instance.
getConvertInFixToPostFix() - Method in class org.apache.log4j.filter.LocationInfoFilter
 
getConvertInFixToPostFix() - Method in class org.apache.log4j.filter.ExpressionFilter
 
getCurrentCategories() - Method in class org.apache.log4j.Hierarchy
Deprecated. Please use Hierarchy.getCurrentLoggers() instead.
getCurrentCategories() - Static method in class org.apache.log4j.Category
Deprecated. Please use LogManager.getCurrentLoggers() instead.
getCurrentCategories() - Method in interface org.apache.log4j.spi.LoggerRepository
Deprecated. Please use LoggerRepository.getCurrentLoggers() instead.
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
 
getDatePattern() - Method in class org.apache.log4j.rolling.helper.DateTokenConverter
Return the date pattern.
getDateTokenConverter() - Method in class org.apache.log4j.rolling.helper.FileNamePattern
 
getDecoder() - Method in class org.apache.log4j.net.XMLSocketReceiver
 
getDecoder() - Method in class org.apache.log4j.net.UDPReceiver
 
getDecoder() - Method in class org.apache.log4j.net.MulticastReceiver
 
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.UDPReceiver
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.MulticastReceiver
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the Encoding option.
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.LoggerRepository
Errors which cannot be logged, go to the error list,
getEvaluatorClass() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the EvaluatorClass option.
getException() - Method in class org.apache.log4j.spi.ErrorItem
 
getExecutionContext() - Method in class org.apache.log4j.joran.JoranConfigurator
 
getExpression() - Method in class org.apache.log4j.filter.LocationInfoFilter
 
getExpression() - Method in class org.apache.log4j.filter.ExpressionFilter
 
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.
getFile() - Method in class org.apache.log4j.FileAppender
Returns the value of the File option.
getFileNamePattern() - Method in class org.apache.log4j.rolling.RollingPolicyBase
 
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.
getFilterExpression() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
getFirstFilter() - Method in class org.apache.log4j.AppenderSkeleton
Return the first filter in the filter chain for this Appender.
getFooter() - Method in class org.apache.log4j.Layout
Returns the footer for the layout format.
getForegroundColor() - Method in class org.apache.log4j.rule.ColorRule
 
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.
getHeader() - Method in class org.apache.log4j.Layout
Returns the header for the layout format.
getHierarchy() - Method in class org.apache.log4j.Category
Deprecated. Please use Category.getLoggerRepository() instead.
getHost() - Method in class org.apache.log4j.net.SocketHubReceiver
Get the remote host to connect to for logging events.
getIDField() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getImmediateFlush() - Method in class org.apache.log4j.WriterAppender
Returns value of the ImmediateFlush option.
getInitialContext() - Static method in class org.apache.log4j.helpers.JNDIUtil
 
getInitialContextFactoryName() - Method in class org.apache.log4j.net.JMSAppender
Returns the value of the InitialContextFactoryName option.
getInstance() - 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.
getIntegerTokenConverter() - Method in class org.apache.log4j.rolling.helper.FileNamePattern
 
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.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.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.AsyncAppender
Returns the current value of the LocationInfo option.
getLocationInfo() - Method in class org.apache.log4j.db.DBAppender2
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.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.SocketHubAppender
Returns value of the LocationInfo option.
getLocationInfo() - Method in class org.apache.log4j.net.SocketAppender
Returns value of the LocationInfo option.
getLocationInfo() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the LocationInfo option.
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.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.spi.LoggingEvent
Returns the logger of this event.
getLogger() - Method in class org.apache.log4j.spi.ComponentBase
Return an instance specific logger to be used by the component itself.
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(Class) - Static method in class org.apache.ugli.LoggerFactory
 
getLogger(Class, String) - Static method in class org.apache.ugli.LoggerFactory
 
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) - Method in interface org.apache.ugli.LoggerFactoryAdapter
Return the appropriate named ULogger instance.
getLogger(String) - Static method in class org.apache.ugli.LoggerFactory
 
getLogger(String) - Method in class org.apache.ugli.impl.SimpleLoggerFA
Return an appropriate SimpleLogger instance.
getLogger(String) - Method in class org.apache.ugli.impl.NOPLoggerFA
 
getLogger(String) - Method in class org.apache.ugli.impl.Log4jLoggerFA
Get a ULogger by name, by delegating all work to log4's LogManager.
getLogger(String) - Method in class org.apache.ugli.impl.JDK14LoggerFA
 
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
 
getLogger(String, String) - Method in interface org.apache.ugli.LoggerFactoryAdapter
Return a ULogger instance in domain, subDomain.
getLogger(String, String) - Static method in class org.apache.ugli.LoggerFactory
 
getLogger(String, String) - Method in class org.apache.ugli.impl.SimpleLoggerFA
 
getLogger(String, String) - Method in class org.apache.ugli.impl.NOPLoggerFA
 
getLogger(String, String) - Method in class org.apache.ugli.impl.Log4jLoggerFA
Get a ULogger by domain and subdomain name, by delegating all work to log4's LogManager.
getLogger(String, String) - Method in class org.apache.ugli.impl.JDK14LoggerFA
 
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() - Static method in class org.apache.log4j.LogManager
 
getLoggerRepository() - Method in class org.apache.log4j.Category
Return the the LoggerRepository where this Category is attached.
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 interface org.apache.log4j.spi.RepositorySelector
Returns a LoggerRepository depending on the context.
getLoggerRepository() - Method in class org.apache.log4j.spi.DefaultRepositorySelector
 
getLoggerRepository(String) - Method in class org.apache.log4j.selector.ContextJNDISelector
Get the logger repository with the corresponding name.
getLoggerRepository(String) - Method in interface org.apache.log4j.spi.RepositorySelector
Get a LoggerRepository by name.
getLoggerRepository(String) - Method in class org.apache.log4j.spi.DefaultRepositorySelector
 
getMaxFileSize() - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
 
getMaxIndex() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
 
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.
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
 
getMinIndex() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
 
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.Hierarchy
Return the name of this hierarchy.
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 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.ThrowableInformationPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.ThreadPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.StackPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.SequenceNumberPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.RelativeTimePatternConverter
 
getName() - Method in class org.apache.log4j.pattern.PropertiesPatternConverter
 
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.pattern.NDCPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.MethodLocationPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.MessagePatternConverter
 
getName() - Method in class org.apache.log4j.pattern.LoggerPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.LiteralPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.LineSeparatorPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.LineLocationPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.LevelPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.FullLocationPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.FileLocationPatternConverter
 
getName() - Method in class org.apache.log4j.pattern.DatePatternConverter
 
getName() - Method in class org.apache.log4j.pattern.ClassNamePatternConverter
 
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.LoggerRepository
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.rolling.helper.TokenConverter
 
getNext() - Method in class org.apache.log4j.spi.Filter
Return the pointer to the next filter;
getNextCheckDate(Date) - Method in class org.apache.log4j.rolling.helper.RollingCalendar
 
getNextCheckMillis(Date) - Method in class org.apache.log4j.rolling.helper.RollingCalendar
 
getObjClass() - Method in class org.apache.log4j.config.PropertySetter
 
getObject(String) - Method in class org.apache.log4j.Hierarchy
 
getObject(String) - Method in interface org.apache.log4j.spi.LoggerRepository
A LoggerRepository can also act as a store for various objects used by log4j components.
getOptionEnd(int) - Method in class org.apache.log4j.rolling.helper.FileNamePattern
Find the position of the last character of option enclosed within the '{}' characters inside the pattern
getOptionStrings() - Method in class org.apache.log4j.filter.DenyAllFilter
Deprecated. We now use JavaBeans introspection to configure components. Options strings are no longer needed.
getOverrideProperties() - Method in class org.apache.log4j.net.UDPAppender
Returns value of the OverrideProperties option.
getOverrideProperties() - Method in class org.apache.log4j.net.MulticastAppender
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
 
getPattern() - Method in class org.apache.log4j.rolling.helper.FileNamePattern
 
getPlugin() - Method in class org.apache.log4j.plugins.PluginEvent
Returns the source Plugin of this event, which is simple the getSource() method casted to Plugin for convenience.
getPluginRegistry() - Method in class org.apache.log4j.Hierarchy
 
getPluginRegistry() - Method in interface org.apache.log4j.spi.LoggerRepository
Return the PluginRegisty for this LoggerRepository.
getPlugins() - Method in class org.apache.log4j.plugins.PluginRegistry
Returns all the plugins for a given repository.
getPlugins(Class) - Method in class org.apache.log4j.plugins.PluginRegistry
Returns all the plugins for a given repository that are instances of a certain class.
getPort() - Method in class org.apache.log4j.net.XMLSocketReceiver
Get the port to receive logging events on.
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.TelnetAppender
 
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.SocketHubReceiver
Get the remote port to connect to for logging events.
getPort() - Method in class org.apache.log4j.net.SocketHubAppender
Returns value of the Port option.
getPort() - Method in class org.apache.log4j.net.SocketAppender
Returns value of the Port option.
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.MulticastReceiver
 
getPort() - Method in class org.apache.log4j.net.MulticastAppender
Returns value of the Port option.
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 class org.apache.log4j.spi.LoggingEvent
 
getProperties() - Method in interface org.apache.log4j.spi.LoggerRepository
Get the properties specific for this repository.
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 class org.apache.log4j.spi.LoggingEvent
Return a property for this event.
getProperty(String) - Method in interface org.apache.log4j.spi.LoggerRepository
Get the property of this repository.
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.MulticastReceiverBeanInfo
 
getPropertyDescriptors() - Method in class org.apache.log4j.net.JMSReceiverBeanInfo
 
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.SocketHubReceiver
Returns value of the ReconnectionDelay option.
getReconnectionDelay() - Method in class org.apache.log4j.net.SocketAppender
Returns value of the ReconnectionDelay option.
getRefreshMillis() - Method in class org.apache.log4j.db.DBReceiver
 
getRefreshMillis() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
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.
getRemoteHost() - Method in class org.apache.log4j.net.MulticastAppender
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.
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
 
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.OrRule
 
getRule(Rule, Rule) - Static method in class org.apache.log4j.rule.AndRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.PartialTextMatchRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.OrRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.NotRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.NotEqualsRule
 
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.EqualsRule
 
getRule(Stack) - Static method in class org.apache.log4j.rule.AndRule
 
getRule(String) - Static method in class org.apache.log4j.rule.TimestampEqualsRule
 
getRule(String) - Static method in class org.apache.log4j.rule.LevelEqualsRule
 
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) - Method in class org.apache.log4j.rule.RuleFactory
 
getRule(String, Stack) - Static method in class org.apache.log4j.rule.InequalityRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.TimestampInequalityRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.PartialTextMatchRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.NotEqualsRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.LikeRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.LevelInequalityRule
 
getRule(String, String) - Static method in class org.apache.log4j.rule.EqualsRule
 
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.LoggerRepository
Return the Scheduler for this LoggerRepository.
getSecurityCredentials() - Method in class org.apache.log4j.net.JMSAppender
 
getSecurityPrincipalName() - Method in class org.apache.log4j.net.JMSAppender
 
getSelectInsertId() - Method in interface org.apache.log4j.db.dialect.SQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.PostgreSQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.OracleDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.MySQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.MsSQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.db.dialect.HSQLDBDialect
 
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.
getSql() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
getSQLDialectCode() - Method in class org.apache.log4j.db.JNDIConnectionSource
 
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(LoggingEvent) - Method in class org.apache.log4j.pattern.ThrowableInformationPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.ThreadPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.StackPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.SequenceNumberPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.RelativeTimePatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.PropertiesPatternConverter
 
getStyleClass(LoggingEvent) - 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(LoggingEvent) - Method in class org.apache.log4j.pattern.NDCPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.MethodLocationPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.MessagePatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.LoggerPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.LiteralPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.LineSeparatorPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.LineLocationPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.LevelPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.FullLocationPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.FileLocationPatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.DatePatternConverter
 
getStyleClass(LoggingEvent) - Method in class org.apache.log4j.pattern.ClassNamePatternConverter
 
getSubject() - Method in class org.apache.log4j.net.SMTPAppender
Returns value of the Subject option.
getSyslogEquivalent() - Method in class org.apache.log4j.Level
Return the syslog equivalent of this priority as an integer.
getSyslogHost() - Method in class org.apache.log4j.net.SyslogAppender
Returns the value of the SyslogHost option.
getSystemProperty(String, String) - Static method in class org.apache.log4j.helpers.OptionConverter
Very similar to System.getProperty except that the SecurityException is hidden.
getTarget() - Method in class org.apache.log4j.ConsoleAppender
Returns the current value of the Target property.
getThreadName() - Method in class org.apache.log4j.spi.LoggingEvent
 
getThreadPrinting() - Method in class org.apache.log4j.TTCCLayout
Deprecated. Returns value of the ThreadPrinting option.
getThreshold() - Method in class org.apache.log4j.Hierarchy
Returns a Level representation of the enable state.
getThreshold() - Method in class org.apache.log4j.AppenderSkeleton
Returns this appenders threshold level.
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.
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.
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.
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.
getTriggeringPolicy() - Method in class org.apache.log4j.rolling.RollingFileAppender
 
getType() - Method in class org.apache.log4j.rolling.helper.TokenConverter
 
getUrl() - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Returns the url.
getUser() - Method in class org.apache.log4j.db.ConnectionSourceSkeleton
Get the user for this connection source.
getUserId() - Method in class org.apache.log4j.net.JMSReceiver
Gets the current user id property.
getUserName() - Method in class org.apache.log4j.net.JMSAppender
 
getValue(String, LoggingEvent) - Method in class org.apache.log4j.spi.LoggingEventFieldResolver
 
getWriteLock() - Method in class org.apache.log4j.helpers.ReaderWriterLock
 
GZ - Static variable in class org.apache.log4j.rolling.helper.Compress
 
GZ_STR - Static variable in class org.apache.log4j.rolling.helper.Compress
String constant representing compression in the GZIP format.
GZCompress(String) - Method in class org.apache.log4j.rolling.helper.Compress
 
GZCompress(String, String) - Method in class org.apache.log4j.rolling.helper.Compress
 

H

HALF_DAY - Static variable in class org.apache.log4j.rolling.helper.RollingCalendar
 
handlesThrowable() - Method in class org.apache.log4j.pattern.ThrowableInformationPatternConverter
This converter obviosly handles throwables.
handlesThrowable() - Method in class org.apache.log4j.pattern.PatternConverter
Normally pattern converters are now meant to handle Exceptions although few pattern converters might.
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.
HierarchyEventListener - interface org.apache.log4j.spi.HierarchyEventListener.
Listen to events occuring within a Hierarchy.
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
 

I

i - Variable in class org.apache.log4j.pattern.PatternParser
 
IdentityTokenConverter - class org.apache.log4j.rolling.helper.IdentityTokenConverter.
IdentityTokenConverter encapsulates the String value with which it was constructed.
IdentityTokenConverter(String) - Constructor for class org.apache.log4j.rolling.helper.IdentityTokenConverter
 
idField - Variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
ignoresThrowable - Variable in class org.apache.log4j.Layout
 
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.Layout
If the layout handles the throwable object contained within LoggingEvent, then the layout should return false.
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
 
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.Level
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
INFO - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
INFO_INT - Static variable in class org.apache.log4j.Level
INFO level integer value.
INFO_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
 
info(Object) - Method in class org.apache.log4j.Category
Log a message object with the INFO Level.
info(Object) - Method in interface org.apache.ugli.ULogger
 
info(Object) - Method in class org.apache.ugli.impl.SimpleLogger
A simple implementation which always logs messages of level INFO according to the format outlined above.
info(Object) - Method in class org.apache.ugli.impl.NOPLogger
 
info(Object) - Method in class org.apache.ugli.impl.JDK14Logger
 
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.ugli.ULogger
 
info(Object, Object) - Method in class org.apache.ugli.impl.SimpleLogger
Perform single parameter substituion before logging the message of level INFO according to the format outlined above.
info(Object, Object) - Method in class org.apache.ugli.impl.NOPLogger
 
info(Object, Object) - Method in class org.apache.ugli.impl.JDK14Logger
 
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.ugli.ULogger
 
info(Object, Throwable) - Method in class org.apache.ugli.impl.SimpleLogger
Log a message of level INFO, including an exception.
info(Object, Throwable) - Method in class org.apache.ugli.impl.NOPLogger
 
info(Object, Throwable) - Method in class org.apache.ugli.impl.JDK14Logger
 
info(String) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated.  
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.ugli.ULogger
 
info(String, Object, Object) - Method in class org.apache.ugli.impl.SimpleLogger
Perform double parameter substituion before logging the message of level INFO according to the format outlined above.
info(String, Object, Object) - Method in class org.apache.ugli.impl.NOPLogger
 
info(String, Object, Object) - Method in class org.apache.ugli.impl.JDK14Logger
 
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.
init(String) - Method in class org.apache.log4j.rolling.helper.RollingCalendar
 
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
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.
inOrder - Variable in class org.apache.log4j.WriterAppender
Set to true when the appender is in functioning order.
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
 
IntegerTokenConverter - class org.apache.log4j.rolling.helper.IntegerTokenConverter.
When asked to convert an integer, IntegerTokenConverter the string value of that integer.
IntegerTokenConverter() - Constructor for class org.apache.log4j.rolling.helper.IntegerTokenConverter
 
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.
isActive() - Method in class org.apache.log4j.net.XMLSocketReceiver
Returns true if this receiver is active.
isActive() - Method in class org.apache.log4j.net.UDPAppender
 
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.net.MulticastReceiver
Returns true if this receiver is active.
isActive() - Method in class org.apache.log4j.net.MulticastAppender
 
isActive() - Method in class org.apache.log4j.net.JMSReceiver
Returns true if this receiver is active.
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.NestComponentIA
 
isApplicable(Pattern, Attributes, ExecutionContext) - Method in class org.apache.log4j.joran.action.ImplicitAction
Check whether this implicit action is apprioriate in the current context.
isAsSevereAsThreshold(Level) - Method in class org.apache.log4j.AppenderSkeleton
Check whether the message level is below the appender's threshold.
isAsSevereAsThreshold(Level) - Method in class org.apache.log4j.plugins.Receiver
Returns true if the given level is equals or greater than the current threshold value of the receiver.
isAsSevereAsThreshold(Level) - Method in interface org.apache.log4j.spi.Thresholdable
Returns true if the given level is equals or greater than the current threshold value of the component.
isAttached(Appender) - Method in class org.apache.log4j.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.
isDebugEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the DEBUG Level.
isDebugEnabled() - Method in interface org.apache.ugli.ULogger
Is the logger instance enabled for the DEBUG level?
isDebugEnabled() - Method in class org.apache.ugli.impl.SimpleLogger
Always returns false.
isDebugEnabled() - Method in class org.apache.ugli.impl.NOPLogger
 
isDebugEnabled() - Method in class org.apache.ugli.impl.JDK14Logger
Is the logger instance enabled for the DEBUG level?
isDisabled(int) - Method in class org.apache.log4j.Hierarchy
This method will return true if this repository is disabled for level object passed as parameter and false otherwise.
isDisabled(int) - Method in interface org.apache.log4j.spi.LoggerRepository
Is the repository disabled for a given level?
isEmpty(String) - Static method in class org.apache.log4j.helpers.Option
 
isEnabledFor(Level) - Method in class org.apache.log4j.Category
Check whether this category is enabled for a given Level passed as parameter.
isEnabledFor(Priority) - Method in class org.apache.log4j.Category
Deprecated. Use the alternate form taking a parameter of type Level.
isEquivalent(Plugin) - Method in class org.apache.log4j.net.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.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.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.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.ugli.ULogger
 
isErrorEnabled() - Method in class org.apache.ugli.impl.SimpleLogger
Always returns true.
isErrorEnabled() - Method in class org.apache.ugli.impl.NOPLogger
 
isErrorEnabled() - Method in class org.apache.ugli.impl.JDK14Logger
 
isField(String) - Method in class org.apache.log4j.spi.LoggingEventFieldResolver
 
isFull() - Method in class org.apache.log4j.helpers.BoundedFIFO
Return true if the buffer is full, i.e. of the number of elements in the buffer equals the buffer size.
isGenAppName(String) - Method in class org.apache.log4j.config.PropertyPrinter
Returns true if the specified appender name is considered to have been generated, i.e. if it is of the form A[0-9]+.
isGreaterOrEqual(Level) - Method in class org.apache.log4j.Level
Returns true if this level has a higher or equal level than the level passed as argument, false otherwise.
isHandledType(Class) - Method in class org.apache.log4j.config.PropertyGetter
 
isInfoEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the info Level.
isInfoEnabled() - Method in interface org.apache.ugli.ULogger
 
isInfoEnabled() - Method in class org.apache.ugli.impl.SimpleLogger
Always returns true.
isInfoEnabled() - Method in class org.apache.ugli.impl.NOPLogger
 
isInfoEnabled() - Method in class org.apache.ugli.impl.JDK14Logger
 
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
 
ISO8601_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
 
ISO8601_PATTERN - Static variable in interface org.apache.log4j.helpers.Constants
 
isOnAS400() - Static method in class org.apache.log4j.helpers.PlatformInfo
Are we running on AS400?
isPaused() - Method in class org.apache.log4j.db.DBReceiver
 
isPaused() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
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 class org.apache.log4j.net.MulticastReceiver
 
isPaused() - Method in interface org.apache.log4j.plugins.Pauseable
 
isPristine() - Method in class org.apache.log4j.Hierarchy
 
isPristine() - Method in interface org.apache.log4j.spi.LoggerRepository
Is the current configuration of the reposiroty in its original (pristine) state?
isRule(String) - Method in class org.apache.log4j.rule.RuleFactory
 
isRunning() - Method in interface org.apache.log4j.config.ConfigWatchdog
Returns true if this watchdog is currently running.
isTailing() - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Accessor
isTraceEnabled() - Method in class org.apache.log4j.Category
Check whether this category is enabled for the TRACE Level.
isTriggeringEvent(File) - Method in interface org.apache.log4j.rolling.TriggeringPolicy
Should rolllover be triggered at this time?
isTriggeringEvent(File) - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
 
isTriggeringEvent(File) - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
 
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.ugli.ULogger
 
isWarnEnabled() - Method in class org.apache.ugli.impl.SimpleLogger
Always returns true.
isWarnEnabled() - Method in class org.apache.ugli.impl.NOPLogger
 
isWarnEnabled() - Method in class org.apache.ugli.impl.JDK14Logger
 

J

JDK14Logger - class org.apache.ugli.impl.JDK14Logger.
A wrapper over @{link java.utill.Logger} which conforms to the ULogger interface.
JDK14LoggerFA - class org.apache.ugli.impl.JDK14LoggerFA.
 
JDK14LoggerFA() - Constructor for class org.apache.ugli.impl.JDK14LoggerFA
 
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(Level, String, Object[], Throwable) - Method in class org.apache.log4j.Category
Log a localized and parameterized message.
l7dlog(Level, 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
 
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 - 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.
LevelEqualsRule - class org.apache.log4j.rule.LevelEqualsRule.
A Rule class implementing equals against two levels.
LevelInequalityRule - class org.apache.log4j.rule.LevelInequalityRule.
A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.
LevelMatchFilter - class org.apache.log4j.filter.LevelMatchFilter.
This is a very simple filter based on level matching.
LevelMatchFilter() - Constructor for class org.apache.log4j.filter.LevelMatchFilter
 
LevelPatternConverter - class org.apache.log4j.pattern.LevelPatternConverter.
Return the event's level in a StringBuffer.
LevelPatternConverter() - Constructor for class org.apache.log4j.pattern.LevelPatternConverter
 
LevelRangeFilter - class org.apache.log4j.filter.LevelRangeFilter.
This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.
LevelRangeFilter() - Constructor for class org.apache.log4j.filter.LevelRangeFilter
 
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.ugli.impl.SimpleLogger
 
LineLocationPatternConverter - class org.apache.log4j.pattern.LineLocationPatternConverter.
Return the event's line location information in a StringBuffer.
LineLocationPatternConverter() - Constructor for class org.apache.log4j.pattern.LineLocationPatternConverter
 
LineSeparatorPatternConverter - class org.apache.log4j.pattern.LineSeparatorPatternConverter.
Return the line separator for the current system.
LineSeparatorPatternConverter() - Constructor for class org.apache.log4j.pattern.LineSeparatorPatternConverter
 
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
 
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
 
LiteralPatternConverter - class org.apache.log4j.pattern.LiteralPatternConverter.
 
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
 
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_ALERT - Static variable in class org.apache.log4j.net.SyslogConstants
log alert, numerical code 14.
LOG_AUDIT - Static variable in class org.apache.log4j.net.SyslogConstants
log audit, numerical code 13.
LOG_AUTH - Static variable in class org.apache.log4j.net.SyslogConstants
security/authorization messages, numerical code 4.
LOG_AUTHPRIV - Static variable in class org.apache.log4j.net.SyslogConstants
security/authorization messages, numerical code 10.
LOG_CLOCK - Static variable in class org.apache.log4j.net.SyslogConstants
clock daemon, numerical code 15.
LOG_CRON - Static variable in class org.apache.log4j.net.SyslogConstants
clock daemon, numerical code 9.
LOG_DAEMON - Static variable in class org.apache.log4j.net.SyslogConstants
system daemons, numerical code 3.
LOG_FTP - Static variable in class org.apache.log4j.net.SyslogConstants
ftp daemon, numerical code 11.
LOG_KERN - Static variable in class org.apache.log4j.net.SyslogConstants
kernel messages, numerical code 0.
LOG_LOCAL0 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 16.
LOG_LOCAL1 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 17.
LOG_LOCAL2 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 18.
LOG_LOCAL3 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 19.
LOG_LOCAL4 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 20.
LOG_LOCAL5 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 21.
LOG_LOCAL6 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 22.
LOG_LOCAL7 - Static variable in class org.apache.log4j.net.SyslogConstants
reserved for local use, numerical code 23.
LOG_LPR - Static variable in class org.apache.log4j.net.SyslogConstants
line printer subsystem, numerical code 6.
LOG_MAIL - Static variable in class org.apache.log4j.net.SyslogConstants
mail system, numerical code 2.
LOG_NEWS - Static variable in class org.apache.log4j.net.SyslogConstants
network news subsystem, numerical code 7.
LOG_NTP - Static variable in class org.apache.log4j.net.SyslogConstants
NTP subsystem, numerical code 12.
LOG_SYSLOG - Static variable in class org.apache.log4j.net.SyslogConstants
messages generated internally by syslogd, numerical code 5.
LOG_USER - Static variable in class org.apache.log4j.net.SyslogConstants
user-level messages, numerical code 1.
LOG_UUCP - Static variable in class org.apache.log4j.net.SyslogConstants
UUCP subsystem, numerical code 8
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
 
Log4jLoggerFA - class org.apache.ugli.impl.Log4jLoggerFA.
This factory adapter relies on log4's LogManager to do its job.
Log4jLoggerFA() - Constructor for class org.apache.ugli.impl.Log4jLoggerFA
 
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
 
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.
LoggerFactory - class org.apache.ugli.LoggerFactory.
The LoggerFactory can produce Loggers for various logging APIs, most notably for log4j, JDK 1.4 logging.
LoggerFactory() - Constructor for class org.apache.ugli.LoggerFactory
 
LoggerFactoryAdapter - interface org.apache.ugli.LoggerFactoryAdapter.
LoggerFactoryAdapter interface is used internally by LoggerFactory.
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.
 
LoggerPatternConverter() - Constructor for class org.apache.log4j.pattern.LoggerPatternConverter
 
LoggerRepository - interface org.apache.log4j.spi.LoggerRepository.
A LoggerRepository is used to create and retrieve Loggers.
LoggerRepositoryEventListener - interface org.apache.log4j.spi.LoggerRepositoryEventListener.
Interface used to listen for LoggerRepository related events such as startup, reset, and shutdown.
LoggerTraverse - class org.apache.log4j.helpers.LoggerTraverse.
This helper class can be used to extract/traverse logger information for a given LoggerRepository.
LoggerTraverse() - Constructor for class org.apache.log4j.helpers.LoggerTraverse
Empty constructor.
LoggerTraverse(LoggerRepository) - Constructor for class org.apache.log4j.helpers.LoggerTraverse
 
LoggingEvent - class org.apache.log4j.spi.LoggingEvent.
The internal representation of logging events.
LoggingEvent() - Constructor for class org.apache.log4j.spi.LoggingEvent
The no-argument constructor for LoggingEvent.
LoggingEvent(String, Logger, Level, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
Instantiate a LoggingEvent from the supplied parameters.
LoggingEvent(String, Logger, long, Level, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
Deprecated. Please use the no argument constructor and the setter methods instead.
LoggingEventFieldResolver - class org.apache.log4j.spi.LoggingEventFieldResolver.
A singleton helper utility which accepts a field name and a LoggingEvent and returns the String value of that field.
LogLog - class org.apache.log4j.helpers.LogLog.
Deprecated. Use Logger instead.
LogLog() - Constructor for class org.apache.log4j.helpers.LogLog
Deprecated.  
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) - Static method in class org.apache.log4j.net.JMSSink
 
lookup(Context, String) - Method in class org.apache.log4j.net.JMSReceiver
 
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.SocketServer
 
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.varia.LogFilePatternReceiver
 
main(String[]) - Static method in class org.apache.log4j.xml.examples.XMLSample
 
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
 
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.ugli.impl.MessageFormatter.
Formats messages according to very simple rules.
MessageFormatter() - Constructor for class org.apache.ugli.impl.MessageFormatter
 
MessagePatternConverter - class org.apache.log4j.pattern.MessagePatternConverter.
Return the event's rendered message in a StringBuffer.
MessagePatternConverter() - Constructor for class org.apache.log4j.pattern.MessagePatternConverter
 
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.
MethodLocationPatternConverter() - Constructor for class org.apache.log4j.pattern.MethodLocationPatternConverter
 
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

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
 
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.
NDCPatternConverter() - Constructor for class org.apache.log4j.pattern.NDCPatternConverter
 
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.
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.pattern.PatternConverter
 
nextElement() - Method in class org.apache.log4j.helpers.NullEnumeration
 
NONE - Static variable in class org.apache.log4j.rolling.helper.Compress
 
NONE_STR - Static variable in class org.apache.log4j.rolling.helper.Compress
String constant representing no compression.
NOP_LOGGER - Static variable in class org.apache.ugli.impl.NOPLogger
The unique instance of NOPLogger.
NOPLogger - class org.apache.ugli.impl.NOPLogger.
A no operation (NOP) implementation of ULogger.
NOPLoggerFA - class org.apache.ugli.impl.NOPLoggerFA.
NOPLoggerFA is am implementation of LoggerFactoryAdapter which always returns the unique instance of NOPLogger.
NOPLoggerFA() - Constructor for class org.apache.ugli.impl.NOPLoggerFA
 
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.
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
 
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.Level
OFF level integer value.
onMessage(Message) - Method in class org.apache.log4j.net.JMSSink
 
onMessage(Message) - Method in class org.apache.log4j.net.JMSReceiver
 
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.joran - package org.apache.log4j.joran
 
org.apache.log4j.joran.action - package org.apache.log4j.joran.action
 
org.apache.log4j.net - package org.apache.log4j.net
Package for remote logging.
org.apache.log4j.or - package org.apache.log4j.or
ObjectRenders are resposible for rendering messages depending on their class type.
org.apache.log4j.or.jms - package org.apache.log4j.or.jms
This package contains the MessageRenderer which renders objects of type javax.jms.Message.
org.apache.log4j.or.sax - package org.apache.log4j.or.sax
This package contains the AttributesRenderer which renders object of class org.xml.sax.Attributes.
org.apache.log4j.pattern - package org.apache.log4j.pattern
 
org.apache.log4j.plugins - package org.apache.log4j.plugins
 
org.apache.log4j.rolling - package org.apache.log4j.rolling
Implements various file rolling policies.
org.apache.log4j.rolling.helper - package org.apache.log4j.rolling.helper
Internal helper classes used by org.apache.log4j.rolling package.
org.apache.log4j.rule - package org.apache.log4j.rule
 
org.apache.log4j.selector - package org.apache.log4j.selector
org.apache.log4j.selector This package contains classes useful for working with Log4j in a container environment where many applications need to share Log4j without stepping on each other's logging configuration.
org.apache.log4j.spi - package org.apache.log4j.spi
Contains part of the System Programming Interface (SPI) needed to extend log4j.
org.apache.log4j.varia - package org.apache.log4j.varia
Contains various appenders, filters and other odds and ends.
org.apache.log4j.xml - package org.apache.log4j.xml
XML based components.
org.apache.log4j.xml.examples - package org.apache.log4j.xml.examples
Example usage of log4j with XML (including source code).
org.apache.ugli - package org.apache.ugli
 
org.apache.ugli.impl - package org.apache.ugli.impl
 
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() - Method in class org.apache.log4j.pattern.PatternParser
 
parse(SAXParser, DefaultHandler) - Method in interface org.apache.log4j.joran.JoranConfigurator.ParseAction
 
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.
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.db.ConnectionSourceSkeleton
 
password - Variable in class org.apache.log4j.net.JMSReceiver
 
pattern - Variable in class org.apache.log4j.pattern.PatternParser
 
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 abtract class that provides the formatting functionality that derived classes need.
PatternConverter() - Constructor for class org.apache.log4j.pattern.PatternConverter
 
PatternConverter(FormattingInfo) - Constructor for class org.apache.log4j.pattern.PatternConverter
 
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.
patternLength - Variable in class org.apache.log4j.pattern.PatternParser
 
PatternParser - class org.apache.log4j.pattern.PatternParser.
Most of the work of the PatternLayout class is delegated to the PatternParser class.
PatternParser(String, LoggerRepository) - Constructor for class org.apache.log4j.pattern.PatternParser
 
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(LoggerRepository) - Constructor for class org.apache.log4j.plugins.PluginRegistry
 
PluginSkeleton - class org.apache.log4j.plugins.PluginSkeleton.
A convienent abstract class for plugin subclasses that implements the basic methods of the Plugin interface.
PluginSkeleton() - Constructor for class org.apache.log4j.plugins.PluginSkeleton
 
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.TTCCLayout
Deprecated.  
pos - Variable in class org.apache.log4j.net.SyslogAppender
 
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
 
prepareForDeferredProcessing() - Method in class org.apache.log4j.spi.LoggingEvent
This method should be called prior to serializing an event.
printOptions(PrintWriter, Logger) - Method in class org.apache.log4j.config.PropertyPrinter
Prints the configuration of the default log4j hierarchy as a Java properties file on the specified Writer.
printOptions(PrintWriter, Object, String) - Method in class org.apache.log4j.config.PropertyPrinter
 
printPeriodicity(ULogger) - Method in class org.apache.log4j.rolling.helper.RollingCalendar
 
Priority - class org.apache.log4j.Priority.
Deprecated.  
PriorityAction - class org.apache.log4j.joran.action.PriorityAction.
This action allows us to warn users that the Priority element has been deprecated but is still accepted.
PriorityAction() - Constructor for class org.apache.log4j.joran.action.PriorityAction
 
process(Reader) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Read, parse and optionally tail the log file, converting entries into logging events A runtimeException is thrown if the logFormat pattern is malformed according to ORO's Perl5Compiler.
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.
PropertiesPatternConverter() - Constructor for class org.apache.log4j.pattern.PropertiesPatternConverter
 
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
 
propertyDescriptors - Variable in class org.apache.log4j.config.PropertySetter
 
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 propoperties file on a PrintWriter.
PropertyPrinter(PrintWriter) - Constructor for class org.apache.log4j.config.PropertyPrinter
 
PropertyPrinter(PrintWriter, boolean) - Constructor for class org.apache.log4j.config.PropertyPrinter
 
PropertySetter - class org.apache.log4j.config.PropertySetter.
General purpose Object property setter.
PropertySetter(Object) - Constructor for class org.apache.log4j.config.PropertySetter
Create a new PropertySetter for the specified Object.
PropertySetterException - exception org.apache.log4j.config.PropertySetterException.
Thrown when an error is encountered whilst attempting to set a property using the PropertySetter utility class.
PropertySetterException(String) - Constructor for class org.apache.log4j.config.PropertySetterException
 
PropertySetterException(Throwable) - Constructor for class org.apache.log4j.config.PropertySetterException
 
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.LoggerRepository
Store an object under 'key'.

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.
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.
 
RelativeTimePatternConverter() - Constructor for class org.apache.log4j.pattern.RelativeTimePatternConverter
 
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(Logger, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
 
removeLoggerEventListener(LoggerEventListener) - Method in class org.apache.log4j.Hierarchy
Remove a LoggerEventListener from the repository.
removeLoggerEventListener(LoggerEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
Remove a LoggerEventListener from the repository.
removeLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in class org.apache.log4j.Hierarchy
Remove a LoggerRepositoryEventListener from the repository.
removeLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
Remove a LoggerRepositoryEventListener from the repository.
removePluginListener(PluginListener) - Method in class org.apache.log4j.plugins.PluginRegistry
Removes a particular PluginListener from this registry such that it will no longer be notified of PluginEvents
removePropertyChangeListener(PropertyChangeListener) - Method in 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 interface org.apache.log4j.rule.Rule
Removes a known PropertyChangeListener from this Rule.
removePropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.rule.AbstractRule
 
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.SocketNode
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.
rename(String, String) - Method in class org.apache.log4j.rolling.helper.Util
A robust file renaming method which in case of failure falls back to renmaing by copying.
renameByCopying(String, String) - Method in class org.apache.log4j.rolling.helper.Util
 
RendererMap - class org.apache.log4j.or.RendererMap.
Map class objects to an ObjectRenderer.
RendererMap() - Constructor for class org.apache.log4j.or.RendererMap
 
RendererSupport - interface org.apache.log4j.spi.RendererSupport.
 
ReportParserError - class org.apache.log4j.xml.examples.ReportParserError.
This class is needed for validating a log4j.dtd derived XML file.
ReportParserError() - Constructor for class org.apache.log4j.xml.examples.ReportParserError
 
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.
requiresLayout() - Method in class org.apache.log4j.WriterAppender
The WriterAppender 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.DBAppender2
 
requiresLayout() - Method in class org.apache.log4j.db.DBAppender
 
requiresLayout() - Method in class org.apache.log4j.net.UDPAppender
The UDPAppender uses layouts.
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.SocketHubAppender
The SocketHubAppender does not use a layout.
requiresLayout() - Method in class org.apache.log4j.net.SMTPAppender
The SMTPAppender requires a layout.
requiresLayout() - Method in class org.apache.log4j.varia.NullAppender
NullAppenders do not need a layout.
requiresLayout() - Method in class org.apache.log4j.varia.ListModelAppender
 
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
 
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.UtilLoggingEntityResolver
 
resolveEntity(String, String) - Method in class org.apache.log4j.xml.Log4jEntityResolver
 
resourceBundle - Variable in class org.apache.log4j.Category
 
RollingCalendar - class org.apache.log4j.rolling.helper.RollingCalendar.
RollingCalendar is a helper class to TimeBasedRollingPolicy or similar timed-based rolling policies.
RollingCalendar() - Constructor for class org.apache.log4j.rolling.helper.RollingCalendar
 
RollingCalendar(TimeZone, Locale) - Constructor for class org.apache.log4j.rolling.helper.RollingCalendar
 
RollingFileAppender - class org.apache.log4j.rolling.RollingFileAppender.
RollingFileAppender extends FileAppender to backup the log files depending on RollingPolicy and TriggeringPolicy.
RollingFileAppender() - Constructor for class org.apache.log4j.rolling.RollingFileAppender
The default constructor simply calls its parents constructor.
RollingPolicy - interface org.apache.log4j.rolling.RollingPolicy.
A RollingPolicy is responsible for performing the rolling over of the active log file.
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.TimeBasedRollingPolicy
 
rollover() - Method in interface org.apache.log4j.rolling.RollingPolicy
Rolls over log files according to implementation policy.
rollover() - Method in class org.apache.log4j.rolling.RollingFileAppender
Implements the usual roll over behaviour.
rollover() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
 
RolloverFailure - exception org.apache.log4j.rolling.RolloverFailure.
A RolloverFailure occurs if, for whatever reason a rollover fails.
RolloverFailure(String) - Constructor for class org.apache.log4j.rolling.RolloverFailure
 
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
 
run() - Method in class org.apache.log4j.net.XMLSocketReceiver
Loop, accepting new socket connections.
run() - Method in class org.apache.log4j.net.XMLSocketNode
 
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
 

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.PostgreSQLDialect
 
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_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.
 
SequenceNumberPatternConverter() - Constructor for class org.apache.log4j.pattern.SequenceNumberPatternConverter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.StringMatchFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.LevelRangeFilter
Set the AcceptOnMatch option.
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.LevelMatchFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.ExpressionFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.AndFilter
 
setActive(boolean) - Method in class org.apache.log4j.net.SocketHubReceiver
Sets the flag to indicate if receiver is active or not.
setActive(boolean) - Method in class org.apache.log4j.net.JMSReceiver
Sets the flag to indicate if receiver is active or not.
setActiveFileName(String) - Method in class org.apache.log4j.rolling.RollingPolicyBase
ActiveFileName can be left unset, i.e. as null.
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.
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.
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.
setBufferedIO(boolean) - Method in class org.apache.log4j.FileAppender
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.AsyncAppender
The BufferSize option takes a non-negative integer value.
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.
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.
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.DBReceiver
 
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.db.DBAppender2
 
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.db.DBAppender
 
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
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.
setConverterRegistry(Map) - Method in class org.apache.log4j.pattern.PatternParser
Set the converter registry for this PatternParser instance.
setConvertInFixToPostFix(boolean) - Method in class org.apache.log4j.filter.LocationInfoFilter
 
setConvertInFixToPostFix(boolean) - Method in class org.apache.log4j.filter.ExpressionFilter
 
setDataSource(DataSource) - Method in class org.apache.log4j.db.DataSourceConnectionSource
 
setDateFormat(String) - Method in class org.apache.log4j.TTCCLayout
Deprecated.  
setDecoder(String) - Method in class org.apache.log4j.net.XMLSocketReceiver
 
setDecoder(String) - Method in class org.apache.log4j.net.UDPReceiver
 
setDecoder(String) - Method in class org.apache.log4j.net.MulticastReceiver
 
setDelay(long) - Method in class org.apache.log4j.helpers.FileWatchdog
Set the delay to observe between each check of the file changes.
setDriverClass(String) - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Sets the driver class.
setEncoding(String) - Method in class org.apache.log4j.WriterAppender
 
setEncoding(String) - Method in class org.apache.log4j.net.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.
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.
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.LocationInfoFilter
 
setExpression(String) - Method in class org.apache.log4j.filter.ExpressionFilter
 
setFacility(String) - Method in class org.apache.log4j.net.SyslogAppender
Set the syslog facility.
setFile(String) - Method in class org.apache.log4j.FileAppender
The File property takes a string value which should be the name of the file to append to.
setFile(String, boolean, boolean, int) - Method in class org.apache.log4j.FileAppender
Sets and opens the file where the log output will go.
setFileNamePattern(String) - Method in class org.apache.log4j.rolling.RollingPolicyBase
 
setFileURL(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setFilterExpression(String) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setFooter(String) - Method in class org.apache.log4j.Layout
Set the footer.
setFormattingInfo(FormattingInfo) - Method in class org.apache.log4j.pattern.PatternConverter
 
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.
setIDField(String) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setIgnoresThrowable(boolean) - Method in class org.apache.log4j.Layout
 
setImmediateFlush(boolean) - Method in class org.apache.log4j.WriterAppender
If the ImmediateFlush option is set to true, the appender will flush at the end of each write.
setInitialContextFactoryName(String) - Method in class org.apache.log4j.net.JMSAppender
Setting the InitialContextFactoryName method will cause this JMSAppender instance to use the InitialContext.InitialContext(Hashtable) method instead of the no-argument constructor.
setInternalDebugging(boolean) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. 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.net.SyslogAppender
 
setLevel(Level) - Method in class org.apache.log4j.Category
Set the level of this Category.
setLevel(Level) - Method in class org.apache.log4j.spi.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.XMLSocketNode
Set the event listener on this node.
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.
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.DBAppender2
If true, the information written to the database will include caller's location information.
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.SocketHubAppender
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - Method in class org.apache.log4j.net.SocketAppender
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - Method in class org.apache.log4j.net.SMTPAppender
The LocationInfo option takes a boolean value.
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.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.spi.LoggingEvent
Set the logger of this event.
setLoggerName(String) - Method in class org.apache.log4j.spi.LoggingEvent
Set the loggerName for this event.
setLoggerRepository(LoggerRepository) - Method in interface org.apache.log4j.Appender
 
setLoggerRepository(LoggerRepository) - Method in 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.
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
 
setMaxIndex(int) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
 
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
 
setName(String) - Method in class org.apache.log4j.Hierarchy
 
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 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.LoggerRepository
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.
setNext(TokenConverter) - Method in class org.apache.log4j.rolling.helper.TokenConverter
 
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.
setOptions(List) - Method in class org.apache.log4j.pattern.ThrowableInformationPatternConverter
 
setOptions(List) - Method in class org.apache.log4j.pattern.PropertiesPatternConverter
 
setOptions(List) - Method in class org.apache.log4j.pattern.PatternConverter
Sets multiple options for the converter.
setOptions(List) - Method in class org.apache.log4j.pattern.DatePatternConverter
The option string can be one of the strings 'DATE', 'ABSOLUTE', 'ISO8601' or any date and time pattern accepted by java.text.SimpleDateFormat.
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.
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.
setPassword(String) - Method in class org.apache.log4j.db.JNDIConnectionSource
Sets the password.
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.
setPaused(boolean) - Method in class org.apache.log4j.db.DBReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
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 class org.apache.log4j.net.MulticastReceiver
 
setPaused(boolean) - Method in interface org.apache.log4j.plugins.Pauseable
 
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.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.TelnetAppender
 
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.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.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.MulticastReceiver
 
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(String) - Method in class org.apache.log4j.net.SocketHubReceiver
Set the remote host to connect to for logging events.
setPristine(boolean) - Method in class org.apache.log4j.Hierarchy
 
setPristine(boolean) - Method in interface org.apache.log4j.spi.LoggerRepository
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(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 class org.apache.log4j.spi.LoggingEvent
Set a string property using a key and a string value.
setProperty(String, String) - Method in interface org.apache.log4j.spi.LoggerRepository
Set a property of this repository.
setProviderURL(String) - Method in class org.apache.log4j.net.JMSAppender
 
setQuietMode(boolean) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. In quite mode no LogLog generates strictly no output, not even for errors.
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.
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.
setRefreshMillis(int) - Method in class org.apache.log4j.db.DBReceiver
 
setRefreshMillis(int) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
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.
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.
setRenderedMessage(String) - Method in class org.apache.log4j.spi.LoggingEvent
 
setRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.Hierarchy
Used by subclasses to add a renderer to the hierarchy passed as parameter.
setRenderer(Class, ObjectRenderer) - Method in interface org.apache.log4j.spi.RendererSupport
 
setRepositorySelector(RepositorySelector, Object) - Static method in class org.apache.log4j.LogManager
Sets RepositorySelector but only if the correct guard is passed as parameter.
setResourceBundle(ResourceBundle) - Method in class org.apache.log4j.Category
Set the resource bundle to be used with localized logging methods Category.l7dlog(Level,String,Throwable) and Category.l7dlog(Level,String,Object[],Throwable).
setRollingPolicy(RollingPolicy) - Method in class org.apache.log4j.rolling.RollingFileAppender
Sets the rolling policy.
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.
setSql(String) - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
setStringToMatch(String) - Method in class org.apache.log4j.filter.StringMatchFilter
 
setSubject(String) - Method in class org.apache.log4j.net.SMTPAppender
The Subject option takes a string value which will be the subject of the e-mail message.
setSyslogHost(String) - Method in class org.apache.log4j.net.SyslogAppender
The SyslogHost option is the name of the the syslog host where log output should go.
setTailing(boolean) - Method in class org.apache.log4j.varia.LogFilePatternReceiver
Mutator
setTarget(String) - Method in class org.apache.log4j.ConsoleAppender
Sets the value of the Target option.
setThreadName(String) - Method in class org.apache.log4j.spi.LoggingEvent
 
setThreadPrinting(boolean) - Method in class org.apache.log4j.TTCCLayout
Deprecated. The ThreadPrinting option specifies whether the name of the current thread is part of log output or not.
setThreshold(Level) - Method in class org.apache.log4j.Hierarchy
Enable logging for logging requests with level l or higher.
setThreshold(Level) - Method in class org.apache.log4j.AppenderSkeleton
Set the threshold level.
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
Deprecated. Will be removed with no replacement.
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(TimeZone) - Method in class org.apache.log4j.helpers.RelativeTimeDateFormat
Sets the timezone.
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
 
setType(int) - Method in class org.apache.log4j.rolling.helper.TokenConverter
 
setType(int) - Method in class org.apache.log4j.rolling.helper.RollingCalendar
 
setUrl(String) - Method in class org.apache.log4j.db.DriverManagerConnectionSource
Sets the url.
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.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() - Static method in class org.apache.log4j.Category
Deprecated. Please use LogManager.shutdown() instead.
shutdown() - Method in class org.apache.log4j.db.DBReceiver
 
shutdown() - Method in class org.apache.log4j.db.CustomSQLDBReceiver
 
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.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 class org.apache.log4j.net.MulticastReceiver
 
shutdown() - Method in class org.apache.log4j.net.JMSReceiver
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.
SIMPLE_LOGGER_FA - Static variable in class org.apache.log4j.LogManager
Log4j components resort to this instance of SimpleLoggerFA in case an appropriate LoggerRepository was not set or could not be found.
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
 
SimpleLogger - class org.apache.ugli.impl.SimpleLogger.
A simple implementation that logs messages of level INFO or higher on the console (System.out).
SimpleLoggerFA - class org.apache.ugli.impl.SimpleLoggerFA.
An implementation of LoggerFactoryAdapter which always returns SimpleLogger instances.
SimpleLoggerFA() - Constructor for class org.apache.ugli.impl.SimpleLoggerFA
 
SimpleSocketServer - class org.apache.log4j.net.SimpleSocketServer.
A simple SocketNode based server.
SimpleSocketServer() - Constructor for class org.apache.log4j.net.SimpleSocketServer
 
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
 
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
 
spacePad(Writer, int) - Method in class org.apache.log4j.pattern.PatternConverter
Fast space padding method.
SQLDialect - interface org.apache.log4j.db.dialect.SQLDialect.
 
sqlStatement - Variable in class org.apache.log4j.db.CustomSQLDBReceiver
 
StackPatternConverter - class org.apache.log4j.pattern.StackPatternConverter.
 
StackPatternConverter() - Constructor for class org.apache.log4j.pattern.StackPatternConverter
 
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.
StringMatchFilter - class org.apache.log4j.filter.StringMatchFilter.
This is a very simple filter based on string matching.
StringMatchFilter() - Constructor for class org.apache.log4j.filter.StringMatchFilter
 
subAppend(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
Actual writing occurs here.
subAppend(LoggingEvent) - Method in class org.apache.log4j.rolling.RollingFileAppender
This method differentiates RollingFileAppender from its super class.
SubstitutionPropertyAction - class org.apache.log4j.joran.action.SubstitutionPropertyAction.
This action set new substitution property for the execution context by name, value pair, or adds all the properties found in the specified file.
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 - Variable in class org.apache.log4j.db.ConnectionSourceSkeleton
 
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 - Variable in class org.apache.log4j.db.ConnectionSourceSkeleton
 
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
 
SyslogConstants - class org.apache.log4j.net.SyslogConstants.
Constants used by the SyslogAppender class.
SyslogConstants() - Constructor for class org.apache.log4j.net.SyslogConstants
 
SyslogWriter - class org.apache.log4j.helpers.SyslogWriter.
SyslogWriter is a wrapper around the java.net.DatagramSocket class so that it behaves like a java.io.Writer.
SyslogWriter(String) - Constructor for class org.apache.log4j.helpers.SyslogWriter
 
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(int) - Constructor for class org.apache.log4j.net.TelnetAppender.SocketHandler
 
TelnetAppender() - Constructor for class org.apache.log4j.net.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.
Return the events thread (usually the current thread) in a StringBuffer.
ThreadPatternConverter() - Constructor for class org.apache.log4j.pattern.ThreadPatternConverter
 
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.
ThrowableInformationPatternConverter() - Constructor for class org.apache.log4j.pattern.ThrowableInformationPatternConverter
 
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
 
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.
toBoolean(String, boolean) - Static method in class org.apache.log4j.helpers.OptionConverter
If value is "true", then true is returned.
toFileSize(String, long) - Static method in class org.apache.log4j.helpers.OptionConverter
 
toInt() - Method in class org.apache.log4j.Level
Returns the integer representation of this level.
toInt(String, int) - Static method in class org.apache.log4j.helpers.OptionConverter
 
TokenConverter - class org.apache.log4j.rolling.helper.TokenConverter.
TokenConverter offers some basic functionality used by more specific token converters.
TokenConverter(int) - Constructor for class org.apache.log4j.rolling.helper.TokenConverter
 
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.UtilLoggingLevel
 
toLevel(String, Level) - Static method in class org.apache.log4j.helpers.OptionConverter
Converts a standard or custom priority level to a Level object.
TOP_OF_DAY - Static variable in class org.apache.log4j.rolling.helper.RollingCalendar
 
TOP_OF_HOUR - Static variable in class org.apache.log4j.rolling.helper.RollingCalendar
 
TOP_OF_MINUTE - Static variable in class org.apache.log4j.rolling.helper.RollingCalendar
 
TOP_OF_MONTH - Static variable in class org.apache.log4j.rolling.helper.RollingCalendar
 
TOP_OF_SECOND - Static variable in class org.apache.log4j.rolling.helper.RollingCalendar
 
TOP_OF_TROUBLE - Static variable in class org.apache.log4j.rolling.helper.RollingCalendar
 
TOP_OF_WEEK - Static variable in class org.apache.log4j.rolling.helper.RollingCalendar
 
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
 
toString() - Method in class org.apache.log4j.Level
Returns the string representation of this Level.
toString() - Method in class org.apache.log4j.joran.action.Action
 
toString() - Method in class org.apache.log4j.rolling.helper.FileNamePattern
 
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.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.

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.ugli.ULogger.
The main user inteface to logging.
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.
url - Variable in class org.apache.log4j.db.DriverManagerConnectionSource
 
user - Variable in class org.apache.log4j.db.ConnectionSourceSkeleton
 
userId - Variable in class org.apache.log4j.net.JMSReceiver
 
Util - class org.apache.log4j.db.dialect.Util.
 
Util - class org.apache.log4j.rolling.helper.Util.
Utility class to help solving problems encontered while renameing files.
Util() - Constructor for class org.apache.log4j.db.dialect.Util
 
Util() - Constructor for class org.apache.log4j.rolling.helper.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.Level
The WARN level designates potentially harmful situations.
WARN_INT - Static variable in class org.apache.log4j.Level
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.ugli.ULogger
 
warn(Object) - Method in class org.apache.ugli.impl.SimpleLogger
A simple implementation which always logs messages of level WARN according to the format outlined above.
warn(Object) - Method in class org.apache.ugli.impl.NOPLogger
 
warn(Object) - Method in class org.apache.ugli.impl.JDK14Logger
 
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.ugli.ULogger
 
warn(Object, Object) - Method in class org.apache.ugli.impl.SimpleLogger
Perform single parameter substituion before logging the message of level WARN according to the format outlined above.
warn(Object, Object) - Method in class org.apache.ugli.impl.NOPLogger
 
warn(Object, Object) - Method in class org.apache.ugli.impl.JDK14Logger
 
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.ugli.ULogger
 
warn(Object, Throwable) - Method in class org.apache.ugli.impl.SimpleLogger
Log a message of level WARN, including an exception.
warn(Object, Throwable) - Method in class org.apache.ugli.impl.NOPLogger
 
warn(Object, Throwable) - Method in class org.apache.ugli.impl.JDK14Logger
 
warn(String) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. This method is used to output log4j internal warning statements.
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.ugli.ULogger
 
warn(String, Object, Object) - Method in class org.apache.ugli.impl.SimpleLogger
Perform double parameter substituion before logging the message of level WARN according to the format outlined above.
warn(String, Object, Object) - Method in class org.apache.ugli.impl.NOPLogger
 
warn(String, Object, Object) - Method in class org.apache.ugli.impl.JDK14Logger
 
warn(String, Throwable) - Static method in class org.apache.log4j.helpers.LogLog
Deprecated. This method is used to output log4j internal warnings.
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(char[], int, int) - Method in class org.apache.log4j.helpers.SyslogWriter
 
write(String) - Method in class org.apache.log4j.helpers.SyslogWriter
 
writeFooter() - Method in class org.apache.log4j.WriterAppender
Write a footer as produced by the embedded layout's Layout.getFooter() method.
writeHeader() - Method in class org.apache.log4j.WriterAppender
Write a header as produced by the embedded layout's Layout.getHeader() method.
writer - Variable in class org.apache.log4j.WriterAppender
This is the Writer where we will write to.
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
This 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
 
xreset() - Method in class org.apache.log4j.WriterAppender
Deprecated. Use WriterAppender.closeWriter() method instead.

Z

ZIP - Static variable in class org.apache.log4j.rolling.helper.Compress
 
ZIP_STR - Static variable in class org.apache.log4j.rolling.helper.Compress
String constant representing compression in the ZIP format.
ZIPCompress(String) - Method in class org.apache.log4j.rolling.helper.Compress
 
ZIPCompress(String, String) - Method in class org.apache.log4j.rolling.helper.Compress
 

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

Copyright 2000-2005 Apache Software Foundation.