A C D E F G H I J K L M N O P R S T U W X Z 

A

ABSOLUTE_FORMAT - Static variable in interface org.apache.log4j.component.helpers.Constants
ABSOLUTE string literal.
ABSOLUTE_TIME_PATTERN - Static variable in interface org.apache.log4j.component.helpers.Constants
SimpleTimePattern for ABSOLUTE.
AbstractRule - Class in org.apache.log4j.rule
An abstract Rule class that provides the PropertyChange support plumbing.
AbstractRule() - Constructor for class org.apache.log4j.rule.AbstractRule
 
Action - Interface in org.apache.log4j.rolling.helper
The Action interface should be implemented by any class that performs file system actions for RollingFileAppenders after the close of the active log file.
ActionBase - Class in org.apache.log4j.rolling.helper
Abstract base class for implementations of Action.
ActionBase() - Constructor for class org.apache.log4j.rolling.helper.ActionBase
Constructor.
activateOptions() - Method in class org.apache.log4j.DBAppender
 
activateOptions() - Method in class org.apache.log4j.extras.SoundAppender
Attempt to initialize the appender by creating a reference to an AudioClip.
activateOptions() - Method in class org.apache.log4j.extras.XSLTLayout
activateOptions() - Method in class org.apache.log4j.filter.AndFilter
 
activateOptions() - Method in class org.apache.log4j.filter.ExpressionFilter
activateOptions() - Method in class org.apache.log4j.filter.LocationInfoFilter
activateOptions() - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
activateOptions() - Method in class org.apache.log4j.receivers.db.DataSourceConnectionSource
 
activateOptions() - Method in class org.apache.log4j.receivers.db.DBReceiver
 
activateOptions() - Method in class org.apache.log4j.receivers.db.DriverManagerConnectionSource
 
activateOptions() - Method in class org.apache.log4j.receivers.db.JNDIConnectionSource
 
activateOptions() - Method in class org.apache.log4j.receivers.net.JMSReceiver
Starts the JMSReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.receivers.net.MulticastAppender
Open the multicast sender for the RemoteHost and Port.
activateOptions() - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
activateOptions() - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
Starts the SocketReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.receivers.net.SocketReceiver
Starts the SocketReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.receivers.net.UDPAppender
Open the UDP sender for the RemoteHost and Port.
activateOptions() - Method in class org.apache.log4j.receivers.net.UDPReceiver
Returns true if this receiver is active.
activateOptions() - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
Starts the SocketReceiver with the current options.
activateOptions() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Read and process the log file.
activateOptions() - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
Process the file
activateOptions() - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicy
 
activateOptions() - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
activateOptions() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
activateOptions() - Method in class org.apache.log4j.rolling.RollingFileAppender
Prepare instance of use.
activateOptions() - Method in class org.apache.log4j.rolling.RollingPolicyBase
activateOptions() - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Prepares policy for use.
activateOptions() - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
Prepares instance of use.
activateOptions() - Method in class org.apache.log4j.varia.SoundAppender
Attempt to initialize the appender by creating a reference to an AudioClip.
activateOptions() - Method in class org.apache.log4j.xml.XSLTLayout
active - Variable in class org.apache.log4j.component.plugins.PluginSkeleton
Active state of plugin.
active - Variable in class org.apache.log4j.receivers.net.SocketHubReceiver
Active.
activeFileName - Variable in class org.apache.log4j.rolling.RollingPolicyBase
Active file name may be null.
addAppender(Appender) - Method in class org.apache.log4j.receivers.rewrite.RewriteAppender
Add appender.
addErrorItem(ErrorItem) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Errors which cannot be logged, go to the error list.
addErrorItem(ErrorItem) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Add an error item to the list of previously encountered errors.
addFilter(Filter) - Method in class org.apache.log4j.filter.AndFilter
 
addFilter(Filter) - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
Add a filter to end of the filter list.
addHierarchyEventListener(HierarchyEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Deprecated.
Superceded by addLoggerEventListener
addLoggerEventListener(LoggerEventListener) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Add a LoggerEventListener to the repository.
addLoggerEventListener(LoggerEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Add a LoggerEventListener to the repository.
addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Add a LoggerRepositoryEventListener to the repository.
addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Add a LoggerRepositoryEventListener to the repository.
addPlugin(Plugin) - Method in class org.apache.log4j.component.plugins.PluginRegistry
Adds a plugin to the plugin registry.
addPluginListener(PluginListener) - Method in class org.apache.log4j.component.plugins.PluginRegistry
Adds a PluginListener to this registry to be notified of PluginEvents.
addPropertyChangeListener(String, PropertyChangeListener) - Method in interface org.apache.log4j.component.plugins.Plugin
Adds a PropertyChangeListener to this instance which is notified only by changes of the property with name propertyName.
addPropertyChangeListener(PropertyChangeListener) - Method in interface org.apache.log4j.component.plugins.Plugin
Adds a PropertyChangeListener that will be notified of all property changes.
addPropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Add property change listener.
addPropertyChangeListener(String, PropertyChangeListener) - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Add property change listener for one property only.
addPropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.rule.AbstractRule
Add property change listener.
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.
AddressBased - Interface in org.apache.log4j.receivers.net
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.receivers.net.SocketHubReceiver
Adds a SocketNodeEventListener to this receiver to be notified of SocketNode events.
addSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.receivers.net.SocketNode13
Adds the listener to the list of listeners to be notified of the respective event.
addSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.receivers.net.SocketReceiver
Adds the listener to the list of listeners to be notified of the respective event.
addTriggeringPolicy(TriggeringPolicy) - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicy
Add triggering policy
AndFilter - Class in org.apache.log4j.filter
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 in org.apache.log4j.rule
A Rule class implementing a logical 'and'.
append(LoggingEvent) - Method in class org.apache.log4j.DBAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.extras.SoundAppender
Play the sound if an event is being processed
append(LoggingEvent) - Method in class org.apache.log4j.receivers.net.MulticastAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.receivers.net.UDPAppender
 
append(LoggingEvent) - Method in class org.apache.log4j.receivers.rewrite.RewriteAppender
append(LoggingEvent) - Method in class org.apache.log4j.receivers.varia.ListModelAppender
append(LoggingEvent) - Method in class org.apache.log4j.varia.SoundAppender
Play the sound if an event is being processed
appenderAddedEvent(Logger, Appender) - Method in interface org.apache.log4j.component.spi.LoggerEventListener
Called when an appender is added to the logger.
appenderRemovedEvent(Logger, Appender) - Method in interface org.apache.log4j.component.spi.LoggerEventListener
Called when an appender is removed from the logger.
APPLICATION_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
application string literal.
applyFields(String, LoggingEvent) - Method in class org.apache.log4j.spi.LoggingEventFieldResolver
Apply fields.

C

changePeriod(Job, long) - Method in class org.apache.log4j.component.scheduler.Scheduler
Change the period of a job.
CLASS_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
CLASS string literal.
cleanUp() - Method in class org.apache.log4j.receivers.net.MulticastAppender
Close the Socket and release the underlying connector thread if it has been created
cleanUp() - Method in class org.apache.log4j.receivers.net.UDPAppender
Close the UDP Socket and release the underlying connector thread if it has been created
clearFilters() - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
Clear the filters chain.
clearModel() - Method in class org.apache.log4j.receivers.varia.ListModelAppender
Removes all the Events from the model.
close() - Method in class org.apache.log4j.DBAppender
 
close() - Method in class org.apache.log4j.extras.SoundAppender
 
close() - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
close() - Method in class org.apache.log4j.receivers.net.MulticastAppender
Close this appender.
close() - Method in class org.apache.log4j.receivers.net.SocketNode13
Close the node and underlying socket
close() - Method in class org.apache.log4j.receivers.net.UDPAppender
Close this appender.
close() - Method in class org.apache.log4j.receivers.rewrite.RewriteAppender
Close this AsyncAppender by interrupting the dispatcher thread which will process all pending events before exiting.
close() - Method in class org.apache.log4j.receivers.varia.ListModelAppender
close() - Method in interface org.apache.log4j.rolling.helper.Action
Cancels the action if not already initialized or waits till completion.
close() - Method in class org.apache.log4j.rolling.helper.ActionBase
Cancels the action if not already initialized or waits till completion.
close() - Method in class org.apache.log4j.rolling.RollingFileAppender
Close appender.
close() - Method in class org.apache.log4j.varia.SoundAppender
 
closeConnection(Connection) - Static method in class org.apache.log4j.receivers.db.DBHelper
 
closeStatement(Statement) - Static method in class org.apache.log4j.receivers.db.DBHelper
 
CODES_HREF - Static variable in interface org.apache.log4j.component.helpers.Constants
Codes URL string literal.
ColorRule - Class in org.apache.log4j.rule
A Rule class which also holds a color.
ColorRule(String, Rule, Color, Color) - Constructor for class org.apache.log4j.rule.ColorRule
Create new instance.
Component - Interface in org.apache.log4j.component.spi
A common interface shared by log4j components.
ComponentBase - Class in org.apache.log4j.component.spi
Most log4j components derive from this class.
ComponentBase() - Constructor for class org.apache.log4j.component.spi.ComponentBase
Construct a new instance.
CompositeAction - Class in org.apache.log4j.rolling.helper
A group of Actions to be executed in sequence.
CompositeAction(List, boolean) - Constructor for class org.apache.log4j.rolling.helper.CompositeAction
Construct a new composite action.
CompositeTriggeringPolicy - Class in org.apache.log4j.rolling
CompositeTriggeringPolicy determines if rolling should be triggered by evaluating the current event against a set of triggering policies.
CompositeTriggeringPolicy() - Constructor for class org.apache.log4j.rolling.CompositeTriggeringPolicy
 
computeReferenceMask(LoggingEvent) - Static method in class org.apache.log4j.receivers.db.DBHelper
 
CONFIG - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
CONFIG.
CONFIG - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
CONFIG.
CONFIG_INT - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
Numerical value for CONFIG.
CONFIG_INT - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Numerical value for CONFIG.
configurationChangedEvent(LoggerRepository) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEventListener
Called when the repository configuration is changed.
configurationResetEvent(LoggerRepository) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEventListener
Called when the repository configuration is reset.
CONFIGURATOR_CLASS_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
log4j.configuratorClass string literal.
configure(Element) - Static method in class org.apache.log4j.extras.DOMConfigurator
Configure log4j using a configuration element as defined in the log4j.dtd.
configure(String) - Static method in class org.apache.log4j.extras.DOMConfigurator
configure(URL) - Static method in class org.apache.log4j.extras.DOMConfigurator
configureAndWatch(String) - Static method in class org.apache.log4j.extras.DOMConfigurator
Like DOMConfigurator.configureAndWatch(String, long) except that the default delay as defined by FileWatchdog.DEFAULT_DELAY is used.
configureAndWatch(String, long) - Static method in class org.apache.log4j.extras.DOMConfigurator
Read the configuration file configFilename if it exists.
connection - Variable in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
ConnectionSource - Interface in org.apache.log4j.receivers.db
The ConnectionSource interface provides a pluggable means of transparently obtaining JDBC Connections for log4j classes that require the use of a Connection.
ConnectionSourceSkeleton - Class in org.apache.log4j.receivers.db
 
ConnectionSourceSkeleton() - Constructor for class org.apache.log4j.receivers.db.ConnectionSourceSkeleton
 
connector - Variable in class org.apache.log4j.receivers.net.SocketHubReceiver
Connector.
Constants - Interface in org.apache.log4j.component.helpers
Constants used internally throughout log4j.
convert(String) - Method in class org.apache.log4j.rule.InFixToPostFix
Convert in-fix expression to post-fix.
createPattern() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
 
createWriter(OutputStream) - Method in class org.apache.log4j.rolling.RollingFileAppender
Returns an OutputStreamWriter when passed an OutputStream.
CustomSQLDBReceiver - Class in org.apache.log4j.receivers.db
Converts log data stored in a database into LoggingEvents.
CustomSQLDBReceiver() - Constructor for class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 

D

DataSourceConnectionSource - Class in org.apache.log4j.receivers.db
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.receivers.db.DataSourceConnectionSource
 
DATE_AND_TIME_FORMAT - Static variable in interface org.apache.log4j.component.helpers.Constants
DATE string literal.
DATE_AND_TIME_PATTERN - Static variable in interface org.apache.log4j.component.helpers.Constants
SimpleTimePattern for DATE.
DBAppender - Class in org.apache.log4j
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.DBAppender
 
DBHelper - Class in org.apache.log4j.receivers.db
 
DBHelper() - Constructor for class org.apache.log4j.receivers.db.DBHelper
 
DBReceiver - Class in org.apache.log4j.receivers.db
 
DBReceiver() - Constructor for class org.apache.log4j.receivers.db.DBReceiver
 
debug(Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a message object with the DEBUG level.
debug(Object, Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a parameterized message object at the DEBUG level.
debug(String, Object, Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a parameterized message object at the DEBUG level.
debug(Object, Throwable) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a message object with the DEBUG level including the stack trace of the Throwablet passed as parameter.
debug(Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a message object with the DEBUG level.
debug(Object, Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a parameterized message object at the DEBUG level.
debug(String, Object, Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a parameterized message object at the DEBUG level.
debug(Object, Throwable) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a message object with the DEBUG level including the stack trace of the Throwablet passed as parameter.
debug(Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a message object with the DEBUG level.
debug(Object, Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a parameterized message object at the DEBUG level.
debug(String, Object, Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a parameterized message object at the DEBUG level.
debug(Object, Throwable) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a message object with the DEBUG level including the stack trace of the Throwablet passed as parameter.
debug(Object) - Method in interface org.apache.log4j.component.ULogger
Log a message object with the DEBUG level.
debug(Object, Object) - Method in interface org.apache.log4j.component.ULogger
Log a parameterized message object at the DEBUG level.
debug(String, Object, Object) - Method in interface org.apache.log4j.component.ULogger
Log a parameterized message object at the DEBUG level.
debug(Object, Throwable) - Method in interface org.apache.log4j.component.ULogger
Log a message object with the DEBUG level including the stack trace of the Throwablet passed as 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.filter.DenyAllFilter
Always returns the integer constant Filter.DENY regardless of the LoggingEvent parameter.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.ExpressionFilter
Determines if event matches the 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.LevelRangeFilter
Return the decision of this filter.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.LocationInfoFilter
If this event does not already contain location information, evaluate the event against the expression.
decide(LoggingEvent) - Method in class org.apache.log4j.filter.LoggerMatchFilter
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.TimeFilter
decode(String) - Method in interface org.apache.log4j.receivers.spi.Decoder
Decode event from string.
decode(URL) - Method in interface org.apache.log4j.receivers.spi.Decoder
Decode event from document retreived from URL.
decode(URL) - Method in class org.apache.log4j.receivers.xml.UtilLoggingXMLDecoder
Decodes a File into a Vector of LoggingEvents.
decode(String) - Method in class org.apache.log4j.receivers.xml.UtilLoggingXMLDecoder
Converts the string data into an XML Document, and then soaks out the relevant bits to form a new LoggingEvent instance which can be used by any Log4j element locally.
decode(URL) - Method in class org.apache.log4j.receivers.xml.XMLDecoder
Decodes a File into a Vector of LoggingEvents.
decode(String) - Method in class org.apache.log4j.receivers.xml.XMLDecoder
Converts the string data into an XML Document, and then soaks out the relevant bits to form a new LoggingEvent instance which can be used by any Log4j element locally.
decodeEvents(String) - Method in interface org.apache.log4j.receivers.spi.Decoder
Decode events from document.
decodeEvents(String) - Method in class org.apache.log4j.receivers.xml.UtilLoggingXMLDecoder
Decodes a String representing a number of events into a Vector of LoggingEvents.
decodeEvents(String) - Method in class org.apache.log4j.receivers.xml.XMLDecoder
Decodes a String representing a number of events into a Vector of LoggingEvents.
decoder - Variable in class org.apache.log4j.receivers.net.XMLSocketReceiver
 
Decoder - Interface in org.apache.log4j.receivers.spi
Allow LoggingEvents to be reconstructed from a different format (usually XML).
DEFAULT_CONFIGURATION_FILE - Static variable in interface org.apache.log4j.component.helpers.Constants
The default property file name for automatic configuration.
DEFAULT_CONFIGURATION_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
log4j.configuration string literal.
DEFAULT_PORT - Static variable in class org.apache.log4j.receivers.net.UDPAppender
The default port number for the UDP packets, 9991.
DEFAULT_PORT - Static variable in class org.apache.log4j.receivers.net.XMLSocketReceiver
 
DEFAULT_REPOSITORY_NAME - Static variable in interface org.apache.log4j.component.helpers.Constants
The name of the default repository is "default" (without the quotes).
DEFAULT_XML_CONFIGURATION_FILE - Static variable in interface org.apache.log4j.component.helpers.Constants
The default XML configuration file name for automatic configuration.
delete(Job) - Method in class org.apache.log4j.component.scheduler.Scheduler
Delete the given job.
DenyAllFilter - Class in org.apache.log4j.filter
This filter drops all logging events.
DenyAllFilter() - Constructor for class org.apache.log4j.filter.DenyAllFilter
 
discoverConnnectionProperties() - Method in class org.apache.log4j.receivers.db.ConnectionSourceSkeleton
Learn relevant information about this connection source.
discoverSQLDialect(DatabaseMetaData) - Static method in class org.apache.log4j.receivers.db.dialect.Util
 
doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.extras.DOMConfigurator
 
doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.extras.DOMConfigurator
 
doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.extras.DOMConfigurator
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
doConfigure(Reader, LoggerRepository) - Method in class org.apache.log4j.extras.DOMConfigurator
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
doConfigure(InputSource, LoggerRepository) - Method in class org.apache.log4j.extras.DOMConfigurator
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
doConfigure(Element, LoggerRepository) - Method in class org.apache.log4j.extras.DOMConfigurator
Configure by taking in an DOM element.
DOMConfigurator - Class in org.apache.log4j.extras
This is a duplicate (with minor modifications) of the log4j 1.2.15 DOMConfigurator renamed for use with earlier versions of log4j.
DOMConfigurator() - Constructor for class org.apache.log4j.extras.DOMConfigurator
No argument constructor.
doPost(LoggingEvent) - Method in class org.apache.log4j.component.plugins.Receiver
Posts the logging event to a logger in the configured logger repository.
doPost(LoggingEvent) - Method in class org.apache.log4j.receivers.net.SocketReceiver
Posts the logging event to a logger in the configured logger repository.
doPost(LoggingEvent) - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
 
DriverManagerConnectionSource - Class in org.apache.log4j.receivers.db
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.receivers.db.DriverManagerConnectionSource
 
dump() - Method in class org.apache.log4j.component.spi.ErrorItem
Dump the details of this ErrorItem to System.out.
dump(PrintStream) - Method in class org.apache.log4j.component.spi.ErrorItem
Dump the details of this ErrorItem on the specified PrintStream.

E

emitNoAppenderWarning(Category) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Issue warning that there are no appenders in hierarchy.
EMPTY_STRING - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
empty string literal.
EqualsRule - Class in org.apache.log4j.rule
A Rule class which returns the result of performing equals against two strings.
error(Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a message object with the ERROR level.
error(Object, Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a parameterized message object at the ERROR level.
error(String, Object, Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a parameterized message object at the ERROR level.
error(Object, Throwable) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a message object with the ERROR level including the stack trace of the Throwablet passed as parameter.
error(Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a message object with the ERROR level.
error(Object, Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a parameterized message object at the ERROR level.
error(String, Object, Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a parameterized message object at the ERROR level.
error(Object, Throwable) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a message object with the ERROR level including the stack trace of the Throwablet passed as parameter.
error(Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a message object with the ERROR level.
error(Object, Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a parameterized message object at the ERROR level.
error(String, Object, Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a parameterized message object at the ERROR level.
error(Object, Throwable) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a message object with the ERROR level including the stack trace of the Throwablet passed as parameter.
error(Object) - Method in interface org.apache.log4j.component.ULogger
Log a message object with the ERROR level.
error(Object, Object) - Method in interface org.apache.log4j.component.ULogger
Log a parameterized message object at the ERROR level.
error(String, Object, Object) - Method in interface org.apache.log4j.component.ULogger
Log a parameterized message object at the ERROR level.
error(Object, Throwable) - Method in interface org.apache.log4j.component.ULogger
Log a message object with the ERROR level including the stack trace of the Throwablet passed as parameter.
ErrorItem - Class in org.apache.log4j.component.spi
Used to store special log4j errors which cannot be logged using internal logging.
ErrorItem(String, Exception) - Constructor for class org.apache.log4j.component.spi.ErrorItem
Create new instance.
ErrorItem(String) - Constructor for class org.apache.log4j.component.spi.ErrorItem
Creaet new instance.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.AndRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.ColorRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.EqualsRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.ExistsRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.ExpressionRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.InequalityRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.LevelEqualsRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.LikeRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.NotEqualsRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.NotLevelEqualsRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.NotRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.OrRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.PartialTextMatchRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - 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, Map) - Method in class org.apache.log4j.rule.TimestampEqualsRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
evaluate(LoggingEvent, Map) - Method in class org.apache.log4j.rule.TimestampInequalityRule
Returns true if this implementation of the rule accepts the LoggingEvent, or false if not.
EXCEPTION_EXISTS - Static variable in class org.apache.log4j.receivers.db.DBHelper
 
EXCEPTION_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
EXCEPTION string literal.
execute() - Method in interface org.apache.log4j.component.scheduler.Job
Execute job.
execute() - Method in interface org.apache.log4j.rolling.helper.Action
Perform an action.
execute() - Method in class org.apache.log4j.rolling.helper.ActionBase
Perform action.
execute() - Method in class org.apache.log4j.rolling.helper.CompositeAction
Execute sequence of actions.
execute() - Method in class org.apache.log4j.rolling.helper.FileRenameAction
Rename file.
execute(File, File, boolean) - Static method in class org.apache.log4j.rolling.helper.FileRenameAction
Rename file.
execute() - Method in class org.apache.log4j.rolling.helper.GZCompressAction
Compress.
execute(File, File, boolean) - Static method in class org.apache.log4j.rolling.helper.GZCompressAction
Compress a file.
execute() - Method in class org.apache.log4j.rolling.helper.ZipCompressAction
Compress.
execute(File, File, boolean) - Static method in class org.apache.log4j.rolling.helper.ZipCompressAction
Compress a file.
exists(String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Check if the named logger exists in the hierarchy.
ExistsRule - Class in org.apache.log4j.rule
A Rule class implementing a not null (and not empty string) check.
ExpressionFilter - Class in org.apache.log4j.filter
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 in org.apache.log4j.rule
A Rule class supporting both infix and postfix expressions, accepting any rule which is supported by the RuleFactory.
ExtrasFormattingInfo - Class in org.apache.log4j.pattern
Modifies the output of a pattern converter for a specified minimum and maximum width and alignment.
ExtrasFormattingInfo(boolean, int, int) - Constructor for class org.apache.log4j.pattern.ExtrasFormattingInfo
Deprecated.
since 1.2.17
ExtrasFormattingInfo(boolean, boolean, int, int) - Constructor for class org.apache.log4j.pattern.ExtrasFormattingInfo
Creates new instance.
ExtrasPatternParser - Class in org.apache.log4j.pattern
Most of the work of the EnhancedPatternLayout class is delegated to the ExtrasPatternParser class.

F

FILE_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
FILE string literal.
FileRenameAction - Class in org.apache.log4j.rolling.helper
File rename action.
FileRenameAction(File, File, boolean) - Constructor for class org.apache.log4j.rolling.helper.FileRenameAction
Creates an FileRenameAction.
FilterBasedTriggeringPolicy - Class in org.apache.log4j.rolling
FilterBasedTriggeringPolicy determines if rolling should be triggered by evaluating the current message against a set of filters.
FilterBasedTriggeringPolicy() - Constructor for class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
Creates a new FilterBasedTriggeringPolicy.
finalize() - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
findAppenderByName(Document, String) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to parse appenders by IDREF name.
findAppenderByReference(Element) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to parse appenders by IDREF element.
FINE - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
FINE.
FINE - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
FINE.
FINE_INT - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
Numerical value for FINE.
FINE_INT - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Numerical value for FINE.
FINER - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
FINER.
FINER - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
FINER.
FINER_INT - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
Numerical value for FINER.
FINER_INT - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Numerical value for FINER.
FINEST - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
FINEST.
FINEST - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
FINEST.
FINEST_INT - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
Numerical value for FINEST.
FINEST_INT - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Numerical value for FINEST.
fireAddAppenderEvent(Category, Appender) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Requests that a appender added event be sent to any registered LoggerEventListener.
fireConfigurationChangedEvent() - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Requests that a configuration changed event be sent to any registered LoggerRepositoryEventListener.
fireConfigurationChangedEvent() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Requests that a configuration changed event be sent to any registered LoggerRepositoryEventListener.
fireLevelChangedEvent(Logger) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Requests that a level changed event be sent to any registered LoggerEventListener.
fireLevelChangedEvent(Logger) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Requests that a level changed event be sent to any registered LoggerEventListener.
firePropertyChange(PropertyChangeEvent) - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Fire a property change event to appropriate listeners.
firePropertyChange(String, boolean, boolean) - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Fire property change event to appropriate listeners.
firePropertyChange(String, int, int) - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Fire property change event to appropriate listeners.
firePropertyChange(String, Object, Object) - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Fire property change event to appropriate listeners.
firePropertyChange(String, Object, Object) - Method in class org.apache.log4j.rule.AbstractRule
Send property change notification to attached listeners.
firePropertyChange(PropertyChangeEvent) - Method in class org.apache.log4j.rule.AbstractRule
Send property change notification to attached listeners.
fireRemoveAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Requests that a appender removed event be sent to any registered LoggerEventListener.
fireRemoveAppenderEvent(Category, Appender) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Requests that a appender removed event be sent to any registered LoggerEventListener.
FixedWindowRollingPolicy - Class in org.apache.log4j.rolling
When rolling over, FixedWindowRollingPolicy renames files according to a fixed window algorithm as described below.
FixedWindowRollingPolicy() - Constructor for class org.apache.log4j.rolling.FixedWindowRollingPolicy
Constructs a new instance.
format(String, Object) - Static method in class org.apache.log4j.component.helpers.MessageFormatter
Performs single argument substitution for the 'messagePattern' passed as parameter.
format(String, Object, Object) - Static method in class org.apache.log4j.component.helpers.MessageFormatter
/** Performs a two argument substitution for the 'messagePattern' passed as parameter.
format(LoggingEvent) - Method in class org.apache.log4j.extras.XSLTLayout
format(int, StringBuffer) - Method in class org.apache.log4j.pattern.ExtrasFormattingInfo
Adjust the content of the buffer based on the specified lengths and alignment.
format(LoggingEvent) - Method in class org.apache.log4j.xml.XSLTLayout
formatFileName(Object, StringBuffer) - Method in class org.apache.log4j.rolling.RollingPolicyBase
Format file name.

G

getAcceptOnMatch() - Method in class org.apache.log4j.filter.ExpressionFilter
Gets whether filter accepts matching or non-matching events.
getAcceptOnMatch() - Method in class org.apache.log4j.filter.LevelMatchFilter
 
getAcceptOnMatch() - Method in class org.apache.log4j.filter.LevelRangeFilter
Get the value of the AcceptOnMatch option.
getAcceptOnMatch() - Method in class org.apache.log4j.filter.LoggerMatchFilter
Gets whether a match should result in acceptance.
getAcceptOnMatch() - Method in class org.apache.log4j.filter.StringMatchFilter
 
getAcceptOnMatch() - Method in class org.apache.log4j.filter.TimeFilter
Gets whether an event within the timespan should be accepted or denied.
getActiveFileName() - Method in class org.apache.log4j.rolling.RollingPolicyBase
Deprecated.
Duplicates FileAppender.file and should be removed
getActiveFileName() - Method in interface org.apache.log4j.rolling.RolloverDescription
Active log file name after rollover.
getActiveFileName() - Method in class org.apache.log4j.rolling.RolloverDescriptionImpl
Active log file name after rollover.
getAddress() - Method in interface org.apache.log4j.receivers.net.AddressBased
Returns a String representation of the Address this instance encompasses.
getAddress() - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
getAllAppenders() - Method in class org.apache.log4j.receivers.rewrite.RewriteAppender
Get iterator over attached appenders.
getAllPossibleLevels() - Static method in class org.apache.log4j.extras.UtilLoggingLevel
Gets list of supported levels.
getAllPossibleLevels() - Static method in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Gets list of supported levels.
getAppend() - Method in interface org.apache.log4j.rolling.RolloverDescription
Specifies if active file should be opened for appending.
getAppend() - Method in class org.apache.log4j.rolling.RolloverDescriptionImpl
Specifies if active file should be opened for appending.
getAppender(String) - Method in class org.apache.log4j.receivers.rewrite.RewriteAppender
Get appender by name.
getApplication() - Method in class org.apache.log4j.receivers.net.MulticastAppender
Returns value of the App option.
getApplication() - Method in class org.apache.log4j.receivers.net.UDPAppender
Returns value of the App option.
getAsynchronous() - Method in interface org.apache.log4j.rolling.RolloverDescription
Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.
getAsynchronous() - Method in class org.apache.log4j.rolling.RolloverDescriptionImpl
Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.
getAudioURL() - Method in class org.apache.log4j.extras.SoundAppender
Accessor
getAudioURL() - Method in class org.apache.log4j.varia.SoundAppender
Accessor
getBackgroundColor() - Method in class org.apache.log4j.rule.ColorRule
Get background color.
getColNumber() - Method in class org.apache.log4j.component.spi.ErrorItem
Get column number.
getConnectedSocketDetails() - Method in class org.apache.log4j.receivers.net.SocketReceiver
Returns a Vector of SocketDetail representing the IP/Domain name of the currently connected sockets that this receiver has been responsible for creating.
getConnection() - Method in interface org.apache.log4j.receivers.db.ConnectionSource
Obtain a Connection for use.
getConnection() - Method in class org.apache.log4j.receivers.db.DataSourceConnectionSource
 
getConnection() - Method in class org.apache.log4j.receivers.db.DriverManagerConnectionSource
 
getConnection() - Method in class org.apache.log4j.receivers.db.JNDIConnectionSource
 
getConnectionSource() - Method in class org.apache.log4j.DBAppender
 
getConnectionSource() - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
getConnectionSource() - Method in class org.apache.log4j.receivers.db.DBReceiver
 
getContentType() - Method in class org.apache.log4j.extras.XSLTLayout
getContentType() - Method in class org.apache.log4j.xml.XSLTLayout
getConvertInFixToPostFix() - Method in class org.apache.log4j.filter.ExpressionFilter
Get in-fix to post-fix conversion setting.
getConvertInFixToPostFix() - Method in class org.apache.log4j.filter.LocationInfoFilter
Set whether in-fix expressions should be converted to post-fix.
getCurrentCategories() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Deprecated.
getCurrentLoggers() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Returns all the currently defined categories in this hierarchy as an Enumeration.
getCustomLevelDefinitions() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
 
getDataSource() - Method in class org.apache.log4j.receivers.db.DataSourceConnectionSource
 
getDatePatternConverter() - Method in class org.apache.log4j.rolling.RollingPolicyBase
 
getDecoder() - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
getDecoder() - Method in class org.apache.log4j.receivers.net.UDPReceiver
 
getDecoder() - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
 
getDecoder() - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
Accessor
getDefault() - Static method in class org.apache.log4j.pattern.ExtrasFormattingInfo
Gets default instance.
getDialectFromCode(int) - Static method in class org.apache.log4j.receivers.db.dialect.Util
 
getDriverClass() - Method in class org.apache.log4j.receivers.db.DriverManagerConnectionSource
Returns the name of the driver class.
getEncoding() - Method in class org.apache.log4j.receivers.net.MulticastAppender
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.receivers.net.MulticastReceiver
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.receivers.net.UDPAppender
Returns value of the Encoding option.
getEncoding() - Method in class org.apache.log4j.receivers.net.UDPReceiver
Returns value of the Encoding option.
getErrorList() - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Errors which cannot be logged, go to the error list.
getErrorList() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Return the the list of previously encoutered error items.
getException() - Method in class org.apache.log4j.component.spi.ErrorItem
Get exception.
getExpression() - Method in class org.apache.log4j.filter.ExpressionFilter
Get expression.
getExpression() - Method in class org.apache.log4j.filter.LocationInfoFilter
Get expression.
getExpression() - Method in class org.apache.log4j.rule.ColorRule
Get expression.
getFileLength() - Method in class org.apache.log4j.rolling.RollingFileAppender
Get byte length of current active log file.
getFileNamePattern() - Method in class org.apache.log4j.rolling.RollingPolicyBase
Get file name pattern.
getFileNamePatternRules() - Static method in class org.apache.log4j.pattern.ExtrasPatternParser
Get standard format specifiers for rolling file appender file specification.
getFileURL() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Accessor
getFileURL() - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
Accessor
getFilter() - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
Returns the head Filter.
getFilterExpression() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Accessor
getFilterExpression() - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
Accessor
getForegroundColor() - Method in class org.apache.log4j.rule.ColorRule
Get foreground color.
getHost() - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
Get the remote host to connect to for logging events.
getIDField() - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
getInstance() - Static method in class org.apache.log4j.rule.RuleFactory
Get instance.
getInstance() - Static method in class org.apache.log4j.spi.LoggingEventFieldResolver
Get singleton instance.
getIntegerPatternConverter() - Method in class org.apache.log4j.rolling.RollingPolicyBase
 
getJndiLocation() - Method in class org.apache.log4j.receivers.db.JNDIConnectionSource
Returns the jndiLocation.
getJndiPath() - Method in class org.apache.log4j.receivers.net.JMSReceiver
Gets the path to a properties file containing the initial context and jndi provider url
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.component.spi.ErrorItem
Get line number.
getListener() - Method in class org.apache.log4j.receivers.net.SocketReceiver
Deprecated.
This receiver now supports multiple listeners
getLocationInfo() - Method in class org.apache.log4j.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.extras.XSLTLayout
Gets whether location info should be output.
getLocationInfo() - Method in class org.apache.log4j.receivers.net.MulticastAppender
Returns value of the LocationInfo option.
getLocationInfo() - Method in class org.apache.log4j.xml.XSLTLayout
Gets whether location info should be output.
getLogFormat() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Accessor
getLogger() - Method in class org.apache.log4j.component.spi.ComponentBase
Return an instance specific logger to be used by the component itself.
getLogger(String) - Static method in class org.apache.log4j.component.spi.NOPULogger
Get instance.
getLogger(String) - Static method in class org.apache.log4j.component.spi.SimpleULogger
Creates a new instance.
getLogger(String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Return a new logger instance named as the first parameter using the default factory.
getLogger(String, LoggerFactory) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Return a new logger instance named as the first parameter using factory.
getLoggerFactory() - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Returns the logger factory used by LoggerRepository.getLogger(String).
getLoggerFactory() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get logger factory.
getLoggerRepository() - Method in interface org.apache.log4j.component.plugins.Plugin
Gets the logger repository for this plugin.
getLoggerRepository() - Method in class org.apache.log4j.component.plugins.PluginRegistry
Get logger repository.
getLoggerRepository() - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Gets the logger repository for this plugin.
getLoggerRepository() - Method in class org.apache.log4j.component.spi.ComponentBase
Return the LoggerRepository to which this component is attached.
getLoggerToMatch() - Method in class org.apache.log4j.filter.LoggerMatchFilter
Gets logger name.
getMaxFileSize() - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Gets rollover threshold size in bytes.
getMaxIndex() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Get index of oldest log file to be retained.
getMaxLength() - Method in class org.apache.log4j.pattern.ExtrasFormattingInfo
Get maximum length.
getMessage() - Method in class org.apache.log4j.component.spi.ErrorItem
Get message.
getMinIndex() - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Get index of most recent log file.
getMinLength() - Method in class org.apache.log4j.pattern.ExtrasFormattingInfo
Get minimum length.
getModel() - Method in class org.apache.log4j.receivers.varia.ListModelAppender
Returns a reference to the ListModel that contains all the LoggingEvents that have been appended to this class.
getName() - Method in interface org.apache.log4j.component.plugins.Plugin
Gets the name of the plugin.
getName() - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Gets the name of the plugin.
getName() - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Get the name of this logger repository.
getName() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Return the name of this hierarchy.
getName() - Method in interface org.apache.log4j.receivers.net.NetworkBased
Get name.
getNonFloodingLogger() - Method in class org.apache.log4j.component.spi.ComponentBase
Frequently called methods in log4j components can invoke this method in order to avoid flooding the output when logging lasting error conditions.
getObject(String) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
A LoggerRepository can also act as a store for various objects used by log4j components.
getObject(String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get object by key.
getOptionStrings() - Method in class org.apache.log4j.filter.DenyAllFilter
Deprecated.
We now use JavaBeans introspection to configure components. Options strings are no longer needed.
getOverriddenSupportsGetGeneratedKeys() - Method in class org.apache.log4j.receivers.db.ConnectionSourceSkeleton
Returns the "overridden" value of "supportsGetGeneratedKeys" property of the JDBC driver.
getPassword() - Method in class org.apache.log4j.receivers.db.ConnectionSourceSkeleton
Get the password for this connection source.
getPassword() - Method in class org.apache.log4j.receivers.net.JMSReceiver
Gets the curernt password property.
getPath() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
 
getPatternLayoutRules() - Static method in class org.apache.log4j.pattern.ExtrasPatternParser
Get standard format specifiers for EnhancedPatternLayout.
getPlugin() - Method in class org.apache.log4j.component.plugins.PluginEvent
Returns the source Plugin of this event, which is simple the getSource() method casted to Plugin for convenience.
getPluginRegistry() - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Return the PluginRegisty for this LoggerRepository.
getPluginRegistry() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Return the PluginRegisty for this LoggerRepository.
getPlugins() - Method in class org.apache.log4j.component.plugins.PluginRegistry
Returns all the plugins for a given repository.
getPlugins(Class) - Method in class org.apache.log4j.component.plugins.PluginRegistry
Returns all the plugins for a given repository that are instances of a certain class.
getPort() - Method in class org.apache.log4j.receivers.net.MulticastAppender
Returns value of the Port option.
getPort() - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
getPort() - Method in interface org.apache.log4j.receivers.net.PortBased
Returns the Port # that this net based thing is using.
getPort() - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
Get the remote port to connect to for logging events.
getPort() - Method in class org.apache.log4j.receivers.net.SocketReceiver
 
getPort() - Method in class org.apache.log4j.receivers.net.UDPAppender
Returns value of the Port option.
getPort() - Method in class org.apache.log4j.receivers.net.UDPReceiver
 
getPort() - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
Get the port to receive logging events on.
getProperties() - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Get the properties specific for this repository.
getProperties() - Method in class org.apache.log4j.extras.XSLTLayout
Gets whether MDC key-value pairs should be output.
getProperties() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get the properties specific for this repository.
getProperties() - Method in class org.apache.log4j.xml.XSLTLayout
Gets whether MDC key-value pairs should be output.
getProperty(String) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Get the property of this repository.
getProperty(String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get the property of this repository.
getPropertyDescriptors() - Method in class org.apache.log4j.receivers.net.JMSReceiverBeanInfo
 
getPropertyDescriptors() - Method in class org.apache.log4j.receivers.net.MulticastReceiverBeanInfo
 
getPropertyDescriptors() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiverBeanInfo
 
getReconnectionDelay() - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
Returns value of the ReconnectionDelay option.
getRefreshMillis() - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
getRefreshMillis() - Method in class org.apache.log4j.receivers.db.DBReceiver
 
getRemoteHost() - Method in class org.apache.log4j.receivers.net.MulticastAppender
Returns value of the RemoteHost option.
getRemoteHost() - Method in class org.apache.log4j.receivers.net.UDPAppender
Returns value of the RemoteHost option.
getRendererMap() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get the renderer map for this hierarchy.
getRollingPolicy() - Method in class org.apache.log4j.rolling.RollingFileAppender
Get rolling policy.
getRootLogger() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get the root of this hierarchy.
getRule(Stack) - Static method in class org.apache.log4j.rule.AndRule
Create rule from top two elements of stack.
getRule(Rule, Rule) - Static method in class org.apache.log4j.rule.AndRule
Get rule.
getRule() - Method in class org.apache.log4j.rule.ColorRule
Get rule.
getRule(Stack) - Static method in class org.apache.log4j.rule.EqualsRule
Create new instance from top two elements of stack.
getRule(String, String) - Static method in class org.apache.log4j.rule.EqualsRule
Create new instance.
getRule(String) - Static method in class org.apache.log4j.rule.ExistsRule
Get an instance of ExistsRule.
getRule(Stack) - Static method in class org.apache.log4j.rule.ExistsRule
Create an instance of ExistsRule using the top name on the stack.
getRule(String) - Static method in class org.apache.log4j.rule.ExpressionRule
Get rule.
getRule(String, boolean) - Static method in class org.apache.log4j.rule.ExpressionRule
Get rule.
getRule(String, Stack) - Static method in class org.apache.log4j.rule.InequalityRule
Create new instance from top two elements on stack.
getRule(String, String, String) - Static method in class org.apache.log4j.rule.InequalityRule
Create new instance from top two elements on stack.
getRule(String) - Static method in class org.apache.log4j.rule.LevelEqualsRule
Create new rule.
getRule(String, String) - Static method in class org.apache.log4j.rule.LevelInequalityRule
Create new rule.
getRule(Stack) - Static method in class org.apache.log4j.rule.LikeRule
Create new instance from top two elements of stack.
getRule(String, String) - Static method in class org.apache.log4j.rule.LikeRule
Create new instance.
getRule(String, String) - Static method in class org.apache.log4j.rule.NotEqualsRule
Get new instance.
getRule(Stack) - Static method in class org.apache.log4j.rule.NotEqualsRule
Get new instance from top two elements of stack.
getRule(String) - Static method in class org.apache.log4j.rule.NotLevelEqualsRule
Create new rule.
getRule(Rule) - Static method in class org.apache.log4j.rule.NotRule
Create new instance.
getRule(Stack) - Static method in class org.apache.log4j.rule.NotRule
Create new instance from top element of stack.
getRule(Rule, Rule) - Static method in class org.apache.log4j.rule.OrRule
Create new instance.
getRule(Stack) - Static method in class org.apache.log4j.rule.OrRule
Create new instance from top two elements of stack.
getRule(String, String) - Static method in class org.apache.log4j.rule.PartialTextMatchRule
Create new instance.
getRule(Stack) - Static method in class org.apache.log4j.rule.PartialTextMatchRule
Create new instance from top two elements of stack.
getRule(String, Stack) - Method in class org.apache.log4j.rule.RuleFactory
Create rule from applying operator to stack.
getRule(String) - Static method in class org.apache.log4j.rule.TimestampEqualsRule
Create new instance.
getRule(String, String) - Static method in class org.apache.log4j.rule.TimestampInequalityRule
Create new instance.
getScheduler() - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Return the Scheduler for this LoggerRepository.
getScheduler() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Return this repository's own scheduler.
getSelectInsertId() - Method in class org.apache.log4j.receivers.db.dialect.HSQLDBDialect
 
getSelectInsertId() - Method in class org.apache.log4j.receivers.db.dialect.MsSQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.receivers.db.dialect.MySQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.receivers.db.dialect.OracleDialect
 
getSelectInsertId() - Method in class org.apache.log4j.receivers.db.dialect.PostgreSQLDialect
 
getSelectInsertId() - Method in interface org.apache.log4j.receivers.db.dialect.SQLDialect
 
getSelectInsertId() - Method in class org.apache.log4j.receivers.db.dialect.SybaseDialect
 
getSql() - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
getSQLDialectCode() - Method in interface org.apache.log4j.receivers.db.ConnectionSource
Get the SQL dialect that should be used for this connection.
getSQLDialectCode() - Method in class org.apache.log4j.receivers.db.ConnectionSourceSkeleton
 
getStringToMatch() - Method in class org.apache.log4j.filter.StringMatchFilter
 
getSynchronous() - Method in interface org.apache.log4j.rolling.RolloverDescription
Action to be completed after close of current active log file before returning control to caller.
getSynchronous() - Method in class org.apache.log4j.rolling.RolloverDescriptionImpl
Action to be completed after close of current active log file before returning control to caller.
getThreshold() - Method in class org.apache.log4j.component.plugins.Receiver
Gets the current threshold setting of the receiver.
getThreshold() - Method in interface org.apache.log4j.component.spi.Thresholdable
Gets the current threshold setting of the component.
getThreshold() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Returns the current threshold.
getTimestampFormat() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Accessor
getTimeToLive() - Method in class org.apache.log4j.receivers.net.MulticastAppender
Returns value of the Time to Live option.
getTopicFactoryName() - Method in class org.apache.log4j.receivers.net.JMSReceiver
Gets the curernt JMS topic factory name property.
getTopicName() - Method in class org.apache.log4j.receivers.net.JMSReceiver
Gets the curernt JMS topic name property.
getTriggeringPolicy() - Method in class org.apache.log4j.rolling.RollingFileAppender
Get triggering policy.
getUrl() - Method in class org.apache.log4j.receivers.db.DriverManagerConnectionSource
Returns the url.
getUser() - Method in class org.apache.log4j.receivers.db.ConnectionSourceSkeleton
Get the user for this connection source.
getUserId() - Method in class org.apache.log4j.receivers.net.JMSReceiver
Gets the current user id property.
getValue(String, LoggingEvent) - Method in class org.apache.log4j.spi.LoggingEventFieldResolver
Get value of field.
getWaitMillis() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Accessor
GZCompressAction - Class in org.apache.log4j.rolling.helper
Compresses a file using GZ compression.
GZCompressAction(File, File, boolean) - Constructor for class org.apache.log4j.rolling.helper.GZCompressAction
Create new instance of GZCompressAction.

H

hashCode() - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
 
hasMoreTokens() - Method in class org.apache.log4j.rule.InFixToPostFix.CustomTokenizer
 
host - Variable in class org.apache.log4j.receivers.net.SocketHubReceiver
Host.
HOSTNAME_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
hostname string literal.
HSQL_DIALECT - Static variable in interface org.apache.log4j.receivers.db.ConnectionSource
 
HSQLDBDialect - Class in org.apache.log4j.receivers.db.dialect
The HSQLDB dialect.
HSQLDBDialect() - Constructor for class org.apache.log4j.receivers.db.dialect.HSQLDBDialect
 

I

idField - Variable in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
ignoresThrowable() - Method in class org.apache.log4j.extras.XSLTLayout
Gets whether throwables should not be output.
ignoresThrowable() - Method in class org.apache.log4j.xml.XSLTLayout
Gets whether throwables should not be output.
incrementFileLength(int) - Method in class org.apache.log4j.rolling.RollingFileAppender
Increments estimated byte length of current active log file.
InequalityRule - Class in org.apache.log4j.rule
A Rule class implementing inequality evaluation.
InFixToPostFix - Class in org.apache.log4j.rule
A helper class which converts infix expressions to postfix expressions Currently grouping is supported, as well as all of the Rules supported by RuleFactory Supports grouping via parens, mult-word operands using single or double quotes, and these operators: !
InFixToPostFix() - Constructor for class org.apache.log4j.rule.InFixToPostFix
 
InFixToPostFix.CustomTokenizer - Class in org.apache.log4j.rule
 
InFixToPostFix.CustomTokenizer(String) - Constructor for class org.apache.log4j.rule.InFixToPostFix.CustomTokenizer
 
info(Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a message object with the INFO level.
info(Object, Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a parameterized message object at the INFO level.
info(String, Object, Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a parameterized message object at the INFO level.
info(Object, Throwable) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a message object with the INFO level including the stack trace of the Throwablet passed as parameter.
info(Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a message object with the INFO level.
info(Object, Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a parameterized message object at the INFO level.
info(String, Object, Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a parameterized message object at the INFO level.
info(Object, Throwable) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a message object with the INFO level including the stack trace of the Throwablet passed as parameter.
info(Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a message object with the INFO level.
info(Object, Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a parameterized message object at the INFO level.
info(String, Object, Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a parameterized message object at the INFO level.
info(Object, Throwable) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a message object with the INFO level including the stack trace of the Throwablet passed as parameter.
info(Object) - Method in interface org.apache.log4j.component.ULogger
Log a message object with the INFO level.
info(Object, Object) - Method in interface org.apache.log4j.component.ULogger
Log a parameterized message object at the INFO level.
info(String, Object, Object) - Method in interface org.apache.log4j.component.ULogger
Log a parameterized message object at the INFO level.
info(Object, Throwable) - Method in interface org.apache.log4j.component.ULogger
Log a message object with the INFO level including the stack trace of the Throwablet passed as parameter.
INFO - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
INFO.
INFO - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
INFO.
INFO_INT - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
Numerical value for INFO.
initialize() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Build the regular expression needed to parse log entries
initialize(String, boolean) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Initialize the policy and return any initial actions for rolling file appender..
initialize(String, boolean) - Method in interface org.apache.log4j.rolling.RollingPolicy
Initialize the policy and return any initial actions for rolling file appender..
initialize(String, boolean) - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
Initialize the policy and return any initial actions for rolling file appender..
isActive() - Method in interface org.apache.log4j.component.plugins.Plugin
True if the plugin is active and running.
isActive() - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Returns whether this plugin is Active or not.
isActive() - Method in class org.apache.log4j.receivers.net.JMSReceiver
Returns true if this receiver is active.
isActive() - Method in class org.apache.log4j.receivers.net.MulticastAppender
 
isActive() - Method in interface org.apache.log4j.receivers.net.NetworkBased
Get if item is active.
isActive() - Method in class org.apache.log4j.receivers.net.UDPAppender
 
isAdvertiseViaMulticastDNS() - Method in class org.apache.log4j.receivers.net.MulticastAppender
 
isAdvertiseViaMulticastDNS() - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
isAdvertiseViaMulticastDNS() - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
 
isAdvertiseViaMulticastDNS() - Method in class org.apache.log4j.receivers.net.SocketReceiver
 
isAdvertiseViaMulticastDNS() - Method in class org.apache.log4j.receivers.net.UDPAppender
 
isAdvertiseViaMulticastDNS() - Method in class org.apache.log4j.receivers.net.UDPReceiver
 
isAdvertiseViaMulticastDNS() - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
 
isAppendNonMatches() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Accessor
isAsSevereAsThreshold(Level) - Method in class org.apache.log4j.component.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.component.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.receivers.rewrite.RewriteAppender
Determines if specified appender is attached.
isClosed() - Method in class org.apache.log4j.receivers.net.SocketNode13
Get if node is closed.
isComplete() - Method in interface org.apache.log4j.rolling.helper.Action
Determines if action has been completed.
isComplete() - Method in class org.apache.log4j.rolling.helper.ActionBase
Tests if the action is complete.
isDebugEnabled() - Method in class org.apache.log4j.component.spi.Log4JULogger
Is the logger instance enabled for the DEBUG level?
isDebugEnabled() - Method in class org.apache.log4j.component.spi.NOPULogger
Is the logger instance enabled for the DEBUG level?
isDebugEnabled() - Method in class org.apache.log4j.component.spi.SimpleULogger
Is the logger instance enabled for the DEBUG level?
isDebugEnabled() - Method in interface org.apache.log4j.component.ULogger
Is the logger instance enabled for the DEBUG level?
isDisabled(int) - Method in class org.apache.log4j.LoggerRepositoryExImpl
This method will return true if this repository is disabled for level value passed as parameter and false otherwise.
isEquivalent(Plugin) - Method in interface org.apache.log4j.component.plugins.Plugin
Returns true if the testPlugin is considered to be "equivalent" to the this plugin.
isEquivalent(Plugin) - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Returns true if the plugin has the same name and logger repository as the testPlugin passed in.
isEquivalent(Plugin) - Method in class org.apache.log4j.receivers.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.receivers.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.receivers.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.receivers.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.
isErrorEnabled() - Method in class org.apache.log4j.component.spi.Log4JULogger
Is the logger instance enabled for the ERROR level?
isErrorEnabled() - Method in class org.apache.log4j.component.spi.NOPULogger
Is the logger instance enabled for the ERROR level?
isErrorEnabled() - Method in class org.apache.log4j.component.spi.SimpleULogger
Is the logger instance enabled for the ERROR level?
isErrorEnabled() - Method in interface org.apache.log4j.component.ULogger
Is the logger instance enabled for the ERROR level?
isField(String) - Method in class org.apache.log4j.spi.LoggingEventFieldResolver
Determines if specified string is a recognized field.
isInfoEnabled() - Method in class org.apache.log4j.component.spi.Log4JULogger
Is the logger instance enabled for the INFO level?
isInfoEnabled() - Method in class org.apache.log4j.component.spi.NOPULogger
Is the logger instance enabled for the INFO level?
isInfoEnabled() - Method in class org.apache.log4j.component.spi.SimpleULogger
Is the logger instance enabled for the INFO level?
isInfoEnabled() - Method in interface org.apache.log4j.component.ULogger
Is the logger instance enabled for the INFO level?
isLeftAligned() - Method in class org.apache.log4j.pattern.ExtrasFormattingInfo
Determine if left aligned.
ISO8601_FORMAT - Static variable in interface org.apache.log4j.component.helpers.Constants
ISO8601 string literal.
ISO8601_PATTERN - Static variable in interface org.apache.log4j.component.helpers.Constants
SimpleTimePattern for ISO8601.
isOperand(String) - Static method in class org.apache.log4j.rule.InFixToPostFix
Evaluates whether symbol is operand.
isPaused() - Method in interface org.apache.log4j.component.plugins.Pauseable
Get paused state.
isPaused() - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
isPaused() - Method in class org.apache.log4j.receivers.db.DBReceiver
 
isPaused() - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
isPaused() - Method in class org.apache.log4j.receivers.net.SocketNode13
Get if node is paused.
isPaused() - Method in class org.apache.log4j.receivers.net.SocketReceiver
Get paused state.
isPaused() - Method in class org.apache.log4j.receivers.net.UDPReceiver
 
isPaused() - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
 
isPristine() - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Is the current configuration of the repository in its original (pristine) state?
isPristine() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Is the current configuration of the repository in its original (pristine) state?
isRightTruncated() - Method in class org.apache.log4j.pattern.ExtrasFormattingInfo
Determine if right truncated.
isRule(String) - Method in class org.apache.log4j.rule.RuleFactory
Determine if specified string is a known operator.
isTailing() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Accessor
isTailing() - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
Accessor
isTriggeringEvent(Appender, LoggingEvent, String, long) - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicy
 
isTriggeringEvent(LoggingEvent) - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
isTriggeringEvent(Appender, LoggingEvent, String, long) - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
Determines if a rollover may be appropriate at this time.
isTriggeringEvent(Appender, LoggingEvent, String, long) - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Determines if a rollover may be appropriate at this time.
isTriggeringEvent(Appender, LoggingEvent, String, long) - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
Determines if a rollover may be appropriate at this time.
isTriggeringEvent(Appender, LoggingEvent, String, long) - Method in interface org.apache.log4j.rolling.TriggeringPolicy
Determines if a rollover may be appropriate at this time.
isUseCurrentThread() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
When true, this property uses the current Thread to perform the import, otherwise when false (the default), a new Thread is created and started to manage the import.
isUseCurrentThread() - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
When true, this property uses the current Thread to perform the import, otherwise when false (the default), a new Thread is created and started to manage the import.
isWarnEnabled() - Method in class org.apache.log4j.component.spi.Log4JULogger
Is the logger instance enabled for the WARN level?
isWarnEnabled() - Method in class org.apache.log4j.component.spi.NOPULogger
Is the logger instance enabled for the WARN level?
isWarnEnabled() - Method in class org.apache.log4j.component.spi.SimpleULogger
Is the logger instance enabled for the WARN level?
isWarnEnabled() - Method in interface org.apache.log4j.component.ULogger
Is the logger instance enabled for the WARN level?

J

JMSReceiver - Class in org.apache.log4j.receivers.net
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.receivers.net.JMSReceiver
 
JMSReceiver(String, String, String, String, String) - Constructor for class org.apache.log4j.receivers.net.JMSReceiver
 
JMSReceiverBeanInfo - Class in org.apache.log4j.receivers.net
BeanInfo class for the JMSReceiver.
JMSReceiverBeanInfo() - Constructor for class org.apache.log4j.receivers.net.JMSReceiverBeanInfo
 
JNDI_CONTEXT_NAME - Static variable in interface org.apache.log4j.component.helpers.Constants
JNDI context name string literal.
JNDIConnectionSource - Class in org.apache.log4j.receivers.db
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.receivers.db.JNDIConnectionSource
 
jndiPath - Variable in class org.apache.log4j.receivers.net.JMSReceiver
 
Job - Interface in org.apache.log4j.component.scheduler
Job is a very simple interface.

K

KEYWORD_LIST - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
Keyword list.

L

LEVEL_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
LEVEL string literal.
levelChangedEvent(Logger) - Method in interface org.apache.log4j.component.spi.LoggerEventListener
Called when level changed on the logger.
LevelEqualsRule - Class in org.apache.log4j.rule
A Rule class implementing equals against two levels.
LevelInequalityRule - Class in org.apache.log4j.rule
A Rule class implementing inequality evaluation for Levels (log4j and util.logging) using the toInt method.
LevelMatchFilter - Class in org.apache.log4j.filter
This is a very simple filter based on level matching.
LevelMatchFilter() - Constructor for class org.apache.log4j.filter.LevelMatchFilter
 
LevelRangeFilter - Class in org.apache.log4j.filter
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 in org.apache.log4j.rule
A Rule class supporting java.util.regex regular expression syntax.
LINE_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
LINE string literal.
LINE_SEPARATOR - Static variable in class org.apache.log4j.component.spi.SimpleULogger
Line separator.
ListModelAppender - Class in org.apache.log4j.receivers.varia
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.receivers.varia.ListModelAppender
Constructs a ListModelAppender.
LocationInfoFilter - Class in org.apache.log4j.filter
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
 
LOG4J_ID_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
log4jid string literal.
LOG4J_ID_KEY - Static variable in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
LOG4J_PACKAGE_NAME - Static variable in interface org.apache.log4j.component.helpers.Constants
log4j package name string literal.
Log4JULogger - Class in org.apache.log4j.component.spi
An implementation of ULogger on org.apache.log4j.Logger.
Log4JULogger(Logger) - Constructor for class org.apache.log4j.component.spi.Log4JULogger
Create a new instance.
LogFilePatternReceiver - Class in org.apache.log4j.receivers.varia
LogFilePatternReceiver can parse and tail log files, converting entries into LoggingEvents.
LogFilePatternReceiver() - Constructor for class org.apache.log4j.receivers.varia.LogFilePatternReceiver
 
LogFilePatternReceiverBeanInfo - Class in org.apache.log4j.receivers.varia
BeanInfo class for the meta-data of the LogFilePatternReceiver.
LogFilePatternReceiverBeanInfo() - Constructor for class org.apache.log4j.receivers.varia.LogFilePatternReceiverBeanInfo
 
LogFileXMLReceiver - Class in org.apache.log4j.receivers.xml
LogFileXMLReceiver will read an xml-formated log file and make the events in the log file available to the log4j framework.
LogFileXMLReceiver() - Constructor for class org.apache.log4j.receivers.xml.LogFileXMLReceiver
 
LOGGER_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
LOGGER string literal.
LoggerEventListener - Interface in org.apache.log4j.component.spi
Interface used to listen for Logger related events such as add/remove appender or changing levels.
LoggerMatchFilter - Class in org.apache.log4j.filter
This is a very simple filter based on logger name matching.
LoggerMatchFilter() - Constructor for class org.apache.log4j.filter.LoggerMatchFilter
 
LoggerRepositoryEventListener - Interface in org.apache.log4j.component.spi
Interface used to listen for LoggerRepository related events such as startup, reset, and shutdown.
LoggerRepositoryEx - Interface in org.apache.log4j.component.spi
A LoggerRepository is used to create and retrieve Loggers.
LoggerRepositoryExImpl - Class in org.apache.log4j
This class implements LoggerRepositoryEx by wrapping an existing LoggerRepository implementation and implementing the newly added capabilities.
LoggerRepositoryExImpl(LoggerRepository) - Constructor for class org.apache.log4j.LoggerRepositoryExImpl
Constructs a new logger hierarchy.
LoggingEventFieldResolver - Class in org.apache.log4j.spi
A singleton helper utility which accepts a field name and a LoggingEvent and returns the value of that field.
lookup(Context, String) - Method in class org.apache.log4j.receivers.net.JMSReceiver
 

M

main(String[]) - Static method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
 
MapRewritePolicy - Class in org.apache.log4j.receivers.rewrite
This policy rewrites events where the message of the original event implementes java.util.Map.
MapRewritePolicy() - Constructor for class org.apache.log4j.receivers.rewrite.MapRewritePolicy
 
MessageFormatter - Class in org.apache.log4j.component.helpers
Formats messages according to very simple rules.
METHOD_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
METHOD string literal.
MISSING_FILE_RETRY_MILLIS - Static variable in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
 
MSG_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
MSG string literal.
MSSQL_DIALECT - Static variable in interface org.apache.log4j.receivers.db.ConnectionSource
 
MsSQLDialect - Class in org.apache.log4j.receivers.db.dialect
The MS SQL Server dialect is untested.
MsSQLDialect() - Constructor for class org.apache.log4j.receivers.db.dialect.MsSQLDialect
 
MulticastAppender - Class in org.apache.log4j.receivers.net
Multicast-based Appender.
MulticastAppender() - Constructor for class org.apache.log4j.receivers.net.MulticastAppender
 
MulticastReceiver - Class in org.apache.log4j.receivers.net
Multicast-based receiver.
MulticastReceiver() - Constructor for class org.apache.log4j.receivers.net.MulticastReceiver
 
MulticastReceiverBeanInfo - Class in org.apache.log4j.receivers.net
BeanInfo class for the meta-data of the MulticastReceiver.
MulticastReceiverBeanInfo() - Constructor for class org.apache.log4j.receivers.net.MulticastReceiverBeanInfo
 
MYSQL_DIALECT - Static variable in interface org.apache.log4j.receivers.db.ConnectionSource
 
MySQLDialect - Class in org.apache.log4j.receivers.db.dialect
 
MySQLDialect() - Constructor for class org.apache.log4j.receivers.db.dialect.MySQLDialect
 

N

name - Variable in class org.apache.log4j.component.plugins.PluginSkeleton
Name of this plugin.
NDC_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
NDC string literal.
NetworkBased - Interface in org.apache.log4j.receivers.net
The parent of all the Network based interfaces.
nextToken() - Method in class org.apache.log4j.rule.InFixToPostFix.CustomTokenizer
 
NOP_LOGGER - Static variable in class org.apache.log4j.component.spi.NOPULogger
The unique instance of NOPLogger.
NOPULogger - Class in org.apache.log4j.component.spi
A no operation (NOP) implementation of ULogger.
NotEqualsRule - Class in org.apache.log4j.rule
A Rule class implementing not equals against two strings.
NotLevelEqualsRule - Class in org.apache.log4j.rule
A Rule class implementing not equals against two levels.
NotRule - Class in org.apache.log4j.rule
A Rule class implementing logical not.

O

onMessage(Message) - Method in class org.apache.log4j.receivers.net.JMSReceiver
 
ORACLE_DIALECT - Static variable in interface org.apache.log4j.receivers.db.ConnectionSource
 
OracleDialect - Class in org.apache.log4j.receivers.db.dialect
The Oracle dialect.
OracleDialect() - Constructor for class org.apache.log4j.receivers.db.dialect.OracleDialect
 
org.apache.log4j - package org.apache.log4j
 
org.apache.log4j.component - package org.apache.log4j.component
 
org.apache.log4j.component.helpers - package org.apache.log4j.component.helpers
 
org.apache.log4j.component.plugins - package org.apache.log4j.component.plugins
 
org.apache.log4j.component.scheduler - package org.apache.log4j.component.scheduler
 
org.apache.log4j.component.spi - package org.apache.log4j.component.spi
 
org.apache.log4j.extras - package org.apache.log4j.extras
 
org.apache.log4j.filter - package org.apache.log4j.filter
 
org.apache.log4j.pattern - package org.apache.log4j.pattern
Provides classes implementing format specifiers in conversion patterns.
org.apache.log4j.receivers.db - package org.apache.log4j.receivers.db
The org.apache.log4j.db package provides means to append logging events into various databases.
org.apache.log4j.receivers.db.dialect - package org.apache.log4j.receivers.db.dialect
 
org.apache.log4j.receivers.helpers - package org.apache.log4j.receivers.helpers
 
org.apache.log4j.receivers.net - package org.apache.log4j.receivers.net
 
org.apache.log4j.receivers.rewrite - package org.apache.log4j.receivers.rewrite
 
org.apache.log4j.receivers.spi - package org.apache.log4j.receivers.spi
 
org.apache.log4j.receivers.varia - package org.apache.log4j.receivers.varia
 
org.apache.log4j.receivers.xml - package org.apache.log4j.receivers.xml
 
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.spi - package org.apache.log4j.spi
 
org.apache.log4j.varia - package org.apache.log4j.varia
 
org.apache.log4j.xml - package org.apache.log4j.xml
 
OrRule - Class in org.apache.log4j.rule
A Rule class implementing logical or.

P

parse(Element) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to configure the log4j framework by parsing a DOM tree of XML elements based on log4j.dtd.
parse(String, List, List, Map, Map) - Static method in class org.apache.log4j.pattern.ExtrasPatternParser
Parse a format specifier.
parseAppender(Element) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to parse an appender element.
parseCategory(Element) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to parse an category element.
parseCategoryFactory(Element) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to parse the category factory element.
parseChildrenOfLoggerElement(Element, Logger, boolean) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to parse the children of a category element.
parseElement(Element, Properties, Class) - Static method in class org.apache.log4j.extras.DOMConfigurator
Creates an OptionHandler and processes any nested param elements but does not call activateOptions.
parseErrorHandler(Element, Appender) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to parse an ErrorHandler element.
parseFileNamePattern() - Method in class org.apache.log4j.rolling.RollingPolicyBase
Parse file name pattern.
parseFilters(Element, Appender) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to parse a filter element.
parseInput(String, LinkedList) - Method in class org.apache.log4j.rule.InFixToPostFix.CustomTokenizer
 
parseLayout(Element) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to parse a layout element.
parseLevel(Element, Logger, boolean) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to parse a level element.
parseRenderer(Element) - Method in class org.apache.log4j.extras.DOMConfigurator
 
parseRoot(Element) - Method in class org.apache.log4j.extras.DOMConfigurator
Used internally to parse the roor category element.
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.DBAppender
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.extras.XSLTLayout
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.filter.AndFilter
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.LoggerRepositoryExImpl
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.receivers.db.DataSourceConnectionSource
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.receivers.db.DBReceiver
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.receivers.rewrite.RewriteAppender
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.rolling.CompositeTriggeringPolicy
 
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.rolling.FilterBasedTriggeringPolicy
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.rolling.RollingFileAppender
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.xml.XSLTLayout
PartialTextMatchRule - Class in org.apache.log4j.rule
A Rule class implementing case-insensitive partial-text matches against two strings.
password - Variable in class org.apache.log4j.receivers.net.JMSReceiver
 
Pauseable - Interface in org.apache.log4j.component.plugins
Instances of this interface can be paused, and resumed.
paused - Variable in class org.apache.log4j.receivers.net.UDPReceiver
 
Plugin - Interface in org.apache.log4j.component.plugins
Defines the required interface for all Plugin objects.
PluginEvent - Class in org.apache.log4j.component.plugins
All Plugin events are encapsulated in this class, which simply contains the source Plugin, but may in future include more information.
PluginListener - Interface in org.apache.log4j.component.plugins
PluginListeners are notified when plugins are started or stopped by the PluginRegistry.
pluginNameExists(String) - Method in class org.apache.log4j.component.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 in org.apache.log4j.component.plugins
This is a registry for Plugin instances.
PluginRegistry(LoggerRepositoryEx) - Constructor for class org.apache.log4j.component.plugins.PluginRegistry
Creates a new instance.
PluginSkeleton - Class in org.apache.log4j.component.plugins
A convienent abstract class for plugin subclasses that implements the basic methods of the Plugin interface.
PluginSkeleton() - Constructor for class org.apache.log4j.component.plugins.PluginSkeleton
Construct new instance.
pluginStarted(PluginEvent) - Method in interface org.apache.log4j.component.plugins.PluginListener
Notification that plugin has started.
pluginStopped(PluginEvent) - Method in interface org.apache.log4j.component.plugins.PluginListener
Notification that plugin has stopped.
port - Variable in class org.apache.log4j.receivers.net.SocketHubReceiver
Port.
port - Variable in class org.apache.log4j.receivers.net.SocketReceiver
Port.
port - Variable in class org.apache.log4j.receivers.net.XMLSocketReceiver
 
PortBased - Interface in org.apache.log4j.receivers.net
Net based entities that 'work with' a Port should consider implementing this interface so that they can be treated generically.
POSTGRES_DIALECT - Static variable in interface org.apache.log4j.receivers.db.ConnectionSource
 
PostgreSQLDialect - Class in org.apache.log4j.receivers.db.dialect
 
PostgreSQLDialect() - Constructor for class org.apache.log4j.receivers.db.dialect.PostgreSQLDialect
 
process(BufferedReader) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Read, parse and optionally tail the log file, converting entries into logging events.
PROP_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
PROP. string literal.
PROPERTIES_EXIST - Static variable in class org.apache.log4j.receivers.db.DBHelper
 
PropertyRewritePolicy - Class in org.apache.log4j.receivers.rewrite
This policy rewrites events by adding a user-specified list of properties to the event.
PropertyRewritePolicy() - Constructor for class org.apache.log4j.receivers.rewrite.PropertyRewritePolicy
 
putObject(String, Object) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Store an object under 'key'.
putObject(String, Object) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Puts object by key.

R

Receiver - Class in org.apache.log4j.component.plugins
Defines the base class for Receiver plugins.
Receiver() - Constructor for class org.apache.log4j.component.plugins.Receiver
Create new instance.
RECEIVER_NAME_KEY - Static variable in interface org.apache.log4j.component.helpers.Constants
receiver string literal.
reconnectionDelay - Variable in class org.apache.log4j.receivers.net.SocketHubReceiver
Reconnection delay.
ReflectionRewritePolicy - Class in org.apache.log4j.receivers.rewrite
This policy rewrites events by evaluating any JavaBean properties on the message object and adding them to the event properties.
ReflectionRewritePolicy() - Constructor for class org.apache.log4j.receivers.rewrite.ReflectionRewritePolicy
 
removeAllAppenders() - Method in class org.apache.log4j.receivers.rewrite.RewriteAppender
Removes and closes all attached appenders.
removeAppender(Appender) - Method in class org.apache.log4j.receivers.rewrite.RewriteAppender
Removes an appender.
removeAppender(String) - Method in class org.apache.log4j.receivers.rewrite.RewriteAppender
Remove appender by name.
removeLoggerEventListener(LoggerEventListener) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Remove a LoggerEventListener from the repository.
removeLoggerEventListener(LoggerEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Remove a LoggerEventListener from the repository.
removeLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Remove a LoggerRepositoryEventListener from the repository.
removeLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Remove a LoggerRepositoryEventListener from the repository.
removePluginListener(PluginListener) - Method in class org.apache.log4j.component.plugins.PluginRegistry
Removes a particular PluginListener from this registry such that it will no longer be notified of PluginEvents.
removePropertyChangeListener(PropertyChangeListener) - Method in interface org.apache.log4j.component.plugins.Plugin
Removes a specific PropertyChangeListener from this instances registry that has been mapped to be notified of all property changes.
removePropertyChangeListener(String, PropertyChangeListener) - Method in interface org.apache.log4j.component.plugins.Plugin
Removes a specific PropertyChangeListener from this instance's registry which has been previously registered to be notified of only a specific property change.
removePropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Remove property change listener.
removePropertyChangeListener(String, PropertyChangeListener) - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Remove property change listener on a specific property.
removePropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.rule.AbstractRule
Remove property change listener.
removePropertyChangeListener(PropertyChangeListener) - Method in interface org.apache.log4j.rule.Rule
Removes a known PropertyChangeListener from this Rule.
removeSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
Removes a specific SocketNodeEventListener from this instance so that it will no longer be notified of SocketNode events.
removeSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.receivers.net.SocketNode13
Removes the registered Listener from this instances list of listeners.
removeSocketNodeEventListener(SocketNodeEventListener) - Method in class org.apache.log4j.receivers.net.SocketReceiver
Removes the registered Listener from this instances list of listeners.
reportException(Exception) - Method in class org.apache.log4j.rolling.helper.ActionBase
Capture exception.
reportException(Exception) - Method in class org.apache.log4j.rolling.helper.GZCompressAction
Capture exception.
reportException(Exception) - Method in class org.apache.log4j.rolling.helper.ZipCompressAction
Capture exception.
repository - Variable in class org.apache.log4j.component.spi.ComponentBase
Logger repository.
requiresLayout() - Method in class org.apache.log4j.DBAppender
Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.extras.SoundAppender
Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.receivers.net.MulticastAppender
Gets whether appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.receivers.net.UDPAppender
The UDPAppender uses layouts.
requiresLayout() - Method in class org.apache.log4j.receivers.rewrite.RewriteAppender
requiresLayout() - Method in class org.apache.log4j.receivers.varia.ListModelAppender
requiresLayout() - Method in class org.apache.log4j.varia.SoundAppender
Gets whether appender requires a layout.
resetConfiguration() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Reset all values contained in this hierarchy instance to their default.
resetErrorCount() - Method in class org.apache.log4j.component.spi.ComponentBase
Called by derived classes when they deem that the component has recovered from an erroneous state.
resolveEntity(String, String) - Method in class org.apache.log4j.receivers.xml.UtilLoggingEntityResolver
rewrite(LoggingEvent) - Method in class org.apache.log4j.receivers.rewrite.MapRewritePolicy
Rewrite a logging event.
rewrite(LoggingEvent) - Method in class org.apache.log4j.receivers.rewrite.PropertyRewritePolicy
Rewrite a logging event.
rewrite(LoggingEvent) - Method in class org.apache.log4j.receivers.rewrite.ReflectionRewritePolicy
Rewrite a logging event.
rewrite(LoggingEvent) - Method in interface org.apache.log4j.receivers.rewrite.RewritePolicy
Rewrite a logging event.
RewriteAppender - Class in org.apache.log4j.receivers.rewrite
This appender forwards a logging request to another appender after possibly rewriting the logging event.
RewriteAppender() - Constructor for class org.apache.log4j.receivers.rewrite.RewriteAppender
 
RewritePolicy - Interface in org.apache.log4j.receivers.rewrite
This interface is implemented to provide a rewrite strategy for RewriteAppender.
RollingFileAppender - Class in org.apache.log4j.rolling
RollingFileAppender extends FileAppender to backup the log files depending on RollingPolicy and TriggeringPolicy.
RollingFileAppender() - Constructor for class org.apache.log4j.rolling.RollingFileAppender
Construct a new instance.
RollingPolicy - Interface in org.apache.log4j.rolling
A RollingPolicy specifies the actions taken on a logging file rollover.
RollingPolicyBase - Class in org.apache.log4j.rolling
Implements methods common to most, it not all, rolling policies.
RollingPolicyBase() - Constructor for class org.apache.log4j.rolling.RollingPolicyBase
 
rollover(String) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Prepare for a rollover.
rollover() - Method in class org.apache.log4j.rolling.RollingFileAppender
Implements the usual roll over behaviour.
rollover(String) - Method in interface org.apache.log4j.rolling.RollingPolicy
Prepare for a rollover.
rollover(String) - Method in class org.apache.log4j.rolling.TimeBasedRollingPolicy
Prepare for a rollover.
RolloverDescription - Interface in org.apache.log4j.rolling
Description of actions needed to complete rollover.
RolloverDescriptionImpl - Class in org.apache.log4j.rolling
Description of actions needed to complete rollover.
RolloverDescriptionImpl(String, boolean, Action, Action) - Constructor for class org.apache.log4j.rolling.RolloverDescriptionImpl
Create new instance.
Rule - Interface in org.apache.log4j.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 in org.apache.log4j.rule
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.component.scheduler.Scheduler
Run scheduler.
run() - Method in class org.apache.log4j.receivers.net.SocketNode13
Deserialize events from socket until interrupted.
run() - Method in class org.apache.log4j.receivers.net.SocketReceiver
Loop, accepting new socket connections.
run() - Method in class org.apache.log4j.receivers.net.XMLSocketNode
 
run() - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
Loop, accepting new socket connections.
run() - Method in class org.apache.log4j.rolling.helper.ActionBase
run() - Method in class org.apache.log4j.rolling.helper.CompositeAction

S

schedule(Job, long) - Method in class org.apache.log4j.component.scheduler.Scheduler
Schedule a Job for execution at system time given by the desiredTime parameter.
schedule(Job, long, long) - Method in class org.apache.log4j.component.scheduler.Scheduler
Schedule a Job for execution at system time given by the desiredTime parameter.
Scheduler - Class in org.apache.log4j.component.scheduler
A simple but still useful implementation of a Scheduler (in memory only).
Scheduler() - Constructor for class org.apache.log4j.component.scheduler.Scheduler
Create new instance.
SELECT_CURRVAL - Static variable in class org.apache.log4j.receivers.db.dialect.HSQLDBDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.receivers.db.dialect.MsSQLDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.receivers.db.dialect.OracleDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.receivers.db.dialect.PostgreSQLDialect
 
SELECT_CURRVAL - Static variable in class org.apache.log4j.receivers.db.dialect.SybaseDialect
 
SELECT_LAST_INSERT_ID - Static variable in class org.apache.log4j.receivers.db.dialect.MySQLDialect
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.AndFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.ExpressionFilter
Set whether filter should accept events if they match the expression.
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.LevelMatchFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.LevelRangeFilter
Set the AcceptOnMatch option.
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.LoggerMatchFilter
Sets whether a match should result in acceptance.
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.StringMatchFilter
 
setAcceptOnMatch(boolean) - Method in class org.apache.log4j.filter.TimeFilter
Sets whether an event within the timespan should be accepted or denied.
setActive(boolean) - Method in class org.apache.log4j.receivers.net.JMSReceiver
Sets the flag to indicate if receiver is active or not.
setActive(boolean) - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
Sets the flag to indicate if receiver is active or not.
setActive(boolean) - Method in class org.apache.log4j.receivers.net.SocketReceiver
Sets the flag to indicate if receiver is active or not.
setActive(boolean) - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
Sets the flag to indicate if receiver is active or not.
setActiveFileName(String) - Method in class org.apache.log4j.rolling.RollingPolicyBase
Deprecated.
Duplicates FileAppender.file and should be removed
setAdditionalProperties(Map) - Method in interface org.apache.log4j.receivers.spi.Decoder
Sets additional properties.
setAdditionalProperties(Map) - Method in class org.apache.log4j.receivers.xml.UtilLoggingXMLDecoder
Sets an additionalProperty map, where each Key/Value pair is automatically added to each LoggingEvent as it is decoded.
setAdditionalProperties(Map) - Method in class org.apache.log4j.receivers.xml.XMLDecoder
Sets an additionalProperty map, where each Key/Value pair is automatically added to each LoggingEvent as it is decoded.
setAddress(String) - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
setAdvertiseViaMulticastDNS(boolean) - Method in class org.apache.log4j.receivers.net.MulticastAppender
 
setAdvertiseViaMulticastDNS(boolean) - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
setAdvertiseViaMulticastDNS(boolean) - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
 
setAdvertiseViaMulticastDNS(boolean) - Method in class org.apache.log4j.receivers.net.SocketReceiver
 
setAdvertiseViaMulticastDNS(boolean) - Method in class org.apache.log4j.receivers.net.UDPAppender
 
setAdvertiseViaMulticastDNS(boolean) - Method in class org.apache.log4j.receivers.net.UDPReceiver
 
setAdvertiseViaMulticastDNS(boolean) - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
 
setAppendNonMatches(boolean) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Mutator
setApplication(String) - Method in class org.apache.log4j.receivers.net.MulticastAppender
The App option takes a string value which should be the name of the application getting logged.
setApplication(String) - Method in class org.apache.log4j.receivers.net.UDPAppender
The App option takes a string value which should be the name of the application getting logged.
setAudioURL(String) - Method in class org.apache.log4j.extras.SoundAppender
Mutator - common format for a file-based url: file:///c:/path/someaudioclip.wav
setAudioURL(String) - Method in class org.apache.log4j.varia.SoundAppender
Mutator - common format for a file-based url: file:///c:/path/someaudioclip.wav
setColNumber(int) - Method in class org.apache.log4j.component.spi.ErrorItem
Set column number.
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.DBAppender
 
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
setConnectionSource(ConnectionSource) - Method in class org.apache.log4j.receivers.db.DBReceiver
 
setConvertInFixToPostFix(boolean) - Method in class org.apache.log4j.filter.ExpressionFilter
Set convert in-fix to post-fix.
setConvertInFixToPostFix(boolean) - Method in class org.apache.log4j.filter.LocationInfoFilter
Set whether in-fix expressions should be converted to post-fix.
setCustomLevelDefinitions(String) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
If the log file contains non-log4j level strings, they can be mapped to log4j levels using the format (android example): V=TRACE,D=DEBUG,I=INFO,W=WARN,E=ERROR,F=FATAL,S=OFF
setDataSource(DataSource) - Method in class org.apache.log4j.receivers.db.DataSourceConnectionSource
 
setDecoder(String) - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
setDecoder(String) - Method in class org.apache.log4j.receivers.net.UDPReceiver
 
setDecoder(String) - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
Specify the class name implementing org.apache.log4j.spi.Decoder that can process the file.
setDecoder(String) - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
Specify the class name implementing org.apache.log4j.spi.Decoder that can process the file.
setDriverClass(String) - Method in class org.apache.log4j.receivers.db.DriverManagerConnectionSource
Sets the driver class.
setEncoding(String) - Method in class org.apache.log4j.receivers.net.MulticastAppender
The Encoding option specifies how the bytes are encoded.
setEncoding(String) - Method in class org.apache.log4j.receivers.net.MulticastReceiver
The Encoding option specifies how the bytes are encoded.
setEncoding(String) - Method in class org.apache.log4j.receivers.net.UDPAppender
The Encoding option specifies how the bytes are encoded.
setEncoding(String) - Method in class org.apache.log4j.receivers.net.UDPReceiver
The Encoding option specifies how the bytes are encoded.
setEnd(String) - Method in class org.apache.log4j.filter.TimeFilter
Set end (exclusive) of time span.
setException(Throwable) - Method in class org.apache.log4j.component.spi.ErrorItem
Set exception.
setExpression(String) - Method in class org.apache.log4j.filter.ExpressionFilter
Set exp.
setExpression(String) - Method in class org.apache.log4j.filter.LocationInfoFilter
Set expression.
setFileNamePattern(String) - Method in class org.apache.log4j.rolling.RollingPolicyBase
Set file name pattern.
setFileURL(String) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Mutator
setFileURL(String) - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
Specify the URL of the XML-formatted file to process.
setFilterExpression(String) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Mutator
setFilterExpression(String) - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
Set the filter expression that will cause only events which pass the filter to be forwarded to the log4j framework.
setHost(String) - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
Configures the Host property, this will require activateOptions to be called for this to take effect.
setHost(String) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
 
setIDField(String) - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
setIgnoresThrowable(boolean) - Method in class org.apache.log4j.extras.XSLTLayout
Sets whether throwables should not be output.
setIgnoresThrowable(boolean) - Method in class org.apache.log4j.xml.XSLTLayout
Sets whether throwables should not be output.
setJndiLocation(String) - Method in class org.apache.log4j.receivers.db.JNDIConnectionSource
Sets the jndiLocation.
setJndiPath(String) - Method in class org.apache.log4j.receivers.net.JMSReceiver
Sets the path to a properties file containing the initial context and jndi provider url
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.component.spi.ErrorItem
Set line number.
setListener(SocketNodeEventListener) - Method in class org.apache.log4j.receivers.net.SocketNode13
Deprecated.
Now supports mutliple listeners, this method simply invokes the removeSocketNodeEventListener() to remove the listener, and then readds it.
setListener(SocketNodeEventListener) - Method in class org.apache.log4j.receivers.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.receivers.net.XMLSocketNode
Set the event listener on this node.
setLocationInfo(boolean) - Method in class org.apache.log4j.DBAppender
If true, the information written to the database will include caller's location information.
setLocationInfo(boolean) - Method in class org.apache.log4j.extras.XSLTLayout
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - Method in class org.apache.log4j.receivers.net.MulticastAppender
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - Method in class org.apache.log4j.xml.XSLTLayout
The LocationInfo option takes a boolean value.
setLogFormat(String) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Mutator
setLoggerFactory(LoggerFactory) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Sets the logger factory used by LoggerRepository.getLogger(String).
setLoggerFactory(LoggerFactory) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Set logger factory.
setLoggerRepository(LoggerRepository) - Method in interface org.apache.log4j.component.plugins.Plugin
Sets the logger repository used by this plugin.
setLoggerRepository(LoggerRepository) - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Sets the logger repository used by this plugin and notifies a relevant PropertyChangeListeners registered.
setLoggerRepository(LoggerRepository) - Method in interface org.apache.log4j.component.spi.Component
Set owning logger repository for this component.
setLoggerRepository(LoggerRepository) - Method in class org.apache.log4j.component.spi.ComponentBase
Set the owning repository.
setLoggerToMatch(String) - Method in class org.apache.log4j.filter.LoggerMatchFilter
Sets logger name.
setMaxFileSize(long) - Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Sets rollover threshold size in bytes.
setMaxIndex(int) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Set index of oldest log file to be retained.
setMessage(String) - Method in class org.apache.log4j.component.spi.ErrorItem
Set message.
setMinIndex(int) - Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
Set index of most recent log file.
setName(String) - Method in interface org.apache.log4j.component.plugins.Plugin
Sets the name of the plugin.
setName(String) - Method in class org.apache.log4j.component.plugins.PluginSkeleton
Sets the name of the plugin and notifies PropertyChangeListeners of the change.
setName(String) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
A logger repository is a named entity.
setName(String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Set the name of this repository.
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.
setOverriddenSupportsGetGeneratedKeys(String) - Method in class org.apache.log4j.receivers.db.ConnectionSourceSkeleton
Sets the "overridden" value of "supportsGetGeneratedKeys" property of the JDBC driver.
setParameter(Element, PropertySetter) - Method in class org.apache.log4j.extras.DOMConfigurator
 
setParameter(Element, PropertySetter, Properties) - Static method in class org.apache.log4j.extras.DOMConfigurator
Sets a parameter based from configuration file content.
setPassword(String) - Method in class org.apache.log4j.receivers.db.ConnectionSourceSkeleton
Sets the password.
setPassword(String) - Method in class org.apache.log4j.receivers.net.JMSReceiver
Sets the password to use when creating the JMS connection.
setPath(String) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
 
setPaused(boolean) - Method in interface org.apache.log4j.component.plugins.Pauseable
Set paused state.
setPaused(boolean) - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.receivers.db.DBReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.receivers.net.SocketNode13
Sets if node is paused.
setPaused(boolean) - Method in class org.apache.log4j.receivers.net.SocketReceiver
Set paused state.
setPaused(boolean) - Method in class org.apache.log4j.receivers.net.UDPReceiver
 
setPaused(boolean) - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
 
setPort(int) - Method in class org.apache.log4j.receivers.net.MulticastAppender
The Port option takes a positive integer representing the port where multicast packets will be sent.
setPort(int) - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
setPort(String) - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
Set the remote host to connect to for logging events.
setPort(int) - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
Set the remote port to connect to for logging events.
setPort(int) - Method in class org.apache.log4j.receivers.net.SocketReceiver
 
setPort(int) - Method in class org.apache.log4j.receivers.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.receivers.net.UDPReceiver
 
setPort(int) - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
Set the port to receive logging events on.
setPristine(boolean) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Set the pristine flag.
setPristine(boolean) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Set the pristine flag.
setProperties(boolean) - Method in class org.apache.log4j.extras.XSLTLayout
Sets whether MDC key-value pairs should be output, default false.
setProperties(String) - Method in class org.apache.log4j.receivers.rewrite.PropertyRewritePolicy
Set a string representing the property name/value pairs.
setProperties(boolean) - Method in class org.apache.log4j.xml.XSLTLayout
Sets whether MDC key-value pairs should be output, default false.
setProperty(String, String) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
Set a property of this repository.
setProperty(String, String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Set a property by key and value.
setReconnectionDelay(int) - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
The ReconnectionDelay option takes a positive integer representing the number of milliseconds to wait between each failed connection attempt to the server.
setRefreshMillis(int) - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
setRefreshMillis(int) - Method in class org.apache.log4j.receivers.db.DBReceiver
 
setRemoteHost(String) - Method in class org.apache.log4j.receivers.net.MulticastAppender
The RemoteHost option takes a string value which should be the host name or ipaddress to send the multicast packets.
setRemoteHost(String) - Method in class org.apache.log4j.receivers.net.UDPAppender
The RemoteHost option takes a string value which should be the host name or ipaddress to send the UDP packets.
setRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Used by subclasses to add a renderer to the hierarchy passed as parameter.
setRewritePolicy(RewritePolicy) - Method in class org.apache.log4j.receivers.rewrite.RewriteAppender
 
setRollingPolicy(RollingPolicy) - Method in class org.apache.log4j.rolling.RollingFileAppender
Sets the rolling policy.
setSql(String) - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
setStart(String) - Method in class org.apache.log4j.filter.TimeFilter
Set start (inclusive) of time span.
setStringToMatch(String) - Method in class org.apache.log4j.filter.StringMatchFilter
 
setTailing(boolean) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Mutator
setTailing(boolean) - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
Set the 'tailing' flag - may only work on file:// URLs and may stop tailing if the writing process closes the file and reopens.
setThreshold(Level) - Method in class org.apache.log4j.component.plugins.Receiver
Sets the receiver theshold to the given level.
setThreshold(Level) - Method in interface org.apache.log4j.component.spi.Thresholdable
Sets the component theshold to the given level.
setThreshold(String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
setThreshold(Level) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Enable logging for logging requests with level l or higher.
setTimestampFormat(String) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Mutator.
setTimeToLive(int) - Method in class org.apache.log4j.receivers.net.MulticastAppender
The Time to live option takes a positive integer representing the time to live value.
setTimeZone(String) - Method in class org.apache.log4j.filter.TimeFilter
Set timezone.
setTopicFactoryName(String) - Method in class org.apache.log4j.receivers.net.JMSReceiver
Sets the JMS topic factory name to use when creating the JMS connection.
setTopicName(String) - Method in class org.apache.log4j.receivers.net.JMSReceiver
Sets the JMS topic name to use when creating the JMS connection.
setTransform(Document) - Method in class org.apache.log4j.extras.XSLTLayout
Sets XSLT transform.
setTransform(Document) - Method in class org.apache.log4j.xml.XSLTLayout
Sets XSLT transform.
setTriggeringPolicy(TriggeringPolicy) - Method in class org.apache.log4j.rolling.RollingFileAppender
Set triggering policy.
setUrl(String) - Method in class org.apache.log4j.receivers.db.DriverManagerConnectionSource
Sets the url.
setUseCurrentThread(boolean) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Sets whether the current Thread or a new Thread is created to perform the import, the default being false (new Thread created).
setUseCurrentThread(boolean) - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
Sets whether the current Thread or a new Thread is created to perform the import, the default being false (new Thread created).
setUser(String) - Method in class org.apache.log4j.receivers.db.ConnectionSourceSkeleton
Sets the username.
setUserId(String) - Method in class org.apache.log4j.receivers.net.JMSReceiver
Sets the user id to use when creating the JMS connection.
setWaitMillis(long) - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Mutator
SEVERE - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
SEVERE.
SEVERE - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
SEVERE.
SEVERE_INT - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
Numerical value for SEVERE.
SEVERE_INT - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Numerical value for SEVERE.
shutdown() - Method in interface org.apache.log4j.component.plugins.Plugin
Call when the plugin should be stopped.
shutdown() - Method in class org.apache.log4j.component.scheduler.Scheduler
Shut down scheduler.
shutdown() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Shutting down a hierarchy will safely close and remove all appenders in all categories including the root logger.
shutdown() - Method in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
shutdown() - Method in class org.apache.log4j.receivers.db.DBReceiver
 
shutdown() - Method in class org.apache.log4j.receivers.net.JMSReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.receivers.net.MulticastReceiver
 
shutdown() - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.receivers.net.SocketReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.receivers.net.UDPReceiver
 
shutdown() - Method in class org.apache.log4j.receivers.net.XMLSocketReceiver
Called when the receiver should be stopped.
shutdown() - Method in class org.apache.log4j.receivers.varia.LogFilePatternReceiver
Close the reader.
shutdown() - Method in class org.apache.log4j.receivers.xml.LogFileXMLReceiver
Close the receiver, release any resources that are accessing the file.
shutdownEvent(LoggerRepository) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEventListener
Called when the repository is shutdown.
SIMPLE_TIME_PATTERN - Static variable in interface org.apache.log4j.component.helpers.Constants
SimpleTimePattern for ABSOLUTE.
SimpleULogger - Class in org.apache.log4j.component.spi
A simple implementation that logs messages of level INFO or higher on the console (System.out).
SizeBasedTriggeringPolicy - Class in org.apache.log4j.rolling
SizeBasedTriggeringPolicy looks at size of the file being currently written to.
SizeBasedTriggeringPolicy() - Constructor for class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Constructs a new instance.
SizeBasedTriggeringPolicy(long) - Constructor for class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
Constructs an new instance.
socketClosedEvent(Exception) - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
Listen for a socketClosedEvent from the SocketNode.
socketClosedEvent(Exception) - Method in interface org.apache.log4j.receivers.net.SocketNodeEventListener
Called when the socket the node was given has been closed.
SocketHubReceiver - Class in org.apache.log4j.receivers.net
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.receivers.net.SocketHubReceiver
Create new instance.
SocketHubReceiver(String, int) - Constructor for class org.apache.log4j.receivers.net.SocketHubReceiver
Create new instance.
SocketHubReceiver(String, int, LoggerRepository) - Constructor for class org.apache.log4j.receivers.net.SocketHubReceiver
Create new instance.
socketNode - Variable in class org.apache.log4j.receivers.net.SocketHubReceiver
Socket.
SocketNode13 - Class in org.apache.log4j.receivers.net
Read LoggingEvent objects sent from a remote client using Sockets (TCP).
SocketNode13(Socket, LoggerRepository) - Constructor for class org.apache.log4j.receivers.net.SocketNode13
Constructor for socket and logger repository.
SocketNode13(Socket, Receiver) - Constructor for class org.apache.log4j.receivers.net.SocketNode13
Constructor for socket and receiver.
SocketNodeEventListener - Interface in org.apache.log4j.receivers.net
Interface used to listen for SocketNode related events.
socketOpened(String) - Method in class org.apache.log4j.receivers.net.SocketHubReceiver
This method does nothing.
socketOpened(String) - Method in interface org.apache.log4j.receivers.net.SocketNodeEventListener
Called when the SocketNode is created and begins awaiting data.
SocketReceiver - Class in org.apache.log4j.receivers.net
SocketReceiver receives a remote logging event on a configured socket and "posts" it to a LoggerRepository as if the event was generated locally.
SocketReceiver() - Constructor for class org.apache.log4j.receivers.net.SocketReceiver
Create new instance.
SocketReceiver(int) - Constructor for class org.apache.log4j.receivers.net.SocketReceiver
Create new instance.
SocketReceiver(int, LoggerRepository) - Constructor for class org.apache.log4j.receivers.net.SocketReceiver
Create new instance.
SoundAppender - Class in org.apache.log4j.extras
This class is equivalent to org.apache.log4j.varia.SoundAppender except for a package change to aid in use with OSGi.
SoundAppender() - Constructor for class org.apache.log4j.extras.SoundAppender
 
SoundAppender - Class in org.apache.log4j.varia
Plays a sound clip created using Applet.newAudioClip when an event is received.
SoundAppender() - Constructor for class org.apache.log4j.varia.SoundAppender
 
SQLDialect - Interface in org.apache.log4j.receivers.db.dialect
 
sqlStatement - Variable in class org.apache.log4j.receivers.db.CustomSQLDBReceiver
 
stopAllPlugins() - Method in class org.apache.log4j.component.plugins.PluginRegistry
Stops all plugins in the given logger repository.
stopPlugin(String) - Method in class org.apache.log4j.component.plugins.PluginRegistry
Stops a plugin by plugin name and repository.
StringMatchFilter - Class in org.apache.log4j.filter
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.rolling.RollingFileAppender
subst(String) - Method in class org.apache.log4j.extras.DOMConfigurator
 
subst(String, Properties) - Static method in class org.apache.log4j.extras.DOMConfigurator
Substitutes property value for any references in expression.
supportsBatchUpdates() - Method in interface org.apache.log4j.receivers.db.ConnectionSource
If the connection does not support batch updates, we will avoid using them.
supportsBatchUpdates() - Method in class org.apache.log4j.receivers.db.ConnectionSourceSkeleton
Does this connection support batch updates?
supportsBatchUpdates(DatabaseMetaData) - Method in class org.apache.log4j.receivers.db.dialect.Util
This method handles cases where the DatabaseMetaData.supportsBatchUpdates() method is missing in the JDBC driver implementation.
supportsGetGeneratedKeys() - Method in interface org.apache.log4j.receivers.db.ConnectionSource
If the connection supports the JDBC 3.0 getGeneratedKeys method, then we do not need any specific dialect support.
supportsGetGeneratedKeys() - Method in class org.apache.log4j.receivers.db.ConnectionSourceSkeleton
Does this connection support the JDBC Connection.getGeneratedKeys method?
supportsGetGeneratedKeys(DatabaseMetaData) - Method in class org.apache.log4j.receivers.db.dialect.Util
This method handles cases where the DatabaseMetaData.supportsGetGeneratedKeys() method is missing in the JDBC driver implementation.
SybaseDialect - Class in org.apache.log4j.receivers.db.dialect
The Sybase dialect.
SybaseDialect() - Constructor for class org.apache.log4j.receivers.db.dialect.SybaseDialect
 

T

TEMP_CONSOLE_APPENDER_NAME - Static variable in interface org.apache.log4j.component.helpers.Constants
TEMP_CONSOLE_APPENDER string literal.
TEMP_LIST_APPENDER_NAME - Static variable in interface org.apache.log4j.component.helpers.Constants
TEMP_LIST_APPENDER string literal.
THREAD_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
THREAD string literal.
Thresholdable - Interface in org.apache.log4j.component.spi
An interface that defines the required methods for supporting the setting and getting of a level threshold.
thresholdLevel - Variable in class org.apache.log4j.component.plugins.Receiver
Threshold level.
TimeBasedRollingPolicy - Class in org.apache.log4j.rolling
TimeBasedRollingPolicy is both easy to configure and quite powerful.
TimeBasedRollingPolicy() - Constructor for class org.apache.log4j.rolling.TimeBasedRollingPolicy
Constructs a new instance.
TimeFilter - Class in org.apache.log4j.filter
Filters events that fall within a specified time period in each day.
TimeFilter() - Constructor for class org.apache.log4j.filter.TimeFilter
Constructor.
TIMESTAMP_FIELD - Static variable in class org.apache.log4j.spi.LoggingEventFieldResolver
TIMESTAMP string literal.
TIMESTAMP_RULE_FORMAT - Static variable in interface org.apache.log4j.component.helpers.Constants
time stamp pattern string literal.
TimestampEqualsRule - Class in org.apache.log4j.rule
A Rule class implementing equality evaluation for timestamps.
TimestampInequalityRule - Class in org.apache.log4j.rule
A Rule class implementing inequality evaluation for timestamps.
toLevel(int, UtilLoggingLevel) - Static method in class org.apache.log4j.extras.UtilLoggingLevel
Convert an integer passed as argument to a level.
toLevel(int) - Static method in class org.apache.log4j.extras.UtilLoggingLevel
Gets level matching numeric value.
toLevel(String) - Static method in class org.apache.log4j.extras.UtilLoggingLevel
Get level with specified symbolic name.
toLevel(String, Level) - Static method in class org.apache.log4j.extras.UtilLoggingLevel
Get level with specified symbolic name.
toLevel(int, UtilLoggingLevel) - Static method in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Convert an integer passed as argument to a level.
toLevel(int) - Static method in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Gets level matching numeric value.
toLevel(String) - Static method in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Get level with specified symbolic name.
toLevel(String, Level) - Static method in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Get level with specified symbolic name.
topicConnection - Variable in class org.apache.log4j.receivers.net.JMSReceiver
 
topicFactoryName - Variable in class org.apache.log4j.receivers.net.JMSReceiver
 
topicName - Variable in class org.apache.log4j.receivers.net.JMSReceiver
 
toString() - Method in class org.apache.log4j.component.spi.ErrorItem
String representation of ErrorItem.
toString() - Method in class org.apache.log4j.rule.ColorRule
toString() - Method in class org.apache.log4j.rule.ExpressionRule
TriggeringPolicy - Interface in org.apache.log4j.rolling
A TriggeringPolicy controls the conditions under which rollover occurs.

U

UDPAppender - Class in org.apache.log4j.receivers.net
Sends log information as a UDP datagrams.
UDPAppender() - Constructor for class org.apache.log4j.receivers.net.UDPAppender
 
UDPAppender(InetAddress, int) - Constructor for class org.apache.log4j.receivers.net.UDPAppender
Sends UDP packets to the address and port.
UDPAppender(String, int) - Constructor for class org.apache.log4j.receivers.net.UDPAppender
Sends UDP packets to the address and port.
UDPReceiver - Class in org.apache.log4j.receivers.net
Receive LoggingEvents encoded with an XMLLayout, convert the XML data to a LoggingEvent and post the LoggingEvent.
UDPReceiver() - Constructor for class org.apache.log4j.receivers.net.UDPReceiver
 
ULogger - Interface in org.apache.log4j.component
A proxy for org.slf4j.ULogger.
UNKNOWN_DIALECT - Static variable in interface org.apache.log4j.receivers.db.ConnectionSource
 
UNKNOWN_INT - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
Numerical value for UNKNOWN.
UNKNOWN_INT - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Numerical value for UNKNOWN.
userId - Variable in class org.apache.log4j.receivers.net.JMSReceiver
 
Util - Class in org.apache.log4j.receivers.db.dialect
 
Util() - Constructor for class org.apache.log4j.receivers.db.dialect.Util
 
UtilLoggingEntityResolver - Class in org.apache.log4j.receivers.xml
An EntityResolver specifically designed to return an empty InputSource for logger.dtd.
UtilLoggingEntityResolver() - Constructor for class org.apache.log4j.receivers.xml.UtilLoggingEntityResolver
Create new instance.
UtilLoggingLevel - Class in org.apache.log4j.extras
This class is identical to org.apache.log4j.helpers.UtilLoggingLevel except for a package change to aid in use with OSGi.
UtilLoggingLevel(int, String, int) - Constructor for class org.apache.log4j.extras.UtilLoggingLevel
Create new instance.
UtilLoggingLevel - Class in org.apache.log4j.receivers.helpers
An extension of the Level class that provides support for java.util.logging Levels.
UtilLoggingLevel(int, String, int) - Constructor for class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Create new instance.
UtilLoggingXMLDecoder - Class in org.apache.log4j.receivers.xml
Decodes JDK 1.4's java.util.logging package events delivered via XML (using the logger.dtd).
UtilLoggingXMLDecoder(Component) - Constructor for class org.apache.log4j.receivers.xml.UtilLoggingXMLDecoder
Create new instance.
UtilLoggingXMLDecoder() - Constructor for class org.apache.log4j.receivers.xml.UtilLoggingXMLDecoder
Create new instance.

W

warn(Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a message object with the WARN level.
warn(Object, Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a parameterized message object at the WARN level.
warn(String, Object, Object) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a parameterized message object at the WARN level.
warn(Object, Throwable) - Method in class org.apache.log4j.component.spi.Log4JULogger
Log a message object with the WARN level including the stack trace of the Throwablet passed as parameter.
warn(Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a message object with the WARN level.
warn(Object, Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a parameterized message object at the WARN level.
warn(String, Object, Object) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a parameterized message object at the WARN level.
warn(Object, Throwable) - Method in class org.apache.log4j.component.spi.NOPULogger
Log a message object with the WARN level including the stack trace of the Throwablet passed as parameter.
warn(Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a message object with the WARN level.
warn(Object, Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a parameterized message object at the WARN level.
warn(String, Object, Object) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a parameterized message object at the WARN level.
warn(Object, Throwable) - Method in class org.apache.log4j.component.spi.SimpleULogger
Log a message object with the WARN level including the stack trace of the Throwablet passed as parameter.
warn(Object) - Method in interface org.apache.log4j.component.ULogger
Log a message object with the WARN level.
warn(Object, Object) - Method in interface org.apache.log4j.component.ULogger
Log a parameterized message object at the WARN level.
warn(String, Object, Object) - Method in interface org.apache.log4j.component.ULogger
Log a parameterized message object at the WARN level.
warn(Object, Throwable) - Method in interface org.apache.log4j.component.ULogger
Log a message object with the WARN level including the stack trace of the Throwablet passed as parameter.
WARNING - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
WARNING.
WARNING - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
WARNING.
WARNING_INT - Static variable in class org.apache.log4j.extras.UtilLoggingLevel
Numerical value for WARNING.
WARNING_INT - Static variable in class org.apache.log4j.receivers.helpers.UtilLoggingLevel
Numerical value for WARNING.

X

XMLDecoder - Class in org.apache.log4j.receivers.xml
Decodes Logging Events in XML formated into elements that are used by Chainsaw.
XMLDecoder(Component) - Constructor for class org.apache.log4j.receivers.xml.XMLDecoder
Create new instance.
XMLDecoder() - Constructor for class org.apache.log4j.receivers.xml.XMLDecoder
Create new instance.
XMLSocketNode - Class in org.apache.log4j.receivers.net
Read LoggingEvent objects sent from a remote client using XML over Sockets (TCP).
XMLSocketNode(String, Socket, LoggerRepository) - Constructor for class org.apache.log4j.receivers.net.XMLSocketNode
Constructor for socket and logger repository.
XMLSocketNode(String, Socket, Receiver) - Constructor for class org.apache.log4j.receivers.net.XMLSocketNode
Constructor for socket and reciever.
XMLSocketReceiver - Class in org.apache.log4j.receivers.net
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.receivers.net.XMLSocketReceiver
 
XMLSocketReceiver(int) - Constructor for class org.apache.log4j.receivers.net.XMLSocketReceiver
 
XMLSocketReceiver(int, LoggerRepository) - Constructor for class org.apache.log4j.receivers.net.XMLSocketReceiver
 
XSLTLayout - Class in org.apache.log4j.extras
This class is identical to org.apache.log4j.xml.XSLTLayout except for a change in package to aid in use with OSGi.
XSLTLayout() - Constructor for class org.apache.log4j.extras.XSLTLayout
Default constructor.
XSLTLayout - Class in org.apache.log4j.xml
XSLTLayout transforms each event as a document using a specified or default XSLT transform.
XSLTLayout() - Constructor for class org.apache.log4j.xml.XSLTLayout
Default constructor.

Z

ZipCompressAction - Class in org.apache.log4j.rolling.helper
Compresses a file using Zip compression.
ZipCompressAction(File, File, boolean) - Constructor for class org.apache.log4j.rolling.helper.ZipCompressAction
Create new instance of GZCompressAction.
ZONE - Static variable in class org.apache.log4j.receivers.net.MulticastAppender
The MulticastDNS zone advertised by a MulticastAppender the MulticastAppender also adds a 'multicastAddress' property with the multicast address value as a string
ZONE - Static variable in class org.apache.log4j.receivers.net.MulticastReceiver
The MulticastDNS zone advertised by a MulticastReceiver
ZONE - Static variable in class org.apache.log4j.receivers.net.SocketHubReceiver
The MulticastDNS zone advertised by a SocketHubReceiver
ZONE - Static variable in class org.apache.log4j.receivers.net.SocketReceiver
The MulticastDNS zone advertised by a SocketReceiver
ZONE - Static variable in class org.apache.log4j.receivers.net.UDPAppender
The MulticastDNS zone advertised by a UDPAppender
ZONE - Static variable in class org.apache.log4j.receivers.net.UDPReceiver
The MulticastDNS zone advertised by a UDPReceiver
ZONE - Static variable in class org.apache.log4j.receivers.net.XMLSocketReceiver
The MulticastDNS zone advertised by an XMLSocketReceiver
A C D E F G H I J K L M N O P R S T U W X Z 

Copyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0

Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.