Skip navigation links
A B C D E F G H I L M N O P R S T W 

A

ACCEPT - Static variable in class org.apache.log4j.spi.Filter
The log event must be logged immediately without consulting with the remaining filters, if any, in the chain.
activateOptions() - Method in class org.apache.log4j.AppenderSkeleton
 
activateOptions() - Method in class org.apache.log4j.spi.Filter
Usually filters options become active when set.
activateOptions() - Method in interface org.apache.log4j.spi.OptionHandler
 
addAppender(Appender) - Method in class org.apache.log4j.Category
No-op implementation.
addAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
 
addFilter(Filter) - Method in interface org.apache.log4j.Appender
Add a filter to the end of the filter list.
addFilter(Filter) - Method in class org.apache.log4j.AppenderSkeleton
 
addHierarchyEventListener(HierarchyEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
Add a HierarchyEventListener event to the repository.
ALL - Static variable in class org.apache.log4j.Level
The ALL has the lowest possible rank and is intended to turn on all logging.
ALL_INT - Static variable in class org.apache.log4j.Priority
The ALL has the lowest possible rank and is intended to turn on all logging.
append(LoggingEvent) - Method in class org.apache.log4j.AppenderSkeleton
 
append(LoggingEvent) - Method in class org.apache.log4j.ConsoleAppender
Appender - Interface in org.apache.log4j
Implement this interface for your own strategies for outputting log statements.
AppenderSkeleton - Class in org.apache.log4j
The base class for Appenders in Log4j 1.
AppenderSkeleton() - Constructor for class org.apache.log4j.AppenderSkeleton
Create new instance.
AppenderSkeleton(boolean) - Constructor for class org.apache.log4j.AppenderSkeleton
 
AppenderSkeleton.NoOpErrorHandler - Class in org.apache.log4j
 
assertLog(boolean, String) - Method in class org.apache.log4j.Category
If assertion parameter is false, then logs msg as an error statement.

B

BasicConfigurator - Class in org.apache.log4j
Provided for compatibility with Log4j 1.x.
BasicConfigurator() - Constructor for class org.apache.log4j.BasicConfigurator
 
buildConfigurationBuilder(InputStream) - Method in class org.apache.log4j.config.Log4j1ConfigurationParser
Parses a Log4j 1.2 properties configuration file in ISO 8859-1 encoding into a ConfigurationBuilder.
bundle - Variable in class org.apache.log4j.Category
Resource bundle for localized messages.

C

callAppenders(LoggingEvent) - Method in class org.apache.log4j.Category
No-op implementation.
Category - Class in org.apache.log4j
Implementation of the Category class for compatibility, despite it having been deprecated a long, long time ago.
Category(LoggerContext, String) - Constructor for class org.apache.log4j.Category
Constructor used by Logger to specify a LoggerContext.
Category(String) - Constructor for class org.apache.log4j.Category
Constructor exposed by Log4j 1.2.
CategoryUtil - Class in org.apache.log4j.legacy.core
Provide access to Log4j Core Logger methods.
clear() - Static method in class org.apache.log4j.MDC
 
clear() - Static method in class org.apache.log4j.NDC
Clear any nested diagnostic information if any.
clearFilters() - Method in interface org.apache.log4j.Appender
Clear the list of filters by removing all the filters in it.
clearFilters() - Method in class org.apache.log4j.AppenderSkeleton
 
cloneStack() - Static method in class org.apache.log4j.NDC
Clone the diagnostic context for the current thread.
close() - Method in interface org.apache.log4j.Appender
Release any resources allocated within the appender such as file handles, network connections, etc.
close() - Method in class org.apache.log4j.ConsoleAppender
Release any resources allocated within the appender such as file handles, network connections, etc.
closed - Variable in class org.apache.log4j.AppenderSkeleton
 
CommandLineArguments() - Constructor for class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
CONFIGURATOR_CLASS_KEY - Static variable in class org.apache.log4j.LogManager
Deprecated.
This variable is for internal use only. It will become private in future versions.
configure() - Static method in class org.apache.log4j.BasicConfigurator
 
configure(Appender) - Static method in class org.apache.log4j.BasicConfigurator
No-op implementation.
configure(String) - Static method in class org.apache.log4j.PropertyConfigurator
Read configuration options from configuration file.
configure(URL) - Static method in class org.apache.log4j.PropertyConfigurator
Read configuration options from url configURL.
configure(InputStream) - Static method in class org.apache.log4j.PropertyConfigurator
Reads configuration options from an InputStream.
configure(Properties) - Static method in class org.apache.log4j.PropertyConfigurator
Read configuration options from properties.
configure(Element) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
configure(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
configure(URL) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
configureAndWatch(String) - Static method in class org.apache.log4j.PropertyConfigurator
Like PropertyConfigurator.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.PropertyConfigurator
Read the configuration file configFilename if it exists.
configureAndWatch(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
configureAndWatch(String, long) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
ConsoleAppender - Class in org.apache.log4j
Console-appender.
ConsoleAppender() - Constructor for class org.apache.log4j.ConsoleAppender
 
ContextUtil - Class in org.apache.log4j.legacy.core
Implements LoggerContext methods specific to log4j-core.
convert(InputStream, OutputStream) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter
 
createLayout(boolean, boolean) - Static method in class org.apache.log4j.layout.Log4j1XmlLayout
 

D

debug(Object) - Method in class org.apache.log4j.Category
 
debug(Object, Throwable) - Method in class org.apache.log4j.Category
 
DEBUG - Static variable in class org.apache.log4j.Level
The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
DEBUG - Static variable in class org.apache.log4j.Priority
Deprecated.
Use Level.DEBUG instead.
DEBUG_INT - Static variable in class org.apache.log4j.Priority
The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
decide(LoggingEvent) - Method in class org.apache.log4j.spi.Filter
If the decision is DENY, then the event will be dropped.
DEFAULT_CONFIGURATION_FILE - Static variable in class org.apache.log4j.LogManager
Deprecated.
This variable is for internal use only. It will become package protected in future versions.
DEFAULT_CONFIGURATION_KEY - Static variable in class org.apache.log4j.LogManager
Deprecated.
This variable is for internal use only. It will become private in future versions.
DEFAULT_INIT_OVERRIDE_KEY - Static variable in class org.apache.log4j.LogManager
Deprecated.
This variable is for internal use only. It will become private in future versions.
DENY - Static variable in class org.apache.log4j.spi.Filter
The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain.
doAppend(LoggingEvent) - Method in interface org.apache.log4j.Appender
Log in Appender specific way.
doAppend(LoggingEvent) - Method in class org.apache.log4j.AppenderSkeleton
This method is never going to be called in Log4j 2 so there isn't much point in having any code in it.
doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Read configuration options from configuration file.
doConfigure(Properties, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Read configuration options from properties.
doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Read configuration options from an InputStream.
doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
Read configuration options from url configURL.
doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
 
doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
 
doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
 
doConfigure(Reader, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
 
doConfigure(Element, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
 
DOMConfigurator - Class in org.apache.log4j.xml
 
DOMConfigurator() - Constructor for class org.apache.log4j.xml.DOMConfigurator
 

E

emitNoAppenderWarning(Category) - Method in interface org.apache.log4j.spi.LoggerRepository
 
encode(LogEvent, ByteBufferDestination) - Method in class org.apache.log4j.layout.Log4j1XmlLayout
 
equals(Object) - Method in class org.apache.log4j.Priority
Two priorities are equal if their level fields are equal.
error(String, Exception, int) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
 
error(String) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
 
error(String, Exception, int, LoggingEvent) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
 
error(Object) - Method in class org.apache.log4j.Category
 
error(Object, Throwable) - Method in class org.apache.log4j.Category
 
ERROR - Static variable in class org.apache.log4j.Level
The ERROR level designates error events that might still allow the application to continue running.
ERROR - Static variable in class org.apache.log4j.Priority
Deprecated.
Use Level.ERROR instead.
error(String, Exception, int) - Method in interface org.apache.log4j.spi.ErrorHandler
Equivalent to the ErrorHandler.error(String, Exception, int, LoggingEvent) with the the event parameter set to null.
error(String) - Method in interface org.apache.log4j.spi.ErrorHandler
This method is normally used to just print the error message passed as a parameter.
error(String, Exception, int, LoggingEvent) - Method in interface org.apache.log4j.spi.ErrorHandler
This method is invoked to handle the error.
ERROR_INT - Static variable in class org.apache.log4j.Priority
The ERROR level designates error events that might still allow the application to continue running.
errorHandler - Variable in class org.apache.log4j.AppenderSkeleton
 
ErrorHandler - Interface in org.apache.log4j.spi
Appenders may delegate their error handling to ErrorHandlers.
exists(String) - Method in class org.apache.log4j.Category
 
exists(String) - Static method in class org.apache.log4j.LogManager
 
exists(String) - Method in interface org.apache.log4j.spi.LoggerRepository
 

F

fatal(Object) - Method in class org.apache.log4j.Category
 
fatal(Object, Throwable) - Method in class org.apache.log4j.Category
 
FATAL - Static variable in class org.apache.log4j.Level
The FATAL level designates very severe error events that will presumably lead the application to abort.
FATAL - Static variable in class org.apache.log4j.Priority
Deprecated.
Use Level.FATAL instead.
FATAL_INT - Static variable in class org.apache.log4j.Priority
The FATAL level designates very severe error events that will presumably lead the application to abort.
Filter - Class in org.apache.log4j.spi
 
Filter() - Constructor for class org.apache.log4j.spi.Filter
 
finalize() - Method in class org.apache.log4j.AppenderSkeleton
 
fireAddAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.LoggerRepository
 
forcedLog(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
 
format(LoggingEvent) - Method in class org.apache.log4j.Layout
Implement this method to create your own layout format.
format(LogEvent, StringBuilder) - Method in class org.apache.log4j.pattern.Log4j1MdcPatternConverter
format(LogEvent, StringBuilder) - Method in class org.apache.log4j.pattern.Log4j1NdcPatternConverter
 
format(LoggingEvent) - Method in class org.apache.log4j.PatternLayout
 
format(LoggingEvent) - Method in class org.apache.log4j.SimpleLayout
Implement this method to create your own layout format.

G

get(String) - Static method in class org.apache.log4j.MDC
 
get() - Static method in class org.apache.log4j.NDC
Never use this method directly.
getAdditivity() - Method in class org.apache.log4j.Category
 
getAllAppenders() - Method in class org.apache.log4j.Category
 
getAllPossiblePriorities() - Static method in class org.apache.log4j.Priority
Deprecated.
This method will be removed with no replacement.
getAppender(String) - Method in class org.apache.log4j.Category
No-op implementation.
getChainedPriority() - Method in class org.apache.log4j.Category
 
getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.log4j.config.Log4j1ConfigurationFactory
 
getContentType() - Method in class org.apache.log4j.Layout
Returns the content type output by this layout.
getContext() - Static method in class org.apache.log4j.MDC
 
getCurrentCategories() - Static method in class org.apache.log4j.Category
Deprecated.
Please use LogManager.getCurrentLoggers() instead.
getCurrentCategories() - Method in interface org.apache.log4j.spi.LoggerRepository
Deprecated.
getCurrentLoggers() - Static method in class org.apache.log4j.LogManager
 
getCurrentLoggers() - Method in interface org.apache.log4j.spi.LoggerRepository
 
getDepth() - Static method in class org.apache.log4j.NDC
Get the current nesting depth of this diagnostic context.
getEffectiveLevel() - Method in class org.apache.log4j.Category
 
getErrorHandler() - Method in interface org.apache.log4j.Appender
Returns the ErrorHandler for this appender.
getErrorHandler() - Method in class org.apache.log4j.AppenderSkeleton
 
getFilter() - Method in interface org.apache.log4j.Appender
Returns the head Filter.
getFilter() - Method in class org.apache.log4j.AppenderSkeleton
 
getFirstFilter() - Method in class org.apache.log4j.AppenderSkeleton
 
getFooter() - Method in class org.apache.log4j.Layout
Returns the footer for the layout format.
getHeader() - Method in class org.apache.log4j.Layout
Returns the header for the layout format.
getInstance(String) - Static method in class org.apache.log4j.Category
 
getInstance(Class) - Static method in class org.apache.log4j.Category
 
getInstance() - Static method in class org.apache.log4j.helpers.NullEnumeration
 
getLayout() - Method in interface org.apache.log4j.Appender
Returns this appenders layout.
getLayout() - Method in class org.apache.log4j.AppenderSkeleton
 
getLevel() - Method in class org.apache.log4j.Category
 
getLogger(String) - Static method in class org.apache.log4j.Logger
 
getLogger(Class<?>) - Static method in class org.apache.log4j.Logger
 
getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.Logger
 
getLogger(String) - Static method in class org.apache.log4j.LogManager
 
getLogger(Class<?>) - Static method in class org.apache.log4j.LogManager
 
getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.LogManager
 
getLogger(String) - Method in interface org.apache.log4j.spi.LoggerRepository
 
getLogger(String, LoggerFactory) - Method in interface org.apache.log4j.spi.LoggerRepository
 
getLoggerContext(Logger) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
 
getLoggerRepository() - Static method in class org.apache.log4j.LogManager
 
getLoggerRepository() - Method in interface org.apache.log4j.spi.RepositorySelector
Returns a LoggerRepository depending on the context.
getMessage() - Method in exception org.apache.log4j.config.PropertySetterException
Returns descriptive text on the cause of this exception.
getName() - Method in interface org.apache.log4j.Appender
Get the name of this appender.
getName() - Method in class org.apache.log4j.AppenderSkeleton
 
getName() - Method in class org.apache.log4j.Category
 
getNext() - Method in class org.apache.log4j.spi.Filter
Return the pointer to the next filter.
getParent() - Method in class org.apache.log4j.Category
 
getParent(Logger) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
 
getPathIn() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
getPathOut() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
getPriority() - Method in class org.apache.log4j.Category
 
getRecurseIntoPath() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
getResourceBundle() - Method in class org.apache.log4j.Category
 
getRoot() - Static method in class org.apache.log4j.Category
 
getRootLogger() - Static method in class org.apache.log4j.Logger
 
getRootLogger() - Static method in class org.apache.log4j.LogManager
 
getRootLogger() - Method in interface org.apache.log4j.spi.LoggerRepository
 
getSupportedTypes() - Method in class org.apache.log4j.config.Log4j1ConfigurationFactory
 
getSyslogEquivalent() - Method in class org.apache.log4j.Priority
Returns the syslog equivalent of this priority as an integer.
getThreshold() - Method in class org.apache.log4j.AppenderSkeleton
 
getThreshold() - Method in interface org.apache.log4j.spi.LoggerRepository
Get the repository-wide threshold.

H

hashCode() - Method in class org.apache.log4j.Priority
 
hasMoreElements() - Method in class org.apache.log4j.helpers.NullEnumeration
 
headFilter - Variable in class org.apache.log4j.AppenderSkeleton
 
HierarchyEventListener - Interface in org.apache.log4j.spi
Listen to events occurring within a Hierarchy.

I

ignoresThrowable() - Method in class org.apache.log4j.Layout
If the layout handles the throwable object contained within LoggingEvent, then the layout should return false.
ignoresThrowable() - Method in class org.apache.log4j.PatternLayout
 
ignoresThrowable() - Method in class org.apache.log4j.SimpleLayout
If the layout handles the throwable object contained within LoggingEvent, then the layout should return false.
info(Object) - Method in class org.apache.log4j.Category
 
info(Object, Throwable) - Method in class org.apache.log4j.Category
 
INFO - Static variable in class org.apache.log4j.Level
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
INFO - Static variable in class org.apache.log4j.Priority
Deprecated.
Use Level.INFO instead.
INFO_INT - Static variable in class org.apache.log4j.Priority
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
inherit(Stack<String>) - Static method in class org.apache.log4j.NDC
Inherit the diagnostic context of another thread.
isAdditive(Logger) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
 
isAsSevereAsThreshold(Priority) - Method in class org.apache.log4j.AppenderSkeleton
 
isAttached(Appender) - Method in class org.apache.log4j.Category
Is the appender passed as parameter attached to this category?
isDebugEnabled() - Method in class org.apache.log4j.Category
 
isDisabled(int) - Method in interface org.apache.log4j.spi.LoggerRepository
Returns whether this repository is disabled for a given level.
isEnabledFor(Priority) - Method in class org.apache.log4j.Category
 
isErrorEnabled() - Method in class org.apache.log4j.Category
 
isFailFast() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
isFatalEnabled() - Method in class org.apache.log4j.Category
 
isGreaterOrEqual(Priority) - Method in class org.apache.log4j.Priority
Returns true if this level has a higher or equal level than the level passed as argument, false otherwise.
isInfoEnabled() - Method in class org.apache.log4j.Category
 
isLocationInfo() - Method in class org.apache.log4j.layout.Log4j1XmlLayout
 
isProperties() - Method in class org.apache.log4j.layout.Log4j1XmlLayout
 
isTraceEnabled() - Method in class org.apache.log4j.Category
 
isVerbose() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
isWarnEnabled() - Method in class org.apache.log4j.Category
 

L

l7dlog(Priority, String, Throwable) - Method in class org.apache.log4j.Category
 
l7dlog(Priority, String, Object[], Throwable) - Method in class org.apache.log4j.Category
 
layout - Variable in class org.apache.log4j.AppenderSkeleton
 
Layout - Class in org.apache.log4j
 
Layout() - Constructor for class org.apache.log4j.Layout
 
Level - Class in org.apache.log4j
Defines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR, WARN, INFO, DEBUG and ALL.
Level(int, String, int) - Constructor for class org.apache.log4j.Level
Instantiate a Level object.
LINE_SEP - Static variable in class org.apache.log4j.Layout
 
LINE_SEP_LEN - Static variable in class org.apache.log4j.Layout
Note that the line.separator property can be looked up even by applets.
log(Priority, Object, Throwable) - Method in class org.apache.log4j.Category
 
log(Priority, Object) - Method in class org.apache.log4j.Category
 
log(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
 
Log4j1ConfigurationConverter - Class in org.apache.log4j.config
Tool for converting a Log4j 1.x properties configuration file to Log4j 2.x XML configuration file.
Log4j1ConfigurationConverter.CommandLineArguments - Class in org.apache.log4j.config
 
Log4j1ConfigurationFactory - Class in org.apache.log4j.config
Experimental ConfigurationFactory for Log4j 1.2 properties configuration files.
Log4j1ConfigurationFactory() - Constructor for class org.apache.log4j.config.Log4j1ConfigurationFactory
 
Log4j1ConfigurationParser - Class in org.apache.log4j.config
Experimental parser for Log4j 1.2 properties configuration files.
Log4j1ConfigurationParser() - Constructor for class org.apache.log4j.config.Log4j1ConfigurationParser
 
Log4j1MdcPatternConverter - Class in org.apache.log4j.pattern
Able to handle the contents of the LogEvent's MDC and either output the entire contents of the properties, or to output the value of a specific key within the property bundle when this pattern converter has the option set.
Log4j1NdcPatternConverter - Class in org.apache.log4j.pattern
Returns the event's NDC in a StringBuilder.
Log4j1XmlLayout - Class in org.apache.log4j.layout
Port of XMLLayout in Log4j 1.x.
Logger - Class in org.apache.log4j
 
Logger(String) - Constructor for class org.apache.log4j.Logger
 
LoggerFactory - Interface in org.apache.log4j.spi
Implement this interface to create new instances of Logger or a sub-class of Logger.
LoggerRepository - Interface in org.apache.log4j.spi
A LoggerRepository is used to create and retrieve Loggers.
LoggingEvent - Class in org.apache.log4j.spi
No-op version of Log4j 1.2 LoggingEvent.
LoggingEvent() - Constructor for class org.apache.log4j.spi.LoggingEvent
 
LogManager - Class in org.apache.log4j
 

M

main(String[]) - Static method in class org.apache.log4j.config.Log4j1ConfigurationConverter
 
makeNewLoggerInstance(String) - Method in interface org.apache.log4j.spi.LoggerFactory
 
MDC - Class in org.apache.log4j
This class behaves just like Log4j's MDC would - and so can cause issues with the redeployment of web applications if the Objects stored in the threads Map cannot be garbage collected.

N

name - Variable in class org.apache.log4j.AppenderSkeleton
 
NDC - Class in org.apache.log4j
 
NEUTRAL - Static variable in class org.apache.log4j.spi.Filter
This filter is neutral with respect to the log event.
newInstance(String[]) - Static method in class org.apache.log4j.pattern.Log4j1MdcPatternConverter
Obtains an instance of PropertiesPatternConverter.
newInstance(String[]) - Static method in class org.apache.log4j.pattern.Log4j1NdcPatternConverter
Obtains an instance of NdcPatternConverter.
next - Variable in class org.apache.log4j.spi.Filter
Deprecated.
nextElement() - Method in class org.apache.log4j.helpers.NullEnumeration
 
NoOpErrorHandler() - Constructor for class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
 
NullEnumeration - Class in org.apache.log4j.helpers
An always-empty Enumerator.

O

OFF - Static variable in class org.apache.log4j.Level
The OFF has the highest possible rank and is intended to turn off logging.
OFF_INT - Static variable in class org.apache.log4j.Priority
The OFF has the highest possible rank and is intended to turn off logging.
OptionHandler - Interface in org.apache.log4j.spi
Log4j 1 Interface for dealing with configuration.
org.apache.log4j - package org.apache.log4j
Log4j 1.x compatibility layer.
org.apache.log4j.config - package org.apache.log4j.config
Log4j 1.x compatibility layer.
org.apache.log4j.helpers - package org.apache.log4j.helpers
Log4j 1.x compatibility layer.
org.apache.log4j.layout - package org.apache.log4j.layout
 
org.apache.log4j.legacy.core - package org.apache.log4j.legacy.core
 
org.apache.log4j.pattern - package org.apache.log4j.pattern
 
org.apache.log4j.spi - package org.apache.log4j.spi
Log4j 1.x compatibility layer.
org.apache.log4j.xml - package org.apache.log4j.xml
Log4j 1.x compatibility layer.

P

parseElement(Element, Properties, Class) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
PatternLayout - Class in org.apache.log4j
 
PatternLayout(String) - Constructor for class org.apache.log4j.PatternLayout
 
peek() - Static method in class org.apache.log4j.NDC
Looks at the last diagnostic context at the top of this NDC without removing it.
pop() - Static method in class org.apache.log4j.NDC
Clients should call this method before leaving a diagnostic context.
Priority - Class in org.apache.log4j
Refrain from using this class directly, use the Level class instead.
Priority() - Constructor for class org.apache.log4j.Priority
Default constructor for deserialization.
Priority(int, String, int) - Constructor for class org.apache.log4j.Priority
Instantiate a level object.
PropertyConfigurator - Class in org.apache.log4j
A configurator for properties.
PropertyConfigurator() - Constructor for class org.apache.log4j.PropertyConfigurator
 
PropertySetter - Class in org.apache.log4j.config
 
PropertySetter(Object) - Constructor for class org.apache.log4j.config.PropertySetter
Create a new PropertySetter for the specified Object.
PropertySetterException - Exception in org.apache.log4j.config
Thrown when an error is encountered whilst attempting to set a property using the PropertySetter utility class.
PropertySetterException(String) - Constructor for exception org.apache.log4j.config.PropertySetterException
Construct the exception with the given message.
PropertySetterException(Throwable) - Constructor for exception org.apache.log4j.config.PropertySetterException
Construct the exception with the given root cause.
push(String) - Static method in class org.apache.log4j.NDC
Push new diagnostic context information for the current thread.
put(String, String) - Static method in class org.apache.log4j.MDC
 
put(String, Object) - Static method in class org.apache.log4j.MDC
 

R

readResolve() - Method in class org.apache.log4j.Level
Resolved deserialized level to one of the stock instances.
reconfigure(LoggerContext) - Static method in class org.apache.log4j.legacy.core.ContextUtil
 
remove(String) - Static method in class org.apache.log4j.MDC
 
remove() - Static method in class org.apache.log4j.NDC
Remove the diagnostic context for this thread.
removeAllAppenders() - Method in class org.apache.log4j.Category
No-op implementation.
removeAppender(Appender) - Method in class org.apache.log4j.Category
No-op implementation.
removeAppender(String) - Method in class org.apache.log4j.Category
No-op implementation.
removeAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
 
RepositorySelector - Interface in org.apache.log4j.spi
The LogManager uses one (and only one) RepositorySelector implementation to select the LoggerRepository for a particular application context.
requiresLayout() - Method in interface org.apache.log4j.Appender
Configurators call this method to determine if the appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.ConsoleAppender
Configurators call this method to determine if the appender requires a layout.
resetConfiguration() - Static method in class org.apache.log4j.BasicConfigurator
No-op implementation.
resetConfiguration() - Static method in class org.apache.log4j.LogManager
No-op implementation.
resetConfiguration() - Method in interface org.apache.log4j.spi.LoggerRepository
 
rootCause - Variable in exception org.apache.log4j.config.PropertySetterException
The root cause.
run() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
run(Log4j1ConfigurationConverter.CommandLineArguments) - Static method in class org.apache.log4j.config.Log4j1ConfigurationConverter
 

S

setAdditivity(boolean) - Method in class org.apache.log4j.Category
 
setAdditivity(Logger, boolean) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
 
setAppender(Appender) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
 
setAppender(Appender) - Method in interface org.apache.log4j.spi.ErrorHandler
Set the appender for which errors are handled.
setBackupAppender(Appender) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
 
setBackupAppender(Appender) - Method in interface org.apache.log4j.spi.ErrorHandler
Set the appender to fallback upon in case of failure.
setErrorHandler(ErrorHandler) - Method in interface org.apache.log4j.Appender
Set the ErrorHandler for this appender.
setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.AppenderSkeleton
Set the ErrorHandler for this Appender.
setFailFast(boolean) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
setLayout(Layout) - Method in interface org.apache.log4j.Appender
Set the Layout for this appender.
setLayout(Layout) - Method in class org.apache.log4j.AppenderSkeleton
 
setLevel(Level) - Method in class org.apache.log4j.Category
 
setLevel(Logger, Level) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
 
setLogger(Logger) - Method in class org.apache.log4j.AppenderSkeleton.NoOpErrorHandler
 
setLogger(Logger) - Method in interface org.apache.log4j.spi.ErrorHandler
Add a reference to a logger to which the failing appender might be attached to.
setMaxDepth(int) - Static method in class org.apache.log4j.NDC
Set maximum depth of this diagnostic context.
setName(String) - Method in interface org.apache.log4j.Appender
Set the name of this appender.
setName(String) - Method in class org.apache.log4j.AppenderSkeleton
 
setNext(Filter) - Method in class org.apache.log4j.spi.Filter
Set the next filter pointer.
setParameter(Element, PropertySetter, Properties) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
setPathIn(Path) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
setPathOut(Path) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
setPriority(Priority) - Method in class org.apache.log4j.Category
 
setProperties(Properties, String) - Method in class org.apache.log4j.config.PropertySetter
Set the properties for the object that match the prefix passed as parameter.
setProperties(Object, Properties, String) - Static method in class org.apache.log4j.config.PropertySetter
Set the properties of an object passed as a parameter in one go.
setProperty(String, String) - Method in class org.apache.log4j.config.PropertySetter
Set a property on this PropertySetter's Object.
setProperty(PropertyDescriptor, String, String) - Method in class org.apache.log4j.config.PropertySetter
Set the named property given a PropertyDescriptor.
setRecurseIntoPath(Path) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
setRepositorySelector(RepositorySelector, Object) - Static method in class org.apache.log4j.LogManager
No-op implementation.
setResourceBundle(ResourceBundle) - Method in class org.apache.log4j.Category
 
setThreshold(Priority) - Method in class org.apache.log4j.AppenderSkeleton
 
setThreshold(Level) - Method in interface org.apache.log4j.spi.LoggerRepository
Set the repository-wide threshold.
setThreshold(String) - Method in interface org.apache.log4j.spi.LoggerRepository
Another form of LoggerRepository.setThreshold(Level) accepting a string parameter instead of a Level.
setVerbose(boolean) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
shutdown() - Static method in class org.apache.log4j.Category
No-op implementation.
shutdown() - Static method in class org.apache.log4j.LogManager
No-op implementation.
shutdown() - Method in interface org.apache.log4j.spi.LoggerRepository
 
SimpleLayout - Class in org.apache.log4j
Simple-layout.
SimpleLayout() - Constructor for class org.apache.log4j.SimpleLayout
 
subst(String, Properties) - Static method in class org.apache.log4j.xml.DOMConfigurator
 

T

tailFilter - Variable in class org.apache.log4j.AppenderSkeleton
 
threshold - Variable in class org.apache.log4j.AppenderSkeleton
 
toInt() - Method in class org.apache.log4j.Priority
Returns the integer representation of this level.
toLevel(String) - Static method in class org.apache.log4j.Level
Convert the string passed as argument to a level.
toLevel(int) - Static method in class org.apache.log4j.Level
Convert an integer passed as argument to a level.
toLevel(int, Level) - Static method in class org.apache.log4j.Level
Convert an integer passed as argument to a level.
toLevel(String, Level) - Static method in class org.apache.log4j.Level
Convert the string passed as argument to a level.
toPriority(String) - Static method in class org.apache.log4j.Priority
Deprecated.
Please use the Level.toLevel(String) method instead.
toPriority(int) - Static method in class org.apache.log4j.Priority
Deprecated.
Please use the Level.toLevel(int) method instead.
toPriority(int, Priority) - Static method in class org.apache.log4j.Priority
Deprecated.
Please use the Level.toLevel(int, Level) method instead.
toPriority(String, Priority) - Static method in class org.apache.log4j.Priority
Deprecated.
Please use the Level.toLevel(String, Level) method instead.
toSerializable(LogEvent) - Method in class org.apache.log4j.layout.Log4j1XmlLayout
 
toString() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
toString() - Method in class org.apache.log4j.Priority
Returns the string representation of this priority.
trace(Object) - Method in class org.apache.log4j.Category
 
trace(Object, Throwable) - Method in class org.apache.log4j.Category
 
TRACE - Static variable in class org.apache.log4j.Level
The TRACE Level designates finer-grained informational events than the DEBUG level.
TRACE_INT - Static variable in class org.apache.log4j.Level
TRACE level integer value.

W

warn(Object) - Method in class org.apache.log4j.Category
 
warn(Object, Throwable) - Method in class org.apache.log4j.Category
 
WARN - Static variable in class org.apache.log4j.Level
The WARN level designates potentially harmful situations.
WARN - Static variable in class org.apache.log4j.Priority
Deprecated.
Use Level.WARN instead.
WARN_INT - Static variable in class org.apache.log4j.Priority
The WARN level designates potentially harmful situations.
A B C D E F G H I L M N O P R S T W 
Skip navigation links

Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.