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

A

AbstractBuilder - Class in org.apache.log4j.builders
Base class for Log4j 1 component builders.
AbstractBuilder() - Constructor for class org.apache.log4j.builders.AbstractBuilder
 
AbstractBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.AbstractBuilder
 
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.
activate() - Method in class org.apache.log4j.config.PropertySetter
 
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
 
activateOptions() - Method in class org.apache.log4j.WriterAppender
Does nothing.
Adapter(String, Filter, Layout<? extends Serializable>, boolean, Property[]) - Constructor for class org.apache.log4j.bridge.AppenderAdapter.Adapter
 
addAppender(Appender) - Method in class org.apache.log4j.Category
No-op implementation.
addAppender(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
 
addAppender(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
Add an appender.
addAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
 
addAppenderIfAbsent(Appender) - Method in class org.apache.log4j.xml.XmlConfiguration
 
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
 
addFilter(Filter) - Method in class org.apache.log4j.bridge.AppenderWrapper
 
addHierarchyEventListener(HierarchyEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
Add a HierarchyEventListener event to the repository.
addProperties(Object, String[], Properties, String) - Method in class org.apache.log4j.config.PropertiesConfiguration
 
ADDRESS_PARSE_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
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(LogEvent) - Method in class org.apache.log4j.bridge.AppenderAdapter.Adapter
 
append(LoggingEvent) - Method in class org.apache.log4j.ConsoleAppender
append(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
APPEND_PARAM - Static variable in class org.apache.log4j.builders.AbstractBuilder
 
Appender - Interface in org.apache.log4j
Implement this interface for your own strategies for outputting log statements.
APPENDER_REF_TAG - Static variable in class org.apache.log4j.config.Log4j1Configuration
 
AppenderAdapter - Class in org.apache.log4j.bridge
Binds a Log4j 1.x Appender to Log4j 2.
AppenderAdapter(Appender) - Constructor for class org.apache.log4j.bridge.AppenderAdapter
Constructor.
AppenderAdapter.Adapter - Class in org.apache.log4j.bridge
 
AppenderAttachable - Interface in org.apache.log4j.spi
Interface for attaching appenders to objects.
AppenderAttachableImpl - Class in org.apache.log4j.helpers
Allows Classes to attach Appenders.
AppenderAttachableImpl() - Constructor for class org.apache.log4j.helpers.AppenderAttachableImpl
 
AppenderBuilder - Interface in org.apache.log4j.builders.appender
Define an Appender Builder.
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
 
AppenderWrapper - Class in org.apache.log4j.bridge
Holds a Log4j 2 Appender in an empty Log4j 1 Appender so it can be extracted when constructing the configuration.
AppenderWrapper(Appender) - Constructor for class org.apache.log4j.bridge.AppenderWrapper
 
appendLoopOnAppenders(LoggingEvent) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
Call the doAppend method on all attached appenders.
assertLog(boolean, String) - Method in class org.apache.log4j.Category
If assertion parameter is false, then logs msg as an error statement.
AsyncAppenderBuilder - Class in org.apache.log4j.builders.appender
Build an Asynch Appender
AsyncAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.AsyncAppenderBuilder
 
AsyncAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.AsyncAppenderBuilder
 

B

BasicConfigurator - Class in org.apache.log4j
Provided for compatibility with Log4j 1.x.
BasicConfigurator() - Constructor for class org.apache.log4j.BasicConfigurator
 
BooleanHolder - Class in org.apache.log4j.builders
Deprecated.
BooleanHolder() - Constructor for class org.apache.log4j.builders.BooleanHolder
Deprecated.
 
BUFFER_SIZE_PARAM - Static variable in class org.apache.log4j.builders.AbstractBuilder
 
BUFFERED_IO_PARAM - Static variable in class org.apache.log4j.builders.AbstractBuilder
 
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.
BuilderManager - Class in org.apache.log4j.builders
 
BuilderManager() - Constructor for class org.apache.log4j.builders.BuilderManager
 
buildFilters(String, Filter) - Method in class org.apache.log4j.builders.AbstractBuilder
 
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 - Static variable in class org.apache.log4j.builders.BuilderManager
 
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.
checkEntryConditions() - Method in class org.apache.log4j.WriterAppender
This method determines if there is a sense in attempting to append.
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
 
clearFilters() - Method in class org.apache.log4j.bridge.AppenderWrapper
 
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.bridge.AppenderWrapper
 
close() - Method in class org.apache.log4j.ConsoleAppender
Release any resources allocated within the appender such as file handles, network connections, etc.
close() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
 
close() - Method in class org.apache.log4j.WriterAppender
Close this appender instance.
CLOSE_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
closed - Variable in class org.apache.log4j.AppenderSkeleton
 
closeWriter() - Method in class org.apache.log4j.WriterAppender
Close the underlying Writer.
CommandLineArguments() - Constructor for class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
concatanateArrays(String[], String[]) - Static method in class org.apache.log4j.helpers.OptionConverter
 
Configurator - Interface in org.apache.log4j.spi
Log4j 1.x Configurator interface.
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
 
ConsoleAppenderBuilder - Class in org.apache.log4j.builders.appender
Build a Console Appender
ConsoleAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.ConsoleAppenderBuilder
 
ConsoleAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.ConsoleAppenderBuilder
 
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
 
convertArg(String, Class<?>) - Method in class org.apache.log4j.config.PropertySetter
Convert val a String parameter to an object of a given type.
convertLevel(String, Level) - Static method in class org.apache.log4j.helpers.OptionConverter
 
convertLevel(Level) - Static method in class org.apache.log4j.helpers.OptionConverter
 
convertLevel(Level) - Static method in class org.apache.log4j.helpers.OptionConverter
 
convertSpecialChars(String) - Static method in class org.apache.log4j.helpers.OptionConverter
 
createLayout(boolean, boolean) - Static method in class org.apache.log4j.layout.Log4j1XmlLayout
 
createWriter(OutputStream) - Method in class org.apache.log4j.WriterAppender
Returns an OutputStreamWriter when passed an OutputStream.

D

DailyRollingFileAppenderBuilder - Class in org.apache.log4j.builders.appender
Build a Daily Rolling File Appender
DailyRollingFileAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.DailyRollingFileAppenderBuilder
 
DailyRollingFileAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.DailyRollingFileAppenderBuilder
 
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.
DEBUG_KEY - Static variable in class org.apache.log4j.config.PropertiesConfiguration
 
decide(LoggingEvent) - Method in class org.apache.log4j.bridge.FilterWrapper
This method is never called.
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_DELAY - Static variable in class org.apache.log4j.config.PropertiesConfiguration
 
DEFAULT_DELAY - Static variable in class org.apache.log4j.xml.XmlConfiguration
 
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.
DEFAULT_PREFIX - Static variable in class org.apache.log4j.config.PropertiesConfigurationFactory
File name prefix for standard configurations.
DEFAULT_PREFIX - Static variable in class org.apache.log4j.xml.XmlConfiguration
File name prefix for standard configurations.
DEFAULT_PREFIX - Static variable in class org.apache.log4j.xml.XmlConfigurationFactory
File name prefix for standard configurations.
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.
DenyAllFilterBuilder - Class in org.apache.log4j.builders.filter
Build a Pattern Layout
DenyAllFilterBuilder() - Constructor for class org.apache.log4j.builders.filter.DenyAllFilterBuilder
 
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.
doAppend(LoggingEvent) - Method in class org.apache.log4j.bridge.AppenderWrapper
 
doConfigure() - Method in class org.apache.log4j.config.PropertiesConfiguration
 
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(InputStream, LoggerContext) - Method in interface org.apache.log4j.spi.Configurator
Interpret a resource pointed by a InputStream and set up log4j accordingly.
doConfigure(URL, LoggerContext) - Method in interface org.apache.log4j.spi.Configurator
Interpret a resource pointed by a URL and set up log4j accordingly.
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
 
doConfigure() - Method in class org.apache.log4j.xml.XmlConfiguration
Configures log4j by reading in a log4j.dtd compliant XML configuration file.
DOMConfigurator - Class in org.apache.log4j.xml
 
DOMConfigurator() - Constructor for class org.apache.log4j.xml.DOMConfigurator
 
doRender(Object) - Method in class org.apache.log4j.or.jms.MessageRenderer
Render a Message.
doRender(Object) - Method in interface org.apache.log4j.or.ObjectRenderer
Render the object passed as parameter as a String.
doRender(Object) - Method in class org.apache.log4j.or.ThreadGroupRenderer
 

E

emitNoAppenderWarning(Category) - Method in interface org.apache.log4j.spi.LoggerRepository
 
encode(LogEvent, ByteBufferDestination) - Method in class org.apache.log4j.bridge.LayoutAdapter
 
encode(LogEvent, ByteBufferDestination) - Method in class org.apache.log4j.layout.Log4j1XmlLayout
 
encoding - Variable in class org.apache.log4j.WriterAppender
The encoding to use when writing.
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(String) - Method in class org.apache.log4j.bridge.ErrorHandlerAdapter
 
error(String, Throwable) - Method in class org.apache.log4j.bridge.ErrorHandlerAdapter
 
error(String, LogEvent, Throwable) - Method in class org.apache.log4j.bridge.ErrorHandlerAdapter
 
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 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.
ErrorCode - Interface in org.apache.log4j.spi
This interface defines commonly encoutered error codes.
errorHandler - Variable in class org.apache.log4j.AppenderSkeleton
 
errorHandler - Variable in class org.apache.log4j.helpers.QuietWriter
 
ErrorHandler - Interface in org.apache.log4j.spi
Appenders may delegate their error handling to ErrorHandlers.
ErrorHandlerAdapter - Class in org.apache.log4j.bridge
Makes a Log4j 1 ErrorHandler usable by a Log4j 2 Appender.
ErrorHandlerAdapter(ErrorHandler) - Constructor for class org.apache.log4j.bridge.ErrorHandlerAdapter
 
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.
FILE_EXTENSION - Static variable in class org.apache.log4j.xml.XmlConfigurationFactory
 
FILE_OPEN_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
FILE_PARAM - Static variable in class org.apache.log4j.builders.AbstractBuilder
 
FileAppenderBuilder - Class in org.apache.log4j.builders.appender
Build a File Appender
FileAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.FileAppenderBuilder
 
FileAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.FileAppenderBuilder
 
filter(LogEvent) - Method in class org.apache.log4j.bridge.FilterAdapter
 
Filter - Class in org.apache.log4j.spi
 
Filter() - Constructor for class org.apache.log4j.spi.Filter
 
FILTER_TAG - Static variable in class org.apache.log4j.xml.XmlConfiguration
 
FilterAdapter - Class in org.apache.log4j.bridge
Binds a Log4j 1.x Filter with Log4j 2.
FilterAdapter(Filter) - Constructor for class org.apache.log4j.bridge.FilterAdapter
 
FilterBuilder - Interface in org.apache.log4j.builders.filter
Define a Filter Builder.
FilterWrapper - Class in org.apache.log4j.bridge
This acts as a container for Log4j 2 Filters to be attached to Log4j 1 components.
FilterWrapper(Filter) - Constructor for class org.apache.log4j.bridge.FilterWrapper
 
finalize() - Method in class org.apache.log4j.AppenderSkeleton
 
findAndSubst(String, Properties) - Static method in class org.apache.log4j.helpers.OptionConverter
Find the value corresponding to key in props.
findAppenderByReference(Element) - Method in class org.apache.log4j.xml.XmlConfiguration
Used internally to parse appenders by IDREF element.
fireAddAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.LoggerRepository
 
flush() - Method in class org.apache.log4j.helpers.QuietWriter
 
FLUSH_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
forcedLog(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
 
forEachElement(NodeList, Consumer<Element>) - Static method in class org.apache.log4j.xml.XmlConfiguration
 
format(LoggingEvent) - Method in class org.apache.log4j.bridge.LayoutWrapper
 
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.
fullInfo - Variable in class org.apache.log4j.spi.LocationInfo
 

G

GENERIC_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
get() - Method in class org.apache.log4j.builders.Holder
Deprecated.
 
get(String) - Static method in class org.apache.log4j.MDC
 
get() - Static method in class org.apache.log4j.NDC
Never use this method directly.
getAdapter() - Method in class org.apache.log4j.bridge.AppenderAdapter
 
getAdditivity() - Method in class org.apache.log4j.Category
 
getAllAppenders() - Method in class org.apache.log4j.Category
 
getAllAppenders() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
 
getAllAppenders() - Method in interface org.apache.log4j.spi.AppenderAttachable
Get all previously added appenders as an Enumeration.
getAllPossiblePriorities() - Static method in class org.apache.log4j.Priority
Deprecated.
This method will be removed with no replacement.
getAppender() - Method in class org.apache.log4j.bridge.AppenderAdapter.Adapter
 
getAppender() - Method in class org.apache.log4j.bridge.AppenderWrapper
 
getAppender(String) - Method in class org.apache.log4j.Category
No-op implementation.
getAppender(String) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
 
getAppender(String) - Method in interface org.apache.log4j.spi.AppenderAttachable
Get an appender by name.
getBooleanProperty(String) - Method in class org.apache.log4j.builders.AbstractBuilder
 
getBuilderManager() - Method in class org.apache.log4j.config.Log4j1Configuration
 
getChainedPriority() - Method in class org.apache.log4j.Category
 
getClassName() - Method in class org.apache.log4j.spi.LocationInfo
Return the fully qualified class name of the caller making the logging request.
getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.log4j.config.Log4j1ConfigurationFactory
 
getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.log4j.config.PropertiesConfigurationFactory
 
getConfiguration(LoggerContext, ConfigurationSource) - Method in class org.apache.log4j.xml.XmlConfigurationFactory
 
getContentFormat() - Method in class org.apache.log4j.bridge.LayoutAdapter
 
getContentType() - Method in class org.apache.log4j.bridge.LayoutAdapter
 
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
 
getContextData() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getContextMap() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getContextStack() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
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
 
getDefaultPrefix() - Method in class org.apache.log4j.config.PropertiesConfigurationFactory
 
getDefaultPrefix() - Method in class org.apache.log4j.xml.XmlConfigurationFactory
 
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
 
getEncoding() - Method in class org.apache.log4j.WriterAppender
 
getErrorHandler() - Method in interface org.apache.log4j.Appender
Returns the ErrorHandler for this appender.
getErrorHandler() - Method in class org.apache.log4j.AppenderSkeleton
 
getErrorHandler() - Method in class org.apache.log4j.bridge.AppenderWrapper
 
getEvent() - Method in class org.apache.log4j.bridge.LogEventAdapter
 
getFileName() - Method in class org.apache.log4j.spi.LocationInfo
Return the file name of the caller.
getFilter() - Method in interface org.apache.log4j.Appender
Returns the head Filter.
getFilter() - Method in class org.apache.log4j.AppenderSkeleton
 
getFilter() - Method in class org.apache.log4j.bridge.AppenderWrapper
 
getFilter() - Method in class org.apache.log4j.bridge.FilterAdapter
Gets the actual filter.
getFilter() - Method in class org.apache.log4j.bridge.FilterWrapper
 
getFirstFilter() - Method in class org.apache.log4j.AppenderSkeleton
 
getFooter() - Method in class org.apache.log4j.bridge.LayoutAdapter
 
getFooter() - Method in class org.apache.log4j.Layout
Returns the footer for the layout format.
getFormat() - Method in class org.apache.log4j.RenderedMessage
 
getFormattedMessage() - Method in class org.apache.log4j.RenderedMessage
 
getFQNOfLoggerClass() - Method in class org.apache.log4j.spi.LoggingEvent
 
getHandler() - Method in class org.apache.log4j.bridge.ErrorHandlerAdapter
 
getHeader() - Method in class org.apache.log4j.bridge.LayoutAdapter
 
getHeader() - Method in class org.apache.log4j.Layout
Returns the header for the layout format.
getImmediateFlush() - Method in class org.apache.log4j.WriterAppender
Returns value of the ImmediateFlush option.
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
 
getInstant() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getIntegerProperty(String, int) - Method in class org.apache.log4j.builders.AbstractBuilder
 
getLayout() - Method in interface org.apache.log4j.Appender
Returns this appenders layout.
getLayout() - Method in class org.apache.log4j.AppenderSkeleton
 
getLayout() - Method in class org.apache.log4j.bridge.AppenderWrapper
 
getLayout() - Method in class org.apache.log4j.bridge.LayoutWrapper
 
getLevel() - Method in class org.apache.log4j.bridge.LogEventAdapter
Return the level of this event.
getLevel() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getLevel() - Method in class org.apache.log4j.Category
 
getLevel() - Method in class org.apache.log4j.spi.LoggingEvent
Return the level of this event.
getLineNumber() - Method in class org.apache.log4j.spi.LocationInfo
Returns the line number of the caller.
getLocationInformation() - Method in class org.apache.log4j.bridge.LogEventAdapter
Set the location information for this logging event.
getLocationInformation() - Method in class org.apache.log4j.spi.LoggingEvent
Set the location information for this logging event.
getLogger() - Method in class org.apache.log4j.bridge.LogEventAdapter
Gets the logger of the event.
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
 
getLogger() - Method in class org.apache.log4j.spi.LoggingEvent
Gets the logger of the event.
getLoggerContext(Logger) - Static method in class org.apache.log4j.legacy.core.CategoryUtil
 
getLoggerFqcn() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getLoggerName() - Method in class org.apache.log4j.bridge.LogEventAdapter
Return the name of the logger.
getLoggerName() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getLoggerName() - Method in class org.apache.log4j.spi.LoggingEvent
Return the name of the logger.
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.
getMarker() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getMDC(String) - Method in class org.apache.log4j.bridge.LogEventAdapter
 
getMDC(String) - Method in class org.apache.log4j.spi.LoggingEvent
 
getMDCCopy() - Method in class org.apache.log4j.bridge.LogEventAdapter
Obtain a copy of this thread's MDC prior to serialization or asynchronous logging.
getMDCCopy() - Method in class org.apache.log4j.spi.LoggingEvent
Obtain a copy of this thread's MDC prior to serialization or asynchronous logging.
getMessage() - Method in class org.apache.log4j.bridge.LogEventAdapter
 
getMessage() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getMessage() - Method in exception org.apache.log4j.config.PropertySetterException
Returns descriptive text on the cause of this exception.
getMessage() - Method in class org.apache.log4j.spi.LoggingEvent
Return the message for this logging event.
getMethodName() - Method in class org.apache.log4j.spi.LocationInfo
Returns the method name of the caller.
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.bridge.AppenderWrapper
 
getName() - Method in class org.apache.log4j.Category
 
getNanoTime() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getNDC() - Method in class org.apache.log4j.bridge.LogEventAdapter
 
getNDC() - Method in class org.apache.log4j.spi.LoggingEvent
 
getNext() - Method in class org.apache.log4j.spi.Filter
Return the pointer to the next filter.
getParameters() - Method in class org.apache.log4j.RenderedMessage
 
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
 
getPolicy() - Method in class org.apache.log4j.bridge.RewritePolicyAdapter
 
getPolicy() - Method in class org.apache.log4j.bridge.RewritePolicyWrapper
 
getPriority() - Method in class org.apache.log4j.Category
 
getProperties() - Method in class org.apache.log4j.bridge.LogEventAdapter
 
getProperties() - Method in class org.apache.log4j.builders.AbstractBuilder
 
getProperties() - Method in class org.apache.log4j.spi.LoggingEvent
 
getProperty(String) - Method in class org.apache.log4j.bridge.LogEventAdapter
 
getProperty(String) - Method in class org.apache.log4j.builders.AbstractBuilder
 
getProperty(String, String) - Method in class org.apache.log4j.builders.AbstractBuilder
 
getProperty(String) - Method in class org.apache.log4j.spi.LoggingEvent
 
getPropertyDescriptor(String) - Method in class org.apache.log4j.config.PropertySetter
 
getPropertyKeySet() - Method in class org.apache.log4j.bridge.LogEventAdapter
 
getPropertyKeySet() - Method in class org.apache.log4j.spi.LoggingEvent
 
getRecurseIntoPath() - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
getRenderedMessage() - Method in class org.apache.log4j.bridge.LogEventAdapter
 
getRenderedMessage() - Method in class org.apache.log4j.spi.LoggingEvent
 
getRendererMap() - Method in interface org.apache.log4j.or.RendererSupport
 
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
 
getSource() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getStartTime() - Static method in class org.apache.log4j.bridge.LogEventAdapter
Returns the time when the application started, in milliseconds elapsed since 01.01.1970.
getStartTime() - Static method in class org.apache.log4j.spi.LoggingEvent
Returns the time when the application started, in milliseconds elapsed since 01.01.1970.
getSupportedTypes() - Method in class org.apache.log4j.config.Log4j1ConfigurationFactory
 
getSupportedTypes() - Method in class org.apache.log4j.config.PropertiesConfigurationFactory
 
getSupportedTypes() - Method in class org.apache.log4j.xml.XmlConfigurationFactory
 
getSyslogEquivalent() - Method in class org.apache.log4j.Priority
Returns the syslog equivalent of this priority as an integer.
getSystemProperty(String, String) - Static method in class org.apache.log4j.helpers.OptionConverter
Very similar to System.getProperty except that the SecurityException is hidden.
getTestPrefix() - Method in class org.apache.log4j.config.PropertiesConfigurationFactory
 
getTestPrefix() - Method in class org.apache.log4j.xml.XmlConfigurationFactory
 
getThreadId() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getThreadName() - Method in class org.apache.log4j.bridge.LogEventAdapter
 
getThreadName() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getThreadName() - Method in class org.apache.log4j.spi.LoggingEvent
 
getThreadPriority() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getThreshold() - Method in class org.apache.log4j.AppenderSkeleton
 
getThreshold() - Method in interface org.apache.log4j.spi.LoggerRepository
Get the repository-wide threshold.
getThrowable() - Method in class org.apache.log4j.RenderedMessage
 
getThrowable() - Method in class org.apache.log4j.spi.ThrowableInformation
 
getThrowableInformation() - Method in class org.apache.log4j.bridge.LogEventAdapter
Returns the throwable information contained within this event.
getThrowableInformation() - Method in class org.apache.log4j.spi.LoggingEvent
Returns the throwable information contained within this event.
getThrowableStrRep() - Method in class org.apache.log4j.bridge.LogEventAdapter
Return this event's throwable's string[] representaion.
getThrowableStrRep() - Method in class org.apache.log4j.spi.LoggingEvent
Return this event's throwable's string[] representaion.
getThrowableStrRep() - Method in class org.apache.log4j.spi.ThrowableInformation
 
getThrown() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getThrownProxy() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getTimeMillis() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
getTimeStamp() - Method in class org.apache.log4j.bridge.LogEventAdapter
 
getTimeStamp() - Method in class org.apache.log4j.spi.LoggingEvent
 
getVersion() - Method in class org.apache.log4j.config.PropertiesConfigurationFactory
 
getVersion() - Method in class org.apache.log4j.xml.XmlConfigurationFactory
 

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.
Holder<V> - Class in org.apache.log4j.builders
Deprecated.
Holder() - Constructor for class org.apache.log4j.builders.Holder
Deprecated.
 
Holder(V) - Constructor for class org.apache.log4j.builders.Holder
Deprecated.
 
HtmlLayoutBuilder - Class in org.apache.log4j.builders.layout
Build a Pattern Layout
HtmlLayoutBuilder() - Constructor for class org.apache.log4j.builders.layout.HtmlLayoutBuilder
 
HtmlLayoutBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.layout.HtmlLayoutBuilder
 

I

ignoresThrowable() - Method in class org.apache.log4j.bridge.LayoutWrapper
 
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.
immediateFlush - Variable in class org.apache.log4j.WriterAppender
Immediate flush means that the underlying writer or output stream will be flushed at the end of each append operation unless shouldFlush() is overridden.
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.
INHERITED - Static variable in class org.apache.log4j.config.Log4j1Configuration
 
INHERITED - Static variable in interface org.apache.log4j.spi.Configurator
 
initialize() - Method in class org.apache.log4j.config.Log4j1Configuration
Initialize the configuration.
instantiateByClassName(String, Class<?>, Object) - Static method in class org.apache.log4j.helpers.OptionConverter
Instantiate an object given a class name.
introspect() - Method in class org.apache.log4j.config.PropertySetter
Uses JavaBeans Introspector to computer setters of object to be configured.
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?
isAttached(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
 
isAttached(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
Returns true if the specified appender is in list of attached attached, false otherwise.
isDebugEnabled() - Method in class org.apache.log4j.Category
 
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
 
isEndOfBatch() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
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.
isIncludeLocation() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
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
 
LAYOUT_TAG - Static variable in class org.apache.log4j.xml.XmlConfiguration
 
LayoutAdapter - Class in org.apache.log4j.bridge
Class Description goes here.
LayoutAdapter(Layout) - Constructor for class org.apache.log4j.bridge.LayoutAdapter
 
LayoutBuilder - Interface in org.apache.log4j.builders.layout
Define a Layout Builder.
LayoutWrapper - Class in org.apache.log4j.bridge
Bridge between the Log4j 1 Layout and a Log4j 2 Layout.
LayoutWrapper(Layout<?>) - Constructor for class org.apache.log4j.bridge.LayoutWrapper
 
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.
LevelMatchFilterBuilder - Class in org.apache.log4j.builders.filter
Build a Level match failter.
LevelMatchFilterBuilder() - Constructor for class org.apache.log4j.builders.filter.LevelMatchFilterBuilder
 
LevelMatchFilterBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.filter.LevelMatchFilterBuilder
 
LevelRangeFilterBuilder - Class in org.apache.log4j.builders.filter
Build a Level match failter.
LevelRangeFilterBuilder() - Constructor for class org.apache.log4j.builders.filter.LevelRangeFilterBuilder
 
LevelRangeFilterBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.filter.LevelRangeFilterBuilder
 
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.
LocationInfo - Class in org.apache.log4j.spi
The internal representation of caller location information.
LocationInfo(StackTraceElement) - Constructor for class org.apache.log4j.spi.LocationInfo
 
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
 
Log4j1Configuration - Class in org.apache.log4j.config
Class Description goes here.
Log4j1Configuration(LoggerContext, ConfigurationSource, int) - Constructor for class org.apache.log4j.config.Log4j1Configuration
 
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.
Log4jEntityResolver - Class in org.apache.log4j.xml
An EntityResolver specifically designed to return log4j.dtd which is embedded within the log4j jar file.
Log4jEntityResolver() - Constructor for class org.apache.log4j.xml.Log4jEntityResolver
 
LogEventAdapter - Class in org.apache.log4j.bridge
Converts a Log4j 2 LogEvent into the components needed by a Log4j 1.x LoggingEvent.
LogEventAdapter(LogEvent) - Constructor for class org.apache.log4j.bridge.LogEventAdapter
 
LogEventWrapper - Class in org.apache.log4j.bridge
Exposes a Log4j 1 logging event as a Log4j 2 LogEvent.
LogEventWrapper(LoggingEvent) - Constructor for class org.apache.log4j.bridge.LogEventWrapper
 
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
 
manager - Variable in class org.apache.log4j.config.Log4j1Configuration
 
MapRewritePolicy - Class in org.apache.log4j.rewrite
This policy rewrites events where the message of the original event implements java.util.Map.
MapRewritePolicy() - Constructor for class org.apache.log4j.rewrite.MapRewritePolicy
 
MAX_BACKUP_INDEX - Static variable in class org.apache.log4j.builders.AbstractBuilder
 
MAX_SIZE_PARAM - Static variable in class org.apache.log4j.builders.AbstractBuilder
 
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.
MessageRenderer - Class in org.apache.log4j.or.jms
Log4j 1.x JMS Message Renderer
MessageRenderer() - Constructor for class org.apache.log4j.or.jms.MessageRenderer
 
MISSING_LAYOUT - Static variable in interface org.apache.log4j.spi.ErrorCode
 
MONITOR_INTERVAL - Static variable in class org.apache.log4j.config.Log4j1Configuration
 

N

NA - Static variable in class org.apache.log4j.spi.LocationInfo
When location information is not available the constant NA is returned.
name - Variable in class org.apache.log4j.AppenderSkeleton
 
NAME_ATTR - Static variable in class org.apache.log4j.xml.XmlConfiguration
 
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
 
NULL - Static variable in class org.apache.log4j.config.Log4j1Configuration
 
NULL - Static variable in interface org.apache.log4j.spi.Configurator
 
NullAppenderBuilder - Class in org.apache.log4j.builders.appender
Build a Null Appender
NullAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.NullAppenderBuilder
 
NullEnumeration - Class in org.apache.log4j.helpers
An always-empty Enumerator.

O

obj - Variable in class org.apache.log4j.config.PropertySetter
 
ObjectRenderer - Interface in org.apache.log4j.or
Converts objects to Strings.
OFF - Static variable in class org.apache.log4j.Level
The OFF has the highest possible rank and is intended to turn off logging.
OFF_INT - Static variable in class org.apache.log4j.Priority
The OFF has the highest possible rank and is intended to turn off logging.
OptionConverter - Class in org.apache.log4j.helpers
A convenience class to convert property values to specific types.
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.bridge - package org.apache.log4j.bridge
 
org.apache.log4j.builders - package org.apache.log4j.builders
 
org.apache.log4j.builders.appender - package org.apache.log4j.builders.appender
 
org.apache.log4j.builders.filter - package org.apache.log4j.builders.filter
 
org.apache.log4j.builders.layout - package org.apache.log4j.builders.layout
 
org.apache.log4j.builders.rewrite - package org.apache.log4j.builders.rewrite
 
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.or - package org.apache.log4j.or
 
org.apache.log4j.or.jms - package org.apache.log4j.or.jms
 
org.apache.log4j.pattern - package org.apache.log4j.pattern
 
org.apache.log4j.rewrite - package org.apache.log4j.rewrite
 
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

PARAM_TAG - Static variable in class org.apache.log4j.xml.XmlConfiguration
 
parseAppender(Element, XmlConfiguration) - Method in interface org.apache.log4j.builders.appender.AppenderBuilder
 
parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in interface org.apache.log4j.builders.appender.AppenderBuilder
 
parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.AsyncAppenderBuilder
 
parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.AsyncAppenderBuilder
 
parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.ConsoleAppenderBuilder
 
parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.ConsoleAppenderBuilder
 
parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.DailyRollingFileAppenderBuilder
 
parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.DailyRollingFileAppenderBuilder
 
parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.FileAppenderBuilder
 
parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.FileAppenderBuilder
 
parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.NullAppenderBuilder
 
parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.NullAppenderBuilder
 
parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.RewriteAppenderBuilder
 
parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.RewriteAppenderBuilder
 
parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.RollingFileAppenderBuilder
 
parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.RollingFileAppenderBuilder
 
parseAppender(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.appender.SyslogAppenderBuilder
 
parseAppender(String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.appender.SyslogAppenderBuilder
 
parseAppender(String, Element, XmlConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
 
parseAppender(String, String, String, String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
 
parseAppender(Properties, String) - Method in class org.apache.log4j.config.PropertiesConfiguration
 
parseAppender(Element) - Method in class org.apache.log4j.xml.XmlConfiguration
Used internally to parse an appender element.
parseAppenderFilters(Properties, String, String) - Method in class org.apache.log4j.config.PropertiesConfiguration
 
parseElement(Element, Properties, Class) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
parseElement(Element, Properties, Class) - Method in class org.apache.log4j.xml.XmlConfiguration
Creates an object and processes any nested param elements but does not call activateOptions.
parseErrorHandler(Properties, String, String, Appender) - Method in class org.apache.log4j.config.PropertiesConfiguration
 
parseFilter(String, Element, XmlConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
 
parseFilter(String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
 
parseFilter(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.filter.DenyAllFilterBuilder
 
parseFilter(PropertiesConfiguration) - Method in class org.apache.log4j.builders.filter.DenyAllFilterBuilder
 
parseFilter(Element, XmlConfiguration) - Method in interface org.apache.log4j.builders.filter.FilterBuilder
 
parseFilter(PropertiesConfiguration) - Method in interface org.apache.log4j.builders.filter.FilterBuilder
 
parseFilter(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.filter.LevelMatchFilterBuilder
 
parseFilter(PropertiesConfiguration) - Method in class org.apache.log4j.builders.filter.LevelMatchFilterBuilder
 
parseFilter(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.filter.LevelRangeFilterBuilder
 
parseFilter(PropertiesConfiguration) - Method in class org.apache.log4j.builders.filter.LevelRangeFilterBuilder
 
parseFilter(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.filter.StringMatchFilterBuilder
 
parseFilter(PropertiesConfiguration) - Method in class org.apache.log4j.builders.filter.StringMatchFilterBuilder
 
parseFilters(Element) - Method in class org.apache.log4j.xml.XmlConfiguration
Used internally to parse a filter element.
parseLayout(String, Element, XmlConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
 
parseLayout(String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
 
parseLayout(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.layout.HtmlLayoutBuilder
 
parseLayout(PropertiesConfiguration) - Method in class org.apache.log4j.builders.layout.HtmlLayoutBuilder
 
parseLayout(Element, XmlConfiguration) - Method in interface org.apache.log4j.builders.layout.LayoutBuilder
 
parseLayout(PropertiesConfiguration) - Method in interface org.apache.log4j.builders.layout.LayoutBuilder
 
parseLayout(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.layout.PatternLayoutBuilder
 
parseLayout(PropertiesConfiguration) - Method in class org.apache.log4j.builders.layout.PatternLayoutBuilder
 
parseLayout(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.layout.SimpleLayoutBuilder
 
parseLayout(PropertiesConfiguration) - Method in class org.apache.log4j.builders.layout.SimpleLayoutBuilder
 
parseLayout(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.layout.TTCCLayoutBuilder
 
parseLayout(PropertiesConfiguration) - Method in class org.apache.log4j.builders.layout.TTCCLayoutBuilder
 
parseLayout(Element, XmlConfiguration) - Method in class org.apache.log4j.builders.layout.XmlLayoutBuilder
 
parseLayout(PropertiesConfiguration) - Method in class org.apache.log4j.builders.layout.XmlLayoutBuilder
 
parseLayout(String, String, Properties) - Method in class org.apache.log4j.config.PropertiesConfiguration
 
parseLayout(Element) - Method in class org.apache.log4j.xml.XmlConfiguration
Used internally to parse a layout element.
parseRewritePolicy(String, Element, XmlConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
 
parseRewritePolicy(String, String, Properties, PropertiesConfiguration) - Method in class org.apache.log4j.builders.BuilderManager
 
parseRewritePolicy(Element, XmlConfiguration) - Method in interface org.apache.log4j.builders.rewrite.RewritePolicyBuilder
 
parseRewritePolicy(PropertiesConfiguration) - Method in interface org.apache.log4j.builders.rewrite.RewritePolicyBuilder
 
parseRewritePolicy(Element) - Method in class org.apache.log4j.xml.XmlConfiguration
 
parseUnrecognizedElement(Element, Properties) - Method in interface org.apache.log4j.xml.UnrecognizedElementHandler
Called to inform a configured object when an unrecognized child element is encountered.
PatternLayout - Class in org.apache.log4j
 
PatternLayout(String) - Constructor for class org.apache.log4j.PatternLayout
 
PatternLayoutBuilder - Class in org.apache.log4j.builders.layout
Build a Pattern Layout
PatternLayoutBuilder() - Constructor for class org.apache.log4j.builders.layout.PatternLayoutBuilder
 
PatternLayoutBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.layout.PatternLayoutBuilder
 
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.
PropertiesConfiguration - Class in org.apache.log4j.config
Construct a configuration based on Log4j 1 properties.
PropertiesConfiguration(LoggerContext, ConfigurationSource, int) - Constructor for class org.apache.log4j.config.PropertiesConfiguration
Constructor.
PropertiesConfigurationFactory - Class in org.apache.log4j.config
Configures Log4j from a log4j 1 format properties file.
PropertiesConfigurationFactory() - Constructor for class org.apache.log4j.config.PropertiesConfigurationFactory
 
PropertyConfigurator - Class in org.apache.log4j
A configurator for properties.
PropertyConfigurator() - Constructor for class org.apache.log4j.PropertyConfigurator
 
PropertyRewritePolicy - Class in org.apache.log4j.rewrite
This policy rewrites events by adding a user-specified list of properties to the event.
PropertyRewritePolicy() - Constructor for class org.apache.log4j.rewrite.PropertyRewritePolicy
 
PropertySetter - Class in org.apache.log4j.config
General purpose Object property setter.
PropertySetter(Object) - Constructor for class org.apache.log4j.config.PropertySetter
Create a new PropertySetter for the specified Object.
PropertySetterException - Exception 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.
props - Variable in class org.apache.log4j.config.PropertySetter
 
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
 

Q

QuietWriter - Class in org.apache.log4j.helpers
QuietWriter does not throw exceptions when things go wrong.
QuietWriter(Writer, ErrorHandler) - Constructor for class org.apache.log4j.helpers.QuietWriter
 
qw - Variable in class org.apache.log4j.WriterAppender
This is the quietWriter where we will write to.

R

readResolve() - Method in class org.apache.log4j.Level
Resolved deserialized level to one of the stock instances.
reconfigure() - Method in class org.apache.log4j.config.Log4j1Configuration
 
reconfigure() - Method in class org.apache.log4j.config.PropertiesConfiguration
 
reconfigure(LoggerContext) - Static method in class org.apache.log4j.legacy.core.ContextUtil
 
reconfigure() - Method in class org.apache.log4j.xml.XmlConfiguration
 
REF_ATTR - Static variable in class org.apache.log4j.xml.XmlConfiguration
 
RELATIVE - Static variable in class org.apache.log4j.builders.AbstractBuilder
 
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.
removeAllAppenders() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
 
removeAllAppenders() - Method in interface org.apache.log4j.spi.AppenderAttachable
Remove all previously added appenders.
removeAppender(Appender) - Method in class org.apache.log4j.Category
No-op implementation.
removeAppender(String) - Method in class org.apache.log4j.Category
No-op implementation.
removeAppender(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
 
removeAppender(String) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
 
removeAppender(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
Remove the appender passed as parameter from the list of appenders.
removeAppender(String) - Method in interface org.apache.log4j.spi.AppenderAttachable
Remove the appender with the name passed as parameter from the list of appenders.
removeAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
 
removeProperty(String) - Method in class org.apache.log4j.spi.LoggingEvent
 
RenderedMessage - Class in org.apache.log4j
Implements object rendering for Log4j 1.x compatibility.
RenderedMessage(ObjectRenderer, Object) - Constructor for class org.apache.log4j.RenderedMessage
 
RendererSupport - Interface in org.apache.log4j.or
Interface that indicates the Renderer Map is available.
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.bridge.AppenderWrapper
 
requiresLayout() - Method in class org.apache.log4j.ConsoleAppender
Configurators call this method to determine if the appender requires a layout.
requiresLayout() - Method in class org.apache.log4j.WriterAppender
The WriterAppender requires a layout.
reset() - Method in class org.apache.log4j.WriterAppender
Clear internal references to the writer and other variables.
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
 
resolveEntity(String, String) - Method in class org.apache.log4j.xml.Log4jEntityResolver
 
rewrite(LogEvent) - Method in class org.apache.log4j.bridge.RewritePolicyAdapter
 
rewrite(LoggingEvent) - Method in class org.apache.log4j.bridge.RewritePolicyWrapper
 
rewrite(LoggingEvent) - Method in class org.apache.log4j.rewrite.MapRewritePolicy
Rewrite a logging event.
rewrite(LoggingEvent) - Method in class org.apache.log4j.rewrite.PropertyRewritePolicy
Rewrite a logging event.
rewrite(LoggingEvent) - Method in interface org.apache.log4j.rewrite.RewritePolicy
Rewrite a logging event.
RewriteAppenderBuilder - Class in org.apache.log4j.builders.appender
Build an Asynch Appender
RewriteAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.RewriteAppenderBuilder
 
RewriteAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.RewriteAppenderBuilder
 
RewritePolicy - Interface in org.apache.log4j.rewrite
This interface is implemented to provide a rewrite strategy for RewriteAppender.
RewritePolicyAdapter - Class in org.apache.log4j.bridge
Binds a Log4j 1.x RewritePolicy to Log4j 2.
RewritePolicyAdapter(RewritePolicy) - Constructor for class org.apache.log4j.bridge.RewritePolicyAdapter
Constructor.
RewritePolicyBuilder - Interface in org.apache.log4j.builders.rewrite
Define a RewritePolicy Builder.
RewritePolicyWrapper - Class in org.apache.log4j.bridge
Binds a Log4j 2 RewritePolicy to Log4j 1.
RewritePolicyWrapper(RewritePolicy) - Constructor for class org.apache.log4j.bridge.RewritePolicyWrapper
 
RollingFileAppenderBuilder - Class in org.apache.log4j.builders.appender
Build a File Appender
RollingFileAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.RollingFileAppenderBuilder
 
RollingFileAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.RollingFileAppenderBuilder
 
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

set(Boolean) - Method in class org.apache.log4j.builders.BooleanHolder
Deprecated.
 
set(V) - Method in class org.apache.log4j.builders.Holder
Deprecated.
 
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.
setEncoding(String) - Method in class org.apache.log4j.WriterAppender
 
setEndOfBatch(boolean) - Method in class org.apache.log4j.bridge.LogEventWrapper
 
setErrorHandler(ErrorHandler) - Method in interface org.apache.log4j.Appender
Set the ErrorHandler for this appender.
setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.AppenderSkeleton
Sets the ErrorHandler for this Appender.
setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.bridge.AppenderWrapper
 
setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.helpers.QuietWriter
 
setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.WriterAppender
Set the ErrorHandler for this WriterAppender and also the underlying QuietWriter if any.
setFailFast(boolean) - Method in class org.apache.log4j.config.Log4j1ConfigurationConverter.CommandLineArguments
 
setImmediateFlush(boolean) - Method in class org.apache.log4j.WriterAppender
If the ImmediateFlush option is set to true, the appender will flush at the end of each write.
setIncludeLocation(boolean) - Method in class org.apache.log4j.bridge.LogEventWrapper
 
setLayout(Layout) - Method in interface org.apache.log4j.Appender
Set the Layout for this appender.
setLayout(Layout) - Method in class org.apache.log4j.AppenderSkeleton
 
setLayout(Layout) - Method in class org.apache.log4j.bridge.AppenderWrapper
 
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
 
setName(String) - Method in class org.apache.log4j.bridge.AppenderWrapper
 
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
 
setParameter(Element, PropertySetter, Properties) - Method in class org.apache.log4j.xml.XmlConfiguration
Sets a parameter based from configuration file content.
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(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.
setProperties(Properties, String) - Method in class org.apache.log4j.config.PropertySetter
Set the properites for the object that match the prefix passed as parameter.
setProperties(String) - Method in class org.apache.log4j.rewrite.PropertyRewritePolicy
Set a string representing the property name/value pairs.
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.
setProperty(String, String) - Method in class org.apache.log4j.spi.LoggingEvent
 
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
 
setWriter(Writer) - Method in class org.apache.log4j.WriterAppender
Sets the Writer where the log output will go.
shouldFlush(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
Determines whether the writer should be flushed after this event is written.
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
 
SimpleLayoutBuilder - Class in org.apache.log4j.builders.layout
Build a Pattern Layout
SimpleLayoutBuilder() - Constructor for class org.apache.log4j.builders.layout.SimpleLayoutBuilder
 
start() - Method in class org.apache.log4j.bridge.FilterAdapter
 
stop() - Method in class org.apache.log4j.bridge.AppenderAdapter.Adapter
 
StringMatchFilterBuilder - Class in org.apache.log4j.builders.filter
Build a String match filter.
StringMatchFilterBuilder() - Constructor for class org.apache.log4j.builders.filter.StringMatchFilterBuilder
 
subAppend(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
Actual writing occurs here.
subst(String, Properties) - Static method in class org.apache.log4j.xml.DOMConfigurator
 
subst(String, Properties) - Method in class org.apache.log4j.xml.XmlConfiguration
Substitutes property value for any references in expression.
substVars(String, Properties) - Static method in class org.apache.log4j.helpers.OptionConverter
Perform variable substitution in string val from the values of keys found in the system propeties.
SyslogAppenderBuilder - Class in org.apache.log4j.builders.appender
Build a File Appender
SyslogAppenderBuilder() - Constructor for class org.apache.log4j.builders.appender.SyslogAppenderBuilder
 
SyslogAppenderBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.appender.SyslogAppenderBuilder
 

T

tailFilter - Variable in class org.apache.log4j.AppenderSkeleton
 
TEST_PREFIX - Static variable in class org.apache.log4j.config.PropertiesConfigurationFactory
File name prefix for test configurations.
TEST_PREFIX - Static variable in class org.apache.log4j.xml.XmlConfiguration
File name prefix for test configurations.
TEST_PREFIX - Static variable in class org.apache.log4j.xml.XmlConfigurationFactory
File name prefix for test configurations.
ThreadGroupRenderer - Class in org.apache.log4j.or
 
ThreadGroupRenderer() - Constructor for class org.apache.log4j.or.ThreadGroupRenderer
 
threshold - Variable in class org.apache.log4j.AppenderSkeleton
 
THRESHOLD_PARAM - Static variable in class org.apache.log4j.config.Log4j1Configuration
 
ThrowableInformation - Class in org.apache.log4j.spi
Class Description goes here.
ThrowableInformation(Throwable) - Constructor for class org.apache.log4j.spi.ThrowableInformation
 
toBoolean(String, boolean) - Static method in class org.apache.log4j.helpers.OptionConverter
If value is "true", then true is returned.
toByteArray(LogEvent) - Method in class org.apache.log4j.bridge.LayoutAdapter
 
toImmutable() - Method in class org.apache.log4j.bridge.LogEventWrapper
 
toInt() - Method in class org.apache.log4j.Priority
Returns the integer representation of this level.
toLevel(String, Level) - Static method in class org.apache.log4j.helpers.OptionConverter
Converts a standard or custom priority level to a Level object.
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.bridge.LayoutAdapter
 
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.
TTCCLayoutBuilder - Class in org.apache.log4j.builders.layout
Build a Pattern Layout
TTCCLayoutBuilder() - Constructor for class org.apache.log4j.builders.layout.TTCCLayoutBuilder
 
TTCCLayoutBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.layout.TTCCLayoutBuilder
 

U

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.

V

VALUE_ATTR - Static variable in class org.apache.log4j.xml.XmlConfiguration
 

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.
write(String) - Method in class org.apache.log4j.helpers.QuietWriter
 
WRITE_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
 
writeFooter() - Method in class org.apache.log4j.WriterAppender
Write a footer as produced by the embedded layout's Layout.getFooter() method.
writeHeader() - Method in class org.apache.log4j.WriterAppender
Write a header as produced by the embedded layout's Layout.getHeader() method.
WriterAppender - Class in org.apache.log4j
WriterAppender appends log events to a Writer or an OutputStream depending on the user's choice.
WriterAppender() - Constructor for class org.apache.log4j.WriterAppender
This default constructor does nothing.
WriterAppender(Layout, OutputStream) - Constructor for class org.apache.log4j.WriterAppender
Instantiate a WriterAppender and set the output destination to a new OutputStreamWriter initialized with os as its OutputStream.
WriterAppender(Layout, Writer) - Constructor for class org.apache.log4j.WriterAppender
Instantiate a WriterAppender and set the output destination to writer.

X

XmlConfiguration - Class in org.apache.log4j.xml
Class Description goes here.
XmlConfiguration(LoggerContext, ConfigurationSource, int) - Constructor for class org.apache.log4j.xml.XmlConfiguration
 
XmlConfigurationFactory - Class in org.apache.log4j.xml
Constructs a Configuration usable in Log4j 2 from a Log4j 1 configuration file.
XmlConfigurationFactory() - Constructor for class org.apache.log4j.xml.XmlConfigurationFactory
 
XmlLayoutBuilder - Class in org.apache.log4j.builders.layout
Build an XML Layout
XmlLayoutBuilder() - Constructor for class org.apache.log4j.builders.layout.XmlLayoutBuilder
 
XmlLayoutBuilder(String, Properties) - Constructor for class org.apache.log4j.builders.layout.XmlLayoutBuilder
 
A B C D E F G H I L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 1999-1969 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.