- 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
-
- addLoggerEventListener(LoggerEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
-
- addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
-
- addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
-
- 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.
- 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
Throwable
t
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
Throwable
t
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
Throwable
t
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
Throwable
t
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
.
- 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
Throwable
t
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
Throwable
t
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
Throwable
t
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
Throwable
t
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
-
- 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.
- 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
-
- 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
-
- 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.
- 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
Throwable
t
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
Throwable
t
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
Throwable
t
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
Throwable
t
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?
- 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
-
- removeLoggerEventListener(LoggerEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
-
- removeLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in interface org.apache.log4j.component.spi.LoggerRepositoryEx
-
- removeLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
-
- 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() - 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
- 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
-
- 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
-
- SybaseDialect - Class in org.apache.log4j.receivers.db.dialect
-
The Sybase dialect.
- SybaseDialect() - Constructor for class org.apache.log4j.receivers.db.dialect.SybaseDialect
-