Alphabetical Index

_ A B C D E F G H I J L M N O P Q R S T V W X

_

_category - field in class org.apache.log4j.lf5.LogRecord
_defaultLogMonitor - static field in class org.apache.log4j.lf5.LF5Appender
_defaultMonitor - field in class org.apache.log4j.lf5.AppenderFinalizer
_finalizer - static field in class org.apache.log4j.lf5.LF5Appender
_label - field in class org.apache.log4j.lf5.LogLevel
_level - field in class org.apache.log4j.lf5.LogRecord
_location - field in class org.apache.log4j.lf5.LogRecord
_logMonitor - field in class org.apache.log4j.lf5.LF5Appender
_message - field in class org.apache.log4j.lf5.LogRecord
_millis - field in class org.apache.log4j.lf5.LogRecord
_ndc - field in class org.apache.log4j.lf5.LogRecord
_precedence - field in class org.apache.log4j.lf5.LogLevel
_seqCount - static field in class org.apache.log4j.lf5.LogRecord
_sequenceNumber - field in class org.apache.log4j.lf5.LogRecord
_thread - field in class org.apache.log4j.lf5.LogRecord
_thrown - field in class org.apache.log4j.lf5.LogRecord
_thrownStackTrace - field in class org.apache.log4j.lf5.LogRecord

A

ABS_TIME_DATE_FORMAT - static field in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
String constant used to specify AbsoluteTimeDateFormat in layouts.
AbsoluteTimeDateFormat - class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Formats a Date in the format "HH:mm:ss,SSS" for example, "15:49:37,459".
AbsoluteTimeDateFormat() - constructor for class org.apache.log4j.helpers.AbsoluteTimeDateFormat
AbsoluteTimeDateFormat(TimeZone) - constructor for class org.apache.log4j.helpers.AbsoluteTimeDateFormat
AbstractDynamicMBean - class org.apache.log4j.jmx.AbstractDynamicMBean
ACCEPT - static field 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.
ACCEPT_ON_MATCH_OPTION - static field in class org.apache.log4j.varia.StringMatchFilter
activate() - method in class org.apache.log4j.config.PropertySetter
activateOptions() - method in class org.apache.log4j.AppenderSkeleton
Derived appenders should override this method if option structure requires it.
activateOptions() - method in class org.apache.log4j.ConsoleAppender
Prepares the appender for use.
activateOptions() - method in class org.apache.log4j.DailyRollingFileAppender
activateOptions() - method in class org.apache.log4j.helpers.DateLayout
activateOptions() - method in class org.apache.log4j.varia.ExternallyRolledFileAppender
Start listening on the port specified by a preceding call to setPort(int).
activateOptions() - method in class org.apache.log4j.varia.FallbackErrorHandler
No options to activate.
activateOptions() - method in class org.apache.log4j.FileAppender
If the value of File is not null, then setFile is called with the values of File and Append properties.
activateOptions() - method in class org.apache.log4j.spi.Filter
Usually filters options become active when set.
activateOptions() - method in class org.apache.log4j.HTMLLayout
No options to activate.
activateOptions() - method in class org.apache.log4j.net.JMSAppender
Options are activated and become effective only after calling this method.
activateOptions() - method in class org.apache.log4j.nt.NTEventLogAppender
activateOptions() - method in class org.apache.log4j.varia.NullAppender
There are no options to acticate.
activateOptions() - method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
No options to activate.
activateOptions() - method in class org.apache.log4j.spi.OptionHandler
Activate the options that were previously set with calls to option setters.
activateOptions() - method in class org.apache.log4j.PatternLayout
Does not do anything as options become effective
activateOptions() - method in class org.apache.log4j.SimpleLayout
activateOptions() - method in class org.apache.log4j.net.SMTPAppender
Activate the specified options, such as the smtp host, the recipient, from, etc.
activateOptions() - method in class org.apache.log4j.net.SocketAppender
Connect to the specified RemoteHost and Port.
activateOptions() - method in class org.apache.log4j.net.SocketHubAppender
Set up the socket server on the specified port.
activateOptions() - method in class org.apache.log4j.net.SyslogAppender
This method returns immediately as options are activated when they are set.
activateOptions() - method in class org.apache.log4j.net.TelnetAppender
all of the options have been set, create the socket handler and wait for connections.
activateOptions() - method in class org.apache.log4j.WriterAppender
Does nothing.
activateOptions() - method in class org.apache.log4j.xml.XMLLayout
No options to activate.
add(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.helpers.CyclicBuffer
Add an event as the last event in the buffer.
addAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.spi.AppenderAttachable
Add an appender.
addAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.helpers.AppenderAttachableImpl
Attach an appender.
addAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.AsyncAppender
Add an appender.
addAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.Category
Add newAppender to the list of appenders of this Category instance.
addFilter(org.apache.log4j.spi.Filter) - method in class org.apache.log4j.Appender
Add a filter to the end of the filter list.
addFilter(org.apache.log4j.spi.Filter) - method in class org.apache.log4j.AppenderSkeleton
Add a filter to end of the filter list.
Add a HierarchyEventListener event to the repository.
additive - field in class org.apache.log4j.Category
Additivity is set to true by default, that is children inherit the appenders of their ancestors by default.
addLoggerMBean(String) - method in class org.apache.log4j.jmx.HierarchyDynamicMBean
Add an object renderer for a specific class.
Add a renderer to a hierarchy passed as parameter.
ADDRESS_PARSE_FAILURE - static field in class org.apache.log4j.spi.ErrorCode
Agent - class org.apache.log4j.jmx.Agent
Agent() - constructor for class org.apache.log4j.jmx.Agent
ALL - static field in class org.apache.log4j.Level
The ALL has the lowest possible rank and is intended to turn on all logging.
ALL_INT - static field in class org.apache.log4j.Priority
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
append(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.AsyncAppender
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
append(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.jdbc.JDBCAppender
Adds the event to the buffer.
append(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.net.JMSAppender
This method called by AppenderSkeleton.doAppend(LoggingEvent) method to do most of the real appending work.
append(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.lf5.LF5Appender
Appends a LoggingEvent record to the LF5Appender.
append(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.performance.NullAppender
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
append(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.varia.NullAppender
Does not do anything.
append(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.net.SMTPAppender
Perform SMTPAppender specific appending actions, mainly adding the event to a cyclic buffer and checking if the event triggers an e-mail to be sent.
append(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.net.SocketAppender
Subclasses of AppenderSkeleton should implement this method to perform actual logging.
append(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.net.SocketHubAppender
Append an event to all of current connections.
append(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.net.SyslogAppender
append(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.net.TelnetAppender
Handles a log event.
This method is called by the AppenderSkeleton.doAppend(LoggingEvent) method.
Appender - interface org.apache.log4j.Appender
Implement this interface for your own strategies for outputting log statements.
AppenderAttachable - interface org.apache.log4j.spi.AppenderAttachable
Interface for attaching appenders to objects.
AppenderAttachableImpl - class org.apache.log4j.helpers.AppenderAttachableImpl
A straightforward implementation of the AppenderAttachable interface.
AppenderDynamicMBean - class org.apache.log4j.jmx.AppenderDynamicMBean
AppenderDynamicMBean(org.apache.log4j.Appender) - constructor for class org.apache.log4j.jmx.AppenderDynamicMBean
AppenderFinalizer - class org.apache.log4j.lf5.AppenderFinalizer
AppenderFinalizer has a single method that will finalize resources associated with a LogBrokerMonitor in the event that the LF5Appender class is destroyed, and the class loader is garbage collected.
appenderList - field in class org.apache.log4j.helpers.AppenderAttachableImpl
Array of appenders.
appenderNames - field in class org.apache.log4j.config.PropertyPrinter
AppenderSkeleton - class org.apache.log4j.AppenderSkeleton
Abstract superclass of the other appenders in the package.
appendEscapingCDATA(StringBuffer,String) - static method in class org.apache.log4j.helpers.Transform
Ensures that embeded CDEnd strings (]]>) are handled properly within message, NDC and throwable tag text.
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.
AsyncAppender - class org.apache.log4j.AsyncAppender
The AsyncAppender lets users log events asynchronously.
AsyncAppender() - constructor for class org.apache.log4j.AsyncAppender
AttributesRenderer - class org.apache.log4j.or.sax.AttributesRenderer
Render org.xml.sax.Attributes objects.
AttributesRenderer() - constructor for class org.apache.log4j.or.sax.AttributesRenderer

B

BasicConfigurator - class org.apache.log4j.BasicConfigurator
Use this class to quickly configure the package.
BasicConfigurator() - constructor for class org.apache.log4j.BasicConfigurator
BoundedFIFO - class org.apache.log4j.helpers.BoundedFIFO
BoundedFIFO serves as the bounded first-in-first-out buffer heavily used by the AsyncAppender.
BoundedFIFO(int) - constructor for class org.apache.log4j.helpers.BoundedFIFO
Instantiate a new BoundedFIFO with a maximum size passed as argument.
buf - field in class org.apache.log4j.TTCCLayout
BUF_SIZE - field in class org.apache.log4j.HTMLLayout
BUF_SIZE - field in class org.apache.log4j.PatternLayout
buffer - field in class org.apache.log4j.jdbc.JDBCAppender
ArrayList holding the buffer of Logging Events.
bufferedIO - field in class org.apache.log4j.FileAppender
Do we do bufferedIO?
bufferSize - field in class org.apache.log4j.FileAppender
Determines the size of IO buffer be.
bufferSize - field in class org.apache.log4j.jdbc.JDBCAppender
size of LoggingEvent buffer before writting to the database.

C

Call the appenders in the hierrachy starting at this.
capitalize(String) - static method in class org.apache.log4j.config.PropertyPrinter
Category - class org.apache.log4j.Category
This class has been deprecated and replaced by the Logger subclass.
Category(String) - constructor for class org.apache.log4j.Category
This constructor created a new Category instance and sets its name.
categoryName - field in class org.apache.log4j.spi.LoggingEvent
The category (logger) name.
cb - field in class org.apache.log4j.net.SMTPAppender
checkAndConfigure() - method in class org.apache.log4j.helpers.FileWatchdog
checkEntryConditions() - method in class org.apache.log4j.net.JMSAppender
checkEntryConditions() - method in class org.apache.log4j.net.SMTPAppender
This method determines if there is a sense in attempting to append.
checkEntryConditions() - method in class org.apache.log4j.WriterAppender
This method determines if there is a sense in attempting to append.
childValue(Object) - method in class org.apache.log4j.helpers.ThreadLocalMap
cleanUp() - method in class org.apache.log4j.net.SocketAppender
Drop the connection to the remote host and release the underlying connector thread if it has been created
cleanUp() - method in class org.apache.log4j.net.SocketHubAppender
Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers.
clear() - method in class org.apache.log4j.Hierarchy
This call will clear all logger definitions from the internal hashtable.
clear() - static method in class org.apache.log4j.NDC
Clear any nested diagnostic information if any.
clear() - method in class org.apache.log4j.or.RendererMap
clearFilters() - method in class org.apache.log4j.Appender
Clear the list of filters by removing all the filters in it.
clearFilters() - method in class org.apache.log4j.AppenderSkeleton
Clear the filters chain.
cloneStack() - static method in class org.apache.log4j.NDC
Clone the diagnostic context for the current thread.
close() - method in class 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.AsyncAppender
Close this AsyncAppender by interrupting the dispatcher thread which will process all pending events before exiting.
close() - method in class org.apache.log4j.jdbc.JDBCAppender
Closes the appender, flushing the buffer first then closing the default connection if it is open.
close() - method in class org.apache.log4j.net.JMSAppender
Close this JMSAppender.
close() - method in class org.apache.log4j.lf5.LF5Appender
This method is an empty implementation of the close() method inherited from the org.apache.log4j.Appender interface.
close() - method in class org.apache.log4j.performance.NOPWriter
close() - method in class org.apache.log4j.nt.NTEventLogAppender
close() - method in class org.apache.log4j.performance.NullAppender
close() - method in class org.apache.log4j.varia.NullAppender
close() - method in class org.apache.log4j.net.SMTPAppender
Release any resources allocated within the appender such as file handles, network connections, etc.
close() - method in class org.apache.log4j.net.SocketAppender
Close this appender.
close() - method in class org.apache.log4j.net.SocketHubAppender
Close this appender.
close() - method in class org.apache.log4j.net.SyslogAppender
Release any resources held by this SyslogAppender.
close() - method in class org.apache.log4j.helpers.SyslogWriter
close() - method in class org.apache.log4j.net.TelnetAppender
shuts down the appender.
close() - method in class org.apache.log4j.WriterAppender
Close this appender instance.
CLOSE_FAILURE - static field in class org.apache.log4j.spi.ErrorCode
closeConnection(Connection) - method in class org.apache.log4j.jdbc.JDBCAppender
Override this to return the connection to a pool, or to clean up the resource.
closed - field in class org.apache.log4j.AppenderSkeleton
Is this appender closed?
closeFile() - method in class org.apache.log4j.FileAppender
Closes the previously opened file.
closeWriter() - method in class org.apache.log4j.ConsoleAppender
closeWriter() - method in class org.apache.log4j.WriterAppender
Close the underlying Writer.
concatanateArrays(String[],String[]) - static method in class org.apache.log4j.helpers.OptionConverter
CONFIG - static field in class org.apache.log4j.lf5.LogLevel
CONFIG_DEBUG_KEY - static field in class org.apache.log4j.helpers.LogLog
Defining this value makes log4j components print log4j-internal debug statements to System.out.
Configurator - interface org.apache.log4j.spi.Configurator
Implemented by classes capable of configuring log4j using a URL.
CONFIGURATOR_CLASS_KEY - static field in class org.apache.log4j.LogManager
configure() - static method in class org.apache.log4j.BasicConfigurator
Add a ConsoleAppender that uses PatternLayout using the PatternLayout.TTCC_CONVERSION_PATTERN and prints to System.out to the root category.
configure() - static method in class org.apache.log4j.lf5.DefaultLF5Configurator
This method configures the LF5Appender using a default configuration file.
configure(Element) - static method in class org.apache.log4j.xml.DOMConfigurator
Configure log4j using a configuration element as defined in the log4j.dtd.
configure(java.net.URL) - static method in class org.apache.log4j.PropertyConfigurator
Read configuration options from url configURL.
configure(org.apache.log4j.Appender) - static method in class org.apache.log4j.BasicConfigurator
Add appender to the root category.
configure(Properties) - static method in class org.apache.log4j.PropertyConfigurator
Read configuration options from properties.
configure(String) - static method in class org.apache.log4j.xml.DOMConfigurator
configure(String) - static method in class org.apache.log4j.PropertyConfigurator
configure(URL) - static method in class org.apache.log4j.xml.DOMConfigurator
configureAndWatch(String) - static method in class org.apache.log4j.xml.DOMConfigurator
Like configureAndWatch(String,long) except that the default delay as defined by FileWatchdog.DEFAULT_DELAY is used.
configureAndWatch(String) - static method in class org.apache.log4j.PropertyConfigurator
Like 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.xml.DOMConfigurator
Read the configuration file configFilename if it exists.
configureAndWatch(String,long) - static method in class org.apache.log4j.PropertyConfigurator
Read the configuration file configFilename if it exists.
configureLoggerFactory(Properties) - method in class org.apache.log4j.PropertyConfigurator
Check the provided Properties object for a LoggerFactory entry specified by LOGGER_FACTORY_KEY.
connection - field in class org.apache.log4j.jdbc.JDBCAppender
Connection used by default.
ConsoleAppender - class org.apache.log4j.ConsoleAppender
ConsoleAppender appends log events to System.out or System.err using a layout specified by the user.
ConsoleAppender() - constructor for class org.apache.log4j.ConsoleAppender
Constructs an unconfigured appender.
ConsoleAppender(org.apache.log4j.Layout) - constructor for class org.apache.log4j.ConsoleAppender
Creates a configured appender.
ConsoleAppender(org.apache.log4j.Layout,String) - constructor for class org.apache.log4j.ConsoleAppender
Creates a configured appender.
convert(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.helpers.PatternConverter
Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
convertArg(String,Class) - method in class org.apache.log4j.config.PropertySetter
Convert val a String parameter to an object of a given type.
convertSpecialChars(String) - static method in class org.apache.log4j.helpers.OptionConverter
count - field in class org.apache.log4j.helpers.CountingQuietWriter
CountingQuietWriter - class org.apache.log4j.helpers.CountingQuietWriter
Counts the number of bytes written.
createPatternParser(String) - method in class org.apache.log4j.PatternLayout
Returns PatternParser used to parse the conversion string.
createWriter(OutputStream) - method in class org.apache.log4j.WriterAppender
Returns an OutputStreamWriter when passed an OutputStream.
currentLiteral - field in class org.apache.log4j.helpers.PatternParser
CyclicBuffer - class org.apache.log4j.helpers.CyclicBuffer
CyclicBuffer is used by other appenders to hold LoggingEvents for immediate or differed display.
CyclicBuffer(int) - constructor for class org.apache.log4j.helpers.CyclicBuffer
Instantiate a new CyclicBuffer of at most maxSize events.

D

DailyRollingFileAppender extends FileAppender so that the underlying file is rolled over at a user chosen frequency.
DailyRollingFileAppender() - constructor for class org.apache.log4j.DailyRollingFileAppender
The default constructor does nothing.
Instantiate a DailyRollingFileAppender and open the file designated by filename.
databasePassword - field in class org.apache.log4j.jdbc.JDBCAppender
User to use for default connection handling
databaseURL - field in class org.apache.log4j.jdbc.JDBCAppender
URL of the DB for default connection handling
databaseUser - field in class org.apache.log4j.jdbc.JDBCAppender
User to connect as for default connection handling
date - field in class org.apache.log4j.helpers.DateLayout
DATE_AND_TIME_DATE_FORMAT - static field in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
String constant used to specify DateTimeDateFormat in layouts.
DATE_FORMAT_OPTION - static field in class org.apache.log4j.helpers.DateLayout
dateFormat - field in class org.apache.log4j.helpers.DateLayout
DateLayout - class org.apache.log4j.helpers.DateLayout
This abstract layout takes care of all the date related options and formatting work.
DateTimeDateFormat - class org.apache.log4j.helpers.DateTimeDateFormat
Formats a Date in the format "dd MMM YYYY HH:mm:ss,SSS" for example, "06 Nov 1994 15:49:37,459".
DateTimeDateFormat() - constructor for class org.apache.log4j.helpers.DateTimeDateFormat
DateTimeDateFormat(TimeZone) - constructor for class org.apache.log4j.helpers.DateTimeDateFormat
DEBUG - static field in class org.apache.log4j.Level
The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
DEBUG - static field in class org.apache.log4j.lf5.LogLevel
DEBUG - static field in class org.apache.log4j.Priority
debug(Object) - method in class org.apache.log4j.Category
Log a message object with the DEBUG level.
debug(Object,Throwable) - method in class org.apache.log4j.Category
Log a message object with the DEBUG level including the stack trace of the Throwable t passed as parameter.
debug(String) - static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal debug statements.
debug(String,Throwable) - static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal debug statements.
DEBUG_INT - static field in class org.apache.log4j.Priority
DEBUG_KEY - static field in class org.apache.log4j.helpers.LogLog
Defining this value makes log4j print log4j-internal debug statements to System.out.
debugEnabled - static field in class org.apache.log4j.helpers.LogLog
decide(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.varia.DenyAllFilter
Always returns the integer constant Filter.DENY regardless of the LoggingEvent parameter.
decide(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.spi.Filter
If the decision is DENY, then the event will be dropped.
decide(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.varia.LevelMatchFilter
Return the decision of this filter.
decide(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.varia.LevelRangeFilter
Return the decision of this filter.
decide(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.varia.StringMatchFilter
Returns Filter.NEUTRAL is there is no string match.
DEFAULT_BUFFER_SIZE - static field in class org.apache.log4j.AsyncAppender
The default buffer size is set to 128 events.
DEFAULT_CONFIGURATION_FILE - static field in class org.apache.log4j.LogManager
DEFAULT_CONFIGURATION_KEY - static field in class org.apache.log4j.LogManager
DEFAULT_CONVERSION_PATTERN - static field in class org.apache.log4j.PatternLayout
Default pattern string for log output.
DEFAULT_DELAY - static field in class org.apache.log4j.helpers.FileWatchdog
The default delay between every file modification check, set to 60 seconds.
DEFAULT_INIT_OVERRIDE_KEY - static field in class org.apache.log4j.LogManager
DefaultLF5Configurator - class org.apache.log4j.lf5.DefaultLF5Configurator
The DefaultLF5Configurator provides a default configuration for the LF5Appender.
delay - field in class org.apache.log4j.helpers.FileWatchdog
The delay to observe between every check.
DENY - static field 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.
DenyAllFilter - class org.apache.log4j.varia.DenyAllFilter
This filter drops all logging events.
doAppend(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.Appender
Log in Appender specific way.
This method performs threshold checks and invokes filters before delegating actual logging to the subclasses specific append(LoggingEvent) method.
doAppend(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.performance.NullAppender
This method performs threshold checks and invokes filters before delegating actual logging to the subclasses specific AppenderSkeleton.append(LoggingEvent) method.
doAppend(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.varia.NullAppender
Does not do anything.
doCapitalize - field in class org.apache.log4j.config.PropertyPrinter
Configure by taking in an DOM element.
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
Read configuration options from url configURL.
Read configuration options from properties.
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
Read configuration from a file.
Interpret a resource pointed by a URL and set up log4j accordingly.
This is a dummy method that will throw an IllegalStateException if used.
Interpret a resource pointed by a URL and set up log4j accordingly.
Interpret a resource pointed by a URL and set up log4j accordingly.
DOMConfigurator - class org.apache.log4j.xml.DOMConfigurator
Use this class to initialize the log4j environment using a DOM tree.
DOMConfigurator() - constructor for class org.apache.log4j.xml.DOMConfigurator
No argument constructor.
doOnChange() - method in class org.apache.log4j.helpers.FileWatchdog
doRender(Object) - method in class org.apache.log4j.or.sax.AttributesRenderer
Render a org.xml.sax.Attributes.
doRender(Object) - method in class org.apache.log4j.or.jms.MessageRenderer
Render a javax.jms.Message.
doRender(Object) - method in class org.apache.log4j.or.ObjectRenderer
Render the object passed as parameter as a String.
doRender(Object) - method in class org.apache.log4j.or.ThreadGroupRenderer
Render a ThreadGroup object similar to the way that the ThreadGroup.list method output information.

E

encoding - field in class org.apache.log4j.WriterAppender
The encoding to use when opening an InputStream.
encompasses(org.apache.log4j.lf5.LogLevel) - method in class org.apache.log4j.lf5.LogLevel
Returns true if the level supplied is encompassed by this level.
equals(Object) - method in class org.apache.log4j.lf5.LogLevel
equals(Object) - method in class org.apache.log4j.Priority
Two priorities are equal if their level fields are equal.
equals(org.apache.log4j.lf5.LF5Appender) - method in class org.apache.log4j.lf5.LF5Appender
The equals method compares two LF5Appenders and determines whether they are equal.
ERROR - static field in class org.apache.log4j.Level
The ERROR level designates error events that might still allow the application to continue running.
ERROR - static field in class org.apache.log4j.lf5.LogLevel
ERROR - static field in class org.apache.log4j.Priority
error(Object) - method in class org.apache.log4j.Category
Log a message object with the ERROR Level.
error(Object,Throwable) - method in class org.apache.log4j.Category
Log a message object with the ERROR level including the stack trace of the Throwable t passed as parameter.
error(org.xml.sax.SAXParseException) - method in class org.apache.log4j.xml.examples.ReportParserError
error(SAXParseException) - method in class org.apache.log4j.xml.SAXErrorHandler
error(String) - method in class org.apache.log4j.spi.ErrorHandler
This method is normally used to just print the error message passed as a parameter.
error(String) - method in class org.apache.log4j.varia.FallbackErrorHandler
Print a the error message passed as parameter on System.err.
error(String) - static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal error statements.
error(String) - method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Print a the error message passed as parameter on System.err.
error(String,Exception,int) - method in class org.apache.log4j.spi.ErrorHandler
Equivalent to the error(String, Exception, int, LoggingEvent event) with the the event parameteter set to null.
error(String,Exception,int) - method in class org.apache.log4j.varia.FallbackErrorHandler
Prints the message and the stack trace of the exception on System.err.
error(String,Exception,int) - method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Prints the message and the stack trace of the exception on System.err.
This method is invoked to handle the error.
Prints the message and the stack trace of the exception on System.err.
Prints the message and the stack trace of the exception on System.err.
error(String,Throwable) - static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal error statements.
ERROR_INT - static field in class org.apache.log4j.Priority
ErrorCode - interface org.apache.log4j.spi.ErrorCode
This interface defines commonly encoutered error codes.
errorHandler - field in class org.apache.log4j.AppenderSkeleton
It is assumed and enforced that errorHandler is never null.
ErrorHandler - interface org.apache.log4j.spi.ErrorHandler
Appenders may delegate their error handling to ErrorHandlers.
errorHandler - field in class org.apache.log4j.helpers.QuietWriter
escapeTags(String) - static method in class org.apache.log4j.helpers.Transform
This method takes a string which may contain HTML tags (ie, <b>, <table>, etc) and replaces any '<' and '>' characters with respective predefined entity references.
evaluator - field in class org.apache.log4j.net.SMTPAppender
execute(String) - method in class org.apache.log4j.jdbc.JDBCAppender
Override this to provide an alertnate method of getting connections (such as caching).
exists(String) - static method in class org.apache.log4j.Category
If the named category exists (in the default hierarchy) then it returns a reference to the category, otherwise it returns null.
exists(String) - method in class org.apache.log4j.Hierarchy
Check if the named logger exists in the hierarchy.
exists(String) - method in class org.apache.log4j.spi.LoggerRepository
exists(String) - static method in class org.apache.log4j.LogManager
This appender listens on a socket on the port specified by the Port property for a "RollOver" message.
ExternallyRolledFileAppender() - constructor for class org.apache.log4j.varia.ExternallyRolledFileAppender
The default constructor does nothing but calls its super-class constructor.
extractOption() - method in class org.apache.log4j.helpers.PatternParser
extractPrecisionOption() - method in class org.apache.log4j.helpers.PatternParser
The option is expected to be in decimal and positive.

F

FACILITY_OI - static field in class org.apache.log4j.net.SyslogAppender
FallbackErrorHandler - class org.apache.log4j.varia.FallbackErrorHandler
The FallbackErrorHandler implements the ErrorHandler interface such that a secondary appender may be specified.
FallbackErrorHandler() - constructor for class org.apache.log4j.varia.FallbackErrorHandler
FATAL - static field in class org.apache.log4j.Level
The FATAL level designates very severe error events that will presumably lead the application to abort.
FATAL - static field in class org.apache.log4j.lf5.LogLevel
FATAL - static field in class org.apache.log4j.Priority
fatal(Object) - method in class org.apache.log4j.Category
Log a message object with the FATAL Level.
fatal(Object,Throwable) - method in class org.apache.log4j.Category
Log a message object with the FATAL level including the stack trace of the Throwable t passed as parameter.
FATAL_INT - static field in class org.apache.log4j.Priority
fatalError(org.xml.sax.SAXParseException) - method in class org.apache.log4j.xml.examples.ReportParserError
fatalError(SAXParseException) - method in class org.apache.log4j.xml.SAXErrorHandler
FILE_OPEN_FAILURE - static field in class org.apache.log4j.spi.ErrorCode
fileAppend - field in class org.apache.log4j.FileAppender
Controls file truncatation.
FileAppender - class org.apache.log4j.FileAppender
FileAppender appends log events to a file.
FileAppender() - constructor for class org.apache.log4j.FileAppender
The default constructor does not do anything.
FileAppender(org.apache.log4j.Layout,String) - constructor for class org.apache.log4j.FileAppender
Instantiate a FileAppender and open the file designated by filename.
Instantiate a FileAppender and open the file designated by filename.
Instantiate a FileAppender and open the file designated by filename.
fileName - field in class org.apache.log4j.FileAppender
The name of the log file.
filename - field in class org.apache.log4j.helpers.FileWatchdog
The name of the file to observe for changes.
FileWatchdog - class org.apache.log4j.helpers.FileWatchdog
Check every now and then that a certain file has not changed.
FileWatchdog(String) - constructor for class org.apache.log4j.helpers.FileWatchdog
Filter - class org.apache.log4j.spi.Filter
Users should extend this class to implement customized logging event filtering.
finalize() - method in class org.apache.log4j.lf5.AppenderFinalizer
finalize() - method in class org.apache.log4j.AppenderSkeleton
Finalize this appender by calling the derived class' close method.
finalize() - method in class org.apache.log4j.jdbc.JDBCAppender
closes the appender before disposal
finalize() - method in class org.apache.log4j.nt.NTEventLogAppender
finalize() - method in class org.apache.log4j.net.TelnetAppender.SocketHandler
make sure we close all network connections when this handler is destroyed.
finalizeConverter(char) - method in class org.apache.log4j.helpers.PatternParser
findAndRender(Object) - method in class org.apache.log4j.or.RendererMap
Find the appropriate renderer for the class type of the o parameter.
findAndSubst(String,Properties) - static method in class org.apache.log4j.helpers.OptionConverter
Find the value corresponding to key in props.
findAppenderByName(Document,String) - method in class org.apache.log4j.xml.DOMConfigurator
Used internally to parse appenders by IDREF name.
findAppenderByReference(Element) - method in class org.apache.log4j.xml.DOMConfigurator
Used internally to parse appenders by IDREF element.
FINE - static field in class org.apache.log4j.lf5.LogLevel
FINER - static field in class org.apache.log4j.lf5.LogLevel
FINEST - static field in class org.apache.log4j.lf5.LogLevel
flush() - method in class org.apache.log4j.performance.NOPWriter
flush() - method in class org.apache.log4j.helpers.QuietWriter
flush() - method in class org.apache.log4j.helpers.SyslogWriter
FLUSH_FAILURE - static field in class org.apache.log4j.spi.ErrorCode
flushBuffer() - method in class org.apache.log4j.jdbc.JDBCAppender
loops through the buffer of LoggingEvents, gets a sql string from getLogStatement() and sends it to execute().
This method creates a new logging event and logs the event without further checks.
format(Date,StringBuffer,FieldPosition) - method in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
Appends to sbuf the time in the format "HH:mm:ss,SSS" for example, "15:49:37,459"
format(Date,StringBuffer,FieldPosition) - method in class org.apache.log4j.helpers.DateTimeDateFormat
Appends to sbuf the date in the format "dd MMM YYYY HH:mm:ss,SSS" for example, "06 Nov 1994 08:49:37,459".
format(Date,StringBuffer,FieldPosition) - method in class org.apache.log4j.helpers.ISO8601DateFormat
Appends a date in the format "YYYY-mm-dd HH:mm:ss,SSS" to sbuf.
format(Date,StringBuffer,FieldPosition) - method in class org.apache.log4j.helpers.RelativeTimeDateFormat
Appends to sbuf the number of milliseconds elapsed since the start of the application.
format(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.HTMLLayout
format(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.Layout
Implement this method to create your own layout format.
format(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.PatternLayout
Produces a formatted string as specified by the conversion pattern.
format(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.SimpleLayout
Returns the log statement in a format consisting of the level, followed by " - " and then the message.
format(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.TTCCLayout
In addition to the level of the statement and message, the returned byte array includes time, thread, category and NDC information.
format(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.xml.XMLLayout
Formats a LoggingEvent in conformance with the log4j.dtd.
A template method for formatting in a converter specific way.
FormattingInfo - class org.apache.log4j.helpers.FormattingInfo
FormattingInfo instances contain the information obtained when parsing formatting modifiers in conversion modifiers.
formattingInfo - field in class org.apache.log4j.helpers.PatternParser
foundProperty(Object,String,String,Object) - method in class org.apache.log4j.config.PropertyPrinter
fqnOfCategoryClass - field in class org.apache.log4j.spi.LoggingEvent
Fully qualified name of the calling category class.
fullInfo - field in class org.apache.log4j.spi.LocationInfo
All available caller information, in the format fully.qualified.classname.of.caller.methodName(Filename.java:line)

G

genAppName() - method in class org.apache.log4j.config.PropertyPrinter
GENERIC_FAILURE - static field in class org.apache.log4j.spi.ErrorCode
get() - method in class org.apache.log4j.helpers.BoundedFIFO
Get the first element in the buffer.
get() - method in class org.apache.log4j.helpers.CyclicBuffer
Get the oldest (first) element in the buffer.
get() - static method in class org.apache.log4j.NDC
Never use this method directly, use the LoggingEvent.getNDC() method instead.
get(Class) - method in class org.apache.log4j.or.RendererMap
Search the parents of clazz for a renderer.
get(int) - method in class org.apache.log4j.helpers.CyclicBuffer
Get the ith oldest event currently in the buffer.
get(Object) - method in class org.apache.log4j.or.RendererMap
Syntactic sugar method that calls get(Class) with the class of the object parameter.
get(String) - static method in class org.apache.log4j.MDC
Get the context identified by the key parameter.
getAcceptOnMatch() - method in class org.apache.log4j.varia.LevelMatchFilter
getAcceptOnMatch() - method in class org.apache.log4j.varia.LevelRangeFilter
Get the value of the AcceptOnMatch option.
getAcceptOnMatch() - method in class org.apache.log4j.varia.StringMatchFilter
getAdditivity() - method in class org.apache.log4j.Category
Get the additivity flag for this Category instance.
getAllAppenders() - method in class org.apache.log4j.spi.AppenderAttachable
Get all previously added appenders as an Enumeration.
getAllAppenders() - method in class org.apache.log4j.helpers.AppenderAttachableImpl
Get all attached appenders as an Enumeration.
getAllAppenders() - method in class org.apache.log4j.AsyncAppender
Get all previously added appenders as an Enumeration.
getAllAppenders() - method in class org.apache.log4j.Category
Get the appenders contained in this category as an Enumeration.
getAllDefaultLevels() - static method in class org.apache.log4j.lf5.LogLevel
getAllPossiblePriorities() - static method in class org.apache.log4j.Priority
Return all possible priorities as an array of Level objects in descending order.
getAppend() - method in class org.apache.log4j.FileAppender
Returns the value of the Append option.
getAppender(String) - method in class org.apache.log4j.spi.AppenderAttachable
Get an appender by name.
getAppender(String) - method in class org.apache.log4j.helpers.AppenderAttachableImpl
Look for an attached appender named as name.
getAppender(String) - method in class org.apache.log4j.AsyncAppender
Get an appender by name.
getAppender(String) - method in class org.apache.log4j.Category
Look for the appender named as name.
getAttribute(String) - method in class org.apache.log4j.jmx.AppenderDynamicMBean
getAttribute(String) - method in class org.apache.log4j.jmx.HierarchyDynamicMBean
getAttribute(String) - method in class org.apache.log4j.jmx.LayoutDynamicMBean
getAttribute(String) - method in class org.apache.log4j.jmx.LoggerDynamicMBean
getAttributes(String[]) - method in class org.apache.log4j.jmx.AbstractDynamicMBean
Enables the to get the values of several attributes of the Dynamic MBean.
getBufferedIO() - method in class org.apache.log4j.FileAppender
Get the value of the BufferedIO option.
getBufferSize() - method in class org.apache.log4j.AsyncAppender
Returns the current value of the BufferSize option.
getBufferSize() - method in class org.apache.log4j.FileAppender
Get the size of the IO buffer.
getBufferSize() - method in class org.apache.log4j.jdbc.JDBCAppender
getBufferSize() - method in class org.apache.log4j.net.SMTPAppender
Returns value of the BufferSize option.
getCategory() - method in class org.apache.log4j.lf5.LogRecord
Get the category asscociated with this LogRecord.
getCategoryPrefixing() - method in class org.apache.log4j.TTCCLayout
Returns value of the CategoryPrefixing option.
getChainedLevel() - method in class org.apache.log4j.spi.RootCategory
Return the assigned level value without walking the category hierarchy.
getChainedLevel() - method in class org.apache.log4j.spi.RootLogger
Return the assigned level value without walking the logger hierarchy.
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.
getConnection() - method in class org.apache.log4j.jdbc.JDBCAppender
Override this to link with your connection pooling system.
getContentType() - method in class org.apache.log4j.HTMLLayout
Returns the content type output by this layout, i.e "text/html".
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
Get the current thread's MDC as a hashtable.
getContextPrinting() - method in class org.apache.log4j.TTCCLayout
Returns value of the ContextPrinting option.
getConversionPattern() - method in class org.apache.log4j.PatternLayout
Returns the value of the ConversionPattern option.
getCount() - method in class org.apache.log4j.helpers.CountingQuietWriter
getCurrentCategories() - static method in class org.apache.log4j.Category
Returns all the currently defined categories in the default hierarchy as an Enumeration.
getCurrentCategories() - method in class org.apache.log4j.Hierarchy
getCurrentCategories() - method in class org.apache.log4j.spi.LoggerRepository
Deprecated.
getCurrentLoggers() - method in class org.apache.log4j.Hierarchy
Returns all the currently defined categories in this hierarchy as an Enumeration.
getCurrentLoggers() - method in class org.apache.log4j.spi.LoggerRepository
getCurrentLoggers() - static method in class org.apache.log4j.LogManager
getDateFormat() - method in class org.apache.log4j.helpers.DateLayout
Returns value of the DateFormat option.
getDatePattern() - method in class org.apache.log4j.DailyRollingFileAppender
Returns the value of the DatePattern option.
getDefaultHierarchy() - static method in class org.apache.log4j.Category
Return the default Hierarchy instance.
getDefaultInstance() - static method in class org.apache.log4j.lf5.LF5Appender
getDefaultMonitorHeight() - static method in class org.apache.log4j.lf5.LF5Appender
getDefaultMonitorWidth() - static method in class org.apache.log4j.lf5.LF5Appender
getDefaultRenderer() - method in class org.apache.log4j.or.RendererMap
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
Starting from this category, search the category hierarchy for a non-null level and return it.
getEncoding() - method in class org.apache.log4j.WriterAppender
getErrorHandler() - method in class org.apache.log4j.Appender
Returns the ErrorHandler for this appender.
getErrorHandler() - method in class org.apache.log4j.AppenderSkeleton
Return the currently set ErrorHandler for this Appender.
getEvaluatorClass() - method in class org.apache.log4j.net.SMTPAppender
Returns value of the EvaluatorClass option.
getFacility() - method in class org.apache.log4j.net.SyslogAppender
Returns the value of the Facility option.
getFacility(String) - static method in class org.apache.log4j.net.SyslogAppender
Returns the integer value corresponding to the named syslog facility, or -1 if it couldn't be recognized.
getFacilityPrinting() - method in class org.apache.log4j.net.SyslogAppender
Returns the value of the FacilityPrinting option.
getFacilityString(int) - static method in class org.apache.log4j.net.SyslogAppender
Returns the specified syslog facility as a lower-case String, e.g.
getFile() - method in class org.apache.log4j.FileAppender
Returns the value of the File option.
getFileName() - method in class org.apache.log4j.spi.LocationInfo
Return the file name of the caller.
getFilter() - method in class org.apache.log4j.Appender
Returns the head Filter.
getFilter() - method in class org.apache.log4j.AppenderSkeleton
Returns the head Filter.
getFirstFilter() - method in class org.apache.log4j.AppenderSkeleton
Return the first filter in the filter chain for this Appender.
getFollow() - method in class org.apache.log4j.ConsoleAppender
Gets whether the appender honors reassignments of System.out or System.err made after configuration.
getFooter() - method in class org.apache.log4j.HTMLLayout
Returns the appropriate HTML footers.
getFooter() - method in class org.apache.log4j.Layout
Returns the footer for the layout format.
getFrom() - method in class org.apache.log4j.net.SMTPAppender
Returns value of the From option.
getHeader() - method in class org.apache.log4j.HTMLLayout
Returns appropriate HTML headers.
getHeader() - method in class org.apache.log4j.Layout
Returns the header for the layout format.
getHierarchy() - method in class org.apache.log4j.Category
Return the the Hierarchy where this Category instance is attached.
getImmediateFlush() - method in class org.apache.log4j.WriterAppender
Returns value of the ImmediateFlush option.
getInitialContextFactoryName() - method in class org.apache.log4j.net.JMSAppender
Returns the value of the InitialContextFactoryName option.
getInstance() - method in class org.apache.log4j.varia.NullAppender
Whenever you can, use this method to retreive an instance instead of instantiating a new one with new.
getInstance() - static method in class org.apache.log4j.helpers.NullEnumeration
getInstance(Class) - static method in class org.apache.log4j.Category
getInstance(String) - static method in class org.apache.log4j.Category
getJdk14Levels() - static method in class org.apache.log4j.lf5.LogLevel
getLabel() - method in class org.apache.log4j.lf5.LogLevel
Return the Label of the LogLevel.
getLayout() - method in class org.apache.log4j.Appender
Returns this appenders layout.
getLayout() - method in class org.apache.log4j.AppenderSkeleton
Returns the layout of this appender.
getLevel() - method in class org.apache.log4j.Category
Returns the assigned Level, if any, for this Category.
getLevel() - method in class org.apache.log4j.spi.LoggingEvent
Return the level of this event.
getLevel() - method in class org.apache.log4j.lf5.LogRecord
Get the level of this LogRecord.
getLevelMax() - method in class org.apache.log4j.varia.LevelRangeFilter
Get the value of the LevelMax option.
getLevelMin() - method in class org.apache.log4j.varia.LevelRangeFilter
Get the value of the LevelMin option.
getLevelToMatch() - method in class org.apache.log4j.varia.LevelMatchFilter
getLineNumber() - method in class org.apache.log4j.spi.LocationInfo
Returns the line number of the caller.
getLocation() - method in class org.apache.log4j.lf5.LogRecord
Get the location in code where this LogRecord originated.
getLocationInfo() - method in class org.apache.log4j.AsyncAppender
Returns the current value of the LocationInfo option.
getLocationInfo() - method in class org.apache.log4j.HTMLLayout
Returns the current value of the LocationInfo option.
getLocationInfo() - method in class org.apache.log4j.net.JMSAppender
Returns value of the LocationInfo property which determines whether location (stack) info is sent to the remote subscriber.
getLocationInfo() - method in class org.apache.log4j.net.SMTPAppender
Returns value of the LocationInfo option.
getLocationInfo() - method in class org.apache.log4j.net.SocketAppender
Returns value of the LocationInfo option.
getLocationInfo() - method in class org.apache.log4j.net.SocketHubAppender
Returns value of the LocationInfo option.
getLocationInfo() - method in class org.apache.log4j.xml.XMLLayout
Returns the current value of the LocationInfo option.
getLocationInformation() - method in class org.apache.log4j.spi.LoggingEvent
Set the location information for this logging event.
getLog4JLevels() - static method in class org.apache.log4j.lf5.LogLevel
getLogBrokerMonitor() - method in class org.apache.log4j.lf5.LF5Appender
getLogger() - method in class org.apache.log4j.jmx.AbstractDynamicMBean
getLogger() - method in class org.apache.log4j.jmx.AppenderDynamicMBean
getLogger() - method in class org.apache.log4j.jmx.HierarchyDynamicMBean
getLogger() - method in class org.apache.log4j.jmx.LayoutDynamicMBean
getLogger() - method in class org.apache.log4j.jmx.LoggerDynamicMBean
getLogger(Class) - static method in class org.apache.log4j.Logger
Shorthand for getLogger(clazz.getName()).
getLogger(Class) - static method in class org.apache.log4j.LogManager
Retrieve the appropriate Logger instance.
getLogger(String) - method in class org.apache.log4j.Hierarchy
Return a new logger instance named as the first parameter using the default factory.
getLogger(String) - static method in class org.apache.log4j.Logger
Retrieve a logger named according to the value of the name parameter.
getLogger(String) - method in class org.apache.log4j.spi.LoggerRepository
getLogger(String) - static method in class org.apache.log4j.LogManager
Retrieve the appropriate Logger instance.
Return a new logger instance named as the first parameter using factory.
getLogger(String,org.apache.log4j.spi.LoggerFactory) - static method in class org.apache.log4j.Logger
Like getLogger(String) except that the type of logger instantiated depends on the type returned by the LoggerFactory.makeNewLoggerInstance(String) method of the factory parameter.
getLogger(String,org.apache.log4j.spi.LoggerFactory) - static method in class org.apache.log4j.LogManager
Retrieve the appropriate Logger instance.
getLoggerName() - method in class org.apache.log4j.spi.LoggingEvent
Return the name of the logger.
getLoggerRepository() - method in class org.apache.log4j.Category
Return the the LoggerRepository where this Category is attached.
getLoggerRepository() - method in class org.apache.log4j.spi.DefaultRepositorySelector
getLoggerRepository() - static method in class org.apache.log4j.LogManager
getLoggerRepository() - method in class org.apache.log4j.spi.RepositorySelector
Returns a LoggerRepository depending on the context.
getLogLevelColorMap() - static method in class org.apache.log4j.lf5.LogLevel
By default getLogStatement sends the event to the required Layout object.
getMaxBackupIndex() - method in class org.apache.log4j.RollingFileAppender
Returns the value of the MaxBackupIndex option.
getMaximumFileSize() - method in class org.apache.log4j.RollingFileAppender
Get the maximum size that the output file is allowed to reach before being rolled over to backup files.
getMaxSize() - method in class org.apache.log4j.helpers.BoundedFIFO
Get the maximum size of the buffer.
getMaxSize() - method in class org.apache.log4j.helpers.CyclicBuffer
getMBeanInfo() - method in class org.apache.log4j.jmx.AppenderDynamicMBean
getMBeanInfo() - method in class org.apache.log4j.jmx.HierarchyDynamicMBean
getMBeanInfo() - method in class org.apache.log4j.jmx.LayoutDynamicMBean
getMBeanInfo() - method in class org.apache.log4j.jmx.LoggerDynamicMBean
getMDC(String) - method in class org.apache.log4j.spi.LoggingEvent
Returns the the context corresponding to the key parameter.
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.spi.LoggingEvent
Return the message for this logging event.
getMessage() - method in class org.apache.log4j.lf5.LogRecord
Get the message asscociated with this LogRecord.
getMessage() - method in class org.apache.log4j.config.PropertySetterException
Returns descriptive text on the cause of this exception.
getMethodName() - method in class org.apache.log4j.spi.LocationInfo
Returns the method name of the caller.
getMillis() - method in class org.apache.log4j.lf5.LogRecord
Get the event time of this record in milliseconds from 1970.
getName() - method in class org.apache.log4j.Appender
Get the name of this appender.
getName() - method in class org.apache.log4j.AppenderSkeleton
Returns the name of this FileAppender.
getName() - method in class org.apache.log4j.Category
Return the category name.
getNDC() - method in class org.apache.log4j.spi.LoggingEvent
This method returns the NDC for this event.
getNDC() - method in class org.apache.log4j.lf5.LogRecord
Get the NDC (nested diagnostic context) for this record.
getNext() - method in class org.apache.log4j.spi.Filter
Return the pointer to the next filter;
getNextId() - static method in class org.apache.log4j.lf5.LogRecord
getNotificationInfo() - method in class org.apache.log4j.jmx.HierarchyDynamicMBean
getOptionStrings() - method in class org.apache.log4j.helpers.DateLayout
getOptionStrings() - method in class org.apache.log4j.varia.DenyAllFilter
Returns null as there are no options.
getOptionStrings() - method in class org.apache.log4j.varia.StringMatchFilter
getParent() - method in class org.apache.log4j.Category
Returns the parent of this category.
getPassword() - method in class org.apache.log4j.jdbc.JDBCAppender
getPassword() - method in class org.apache.log4j.net.JMSAppender
getPort() - method in class org.apache.log4j.varia.ExternallyRolledFileAppender
Returns value of the Port option.
getPort() - method in class org.apache.log4j.net.SocketAppender
Returns value of the Port option.
getPort() - method in class org.apache.log4j.net.SocketHubAppender
Returns value of the Port option.
getPort() - method in class org.apache.log4j.net.TelnetAppender
getPrecedence() - method in class org.apache.log4j.lf5.LogLevel
getPriority() - method in class org.apache.log4j.Category
getPropertyDescriptor(String) - method in class org.apache.log4j.config.PropertySetter
getProviderURL() - method in class org.apache.log4j.net.JMSAppender
getReconnectionDelay() - method in class org.apache.log4j.net.SocketAppender
Returns value of the ReconnectionDelay option.
getRemoteHost() - method in class org.apache.log4j.net.SocketAppender
Returns value of the RemoteHost option.
getRenderedMessage() - method in class org.apache.log4j.spi.LoggingEvent
getRendererMap() - method in class org.apache.log4j.Hierarchy
Get the renderer map for this hierarchy.
getRendererMap() - method in class org.apache.log4j.spi.RendererSupport
getResource(String) - static method in class org.apache.log4j.helpers.Loader
This method will search for resource in different places.
getResource(String,Class) - static method in class org.apache.log4j.helpers.Loader
Get a resource by delegating to getResource(String).
getResourceBundle() - method in class org.apache.log4j.Category
Return the inherited ResourceBundle for this category.
getResourceBundleString(String) - method in class org.apache.log4j.Category
Returns the string resource coresponding to key in this category's inherited resource bundle.
getRoot() - static method in class org.apache.log4j.Category
getRootLogger() - method in class org.apache.log4j.Hierarchy
Get the root of this hierarchy.
getRootLogger() - static method in class org.apache.log4j.Logger
Return the root logger for the current logger repository.
getRootLogger() - method in class org.apache.log4j.spi.LoggerRepository
getRootLogger() - static method in class org.apache.log4j.LogManager
Retrieve the appropriate root logger.
getScreenHeight() - static method in class org.apache.log4j.lf5.LF5Appender
getScreenWidth() - static method in class org.apache.log4j.lf5.LF5Appender
getSecurityCredentials() - method in class org.apache.log4j.net.JMSAppender
getSecurityPrincipalName() - method in class org.apache.log4j.net.JMSAppender
getSequenceNumber() - method in class org.apache.log4j.lf5.LogRecord
Get the sequence number associated with this LogRecord.
getSMTPHost() - method in class org.apache.log4j.net.SMTPAppender
Returns value of the SMTPHost option.
getSource() - method in class org.apache.log4j.nt.NTEventLogAppender
getSql() - method in class org.apache.log4j.jdbc.JDBCAppender
Returns pre-formated statement eg: insert into LogTable (msg) values ("%m")
getStartTime() - static method in class org.apache.log4j.spi.LoggingEvent
Returns the time when the application started, in milliseconds elapsed since 01.01.1970.
getStringToMatch() - method in class org.apache.log4j.varia.StringMatchFilter
getSubject() - method in class org.apache.log4j.net.SMTPAppender
Returns value of the Subject option.
getSyslogEquivalent() - method in class org.apache.log4j.Priority
Return the syslog equivalent of this priority as an integer.
getSyslogHost() - method in class org.apache.log4j.net.SyslogAppender
Returns the value of the SyslogHost option.
getSystemProperty(String,String) - static method in class org.apache.log4j.helpers.OptionConverter
Very similar to System.getProperty except that the SecurityException is hidden.
getTarget() - method in class org.apache.log4j.ConsoleAppender
Returns the current value of the Target property.
getThreadDescription() - method in class org.apache.log4j.lf5.LogRecord
Get the thread description asscociated with this LogRecord.
getThreadName() - method in class org.apache.log4j.spi.LoggingEvent
getThreadPrinting() - method in class org.apache.log4j.TTCCLayout
Returns value of the ThreadPrinting option.
getThreshold() - method in class org.apache.log4j.AppenderSkeleton
Returns this appenders threshold level.
getThreshold() - method in class org.apache.log4j.Hierarchy
Returns a Level representation of the enable state.
getThreshold() - method in class org.apache.log4j.spi.LoggerRepository
Get the repository-wide threshold.
getThrowable() - method in class org.apache.log4j.spi.ThrowableInformation
getThrowableInformation() - method in class org.apache.log4j.spi.LoggingEvent
Returns the throwable information contained within this event.
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.lf5.LogRecord
Get the Throwable associated with this LogRecord.
getThrownStackTrace() - method in class org.apache.log4j.lf5.LogRecord
Get the stack trace in a String-based format for the associated Throwable of this LogRecord.
getTimeZone() - method in class org.apache.log4j.helpers.DateLayout
Returns value of the TimeZone option.
getTitle() - method in class org.apache.log4j.HTMLLayout
Returns the current value of the Title option.
getTo() - method in class org.apache.log4j.net.SMTPAppender
Returns value of the To option.
getTopicBindingName() - method in class org.apache.log4j.net.JMSAppender
Returns the value of the TopicBindingName option.
getTopicConnection() - method in class org.apache.log4j.net.JMSAppender
Returns the TopicConnection used for this appender.
getTopicConnectionFactoryBindingName() - method in class org.apache.log4j.net.JMSAppender
Returns the value of the TopicConnectionFactoryBindingName option.
getTopicPublisher() - method in class org.apache.log4j.net.JMSAppender
Returns the TopicPublisher used for this appender.
getTopicSession() - method in class org.apache.log4j.net.JMSAppender
Returns the TopicSession used for this appender.
getURL() - method in class org.apache.log4j.jdbc.JDBCAppender
getUser() - method in class org.apache.log4j.jdbc.JDBCAppender
getUserName() - method in class org.apache.log4j.net.JMSAppender

H

handleNotification(Notification,Object) - method in class org.apache.log4j.jmx.LoggerDynamicMBean
hashCode() - method in class org.apache.log4j.lf5.LogLevel
hasMoreElements() - method in class org.apache.log4j.helpers.NullEnumeration
hasThrown() - method in class org.apache.log4j.lf5.LogRecord
headFilter - field in class org.apache.log4j.AppenderSkeleton
The first filter in the filter chain.
Hierarchy - class org.apache.log4j.Hierarchy
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.
Hierarchy(org.apache.log4j.Logger) - constructor for class org.apache.log4j.Hierarchy
Create a new logger hierarchy.
HierarchyDynamicMBean - class org.apache.log4j.jmx.HierarchyDynamicMBean
HierarchyDynamicMBean() - constructor for class org.apache.log4j.jmx.HierarchyDynamicMBean
HierarchyEventListener - interface org.apache.log4j.spi.HierarchyEventListener
Listen to events occuring within a Hierarchy.
HTMLLayout - class org.apache.log4j.HTMLLayout
This layout outputs events in a HTML table.

I

i - field in class org.apache.log4j.helpers.PatternParser
ignoresThrowable() - method in class org.apache.log4j.HTMLLayout
The HTML layout handles the throwable contained in logging events.
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
The PatternLayout does not handle the throwable contained within LoggingEvents.
ignoresThrowable() - method in class org.apache.log4j.SimpleLayout
The SimpleLayout does not handle the throwable contained within LoggingEvents.
ignoresThrowable() - method in class org.apache.log4j.TTCCLayout
The TTCCLayout does not handle the throwable contained within LoggingEvents.
ignoresThrowable() - method in class org.apache.log4j.xml.XMLLayout
The XMLLayout prints and does not ignore exceptions.
immediateFlush - field 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.
INFO - static field 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 field in class org.apache.log4j.lf5.LogLevel
INFO - static field in class org.apache.log4j.Priority
info(Object) - method in class org.apache.log4j.Category
Log a message object with the INFO Level.
info(Object,Throwable) - method in class org.apache.log4j.Category
Log a message object with the INFO level including the stack trace of the Throwable t passed as parameter.
INFO_INT - static field in class org.apache.log4j.Priority
inherit(Stack) - static method in class org.apache.log4j.NDC
Inherit the diagnostic context of another thread.
INHERITED - static field in class org.apache.log4j.spi.Configurator
Special level value signifying inherited behaviour.
instantiateByClassName(String,Class,Object) - static method in class org.apache.log4j.helpers.OptionConverter
Instantiate an object given a class name.
instantiateByKey(Properties,String,Class,Object) - static method in class org.apache.log4j.helpers.OptionConverter
introspect() - method in class org.apache.log4j.config.PropertySetter
Uses JavaBeans Introspector to computer setters of object to be configured.
invoke(String,params[],signature[]) - method in class org.apache.log4j.jmx.AppenderDynamicMBean
invoke(String,params[],signature[]) - method in class org.apache.log4j.jmx.HierarchyDynamicMBean
invoke(String,params[],signature[]) - method in class org.apache.log4j.jmx.LayoutDynamicMBean
invoke(String,params[],signature[]) - method in class org.apache.log4j.jmx.LoggerDynamicMBean
Check whether the message level is below the appender's threshold.
isAttached(org.apache.log4j.Appender) - method in class org.apache.log4j.spi.AppenderAttachable
Returns true if the specified appender is in list of attached attached, false otherwise.
isAttached(org.apache.log4j.Appender) - method in class org.apache.log4j.helpers.AppenderAttachableImpl
Returns true if the specified appender is in the list of attached appenders, false otherwise.
isAttached(org.apache.log4j.Appender) - method in class org.apache.log4j.AsyncAppender
Is the appender passed as parameter attached to this category?
isAttached(org.apache.log4j.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
Check whether this category is enabled for the DEBUG Level.
isDisabled(int) - method in class org.apache.log4j.Hierarchy
This method will return true if this repository is disabled for level object passed as parameter and false otherwise.
isDisabled(int) - method in class org.apache.log4j.spi.LoggerRepository
Returns whether this repository is disabled for a given level.
isEnabledFor(org.apache.log4j.Priority) - method in class org.apache.log4j.Category
Check whether this category is enabled for a given Level passed as parameter.
isFatal() - method in class org.apache.log4j.lf5.LogRecord
isFull() - method in class org.apache.log4j.helpers.BoundedFIFO
Return true if the buffer is full, that is, whether the number of elements in the buffer equals the buffer size.
isGenAppName(String) - method in class org.apache.log4j.config.PropertyPrinter
Returns true if the specified appender name is considered to have been generated, that is, if it is of the form A[0-9]+.
isGreaterOrEqual(org.apache.log4j.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.
isHandledType(Class) - method in class org.apache.log4j.config.PropertyGetter
isInfoEnabled() - method in class org.apache.log4j.Category
Check whether this category is enabled for the info Level.
isJava1() - static method in class org.apache.log4j.helpers.Loader
Are we running under JDK 1.x?
ISO8601_DATE_FORMAT - static field in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
String constant used to specify ISO8601DateFormat in layouts.
ISO8601DateFormat - class org.apache.log4j.helpers.ISO8601DateFormat
Formats a Date in the format "YYYY-mm-dd HH:mm:ss,SSS" for example "1999-11-27 15:49:37,459".
ISO8601DateFormat() - constructor for class org.apache.log4j.helpers.ISO8601DateFormat
ISO8601DateFormat(TimeZone) - constructor for class org.apache.log4j.helpers.ISO8601DateFormat
isSevereLevel() - method in class org.apache.log4j.lf5.Log4JLogRecord
Determines which Priority levels will be displayed in colored font when the LogMonitorAppender renders this log message.
isSevereLevel() - method in class org.apache.log4j.lf5.LogRecord
Abstract method.
isTraceEnabled() - method in class org.apache.log4j.Logger
Check whether this category is enabled for the TRACE Level.
Is this the triggering event?

J

JDBCAppender - class org.apache.log4j.jdbc.JDBCAppender
WARNING: This version of JDBCAppender is very likely to be completely replaced in the future.
JDBCAppender() - constructor for class org.apache.log4j.jdbc.JDBCAppender
JMSAppender - class org.apache.log4j.net.JMSAppender
A simple appender that publishes events to a JMS Topic.
JMSAppender() - constructor for class org.apache.log4j.net.JMSAppender
JMSSink - class org.apache.log4j.net.JMSSink
A simple application that consumes logging events sent by a JMSAppender.
JMSSink(String,String,String,String) - constructor for class org.apache.log4j.net.JMSSink

L

Log a localized and parameterized message.
Log a localized message.
layout - field in class org.apache.log4j.AppenderSkeleton
The layout variable does not need to be set if the appender implementation has its own layout.
Layout - class org.apache.log4j.Layout
Extend this abstract class to create your own log layout format.
LayoutDynamicMBean - class org.apache.log4j.jmx.LayoutDynamicMBean
LayoutDynamicMBean(org.apache.log4j.Layout) - constructor for class org.apache.log4j.jmx.LayoutDynamicMBean
layoutNames - field in class org.apache.log4j.config.PropertyPrinter
length() - method in class org.apache.log4j.helpers.BoundedFIFO
Get the number of elements in the buffer.
length() - method in class org.apache.log4j.helpers.CyclicBuffer
Get the number of elements in the buffer.
level - field in class org.apache.log4j.Category
The assigned level of this category.
level - field in class org.apache.log4j.spi.LoggingEvent
Level of logging event.
Level - class org.apache.log4j.Level
Defines the minimum set of levels recognized by the system, that is OFF, FATAL, ERROR, WARN, INFODEBUG and ALL.
Level(int,String,int) - constructor for class org.apache.log4j.Level
Instantiate a Level object.
LevelMatchFilter - class org.apache.log4j.varia.LevelMatchFilter
This is a very simple filter based on level matching.
LevelRangeFilter - class org.apache.log4j.varia.LevelRangeFilter
This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.
LF5Appender - class org.apache.log4j.lf5.LF5Appender
LF5Appender logs events to a swing based logging console.
LF5Appender() - constructor for class org.apache.log4j.lf5.LF5Appender
Constructs a LF5Appender using the default instance of the LogBrokerMonitor.
LF5Appender(org.apache.log4j.lf5.viewer.LogBrokerMonitor) - constructor for class org.apache.log4j.lf5.LF5Appender
Constructs a LF5Appender using an instance of a LogBrokerMonitor supplied by the user.
LINE_SEP - static field in class org.apache.log4j.Layout
LINE_SEP_LEN - static field in class org.apache.log4j.Layout
ListVsVector - class org.apache.log4j.performance.ListVsVector
Compares the performance of looping through a list versus a Vector.
loadClass(String) - static method in class org.apache.log4j.helpers.Loader
If running under JDK 1.2 load the specified class using the Thread contextClassLoader if that fails try Class.forname.
Loader - class org.apache.log4j.helpers.Loader
Load resources (or images) from various sources.
LOCATION_INFO_OPTION - static field in class org.apache.log4j.HTMLLayout
A string constant used in naming the option for setting the the location information flag.
LocationInfo - class org.apache.log4j.spi.LocationInfo
The internal representation of caller location information.
LocationInfo(Throwable,String) - constructor for class org.apache.log4j.spi.LocationInfo
Instantiate location information based on a Throwable.
log(org.apache.log4j.Priority,Object) - method in class org.apache.log4j.Category
This generic form is intended to be used by wrappers.
This generic form is intended to be used by wrappers.
This is the most generic printing method.
Log4jEntityResolver - class org.apache.log4j.xml.Log4jEntityResolver
An EntityResolver specifically designed to return log4j.dtd which is embedded within the log4j jar file.
Log4JLogRecord - class org.apache.log4j.lf5.Log4JLogRecord
A Log4JLogRecord encapsulates the details of your log4j LoggingEvent in a format usable by the LogBrokerMonitor.
Log4JLogRecord() - constructor for class org.apache.log4j.lf5.Log4JLogRecord
Constructs an instance of a Log4JLogRecord.
LOG_AUTH - static field in class org.apache.log4j.net.SyslogAppender
security/authorization messages
LOG_AUTHPRIV - static field in class org.apache.log4j.net.SyslogAppender
security/authorization messages (private)
LOG_CRON - static field in class org.apache.log4j.net.SyslogAppender
clock daemon
LOG_DAEMON - static field in class org.apache.log4j.net.SyslogAppender
System daemons
LOG_FTP - static field in class org.apache.log4j.net.SyslogAppender
ftp daemon
LOG_KERN - static field in class org.apache.log4j.net.SyslogAppender
Kernel messages
LOG_LOCAL0 - static field in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL1 - static field in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL2 - static field in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL3 - static field in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL4 - static field in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL5 - static field in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL6 - static field in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL7 - static field in class org.apache.log4j.net.SyslogAppender
reserved for local use
LOG_LPR - static field in class org.apache.log4j.net.SyslogAppender
line printer subsystem
LOG_MAIL - static field in class org.apache.log4j.net.SyslogAppender
Mail system
LOG_NEWS - static field in class org.apache.log4j.net.SyslogAppender
network news subsystem
LOG_SYSLOG - static field in class org.apache.log4j.net.SyslogAppender
messages generated internally by syslogd
LOG_USER - static field in class org.apache.log4j.net.SyslogAppender
Random user-level messages
LOG_UUCP - static field in class org.apache.log4j.net.SyslogAppender
UUCP subsystem
Logger - class org.apache.log4j.Logger
This is the central class in the log4j package.
Logger(String) - constructor for class org.apache.log4j.Logger
LOGGER_FACTORY_KEY - static field in class org.apache.log4j.PropertyConfigurator
Key for specifying the LoggerFactory.
LoggerDynamicMBean - class org.apache.log4j.jmx.LoggerDynamicMBean
LoggerDynamicMBean(org.apache.log4j.Logger) - constructor for class org.apache.log4j.jmx.LoggerDynamicMBean
LoggerFactory - interface org.apache.log4j.spi.LoggerFactory
Implement this interface to create new instances of Logger or a sub-class of Logger.
loggerFactory - field in class org.apache.log4j.PropertyConfigurator
LoggerRepository - interface org.apache.log4j.spi.LoggerRepository
A LoggerRepository is used to create and retrieve Loggers.
LoggingEvent - class org.apache.log4j.spi.LoggingEvent
The internal representation of logging events.
Instantiate a LoggingEvent from the supplied parameters.
Instantiate a LoggingEvent from the supplied parameters.
LogLevel - class org.apache.log4j.lf5.LogLevel
The LogLevel class defines a set of standard logging levels.
LogLevel(String,int) - constructor for class org.apache.log4j.lf5.LogLevel
Thrown to indicate that the client has attempted to convert a string to one the LogLevel types, but the string does not have the appropriate format.
LogLevelFormatException(String) - constructor for class org.apache.log4j.lf5.LogLevelFormatException
LogLog - class org.apache.log4j.helpers.LogLog
This class used to output log statements from within the log4j package.
LogManager - class org.apache.log4j.LogManager
Use the LogManager class to retreive Logger instances or to operate on the current LoggerRepository.
LogRecord - class org.apache.log4j.lf5.LogRecord
LogRecord.
LogRecord() - constructor for class org.apache.log4j.lf5.LogRecord
LogRecordFilter - interface org.apache.log4j.lf5.LogRecordFilter
An interface for classes which filters LogRecords.
lookup(Context,String) - method in class org.apache.log4j.net.JMSAppender
lookup(Context,String) - static method in class org.apache.log4j.net.JMSSink

M

Main - class org.apache.log4j.chainsaw.Main
The main application.
main(argv[]) - static method in class org.apache.log4j.varia.Roller
Send a "RollOver" message to ExternallyRolledFileAppender on host and port.
main(argv[]) - static method in class org.apache.log4j.net.SimpleSocketServer
main(argv[]) - static method in class org.apache.log4j.net.SocketServer
main(argv[]) - static method in class org.apache.log4j.xml.examples.XMLSample
main(String[]) - static method in class org.apache.log4j.net.JMSSink
main(String[]) - static method in class org.apache.log4j.lf5.LF5Appender
main(String[]) - static method in class org.apache.log4j.performance.ListVsVector
main(String[]) - static method in class org.apache.log4j.chainsaw.Main
The main method.
main(String[]) - static method in class org.apache.log4j.performance.NewVsSetLen
main(String[]) - static method in class org.apache.log4j.config.PropertyPrinter
main(String[]) - static method in class org.apache.log4j.lf5.StartLogFactor5
Main - starts a an instance of the LogFactor5 console and configures the console settings.
main(String[]) - static method in class org.apache.log4j.performance.SystemTime
makeNewLoggerInstance(String) - method in class org.apache.log4j.spi.LoggerFactory
MAX_CAPACITY - field in class org.apache.log4j.HTMLLayout
MAX_CAPACITY - field in class org.apache.log4j.PatternLayout
maxBackupIndex - field in class org.apache.log4j.RollingFileAppender
There is one backup file by default.
maxFileSize - field in class org.apache.log4j.RollingFileAppender
The default maximum file size is 10MB.
MDC - class org.apache.log4j.MDC
The MDC class is similar to the NDC class except that it is based on a map instead of a stack.
MessageRenderer - class org.apache.log4j.or.jms.MessageRenderer
Render javax.jms.Message objects.
MessageRenderer() - constructor for class org.apache.log4j.or.jms.MessageRenderer
MISSING_LAYOUT - static field in class org.apache.log4j.spi.ErrorCode
msg - field in class org.apache.log4j.net.SMTPAppender

N

NA - static field in class org.apache.log4j.spi.LocationInfo
When location information is not available the constant NA is returned.
name - field in class org.apache.log4j.AppenderSkeleton
Appenders are named.
name - field in class org.apache.log4j.Category
The name of this category.
NDC - class org.apache.log4j.NDC
The NDC class implements nested diagnostic contexts as defined by Neil Harrison in the article "Patterns for Logging Diagnostic Messages" part of the book "Pattern Languages of Program Design 3" edited by Martin et al.
NEUTRAL - static field in class org.apache.log4j.spi.Filter
This filter is neutral with respect to the log event.
NewVsSetLen - class org.apache.log4j.performance.NewVsSetLen
This program compares the cost of creating a new StringBuffer and converting it to a String versus keeping the same StringBuffer, setting its size to zero and then converting it to String.
next - field in class org.apache.log4j.spi.Filter
Points to the next filter in the filter chain.
next - field in class org.apache.log4j.helpers.PatternConverter
nextElement() - method in class org.apache.log4j.helpers.NullEnumeration
NOPWriter - class org.apache.log4j.performance.NOPWriter
Extends Writer with methods that return immediately without doing anything.
NTEventLogAppender - class org.apache.log4j.nt.NTEventLogAppender
Append to the NT event log system.
NTEventLogAppender() - constructor for class org.apache.log4j.nt.NTEventLogAppender
NTEventLogAppender(org.apache.log4j.Layout) - constructor for class org.apache.log4j.nt.NTEventLogAppender
NTEventLogAppender(String) - constructor for class org.apache.log4j.nt.NTEventLogAppender
NTEventLogAppender(String,String) - constructor for class org.apache.log4j.nt.NTEventLogAppender
NULL - static field in class org.apache.log4j.spi.Configurator
Special level signifying inherited behaviour, same as INHERITED.
NULL_ARG - static field in class org.apache.log4j.config.PropertyGetter
NULL_DATE_FORMAT - static field in class org.apache.log4j.helpers.DateLayout
String constant designating no time information.
NullAppender - class org.apache.log4j.performance.NullAppender
A bogus appender which calls the format method of its layout object but does not write the result anywhere.
NullAppender - class org.apache.log4j.varia.NullAppender
A NullAppender merely exists, it never outputs a message to any device.
NullAppender() - constructor for class org.apache.log4j.performance.NullAppender
NullAppender() - constructor for class org.apache.log4j.varia.NullAppender
NullAppender(org.apache.log4j.Layout) - constructor for class org.apache.log4j.performance.NullAppender
NullEnumeration - class org.apache.log4j.helpers.NullEnumeration
An always-empty Enumerator.
numAppenders - field in class org.apache.log4j.config.PropertyPrinter

O

obj - field in class org.apache.log4j.config.PropertyGetter
obj - field in class org.apache.log4j.config.PropertySetter
ObjectRenderer - interface org.apache.log4j.or.ObjectRenderer
Implement this interface in order to render objects as strings.
OFF - static field in class org.apache.log4j.Level
The OFF has the highest possible rank and is intended to turn off logging.
OFF_INT - static field in class org.apache.log4j.Priority
OK - static field in class org.apache.log4j.varia.ExternallyRolledFileAppender
The string constant sent to acknowledge a roll over.
OnlyOnceErrorHandler - class org.apache.log4j.helpers.OnlyOnceErrorHandler
The OnlyOnceErrorHandler implements log4j's default error handling policy which consists of emitting a message for the first error in an appender and ignoring all following errors.
onMessage(javax.jms.Message) - method in class org.apache.log4j.net.JMSSink
OptionConverter - class org.apache.log4j.helpers.OptionConverter
A convenience class to convert property values to specific types.
OptionHandler - interface org.apache.log4j.spi.OptionHandler
A string based interface to configure package components.
The main log4j package.
Chainsaw is a GUI log viewer and filter for the log4j package.
Package used in getting/setting component properties.
This package is used internally.
The JDBCAppender provides for sending log events to a database.
This package lets you manage log4j settings using JMX.
Package for remote logging.
Package for NT event logging.
ObjectRenders are resposible for rendering messages depending on their class type.
This package contains the MessageRenderer which renders objects of type javax.jms.Message.
This package contains the AttributesRenderer which renders object of class org.xml.sax.Attributes.
Package to measure the performance of the different log4j components.
Contains part of the System Programming Interface (SPI) needed to extend log4j.
Contains various appenders, filters and other odds and ends.
XML based components.
Example usage of log4j with XML (including source code).
out - field in class org.apache.log4j.config.PropertyPrinter
overrideAsNeeded(String) - method in class org.apache.log4j.Hierarchy

P

parent - field in class org.apache.log4j.Category
The parent of this category.
parse() - method in class org.apache.log4j.helpers.PatternParser
parse(Element) - method in class org.apache.log4j.xml.DOMConfigurator
Used internally to configure the log4j framework by parsing a DOM tree of XML elements based on log4j.dtd.
parse(java.lang.String,ParsePosition) - method in class org.apache.log4j.helpers.DateTimeDateFormat
This method does not do anything but return null.
parse(java.lang.String,ParsePosition) - method in class org.apache.log4j.helpers.ISO8601DateFormat
This method does not do anything but return null.
parse(java.lang.String,ParsePosition) - method in class org.apache.log4j.helpers.RelativeTimeDateFormat
This method does not do anything but return null.
parse(String,ParsePosition) - method in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
This method does not do anything but return null.
parseAppender(Element) - method in class org.apache.log4j.xml.DOMConfigurator
Used internally to parse an appender element.
parseCategory(Element) - method in class org.apache.log4j.xml.DOMConfigurator
Used internally to parse an category element.
parseCategoryFactory(Element) - method in class org.apache.log4j.xml.DOMConfigurator
Used internally to parse the category factory element.
Parse non-root elements, such non-root categories and renderers.
Used internally to parse the children of a category element.
Used internally to parse an ErrorHandler element.
Used internally to parse a filter element.
parseLayout(Element) - method in class org.apache.log4j.xml.DOMConfigurator
Used internally to parse a layout element.
Used internally to parse a level element.
parseRenderer(Element) - method in class org.apache.log4j.xml.DOMConfigurator
parseRoot(Element) - method in class org.apache.log4j.xml.DOMConfigurator
Used internally to parse the roor category element.
passes(org.apache.log4j.lf5.LogRecord) - method in class org.apache.log4j.lf5.LogRecordFilter
passes(org.apache.log4j.lf5.LogRecord) - method in class org.apache.log4j.lf5.PassingLogRecordFilter
PassingLogRecordFilter - class org.apache.log4j.lf5.PassingLogRecordFilter
An implementation of LogRecordFilter which always returns true.
pattern - field in class org.apache.log4j.helpers.PatternParser
PatternConverter - class org.apache.log4j.helpers.PatternConverter
PatternConverter is an abtract class that provides the formatting functionality that derived classes need.
PatternConverter() - constructor for class org.apache.log4j.helpers.PatternConverter
PatternConverter(org.apache.log4j.helpers.FormattingInfo) - constructor for class org.apache.log4j.helpers.PatternConverter
PatternLayout - class org.apache.log4j.PatternLayout
A flexible layout configurable with pattern string.
PatternLayout() - constructor for class org.apache.log4j.PatternLayout
Constructs a PatternLayout using the DEFAULT_LAYOUT_PATTERN.
PatternLayout(String) - constructor for class org.apache.log4j.PatternLayout
Constructs a PatternLayout using the supplied conversion pattern.
patternLength - field in class org.apache.log4j.helpers.PatternParser
PatternParser - class org.apache.log4j.helpers.PatternParser
Most of the work of the PatternLayout class is delegated to the PatternParser class.
PatternParser(String) - constructor for class org.apache.log4j.helpers.PatternParser
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.
PORT_PROP_NAME - static field in class org.apache.log4j.chainsaw.Main
name of property for port name *
pos - field in class org.apache.log4j.helpers.DateLayout
postDeregister() - method in class org.apache.log4j.jmx.AbstractDynamicMBean
postRegister(java.lang.Boolean) - method in class org.apache.log4j.jmx.AbstractDynamicMBean
postRegister(java.lang.Boolean) - method in class org.apache.log4j.jmx.HierarchyDynamicMBean
postRegister(java.lang.Boolean) - method in class org.apache.log4j.jmx.LoggerDynamicMBean
preDeregister() - method in class org.apache.log4j.jmx.AbstractDynamicMBean
preRegister(MBeanServer,ObjectName) - method in class org.apache.log4j.jmx.AbstractDynamicMBean
preRegister(MBeanServer,ObjectName) - method in class org.apache.log4j.jmx.AppenderDynamicMBean
print(PrintWriter) - method in class org.apache.log4j.config.PropertyPrinter
Prints the configuration of the default log4j hierarchy as a Java properties file on the specified Writer.
printOptions(PrintWriter,Object,String) - method in class org.apache.log4j.config.PropertyPrinter
printOptions(PrintWriter,org.apache.log4j.Logger) - method in class org.apache.log4j.config.PropertyPrinter
Priority - class org.apache.log4j.Priority
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.
Allows the configuration of log4j from an external file.
PropertyGetter - class org.apache.log4j.config.PropertyGetter
Used for inferring configuration information for a log4j's component.
PropertyGetter(Object) - constructor for class org.apache.log4j.config.PropertyGetter
Create a new PropertyGetter for the specified Object.
PropertyPrinter - class org.apache.log4j.config.PropertyPrinter
Prints the configuration of the log4j default hierarchy (which needs to be auto-initialized) as a propoperties file on a PrintWriter.
PropertyPrinter(PrintWriter) - constructor for class org.apache.log4j.config.PropertyPrinter
PropertyPrinter(PrintWriter,boolean) - constructor for class org.apache.log4j.config.PropertyPrinter
PropertySetter - class org.apache.log4j.config.PropertySetter
General purpose Object property setter.
PropertySetter(Object) - constructor for class org.apache.log4j.config.PropertySetter
Create a new PropertySetter for the specified Object.
PropertySetterException - class org.apache.log4j.config.PropertySetterException
Thrown when an error is encountered whilst attempting to set a property using the PropertySetter utility class.
PropertySetterException(String) - constructor for class org.apache.log4j.config.PropertySetterException
PropertySetterException(Throwable) - constructor for class org.apache.log4j.config.PropertySetterException
props - field in class org.apache.log4j.config.PropertyGetter
props - field 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(Class,org.apache.log4j.or.ObjectRenderer) - method in class org.apache.log4j.or.RendererMap
Register an ObjectRenderer for clazz.
put(org.apache.log4j.spi.LoggingEvent) - method in class org.apache.log4j.helpers.BoundedFIFO
Place a LoggingEvent in the buffer.
put(String,Object) - static method in class org.apache.log4j.MDC
Put a context value (the o parameter) as identified with the key parameter into the current thread's context map.

Q

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

R

register(List) - static method in class org.apache.log4j.lf5.LogLevel
register(org.apache.log4j.lf5.LogLevel) - static method in class org.apache.log4j.lf5.LogLevel
Registers a used defined LogLevel.
register(org.apache.log4j.lf5.LogLevel[]) - static method in class org.apache.log4j.lf5.LogLevel
registry - field in class org.apache.log4j.PropertyConfigurator
Used internally to keep track of configured appenders.
RELATIVE_TIME_DATE_FORMAT - static field in class org.apache.log4j.helpers.DateLayout
String constant designating relative time.
RelativeTimeDateFormat - class org.apache.log4j.helpers.RelativeTimeDateFormat
Formats a Date by printing the number of milliseconds elapsed since the start of the application.
RelativeTimeDateFormat() - constructor for class org.apache.log4j.helpers.RelativeTimeDateFormat
ReloadingPropertyConfigurator() - constructor for class org.apache.log4j.varia.ReloadingPropertyConfigurator
remove() - static method in class org.apache.log4j.NDC
Remove the diagnostic context for this thread.
remove(String) - static method in class org.apache.log4j.MDC
Remove the the context identified by the key parameter.
removeAllAppenders() - method in class org.apache.log4j.spi.AppenderAttachable
Remove all previously added appenders.
removeAllAppenders() - method in class org.apache.log4j.helpers.AppenderAttachableImpl
Remove and close all previously attached appenders.
removeAllAppenders() - method in class org.apache.log4j.AsyncAppender
Remove all previously added appenders.
removeAllAppenders() - method in class org.apache.log4j.Category
Remove all previously added appenders from this Category instance.
removeAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.spi.AppenderAttachable
Remove the appender passed as parameter from the list of appenders.
removeAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.helpers.AppenderAttachableImpl
Remove the appender passed as parameter form the list of attached appenders.
removeAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.AsyncAppender
Remove the appender passed as parameter from the list of appenders.
removeAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.Category
Remove the appender passed as parameter form the list of appenders.
removeAppender(String) - method in class org.apache.log4j.spi.AppenderAttachable
Remove the appender with the name passed as parameter from the list of appenders.
removeAppender(String) - method in class org.apache.log4j.helpers.AppenderAttachableImpl
Remove the appender with the name passed as parameter form the list of appenders.
removeAppender(String) - method in class org.apache.log4j.AsyncAppender
Remove the appender with the name passed as parameter from the list of appenders.
removeAppender(String) - method in class org.apache.log4j.Category
Remove the appender with the name passed as parameter form the list of appenders.
removes - field in class org.apache.log4j.jdbc.JDBCAppender
Helper object for clearing out the buffer
RendererMap - class org.apache.log4j.or.RendererMap
Map class objects to an ObjectRenderer.
RendererMap() - constructor for class org.apache.log4j.or.RendererMap
RendererSupport - interface org.apache.log4j.spi.RendererSupport
ReportParserError - class org.apache.log4j.xml.examples.ReportParserError
This class is needed for validating a log4j.dtd derived XML file.
repository - field in class org.apache.log4j.Category
RepositorySelector - interface org.apache.log4j.spi.RepositorySelector
The LogManager uses one (and only one) RepositorySelector implementation to select the LoggerRepository for a particular application context.
requiresLayout() - method in class org.apache.log4j.Appender
Configurators call this method to determine if the appender requires a layout.
requiresLayout() - method in class org.apache.log4j.AsyncAppender
The AsyncAppender does not require a layout.
requiresLayout() - method in class org.apache.log4j.jdbc.JDBCAppender
JDBCAppender requires a layout.
requiresLayout() - method in class org.apache.log4j.net.JMSAppender
The JMSAppender sends serialized events and consequently does not require a layout.
requiresLayout() - method in class org.apache.log4j.lf5.LF5Appender
Returns a value that indicates whether this appender requires a Layout.
requiresLayout() - method in class org.apache.log4j.nt.NTEventLogAppender
The NTEventLogAppender requires a layout.
requiresLayout() - method in class org.apache.log4j.performance.NullAppender
This is a bogus appender but it still uses a layout.
requiresLayout() - method in class org.apache.log4j.varia.NullAppender
NullAppenders do not need a layout.
requiresLayout() - method in class org.apache.log4j.net.SMTPAppender
The SMTPAppender requires a layout.
requiresLayout() - method in class org.apache.log4j.net.SocketAppender
The SocketAppender does not use a layout.
requiresLayout() - method in class org.apache.log4j.net.SocketHubAppender
The SocketHubAppender does not use a layout.
requiresLayout() - method in class org.apache.log4j.net.SyslogAppender
The SyslogAppender requires a layout.
requiresLayout() - method in class org.apache.log4j.net.TelnetAppender
This appender requires a layout to format the text to the attached client(s).
requiresLayout() - method in class org.apache.log4j.WriterAppender
The WriterAppender requires a layout.
reset() - method in class org.apache.log4j.FileAppender
Close any previously opened file and call the parent's reset.
reset() - method in class org.apache.log4j.lf5.PassingLogRecordFilter
Does nothing.
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
Reset the default hierarchy to its defaut.
resetConfiguration() - method in class org.apache.log4j.Hierarchy
Reset all values contained in this hierarchy instance to their default.
resetConfiguration() - method in class org.apache.log4j.spi.LoggerRepository
resetConfiguration() - static method in class org.apache.log4j.LogManager
resetLogLevelColorMap() - static method in class org.apache.log4j.lf5.LogLevel
resetSequenceNumber() - static method in class org.apache.log4j.lf5.LogRecord
Resets that sequence number to 0.
resize(int) - method in class org.apache.log4j.helpers.BoundedFIFO
Resize the buffer to a new size.
resize(int) - method in class org.apache.log4j.helpers.CyclicBuffer
Resize the cyclic buffer to newSize.
resolveEntity(String,String) - method in class org.apache.log4j.xml.Log4jEntityResolver
resourceBundle - field in class org.apache.log4j.Category
ROLL_OVER - static field in class org.apache.log4j.varia.ExternallyRolledFileAppender
The string constant sent to initiate a roll over.
Roller - class org.apache.log4j.varia.Roller
A simple application to send roll over messages to a potentially remote ExternallyRolledFileAppender.
RollingFileAppender - class org.apache.log4j.RollingFileAppender
RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.
RollingFileAppender() - constructor for class org.apache.log4j.RollingFileAppender
The default constructor simply calls its parents constructor.
Instantiate a FileAppender and open the file designated by filename.
Instantiate a RollingFileAppender and open the file designated by filename.
RootCategory - class org.apache.log4j.spi.RootCategory
RootCategory(org.apache.log4j.Level) - constructor for class org.apache.log4j.spi.RootCategory
The root category names itself as "root".
rootCause - field in class org.apache.log4j.config.PropertySetterException
RootLogger - class org.apache.log4j.spi.RootLogger
RootLogger sits at the top of the logger hierachy.
RootLogger(org.apache.log4j.Level) - constructor for class org.apache.log4j.spi.RootLogger
The root logger names itself as "root".
run() - method in class org.apache.log4j.helpers.FileWatchdog
run() - method in class org.apache.log4j.net.SocketNode
run() - method in class org.apache.log4j.net.TelnetAppender.SocketHandler
Continually accepts client connections.

S

s - static field in class org.apache.log4j.performance.NullAppender
SAXErrorHandler - class org.apache.log4j.xml.SAXErrorHandler
Configure log4j given a URL.
send(String) - method in class org.apache.log4j.net.TelnetAppender.SocketHandler
sends a message to each of the clients in telnet-friendly output.
sendBuffer() - method in class org.apache.log4j.net.SMTPAppender
Send the contents of the cyclic buffer as an e-mail message.
setAcceptOnMatch(boolean) - method in class org.apache.log4j.varia.LevelMatchFilter
setAcceptOnMatch(boolean) - method in class org.apache.log4j.varia.LevelRangeFilter
Set the AcceptOnMatch option.
setAcceptOnMatch(boolean) - method in class org.apache.log4j.varia.StringMatchFilter
setAdditivity(boolean) - method in class org.apache.log4j.Category
Set the additivity flag for this Category instance.
setAppend(boolean) - method in class org.apache.log4j.FileAppender
The Append option takes a boolean value.
setAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.spi.ErrorHandler
Set the appender for which errors are handled.
setAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.varia.FallbackErrorHandler
The appender to which this error handler is attached.
setAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Does not do anything.
setAttribute(Attribute) - method in class org.apache.log4j.jmx.AppenderDynamicMBean
setAttribute(Attribute) - method in class org.apache.log4j.jmx.HierarchyDynamicMBean
setAttribute(Attribute) - method in class org.apache.log4j.jmx.LayoutDynamicMBean
setAttribute(Attribute) - method in class org.apache.log4j.jmx.LoggerDynamicMBean
setAttributes(AttributeList) - method in class org.apache.log4j.jmx.AbstractDynamicMBean
Sets the values of several attributes of the Dynamic MBean, and returns the list of attributes that have been set.
setBackupAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.spi.ErrorHandler
Set the appender to falkback upon in case of failure.
Set the backup appender.
setBackupAppender(org.apache.log4j.Appender) - method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Does not do anything.
setBufferedIO(boolean) - method in class org.apache.log4j.FileAppender
The BufferedIO option takes a boolean value.
setBufferSize(int) - method in class org.apache.log4j.AsyncAppender
The BufferSize option takes a non-negative integer value.
setBufferSize(int) - method in class org.apache.log4j.FileAppender
Set the size of the IO buffer.
setBufferSize(int) - method in class org.apache.log4j.jdbc.JDBCAppender
setBufferSize(int) - method in class org.apache.log4j.net.SMTPAppender
The BufferSize option takes a positive integer representing the maximum number of logging events to collect in a cyclic buffer.
setCallSystemExitOnClose(boolean) - method in class org.apache.log4j.lf5.LF5Appender
This method is used to set the property that controls whether the LogBrokerMonitor is hidden or closed when a user exits the monitor.
setCategory(String) - method in class org.apache.log4j.lf5.LogRecord
Set the category associated with this LogRecord.
setCategoryPrefixing(boolean) - method in class org.apache.log4j.TTCCLayout
The CategoryPrefixing option specifies whether Category name is part of log output or not.
setContextPrinting(boolean) - method in class org.apache.log4j.TTCCLayout
The ContextPrinting option specifies log output will include the nested context information belonging to the current thread.
setConversionPattern(String) - method in class org.apache.log4j.PatternLayout
Set the ConversionPattern option.
setCount(long) - method in class org.apache.log4j.helpers.CountingQuietWriter
setDateFormat(DateFormat,TimeZone) - method in class org.apache.log4j.helpers.DateLayout
Sets the DateFormat used to format time and date in the zone determined by timeZone.
setDateFormat(String) - method in class org.apache.log4j.helpers.DateLayout
The value of the DateFormat option should be either an argument to the constructor of SimpleDateFormat or one of the srings "NULL", "RELATIVE", "ABSOLUTE", "DATE" or "ISO8601.
setDateFormat(String,TimeZone) - method in class org.apache.log4j.helpers.DateLayout
Sets the DateFormat used to format date and time in the time zone determined by timeZone parameter.
setDatePattern(String) - method in class org.apache.log4j.DailyRollingFileAppender
The DatePattern takes a string in the same format as expected by SimpleDateFormat.
setDelay(long) - method in class org.apache.log4j.helpers.FileWatchdog
Set the delay to observe between each check of the file changes.
setDisableOverride(String) - method in class org.apache.log4j.Hierarchy
Does mothing.
setDriver(String) - method in class org.apache.log4j.jdbc.JDBCAppender
Ensures that the given driver class has been loaded for sql connection creation.
setEncoding(String) - method in class org.apache.log4j.WriterAppender
Set the ErrorHandler for this appender.
Set the ErrorHandler for this Appender.
setErrorHandler(org.apache.log4j.spi.ErrorHandler) - method in class org.apache.log4j.helpers.QuietWriter
Set the ErrorHandler for this WriterAppender and also the underlying QuietWriter if any.
setEvaluatorClass(String) - method in class org.apache.log4j.net.SMTPAppender
The EvaluatorClass option takes a string value representing the name of the class implementing the TriggeringEventEvaluator interface.
setFacility(String) - method in class org.apache.log4j.net.SyslogAppender
Set the syslog facility.
setFacilityPrinting(boolean) - method in class org.apache.log4j.net.SyslogAppender
If the FacilityPrinting option is set to true, the printed message will include the facility name of the application.
setFile(String) - method in class org.apache.log4j.FileAppender
The File property takes a string value which should be the name of the file to append to.
setFile(String,boolean,boolean,int) - method in class org.apache.log4j.FileAppender
Sets and opens the file where the log output will go.
setFile(String,boolean,boolean,int) - method in class org.apache.log4j.RollingFileAppender
Sets and opens the file where the log output will go.
setFollow(boolean) - method in class org.apache.log4j.ConsoleAppender
Sets whether the appender honors reassignments of System.out or System.err made after configuration.
setFrom(String) - method in class org.apache.log4j.net.SMTPAppender
The From option takes a string value which should be a e-mail address of the sender.
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.
setInitialContextFactoryName(String) - method in class org.apache.log4j.net.JMSAppender
Setting the InitialContextFactoryName method will cause this JMSAppender instance to use the InitialContext.InitialContext(Hashtable) method instead of the no-argument constructor.
setInternalDebugging(boolean) - static method in class org.apache.log4j.helpers.LogLog
Allows to enable/disable log4j internal logging.
setLayout(org.apache.log4j.Layout) - method in class org.apache.log4j.Appender
Set the Layout for this appender.
setLayout(org.apache.log4j.Layout) - method in class org.apache.log4j.AppenderSkeleton
Set the layout for this appender.
setLevel(int) - method in class org.apache.log4j.helpers.SyslogQuietWriter
setLevel(org.apache.log4j.Level) - method in class org.apache.log4j.Category
Set the level of this Category.
setLevel(org.apache.log4j.Level) - method in class org.apache.log4j.spi.RootCategory
Setting a null value to the level of the root category may have catastrophic results.
setLevel(org.apache.log4j.Level) - method in class org.apache.log4j.spi.RootLogger
Setting a null value to the level of the root logger may have catastrophic results.
setLevel(org.apache.log4j.lf5.LogLevel) - method in class org.apache.log4j.lf5.LogRecord
Set the level of this LogRecord.
setLevelMax(org.apache.log4j.Level) - method in class org.apache.log4j.varia.LevelRangeFilter
Set the LevelMax option.
setLevelMin(org.apache.log4j.Level) - method in class org.apache.log4j.varia.LevelRangeFilter
Set the LevelMin option.
setLevelToMatch(String) - method in class org.apache.log4j.varia.LevelMatchFilter
setLocation(String) - method in class org.apache.log4j.lf5.LogRecord
Set the location in code where this LogRecord originated.
setLocationInfo(boolean) - method in class org.apache.log4j.AsyncAppender
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - method in class org.apache.log4j.HTMLLayout
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - method in class org.apache.log4j.net.JMSAppender
If true, the information sent to the remote subscriber will include caller's location information.
setLocationInfo(boolean) - method in class org.apache.log4j.net.SMTPAppender
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - method in class org.apache.log4j.net.SocketAppender
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - method in class org.apache.log4j.net.SocketHubAppender
The LocationInfo option takes a boolean value.
setLocationInfo(boolean) - method in class org.apache.log4j.xml.XMLLayout
The LocationInfo option takes a boolean value.
setLogger(org.apache.log4j.Logger) - method in class org.apache.log4j.spi.ErrorHandler
Add a reference to a logger to which the failing appender might be attached to.
setLogger(org.apache.log4j.Logger) - method in class org.apache.log4j.varia.FallbackErrorHandler
Adds the logger passed as parameter to the list of loggers that we need to search for in case of appender failure.
setLogger(org.apache.log4j.Logger) - method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
Does not do anything.
setMaxBackupIndex(int) - method in class org.apache.log4j.RollingFileAppender
Set the maximum number of backup files to keep around.
setMaxDepth(int) - static method in class org.apache.log4j.NDC
Set maximum depth of this diagnostic context.
setMaxFileSize(String) - method in class org.apache.log4j.RollingFileAppender
Set the maximum size that the output file is allowed to reach before being rolled over to backup files.
setMaximumFileSize(long) - method in class org.apache.log4j.RollingFileAppender
Set the maximum size that the output file is allowed to reach before being rolled over to backup files.
setMaxNumberOfRecords(int) - method in class org.apache.log4j.lf5.LF5Appender
setMessage(String) - method in class org.apache.log4j.lf5.LogRecord
Set the message associated with this LogRecord.
setMillis(long) - method in class org.apache.log4j.lf5.LogRecord
Set the event time of this record.
setName(String) - method in class org.apache.log4j.Appender
Set the name of this appender.
setName(String) - method in class org.apache.log4j.AppenderSkeleton
Set the name of this Appender.
setNDC(String) - method in class org.apache.log4j.lf5.LogRecord
Set the NDC (nested diagnostic context) for this record.
setNext(org.apache.log4j.spi.Filter) - method in class org.apache.log4j.spi.Filter
Set the next filter pointer.
setOption(String,String) - method in class org.apache.log4j.helpers.DateLayout
setOption(String,String) - method in class org.apache.log4j.varia.DenyAllFilter
No options to set.
setOption(String,String) - method in class org.apache.log4j.varia.StringMatchFilter
setPassword(String) - method in class org.apache.log4j.jdbc.JDBCAppender
setPassword(String) - method in class org.apache.log4j.net.JMSAppender
The paswword to use when creating a topic session.
setPort(int) - method in class org.apache.log4j.varia.ExternallyRolledFileAppender
The Port [roperty is used for setting the port for listening to external roll over messages.
setPort(int) - method in class org.apache.log4j.net.SocketAppender
The Port option takes a positive integer representing the port where the server is waiting for connections.
setPort(int) - method in class org.apache.log4j.net.SocketHubAppender
The Port option takes a positive integer representing the port where the server is waiting for connections.
setPort(int) - method in class org.apache.log4j.net.TelnetAppender
setPriority(org.apache.log4j.Level) - method in class org.apache.log4j.spi.RootCategory
setPriority(org.apache.log4j.Priority) - method in class org.apache.log4j.Category
Set the level of this 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.
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.config.PropertySetter
Set a property on this PropertySetter's Object.
setProviderURL(String) - method in class org.apache.log4j.net.JMSAppender
setQuietMode(boolean) - static method in class org.apache.log4j.helpers.LogLog
In quite mode no LogLog generates strictly no output, not even for errors.
setQWForFiles(Writer) - method in class org.apache.log4j.FileAppender
Sets the quiet writer being used.
setQWForFiles(Writer) - method in class org.apache.log4j.RollingFileAppender
Sets the quiet writer being used.
setReconnectionDelay(int) - method in class org.apache.log4j.net.SocketAppender
The ReconnectionDelay option takes a positive integer representing the number of milliseconds to wait between each failed connection attempt to the server.
setRemoteHost(String) - method in class org.apache.log4j.net.SocketAppender
The RemoteHost option takes a string value which should be the host name of the server where a SocketNode is running.
Used by subclasses to add a renderer to the hierarchy passed as parameter.
Sets LoggerFactory but only if the correct guard is passed as parameter.
setResourceBundle(ResourceBundle) - method in class org.apache.log4j.Category
Set the resource bundle to be used with localized logging methods l7dlog(Priority,String,Throwable) and l7dlog(Priority,String,Object[],Throwable).
setSecurityCredentials(String) - method in class org.apache.log4j.net.JMSAppender
setSecurityPrincipalName(String) - method in class org.apache.log4j.net.JMSAppender
setSequenceNumber(long) - method in class org.apache.log4j.lf5.LogRecord
Set the sequence number assocsiated with this LogRecord.
setSMTPHost(String) - method in class org.apache.log4j.net.SMTPAppender
The SMTPHost option takes a string value which should be a the host name of the SMTP server that will send the e-mail message.
setSource(String) - method in class org.apache.log4j.nt.NTEventLogAppender
The Source option which names the source of the event.
setSql(String) - method in class org.apache.log4j.jdbc.JDBCAppender
setStringToMatch(String) - method in class org.apache.log4j.varia.StringMatchFilter
setSubject(String) - method in class org.apache.log4j.net.SMTPAppender
The Subject option takes a string value which should be a the subject of the e-mail message.
setSyslogFacility(int) - method in class org.apache.log4j.helpers.SyslogQuietWriter
setSyslogHost(String) - method in class org.apache.log4j.net.SyslogAppender
The SyslogHost option is the name of the the syslog host where log output should go.
setTarget(String) - method in class org.apache.log4j.ConsoleAppender
Sets the value of the Target option.
setThreadDescription(String) - method in class org.apache.log4j.lf5.LogRecord
Set the thread description associated with this LogRecord.
setThreadPrinting(boolean) - method in class org.apache.log4j.TTCCLayout
The ThreadPrinting option specifies whether the name of the current thread is part of log output or not.
setThreshold(org.apache.log4j.Level) - method in class org.apache.log4j.Hierarchy
Enable logging for logging requests with level l or higher.
setThreshold(org.apache.log4j.Level) - method in class org.apache.log4j.spi.LoggerRepository
Set the repository-wide threshold.
Set the threshold level.
setThreshold(String) - method in class org.apache.log4j.Hierarchy
The string form of setThreshold(Level).
setThreshold(String) - method in class org.apache.log4j.spi.LoggerRepository
Another form of setThreshold(Level) accepting a string parameter instead of a Level.
setThrown(Throwable) - method in class org.apache.log4j.lf5.LogRecord
Set the Throwable associated with this LogRecord.
Set stack trace information associated with this Log4JLogRecord.
setThrownStackTrace(String) - method in class org.apache.log4j.lf5.LogRecord
Set the ThrownStackTrace for the log record.
setTimeZone(String) - method in class org.apache.log4j.helpers.DateLayout
The TimeZoneID option is a time zone ID string in the format expected by the TimeZone.getTimeZone method.
setTitle(String) - method in class org.apache.log4j.HTMLLayout
The Title option takes a String value.
setTo(String) - method in class org.apache.log4j.net.SMTPAppender
The To option takes a string value which should be a comma separated list of e-mail address of the recipients.
setTopicBindingName(String) - method in class org.apache.log4j.net.JMSAppender
The TopicBindingName option takes a string value.
setTopicConnectionFactoryBindingName(String) - method in class org.apache.log4j.net.JMSAppender
The TopicConnectionFactoryBindingName option takes a string value.
setURL(String) - method in class org.apache.log4j.jdbc.JDBCAppender
setURLPkgPrefixes(String) - method in class org.apache.log4j.net.JMSAppender
setUser(String) - method in class org.apache.log4j.jdbc.JDBCAppender
setUserName(String) - method in class org.apache.log4j.net.JMSAppender
The user name to use when creating a topic session.
setWriter(Writer) - method in class org.apache.log4j.WriterAppender
Sets the Writer where the log output will go.
SEVERE - static field in class org.apache.log4j.lf5.LogLevel
shutdown() - static method in class org.apache.log4j.Category
Calling this method will safely close and remove all appenders in all the categories including root contained in the default hierachy.
shutdown() - method in class org.apache.log4j.Hierarchy
Shutting down a hierarchy will safely close and remove all appenders in all categories including the root logger.
shutdown() - method in class org.apache.log4j.spi.LoggerRepository
shutdown() - static method in class org.apache.log4j.LogManager
SimpleLayout - class org.apache.log4j.SimpleLayout
SimpleLayout consists of the level of the log statement, followed by " - " and then the log message itself.
SimpleLayout() - constructor for class org.apache.log4j.SimpleLayout
SimpleSocketServer - class org.apache.log4j.net.SimpleSocketServer
A simple SocketNode based server.
SMTPAppender - class org.apache.log4j.net.SMTPAppender
Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.
SMTPAppender() - constructor for class org.apache.log4j.net.SMTPAppender
The default constructor will instantiate the appender with a TriggeringEventEvaluator that will trigger on events with level ERROR or higher.
Use evaluator passed as parameter as the TriggeringEventEvaluator for this SMTPAppender.
SocketAppender - class org.apache.log4j.net.SocketAppender
Sends LoggingEvent objects to a remote a log server, usually a SocketNode.
SocketAppender() - constructor for class org.apache.log4j.net.SocketAppender
SocketAppender(InetAddress,int) - constructor for class org.apache.log4j.net.SocketAppender
Connects to remote server at address and port.
SocketAppender(String,int) - constructor for class org.apache.log4j.net.SocketAppender
Connects to remote server at host and port.
The SocketHandler class is used to accept connections from clients.
SocketHandler(int) - constructor for class org.apache.log4j.net.TelnetAppender.SocketHandler
SocketHubAppender - class org.apache.log4j.net.SocketHubAppender
Sends LoggingEvent objects to a set of remote log servers, usually a SocketNodes.
SocketHubAppender() - constructor for class org.apache.log4j.net.SocketHubAppender
SocketHubAppender(int) - constructor for class org.apache.log4j.net.SocketHubAppender
Connects to remote server at address and port.
SocketNode - class org.apache.log4j.net.SocketNode
Read LoggingEvent objects sent from a remote client using Sockets (TCP).
SocketNode(Socket,org.apache.log4j.spi.LoggerRepository) - constructor for class org.apache.log4j.net.SocketNode
SocketServer - class org.apache.log4j.net.SocketServer
A SocketNode based server that uses a different hierarchy for each client.
SocketServer(File) - constructor for class org.apache.log4j.net.SocketServer
spacePad(StringBuffer,int) - method in class org.apache.log4j.helpers.PatternConverter
Fast space padding method.
sqlStatement - field in class org.apache.log4j.jdbc.JDBCAppender
Stores the string given to the pattern layout for conversion into a SQL statement, eg: insert into LogTable (Thread, Class, Message) values ("%t", "%c", "%m").
start() - method in class org.apache.log4j.jmx.Agent
StartLogFactor5 - class org.apache.log4j.lf5.StartLogFactor5
Starts an instance of the LogFactor5 console for off-line viewing.
startTime - field in class org.apache.log4j.helpers.RelativeTimeDateFormat
STRING_TO_MATCH_OPTION - static field in class org.apache.log4j.varia.StringMatchFilter
StringMatchFilter - class org.apache.log4j.varia.StringMatchFilter
This is a very simple filter based on string matching.
This method differentiates DailyRollingFileAppender from its super class.
This method differentiates RollingFileAppender from its super class.
Actual writing occurs here.
subst(String) - method in class org.apache.log4j.xml.DOMConfigurator
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.
Implements the usual roll over behaviour.
SYSLOG_HOST_OI - static field in class org.apache.log4j.net.SyslogAppender
SyslogAppender - class org.apache.log4j.net.SyslogAppender
Use SyslogAppender to send log messages to a remote syslog daemon.
SyslogAppender() - constructor for class org.apache.log4j.net.SyslogAppender
SyslogAppender(org.apache.log4j.Layout,int) - constructor for class org.apache.log4j.net.SyslogAppender
SyslogAppender(org.apache.log4j.Layout,String,int) - constructor for class org.apache.log4j.net.SyslogAppender
SyslogQuietWriter - class org.apache.log4j.helpers.SyslogQuietWriter
SyslogQuietWriter extends QuietWriter by prepending the syslog level code before each printed String.
SyslogWriter - class org.apache.log4j.helpers.SyslogWriter
SyslogWriter is a wrapper around the java.net.DatagramSocket class so that it behaves like a java.io.Writer.
SyslogWriter(String) - constructor for class org.apache.log4j.helpers.SyslogWriter
SYSTEM_ERR - static field in class org.apache.log4j.ConsoleAppender
SYSTEM_OUT - static field in class org.apache.log4j.ConsoleAppender
SystemTime - class org.apache.log4j.performance.SystemTime
Measures the time required to make a System.currentTimeMillis() and Thread.currentThread().getName() calls.

T

t - field in class org.apache.log4j.performance.NullAppender
tailFilter - field in class org.apache.log4j.AppenderSkeleton
The last filter in the filter chain.
target - field in class org.apache.log4j.ConsoleAppender
TelnetAppender - class org.apache.log4j.net.TelnetAppender
The TelnetAppender is a log4j appender that specializes in writing to a read-only socket.
ThreadGroupRenderer - class org.apache.log4j.or.ThreadGroupRenderer
Render ThreadGroup objects in a format similar to the information output by the ThreadGroup.list method.
ThreadGroupRenderer() - constructor for class org.apache.log4j.or.ThreadGroupRenderer
ThreadLocalMap - class org.apache.log4j.helpers.ThreadLocalMap
ThreadLocalMap extends InheritableThreadLocal to bequeath a copy of the hashtable of the MDC of the parent thread.
threshold - field in class org.apache.log4j.AppenderSkeleton
There is no level threshold filtering by default.
ThrowableInformation - class org.apache.log4j.spi.ThrowableInformation
ThrowableInformation is log4j's internal representation of throwables.
ThrowableInformation(Throwable) - constructor for class org.apache.log4j.spi.ThrowableInformation
timeStamp - field in class org.apache.log4j.spi.LoggingEvent
The number of milliseconds elapsed from 1/1/1970 until logging event was created.
TIMEZONE_OPTION - static field in class org.apache.log4j.helpers.DateLayout
TITLE_OPTION - static field in class org.apache.log4j.HTMLLayout
A string constant used in naming the option for setting the the HTML document title.
toBoolean(String,boolean) - static method in class org.apache.log4j.helpers.OptionConverter
If value is "true", then true is returned.
toFileSize(String,long) - static method in class org.apache.log4j.helpers.OptionConverter
toInt() - method in class org.apache.log4j.Priority
Returns the integer representation of this level.
toInt(String,int) - static method in class org.apache.log4j.helpers.OptionConverter
toLevel(int) - static method in class org.apache.log4j.Level
Convert an integer passed as argument to a level.
toLevel(int,org.apache.log4j.Level) - static method in class org.apache.log4j.Level
Convert an integer passed as argument to a level.
toLevel(String) - static method in class org.apache.log4j.Level
Convert the string passed as argument to a level.
toLevel(String,org.apache.log4j.Level) - static method in class org.apache.log4j.Level
Convert the string passed as argument to a level.
toLevel(String,org.apache.log4j.Level) - static method in class org.apache.log4j.helpers.OptionConverter
Converts a standard or custom priority level to a Level object.
toPriority(int) - static method in class org.apache.log4j.Priority
toPriority(int,org.apache.log4j.Priority) - static method in class org.apache.log4j.Priority
toPriority(String) - static method in class org.apache.log4j.Priority
toPriority(String,org.apache.log4j.Priority) - static method in class org.apache.log4j.Priority
toString() - method in class org.apache.log4j.lf5.LogLevel
toString() - method in class org.apache.log4j.lf5.LogRecord
Return a String representation of this LogRecord.
toString() - method in class org.apache.log4j.Priority
Returns the string representation of this priority.
TRACE - static field in class org.apache.log4j.Level
The TRACE Level designates finer-grained informational events than the DEBUG
trace(Object) - method in class org.apache.log4j.Logger
Log a message object with the TRACE level.
trace(Object,Throwable) - method in class org.apache.log4j.Logger
Log a message object with the TRACE level including the stack trace of the Throwablet passed as parameter.
TRACE_INT - static field in class org.apache.log4j.Level
TRACE level integer value.
Transform - class org.apache.log4j.helpers.Transform
Utility class for transforming strings.
TriggeringEventEvaluator - interface org.apache.log4j.spi.TriggeringEventEvaluator
Implementions of this interface allow certain appenders to decide when to perform an appender specific action.
TTCC_CONVERSION_PATTERN - static field in class org.apache.log4j.PatternLayout
A conversion pattern equivalent to the TTCCCLayout.
TTCCLayout - class org.apache.log4j.TTCCLayout
TTCC layout format consists of time, thread, category and nested diagnostic context information, hence the name.
TTCCLayout() - constructor for class org.apache.log4j.TTCCLayout
Instantiate a TTCCLayout object with RelativeTimeDateFormat as the date formatter in the local time zone.
TTCCLayout(String) - constructor for class org.apache.log4j.TTCCLayout
Instantiate a TTCCLayout object using the local time zone.

V

valueOf(String) - static method in class org.apache.log4j.lf5.LogLevel
Convert a log level label into a LogLevel object.

W

WARN - static field in class org.apache.log4j.Level
The WARN level designates potentially harmful situations.
WARN - static field in class org.apache.log4j.lf5.LogLevel
WARN - static field in class org.apache.log4j.Priority
warn(Object) - method in class org.apache.log4j.Category
Log a message object with the WARN Level.
warn(Object,Throwable) - method in class org.apache.log4j.Category
Log a message with the WARN level including the stack trace of the Throwable t passed as parameter.
warn(String) - static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal warning statements.
warn(String,Throwable) - static method in class org.apache.log4j.helpers.LogLog
This method is used to output log4j internal warnings.
WARN_INT - static field in class org.apache.log4j.Priority
WARNING - static field in class org.apache.log4j.lf5.LogLevel
warning(org.xml.sax.SAXParseException) - method in class org.apache.log4j.xml.examples.ReportParserError
warning(SAXParseException) - method in class org.apache.log4j.xml.SAXErrorHandler
wasEmpty() - method in class org.apache.log4j.helpers.BoundedFIFO
Returns true if there is just one element in the buffer.
wasFull() - method in class org.apache.log4j.helpers.BoundedFIFO
Returns true if the number of elements in the buffer plus 1 equals the maximum buffer size, returns false otherwise.
write(char[]) - method in class org.apache.log4j.performance.NOPWriter
write(char[],int,int) - method in class org.apache.log4j.performance.NOPWriter
write(char[],int,int) - method in class org.apache.log4j.helpers.SyslogWriter
write(int) - method in class org.apache.log4j.performance.NOPWriter
write(String) - method in class org.apache.log4j.helpers.CountingQuietWriter
write(String) - method in class org.apache.log4j.performance.NOPWriter
write(String) - method in class org.apache.log4j.helpers.QuietWriter
write(String) - method in class org.apache.log4j.helpers.SyslogQuietWriter
write(String) - method in class org.apache.log4j.helpers.SyslogWriter
write(String,int,int) - method in class org.apache.log4j.performance.NOPWriter
WRITE_FAILURE - static field in class 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 org.apache.log4j.WriterAppender
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.
Instantiate a WriterAppender and set the output destination to a new OutputStreamWriter initialized with os as its OutputStream.
WriterAppender(org.apache.log4j.Layout,Writer) - constructor for class org.apache.log4j.WriterAppender
Instantiate a WriterAppender and set the output destination to writer.

X

XMLLayout - class org.apache.log4j.xml.XMLLayout
The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd.
XMLSample - class org.apache.log4j.xml.examples.XMLSample
This example code shows how to read an XML based configuration file using a DOM parser.

Copyright 2000-2005 Apache Software Foundation.