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

A

ABSOLUTE_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
ABSOLUTE string literal.
ABSOLUTE_TIME_PATTERN - Static variable in interface org.apache.log4j.helpers.Constants
SimpleTimePattern for ABSOLUTE.
active - Variable in class org.apache.log4j.plugins.PluginSkeleton
Active state of plugin.
addErrorItem(ErrorItem) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Add an error item to the list of previously encountered errors.
addErrorItem(ErrorItem) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Errors which cannot be logged, go to the error list.
addHierarchyEventListener(HierarchyEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Deprecated. Superceded by addLoggerEventListener
addLoggerEventListener(LoggerEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Add a LoggerEventListener to the repository.
addLoggerEventListener(LoggerEventListener) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Add a LoggerEventListener to the repository.
addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Add a LoggerRepositoryEventListener to the repository.
addLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Add a LoggerRepositoryEventListener to the repository.
addPlugin(Plugin) - Method in class org.apache.log4j.plugins.PluginRegistry
Adds a plugin to the plugin registry.
addPluginListener(PluginListener) - Method in class org.apache.log4j.plugins.PluginRegistry
Adds a PluginListener to this registry to be notified of PluginEvents.
addPropertyChangeListener(String, PropertyChangeListener) - Method in interface org.apache.log4j.plugins.Plugin
Adds a PropertyChangeListener to this instance which is notified only by changes of the property with name propertyName.
addPropertyChangeListener(PropertyChangeListener) - Method in interface org.apache.log4j.plugins.Plugin
Adds a PropertyChangeListener that will be notified of all property changes.
addPropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.plugins.PluginSkeleton
Add property change listener.
addPropertyChangeListener(String, PropertyChangeListener) - Method in class org.apache.log4j.plugins.PluginSkeleton
Add property change listener for one property only.
appenderAddedEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.LoggerEventListener
Called when an appender is added to the logger.
appenderRemovedEvent(Logger, Appender) - Method in interface org.apache.log4j.spi.LoggerEventListener
Called when an appender is removed from the logger.
APPLICATION_KEY - Static variable in interface org.apache.log4j.helpers.Constants
application string literal.

C

changePeriod(Job, long) - Method in class org.apache.log4j.scheduler.Scheduler
Change the period of a job.
CODES_HREF - Static variable in interface org.apache.log4j.helpers.Constants
Codes URL string literal.
Component - Interface in org.apache.log4j.spi
A common interface shared by log4j components.
ComponentBase - Class in org.apache.log4j.spi
Most log4j components derive from this class.
ComponentBase() - Constructor for class org.apache.log4j.spi.ComponentBase
Construct a new instance.
configurationChangedEvent(LoggerRepository) - Method in interface org.apache.log4j.spi.LoggerRepositoryEventListener
Called when the repository configuration is changed.
configurationResetEvent(LoggerRepository) - Method in interface org.apache.log4j.spi.LoggerRepositoryEventListener
Called when the repository configuration is reset.
CONFIGURATOR_CLASS_KEY - Static variable in interface org.apache.log4j.helpers.Constants
log4j.configuratorClass string literal.
configure(Element) - Static method in class org.apache.log4j.plugins.PluginConfigurator
Configure log4j using a configuration element as defined in the log4j.dtd.
configure(String) - Static method in class org.apache.log4j.plugins.PluginConfigurator
A static version of PluginConfigurator.doConfigure(String, LoggerRepository).
configure(URL) - Static method in class org.apache.log4j.plugins.PluginConfigurator
A static version of PluginConfigurator.doConfigure(URL, LoggerRepository).
configureAndWatch(String) - Static method in class org.apache.log4j.plugins.PluginConfigurator
Like PluginConfigurator.configureAndWatch(String, long) except that the default delay as defined by FileWatchdog.DEFAULT_DELAY is used.
configureAndWatch(String, long) - Static method in class org.apache.log4j.plugins.PluginConfigurator
Read the configuration file configFilename if it exists.
Constants - Interface in org.apache.log4j.helpers
Constants used internally throughout log4j.

D

DATE_AND_TIME_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
DATE string literal.
DATE_AND_TIME_PATTERN - Static variable in interface org.apache.log4j.helpers.Constants
SimpleTimePattern for DATE.
debug(Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a message object with the DEBUG level.
debug(Object, Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a parameterized message object at the DEBUG level.
debug(String, Object, Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a parameterized message object at the DEBUG level.
debug(Object, Throwable) - Method in class org.apache.log4j.spi.Log4JULogger
Log a message object with the DEBUG level including the stack trace of the Throwablet passed as parameter.
debug(Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a message object with the DEBUG level.
debug(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a parameterized message object at the DEBUG level.
debug(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a parameterized message object at the DEBUG level.
debug(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
Log a message object with the DEBUG level including the stack trace of the Throwablet passed as parameter.
debug(Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message object with the DEBUG level.
debug(Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a parameterized message object at the DEBUG level.
debug(String, Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a parameterized message object at the DEBUG level.
debug(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message object with the DEBUG level including the stack trace of the Throwablet passed as parameter.
debug(Object) - Method in interface org.apache.log4j.ULogger
Log a message object with the DEBUG level.
debug(Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the DEBUG level.
debug(String, Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the DEBUG level.
debug(Object, Throwable) - Method in interface org.apache.log4j.ULogger
Log a message object with the DEBUG level including the stack trace of the Throwablet passed as parameter.
DEFAULT_CONFIGURATION_FILE - Static variable in interface org.apache.log4j.helpers.Constants
The default property file name for automatic configuration.
DEFAULT_CONFIGURATION_KEY - Static variable in interface org.apache.log4j.helpers.Constants
log4j.configuration string literal.
DEFAULT_REPOSITORY_NAME - Static variable in interface org.apache.log4j.helpers.Constants
The name of the default repository is "default" (without the quotes).
DEFAULT_XML_CONFIGURATION_FILE - Static variable in interface org.apache.log4j.helpers.Constants
The default XML configuration file name for automatic configuration.
delete(Job) - Method in class org.apache.log4j.scheduler.Scheduler
Delete the given job.
doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.plugins.PluginConfigurator
 
doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.plugins.PluginConfigurator
 
doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.plugins.PluginConfigurator
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
doConfigure(Reader, LoggerRepository) - Method in class org.apache.log4j.plugins.PluginConfigurator
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
doConfigure(InputSource, LoggerRepository) - Method in class org.apache.log4j.plugins.PluginConfigurator
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
doConfigure(Element, LoggerRepository) - Method in class org.apache.log4j.plugins.PluginConfigurator
Configure by taking in an DOM element.
doPost(LoggingEvent) - Method in class org.apache.log4j.plugins.Receiver
Posts the logging event to a logger in the configured logger repository.
dump() - Method in class org.apache.log4j.spi.ErrorItem
Dump the details of this ErrorItem to System.out.
dump(PrintStream) - Method in class org.apache.log4j.spi.ErrorItem
Dump the details of this ErrorItem on the specified PrintStream.

E

emitNoAppenderWarning(Category) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Issue warning that there are no appenders in hierarchy.
error(Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a message object with the ERROR level.
error(Object, Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a parameterized message object at the ERROR level.
error(String, Object, Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a parameterized message object at the ERROR level.
error(Object, Throwable) - Method in class org.apache.log4j.spi.Log4JULogger
Log a message object with the ERROR level including the stack trace of the Throwablet passed as parameter.
error(Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a message object with the ERROR level.
error(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a parameterized message object at the ERROR level.
error(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a parameterized message object at the ERROR level.
error(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
Log a message object with the ERROR level including the stack trace of the Throwablet passed as parameter.
error(Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message object with the ERROR level.
error(Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a parameterized message object at the ERROR level.
error(String, Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a parameterized message object at the ERROR level.
error(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message object with the ERROR level including the stack trace of the Throwablet passed as parameter.
error(Object) - Method in interface org.apache.log4j.ULogger
Log a message object with the ERROR level.
error(Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the ERROR level.
error(String, Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the ERROR level.
error(Object, Throwable) - Method in interface org.apache.log4j.ULogger
Log a message object with the ERROR level including the stack trace of the Throwablet passed as parameter.
ErrorItem - Class in org.apache.log4j.spi
Used to store special log4j errors which cannot be logged using internal logging.
ErrorItem(String, Exception) - Constructor for class org.apache.log4j.spi.ErrorItem
Create new instance.
ErrorItem(String) - Constructor for class org.apache.log4j.spi.ErrorItem
Creaet new instance.
execute() - Method in interface org.apache.log4j.scheduler.Job
Execute job.
exists(String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Check if the named logger exists in the hierarchy.

F

findAppenderByName(Document, String) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to parse appenders by IDREF name.
findAppenderByReference(Element) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to parse appenders by IDREF element.
fireAddAppenderEvent(Category, Appender) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Requests that a appender added event be sent to any registered LoggerEventListener.
fireConfigurationChangedEvent() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Requests that a configuration changed event be sent to any registered LoggerRepositoryEventListener.
fireConfigurationChangedEvent() - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Requests that a configuration changed event be sent to any registered LoggerRepositoryEventListener.
fireLevelChangedEvent(Logger) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Requests that a level changed event be sent to any registered LoggerEventListener.
fireLevelChangedEvent(Logger) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Requests that a level changed event be sent to any registered LoggerEventListener.
firePropertyChange(PropertyChangeEvent) - Method in class org.apache.log4j.plugins.PluginSkeleton
Fire a property change event to appropriate listeners.
firePropertyChange(String, boolean, boolean) - Method in class org.apache.log4j.plugins.PluginSkeleton
Fire property change event to appropriate listeners.
firePropertyChange(String, int, int) - Method in class org.apache.log4j.plugins.PluginSkeleton
Fire property change event to appropriate listeners.
firePropertyChange(String, Object, Object) - Method in class org.apache.log4j.plugins.PluginSkeleton
Fire property change event to appropriate listeners.
fireRemoveAppenderEvent(Category, Appender) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Requests that a appender removed event be sent to any registered LoggerEventListener.
fireRemoveAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Requests that a appender removed event be sent to any registered LoggerEventListener.
format(String, Object) - Static method in class org.apache.log4j.helpers.MessageFormatter
Performs single argument substitution for the 'messagePattern' passed as parameter.
format(String, Object, Object) - Static method in class org.apache.log4j.helpers.MessageFormatter
/** Performs a two argument substitution for the 'messagePattern' passed as parameter.

G

getColNumber() - Method in class org.apache.log4j.spi.ErrorItem
Get column number.
getCurrentCategories() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Deprecated. Please use LoggerRepositoryExImpl.getCurrentLoggers() instead.
getCurrentLoggers() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Returns all the currently defined categories in this hierarchy as an Enumeration.
getErrorList() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Return the the list of previously encoutered error items.
getErrorList() - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Errors which cannot be logged, go to the error list.
getException() - Method in class org.apache.log4j.spi.ErrorItem
Get exception.
getLineNumber() - Method in class org.apache.log4j.spi.ErrorItem
Get line number.
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.
getLogger() - Method in class org.apache.log4j.spi.ComponentBase
Return an instance specific logger to be used by the component itself.
getLogger(String) - Static method in class org.apache.log4j.spi.NOPULogger
Get instance.
getLogger(String) - Static method in class org.apache.log4j.spi.SimpleULogger
Creates a new instance.
getLoggerFactory() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get logger factory.
getLoggerFactory() - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Returns the logger factory used by LoggerRepository.getLogger(String).
getLoggerRepository() - Method in interface org.apache.log4j.plugins.Plugin
Gets the logger repository for this plugin.
getLoggerRepository() - Method in class org.apache.log4j.plugins.PluginRegistry
Get logger repository.
getLoggerRepository() - Method in class org.apache.log4j.plugins.PluginSkeleton
Gets the logger repository for this plugin.
getLoggerRepository() - Method in class org.apache.log4j.spi.ComponentBase
Return the LoggerRepository to which this component is attached.
getMessage() - Method in class org.apache.log4j.spi.ErrorItem
Get message.
getName() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Return the name of this hierarchy.
getName() - Method in interface org.apache.log4j.plugins.Plugin
Gets the name of the plugin.
getName() - Method in class org.apache.log4j.plugins.PluginSkeleton
Gets the name of the plugin.
getName() - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Get the name of this logger repository.
getNonFloodingLogger() - Method in class org.apache.log4j.spi.ComponentBase
Frequently called methods in log4j components can invoke this method in order to avoid flooding the output when logging lasting error conditions.
getObject(String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get object by key.
getObject(String) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
A LoggerRepository can also act as a store for various objects used by log4j components.
getPlugin() - Method in class org.apache.log4j.plugins.PluginEvent
Returns the source Plugin of this event, which is simple the getSource() method casted to Plugin for convenience.
getPluginRegistry() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Return the PluginRegisty for this LoggerRepository.
getPluginRegistry() - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Return the PluginRegisty for this LoggerRepository.
getPlugins() - Method in class org.apache.log4j.plugins.PluginRegistry
Returns all the plugins for a given repository.
getPlugins(Class) - Method in class org.apache.log4j.plugins.PluginRegistry
Returns all the plugins for a given repository that are instances of a certain class.
getProperties() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get the properties specific for this repository.
getProperties() - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Get the properties specific for this repository.
getProperty(String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get the property of this repository.
getProperty(String) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Get the property of this repository.
getRendererMap() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get the renderer map for this hierarchy.
getRootLogger() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Get the root of this hierarchy.
getScheduler() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Return this repository's own scheduler.
getScheduler() - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Return the Scheduler for this LoggerRepository.
getThreshold() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Returns the current threshold.
getThreshold() - Method in class org.apache.log4j.plugins.Receiver
Gets the current threshold setting of the receiver.
getThreshold() - Method in interface org.apache.log4j.spi.Thresholdable
Gets the current threshold setting of the component.

H

HOSTNAME_KEY - Static variable in interface org.apache.log4j.helpers.Constants
hostname string literal.

I

info(Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a message object with the INFO level.
info(Object, Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a parameterized message object at the INFO level.
info(String, Object, Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a parameterized message object at the INFO level.
info(Object, Throwable) - Method in class org.apache.log4j.spi.Log4JULogger
Log a message object with the INFO level including the stack trace of the Throwablet passed as parameter.
info(Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a message object with the INFO level.
info(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a parameterized message object at the INFO level.
info(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a parameterized message object at the INFO level.
info(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
Log a message object with the INFO level including the stack trace of the Throwablet passed as parameter.
info(Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message object with the INFO level.
info(Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a parameterized message object at the INFO level.
info(String, Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a parameterized message object at the INFO level.
info(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message object with the INFO level including the stack trace of the Throwablet passed as parameter.
info(Object) - Method in interface org.apache.log4j.ULogger
Log a message object with the INFO level.
info(Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the INFO level.
info(String, Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the INFO level.
info(Object, Throwable) - Method in interface org.apache.log4j.ULogger
Log a message object with the INFO level including the stack trace of the Throwablet passed as parameter.
isActive() - Method in interface org.apache.log4j.plugins.Plugin
True if the plugin is active and running.
isActive() - Method in class org.apache.log4j.plugins.PluginSkeleton
Returns whether this plugin is Active or not.
isAsSevereAsThreshold(Level) - Method in class org.apache.log4j.plugins.Receiver
Returns true if the given level is equals or greater than the current threshold value of the receiver.
isAsSevereAsThreshold(Level) - Method in interface org.apache.log4j.spi.Thresholdable
Returns true if the given level is equals or greater than the current threshold value of the component.
isDebugEnabled() - Method in class org.apache.log4j.spi.Log4JULogger
Is the logger instance enabled for the DEBUG level?
isDebugEnabled() - Method in class org.apache.log4j.spi.NOPULogger
Is the logger instance enabled for the DEBUG level?
isDebugEnabled() - Method in class org.apache.log4j.spi.SimpleULogger
Is the logger instance enabled for the DEBUG level?
isDebugEnabled() - Method in interface org.apache.log4j.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.plugins.Plugin
Returns true if the testPlugin is considered to be "equivalent" to the this plugin.
isEquivalent(Plugin) - Method in class org.apache.log4j.plugins.PluginSkeleton
Returns true if the plugin has the same name and logger repository as the testPlugin passed in.
isErrorEnabled() - Method in class org.apache.log4j.spi.Log4JULogger
Is the logger instance enabled for the ERROR level?
isErrorEnabled() - Method in class org.apache.log4j.spi.NOPULogger
Is the logger instance enabled for the ERROR level?
isErrorEnabled() - Method in class org.apache.log4j.spi.SimpleULogger
Is the logger instance enabled for the ERROR level?
isErrorEnabled() - Method in interface org.apache.log4j.ULogger
Is the logger instance enabled for the ERROR level?
isInfoEnabled() - Method in class org.apache.log4j.spi.Log4JULogger
Is the logger instance enabled for the INFO level?
isInfoEnabled() - Method in class org.apache.log4j.spi.NOPULogger
Is the logger instance enabled for the INFO level?
isInfoEnabled() - Method in class org.apache.log4j.spi.SimpleULogger
Is the logger instance enabled for the INFO level?
isInfoEnabled() - Method in interface org.apache.log4j.ULogger
Is the logger instance enabled for the INFO level?
ISO8601_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
ISO8601 string literal.
ISO8601_PATTERN - Static variable in interface org.apache.log4j.helpers.Constants
SimpleTimePattern for ISO8601.
isPaused() - Method in interface org.apache.log4j.plugins.Pauseable
Get paused state.
isPristine() - Method in class org.apache.log4j.LoggerRepositoryExImpl
Is the current configuration of the repository in its original (pristine) state?
isPristine() - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Is the current configuration of the repository in its original (pristine) state?
isWarnEnabled() - Method in class org.apache.log4j.spi.Log4JULogger
Is the logger instance enabled for the WARN level?
isWarnEnabled() - Method in class org.apache.log4j.spi.NOPULogger
Is the logger instance enabled for the WARN level?
isWarnEnabled() - Method in class org.apache.log4j.spi.SimpleULogger
Is the logger instance enabled for the WARN level?
isWarnEnabled() - Method in interface org.apache.log4j.ULogger
Is the logger instance enabled for the WARN level?

J

JNDI_CONTEXT_NAME - Static variable in interface org.apache.log4j.helpers.Constants
JNDI context name string literal.
Job - Interface in org.apache.log4j.scheduler
Job is a very simple interface.

L

levelChangedEvent(Logger) - Method in interface org.apache.log4j.spi.LoggerEventListener
Called when level changed on the logger.
LINE_SEPARATOR - Static variable in class org.apache.log4j.spi.SimpleULogger
Line separator.
LOG4J_ID_KEY - Static variable in interface org.apache.log4j.helpers.Constants
log4jid string literal.
LOG4J_PACKAGE_NAME - Static variable in interface org.apache.log4j.helpers.Constants
log4j package name string literal.
Log4JULogger - Class in org.apache.log4j.spi
An implementation of ULogger on org.apache.log4j.Logger.
Log4JULogger(Logger) - Constructor for class org.apache.log4j.spi.Log4JULogger
Create a new instance.
LoggerEventListener - Interface in org.apache.log4j.spi
Interface used to listen for Logger related events such as add/remove appender or changing levels.
LoggerRepositoryEventListener - Interface in org.apache.log4j.spi
Interface used to listen for LoggerRepository related events such as startup, reset, and shutdown.
LoggerRepositoryEx - Interface in org.apache.log4j.spi
A LoggerRepository is used to create and retrieve Loggers.
LoggerRepositoryExImpl - Class in org.apache.log4j
This class implements LoggerRepositoryEx by wrapping an existing LoggerRepository implementation and implementing the newly added capabilities.
LoggerRepositoryExImpl(LoggerRepository) - Constructor for class org.apache.log4j.LoggerRepositoryExImpl
Constructs a new logger hierarchy.

M

MessageFormatter - Class in org.apache.log4j.helpers
Formats messages according to very simple rules.

N

name - Variable in class org.apache.log4j.plugins.PluginSkeleton
Name of this plugin.
NOP_LOGGER - Static variable in class org.apache.log4j.spi.NOPULogger
The unique instance of NOPLogger.
NOPULogger - Class in org.apache.log4j.spi
A no operation (NOP) implementation of ULogger.

O

org.apache.log4j - package org.apache.log4j
 
org.apache.log4j.helpers - package org.apache.log4j.helpers
 
org.apache.log4j.plugins - package org.apache.log4j.plugins
 
org.apache.log4j.scheduler - package org.apache.log4j.scheduler
 
org.apache.log4j.spi - package org.apache.log4j.spi
 
org.apache.log4j.xml - package org.apache.log4j.xml
 

P

parse(Element) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to configure the log4j framework by parsing a DOM tree of XML elements based on log4j.dtd.
parseAppender(Element) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to parse an appender element.
parseCategory(Element) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to parse an category element.
parseCategoryFactory(Element) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to parse the category factory element.
parseChildrenOfLoggerElement(Element, Logger, boolean) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to parse the children of a category element.
parseElement(Element, Properties, Class) - Static method in class org.apache.log4j.plugins.PluginConfigurator
Creates an OptionHandler and processes any nested param elements but does not call activateOptions.
parseErrorHandler(Element, Appender) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to parse an ErrorHandler element.
parseFilters(Element, Appender) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to parse a filter element.
parseLayout(Element) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to parse a layout element.
parseLevel(Element, Logger, boolean) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to parse a level element.
parseRenderer(Element) - Method in class org.apache.log4j.plugins.PluginConfigurator
 
parseRoot(Element) - Method in class org.apache.log4j.plugins.PluginConfigurator
Used internally to parse the roor category element.
parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Called to inform a configured object when an unrecognized child element is encountered.
parseUnrecognizedElement(Element, Properties) - Method in interface org.apache.log4j.xml.UnrecognizedElementHandler
Called to inform a configured object when an unrecognized child element is encountered.
Pauseable - Interface in org.apache.log4j.plugins
Instances of this interface can be paused, and resumed.
Plugin - Interface in org.apache.log4j.plugins
Defines the required interface for all Plugin objects.
PluginConfigurator - Class in org.apache.log4j.plugins
This is a duplicate (with minor modifications) of the log4j 1.2.15 DOMConfigurator renamed for use with earlier versions of log4j.
PluginConfigurator() - Constructor for class org.apache.log4j.plugins.PluginConfigurator
No argument constructor.
PluginEvent - Class in org.apache.log4j.plugins
All Plugin events are encapsulated in this class, which simply contains the source Plugin, but may in future include more information.
PluginListener - Interface in org.apache.log4j.plugins
PluginListeners are notified when plugins are started or stopped by the PluginRegistry.
pluginNameExists(String) - Method in class org.apache.log4j.plugins.PluginRegistry
Returns true if the specified name is already taken by an existing Plugin registered within the scope of the specified LoggerRepository.
PluginRegistry - Class in org.apache.log4j.plugins
This is a registry for Plugin instances.
PluginRegistry(LoggerRepositoryEx) - Constructor for class org.apache.log4j.plugins.PluginRegistry
Creates a new instance.
PluginSkeleton - Class in org.apache.log4j.plugins
A convienent abstract class for plugin subclasses that implements the basic methods of the Plugin interface.
PluginSkeleton() - Constructor for class org.apache.log4j.plugins.PluginSkeleton
Construct new instance.
pluginStarted(PluginEvent) - Method in interface org.apache.log4j.plugins.PluginListener
Notification that plugin has started.
pluginStopped(PluginEvent) - Method in interface org.apache.log4j.plugins.PluginListener
Notification that plugin has stopped.
putObject(String, Object) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Puts object by key.
putObject(String, Object) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Store an object under 'key'.

R

Receiver - Class in org.apache.log4j.plugins
Defines the base class for Receiver plugins.
Receiver() - Constructor for class org.apache.log4j.plugins.Receiver
Create new instance.
RECEIVER_NAME_KEY - Static variable in interface org.apache.log4j.helpers.Constants
receiver string literal.
removeLoggerEventListener(LoggerEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Remove a LoggerEventListener from the repository.
removeLoggerEventListener(LoggerEventListener) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Remove a LoggerEventListener from the repository.
removeLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Remove a LoggerRepositoryEventListener from the repository.
removeLoggerRepositoryEventListener(LoggerRepositoryEventListener) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Remove a LoggerRepositoryEventListener from the repository.
removePluginListener(PluginListener) - Method in class org.apache.log4j.plugins.PluginRegistry
Removes a particular PluginListener from this registry such that it will no longer be notified of PluginEvents.
removePropertyChangeListener(PropertyChangeListener) - Method in interface org.apache.log4j.plugins.Plugin
Removes a specific PropertyChangeListener from this instances registry that has been mapped to be notified of all property changes.
removePropertyChangeListener(String, PropertyChangeListener) - Method in interface org.apache.log4j.plugins.Plugin
Removes a specific PropertyChangeListener from this instance's registry which has been previously registered to be notified of only a specific property change.
removePropertyChangeListener(PropertyChangeListener) - Method in class org.apache.log4j.plugins.PluginSkeleton
Remove property change listener.
removePropertyChangeListener(String, PropertyChangeListener) - Method in class org.apache.log4j.plugins.PluginSkeleton
Remove property change listener on a specific property.
repository - Variable in class org.apache.log4j.spi.ComponentBase
Logger repository.
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.spi.ComponentBase
Called by derived classes when they deem that the component has recovered from an erroneous state.
run() - Method in class org.apache.log4j.scheduler.Scheduler
Run scheduler.

S

schedule(Job, long) - Method in class org.apache.log4j.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.scheduler.Scheduler
Schedule a Job for execution at system time given by the desiredTime parameter.
Scheduler - Class in org.apache.log4j.scheduler
A simple but still useful implementation of a Scheduler (in memory only).
Scheduler() - Constructor for class org.apache.log4j.scheduler.Scheduler
Create new instance.
setColNumber(int) - Method in class org.apache.log4j.spi.ErrorItem
Set column number.
setException(Throwable) - Method in class org.apache.log4j.spi.ErrorItem
Set exception.
setLineNumber(int) - Method in class org.apache.log4j.spi.ErrorItem
Set line number.
setLoggerFactory(LoggerFactory) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Set logger factory.
setLoggerFactory(LoggerFactory) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Sets the logger factory used by LoggerRepository.getLogger(String).
setLoggerRepository(LoggerRepository) - Method in interface org.apache.log4j.plugins.Plugin
Sets the logger repository used by this plugin.
setLoggerRepository(LoggerRepository) - Method in class org.apache.log4j.plugins.PluginSkeleton
Sets the logger repository used by this plugin and notifies a relevant PropertyChangeListeners registered.
setLoggerRepository(LoggerRepository) - Method in interface org.apache.log4j.spi.Component
Set owning logger repository for this component.
setLoggerRepository(LoggerRepository) - Method in class org.apache.log4j.spi.ComponentBase
Set the owning repository.
setMessage(String) - Method in class org.apache.log4j.spi.ErrorItem
Set message.
setName(String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Set the name of this repository.
setName(String) - Method in interface org.apache.log4j.plugins.Plugin
Sets the name of the plugin.
setName(String) - Method in class org.apache.log4j.plugins.PluginSkeleton
Sets the name of the plugin and notifies PropertyChangeListeners of the change.
setName(String) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
A logger repository is a named entity.
setParameter(Element, PropertySetter) - Method in class org.apache.log4j.plugins.PluginConfigurator
 
setParameter(Element, PropertySetter, Properties) - Static method in class org.apache.log4j.plugins.PluginConfigurator
Sets a parameter based from configuration file content.
setPaused(boolean) - Method in interface org.apache.log4j.plugins.Pauseable
Set paused state.
setPristine(boolean) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Set the pristine flag.
setPristine(boolean) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Set the pristine flag.
setProperty(String, String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Set a property by key and value.
setProperty(String, String) - Method in interface org.apache.log4j.spi.LoggerRepositoryEx
Set a property of this repository.
setRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Used by subclasses to add a renderer to the hierarchy passed as parameter.
setThreshold(String) - Method in class org.apache.log4j.LoggerRepositoryExImpl
The string form of LoggerRepositoryExImpl.setThreshold(Level).
setThreshold(Level) - Method in class org.apache.log4j.LoggerRepositoryExImpl
Enable logging for logging requests with level l or higher.
setThreshold(Level) - Method in class org.apache.log4j.plugins.Receiver
Sets the receiver theshold to the given level.
setThreshold(Level) - Method in interface org.apache.log4j.spi.Thresholdable
Sets the component theshold to the given level.
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 interface org.apache.log4j.plugins.Plugin
Call when the plugin should be stopped.
shutdown() - Method in class org.apache.log4j.scheduler.Scheduler
Shut down scheduler.
shutdownEvent(LoggerRepository) - Method in interface org.apache.log4j.spi.LoggerRepositoryEventListener
Called when the repository is shutdown.
SimpleULogger - Class in org.apache.log4j.spi
A simple implementation that logs messages of level INFO or higher on the console (System.out).
stopAllPlugins() - Method in class org.apache.log4j.plugins.PluginRegistry
Stops all plugins in the given logger repository.
stopPlugin(String) - Method in class org.apache.log4j.plugins.PluginRegistry
Stops a plugin by plugin name and repository.
subst(String) - Method in class org.apache.log4j.plugins.PluginConfigurator
 
subst(String, Properties) - Static method in class org.apache.log4j.plugins.PluginConfigurator
Substitutes property value for any references in expression.

T

TEMP_CONSOLE_APPENDER_NAME - Static variable in interface org.apache.log4j.helpers.Constants
TEMP_CONSOLE_APPENDER string literal.
TEMP_LIST_APPENDER_NAME - Static variable in interface org.apache.log4j.helpers.Constants
TEMP_LIST_APPENDER string literal.
Thresholdable - Interface in org.apache.log4j.spi
An interface that defines the required methods for supporting the setting and getting of a level threshold.
thresholdLevel - Variable in class org.apache.log4j.plugins.Receiver
Threshold level.
TIMESTAMP_RULE_FORMAT - Static variable in interface org.apache.log4j.helpers.Constants
time stamp pattern string literal.
toString() - Method in class org.apache.log4j.spi.ErrorItem
String representation of ErrorItem.

U

ULogger - Interface in org.apache.log4j
A proxy for org.slf4j.ULogger.
UnrecognizedElementHandler - Interface in org.apache.log4j.xml
When implemented by an object configured by DOMConfigurator, the handle method will be called when an unrecognized child element is encountered.

W

warn(Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a message object with the WARN level.
warn(Object, Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a parameterized message object at the WARN level.
warn(String, Object, Object) - Method in class org.apache.log4j.spi.Log4JULogger
Log a parameterized message object at the WARN level.
warn(Object, Throwable) - Method in class org.apache.log4j.spi.Log4JULogger
Log a message object with the WARN level including the stack trace of the Throwablet passed as parameter.
warn(Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a message object with the WARN level.
warn(Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a parameterized message object at the WARN level.
warn(String, Object, Object) - Method in class org.apache.log4j.spi.NOPULogger
Log a parameterized message object at the WARN level.
warn(Object, Throwable) - Method in class org.apache.log4j.spi.NOPULogger
Log a message object with the WARN level including the stack trace of the Throwablet passed as parameter.
warn(Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message object with the WARN level.
warn(Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a parameterized message object at the WARN level.
warn(String, Object, Object) - Method in class org.apache.log4j.spi.SimpleULogger
Log a parameterized message object at the WARN level.
warn(Object, Throwable) - Method in class org.apache.log4j.spi.SimpleULogger
Log a message object with the WARN level including the stack trace of the Throwablet passed as parameter.
warn(Object) - Method in interface org.apache.log4j.ULogger
Log a message object with the WARN level.
warn(Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the WARN level.
warn(String, Object, Object) - Method in interface org.apache.log4j.ULogger
Log a parameterized message object at the WARN level.
warn(Object, Throwable) - Method in interface org.apache.log4j.ULogger
Log a message object with the WARN level including the stack trace of the Throwablet passed as parameter.

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

Copyright © 2007 Apache Software Foundation. All Rights Reserved.