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

A

ABS_TIME_DATE_FORMAT - Static variable in class org.log4j.helpers.AbsoluteTimeDateFormat
String constant used to specify AbsoluteTimeDateFormat in layouts.
AbsoluteTimeDateFormat - class org.log4j.helpers.AbsoluteTimeDateFormat.
Formats a Date in the format "HH:mm:ss,SSS" for example, "15:49:37,459".
AbsoluteTimeDateFormat() - Constructor for class org.log4j.helpers.AbsoluteTimeDateFormat
 
AbsoluteTimeDateFormat(TimeZone) - Constructor for class org.log4j.helpers.AbsoluteTimeDateFormat
 
ACCEPT - Static variable in class org.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 variable in class org.log4j.varia.StringMatchFilter
 
ACCEPT_ON_MATCH_OPTION - Static variable in class org.log4j.varia.PriorityMatchFilter
 
activateOptions() - Method in class org.log4j.AppenderSkeleton
Derived appenders should override this method if option structure requires it.
activateOptions() - Method in class org.log4j.SimpleLayout
 
activateOptions() - Method in class org.log4j.FileAppender
If the a value for FileAppender.FILE_OPTION is non-null, then FileAppender.setFile(java.lang.String, boolean) is called with the values of FileAppender.FILE_OPTION and FileAppender.APPEND_OPTION.
activateOptions() - Method in class org.log4j.PatternLayout
Does not do anything as options become effective immediately.
activateOptions() - Method in class org.log4j.spi.Filter
Usually filters options become active when set.
activateOptions() - Method in interface org.log4j.spi.OptionHandler
Activate the options that were previously set with calls to setOption.
activateOptions() - Method in class org.log4j.helpers.DateLayout
 
activateOptions() - Method in class org.log4j.helpers.OnlyOnceErrorHandler
No options to activate.
activateOptions() - Method in class org.log4j.xml.XMLLayout
 
activateOptions() - Method in class org.log4j.net.SocketAppender
Connect to the specified RemoteHost and Port.
activateOptions() - Method in class org.log4j.net.SyslogAppender
This method returns immediately as options are activated when they are set.
activateOptions() - Method in class org.log4j.varia.ExternallyRolledFileAppender
Start listening on the port specified by a preceding call to ExternallyRolledFileAppender.setOption(java.lang.String, java.lang.String).
activateOptions() - Method in class org.log4j.xml.examples.XCategory
 
add(LoggingEvent) - Method in class org.log4j.helpers.CyclicBuffer
Add an event as the last event in the buffer.
addAppender(Appender) - Method in class org.log4j.AsyncAppender
 
addAppender(Appender) - Method in class org.log4j.Category
Add newAppender to the list of appenders of this Category instance.
addAppender(Appender) - Method in interface org.log4j.spi.AppenderAttachable
Add an appender.
addAppender(Appender) - Method in class org.log4j.helpers.AppenderAttachableImpl
Attach an appender.
addConverter(PatternConverter) - Method in class org.log4j.helpers.PatternParser
 
addFilter(Filter) - Method in class org.log4j.AppenderSkeleton
Add a filter to end of the filter list.
addFilter(Filter) - Method in interface org.log4j.Appender
Add a filter to the end of the filter list.
additive - Variable in class org.log4j.Category
Additivity is set to true by default, i.e.
ALERT - Static variable in class org.log4j.Priority
 
APPEND_OPTION - Static variable in class org.log4j.FileAppender
A string constant used in naming the option that determines whether the output file will be truncated or appended to.
append(LoggingEvent) - Method in class org.log4j.AppenderSkeleton
Subclasses of AppenderSkeleton should imlement this method to perform actual logging.
append(LoggingEvent) - Method in class org.log4j.AsyncAppender
 
append(LoggingEvent) - Method in class org.log4j.FileAppender
This method called by AppenderSkeleton.doAppend(org.log4j.spi.LoggingEvent) method.
append(LoggingEvent) - Method in class org.log4j.performance.NullAppender
 
append(LoggingEvent) - Method in class org.log4j.net.SocketAppender
 
append(LoggingEvent) - Method in class org.log4j.net.SyslogAppender
 
append(LoggingEvent) - Method in class org.log4j.nt.NTEventLogAppender
 
Appender - interface org.log4j.Appender.
Implement this interface for your own strategies for printing log statements.
AppenderAttachable - interface org.log4j.spi.AppenderAttachable.
Interface for attaching appenders to objects.
AppenderAttachableImpl - class org.log4j.helpers.AppenderAttachableImpl.
A straightforward implementation of the AppenderAttachable interface.
AppenderAttachableImpl() - Constructor for class org.log4j.helpers.AppenderAttachableImpl
 
appenderList - Variable in class org.log4j.helpers.AppenderAttachableImpl
Array of appenders.
AppenderSkeleton - class org.log4j.AppenderSkeleton.
Abstract super-class of the other appenders in the package.
AppenderSkeleton() - Constructor for class org.log4j.AppenderSkeleton
 
appendLoopOnAppenders(LoggingEvent) - Method in class org.log4j.helpers.AppenderAttachableImpl
Call the doAppend method on all attached appenders.
assert(boolean, String) - Method in class org.log4j.Category
If assertion parameter is false, then logs msg as an error statement.
AsyncAppender - class org.log4j.AsyncAppender.
The AsyncAppender lets users log events asynchronously.
AsyncAppender() - Constructor for class org.log4j.AsyncAppender
 

B

BasicConfigurator - class org.log4j.BasicConfigurator.
Use this class to quickly configure the package.
BasicConfigurator() - Constructor for class org.log4j.BasicConfigurator
 
BoundedFIFO - class org.log4j.helpers.BoundedFIFO.
BoundedFIFO serves as the bounded first-in-first-out buffer heavily used by the AsyncAppender.
BoundedFIFO(int) - Constructor for class org.log4j.helpers.BoundedFIFO
Instantiate a new BoundedFIFO with a maximum size passed as argument.
buf - Variable in class org.log4j.TTCCLayout
 
BUF_SIZE - Variable in class org.log4j.PatternLayout
 

C

callAppenders(LoggingEvent) - Method in class org.log4j.Category
Call the appenders in the hierrachy starting at this.
Category - class org.log4j.Category.
This is the central class in the log4j package.
CATEGORY_PREFIXING_OPTION - Static variable in class org.log4j.TTCCLayout
 
Category(String) - Constructor for class org.log4j.Category
This constructor created a new Category instance and sets its name.
CategoryFactory - interface org.log4j.spi.CategoryFactory.
Implement this interface to create new instances of Category or a sub-class of Category.
categoryName - Variable in class org.log4j.spi.LoggingEvent
The category name.
checkEntryConditions() - Method in class org.log4j.FileAppender
This method determines if there is a sense in attempting to append.
checkEntryConditions() - Method in class org.log4j.varia.ResilientFileAppender
 
cleanUp() - Method in class org.log4j.net.SocketAppender
Drop the connection to the remote host and release the underlying connector thread if it has been created
clear() - Static method in class org.log4j.NDC
Clear any nested disgnostic information if any.
clear() - Method in class org.log4j.Hierarchy
This call will clear all category definitions from the internal hashtable.
clearFilters() - Method in class org.log4j.AppenderSkeleton
Clear the filters chain.
clearFilters() - Method in interface org.log4j.Appender
Clear the list of filters by removing all the filters in it.
cloneStack() - Static method in class org.log4j.NDC
Clone the diagnostic context for the current thread.
CLOSE_FAILURE - Static variable in interface org.log4j.spi.ErrorCode
 
close() - Method in class org.log4j.AsyncAppender
Close this AsyncAppender by interrupting the dispatcher thread which will process all pending events before exiting.
close() - Method in class org.log4j.FileAppender
Will close the stream opened by a previos FileAppender.setFile(java.lang.String, boolean) call.
close() - Method in interface org.log4j.Appender
Release any resources allocated within the appender such as file handles, network connections, etc.
close() - Method in class org.log4j.helpers.SyslogWriter
 
close() - Method in class org.log4j.performance.NullAppender
 
close() - Method in class org.log4j.performance.NOPWriter
 
close() - Method in class org.log4j.net.SocketAppender
Close this appender.
close() - Method in class org.log4j.net.SyslogAppender
Release any resources held by this SyslogAppender.
close() - Method in class org.log4j.nt.NTEventLogAppender
 
closed - Variable in class org.log4j.AppenderSkeleton
Is this appender closed?
closeWriterIfOurs() - Method in class org.log4j.FileAppender
Close this.writer if opened by setFile or FileAppend(filename..)
concatanateArrays(String[], String[]) - Static method in class org.log4j.helpers.OptionConverter
 
ConcatVsArray - class org.log4j.performance.ConcatVsArray.
Measure difference in performance of string concatenation versus creating an anonymous string array.
ConcatVsArray() - Constructor for class org.log4j.performance.ConcatVsArray
 
CONFIG_DEBUG_KEY - Static variable in class org.log4j.helpers.LogLog
Defining this value makes configurators print debug statements to System.out while parsing configuration files.
configDebugEnabled - Static variable in class org.log4j.helpers.LogLog
 
configure() - Static method in class org.log4j.BasicConfigurator
Add a FileAppender that uses PatternLayout using the PatternLayout.TTCC_CONVERSION_PATTERN and prints to System.out to the root category.
configure(Appender) - Static method in class org.log4j.BasicConfigurator
Add appender to the root category.
configure(Element) - Static method in class org.log4j.xml.DOMConfigurator
Configure log4j using a configuration element as defined in the log4j.dtd.
configure(Properties) - Static method in class org.log4j.PropertyConfigurator
Read configuration options from properties.
configure(String) - Static method in class org.log4j.PropertyConfigurator
Read configuration from a file.
configure(String) - Static method in class org.log4j.xml.DOMConfigurator
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
configure(URL) - Static method in class org.log4j.PropertyConfigurator
Read configuration options from url configURL.
configureAndWatch(String) - Static method in class org.log4j.PropertyConfigurator
Like PropertyConfigurator.configureAndWatch(String, long) except that the default delay as defined by FileWatchdog.DEFAULT_DELAY is used.
configureAndWatch(String) - Static method in class org.log4j.xml.DOMConfigurator
Like DOMConfigurator.configureAndWatch(String, long) except that the default delay as defined by FileWatchdog.DEFAULT_DELAY is used.
configureAndWatch(String, long) - Static method in class org.log4j.PropertyConfigurator
Read the configuration file configFilename if it exists.
configureAndWatch(String, long) - Static method in class org.log4j.xml.DOMConfigurator
Read the configuration file configFilename if it exists.
configureCategories(Properties) - Static method in class org.log4j.PropertyConfigurator
Used internally to parse non-root categories.
CONTEXT_PRINTING_OPTION - Static variable in class org.log4j.TTCCLayout
 
CONVERSION_PATTERN_OPTION - Static variable in class org.log4j.PatternLayout
A string constant used in naming the option for setting the layout pattern.
convert(LoggingEvent) - Method in class org.log4j.helpers.PatternConverter
Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
convertSpecialChars(String) - Static method in class org.log4j.helpers.OptionConverter
 
count - Variable in class org.log4j.helpers.CountingQuietWriter
 
CountingQuietWriter - class org.log4j.helpers.CountingQuietWriter.
Counts the number of bytes written.
CountingQuietWriter(Writer, ErrorHandler) - Constructor for class org.log4j.helpers.CountingQuietWriter
 
createPatternParser(String) - Method in class org.log4j.PatternLayout
Returns PatternParser used to parse the conversion string.
createPatternParser(String) - Method in class org.log4j.examples.MyPatternLayout
 
CRIT - Static variable in class org.log4j.Priority
 
currentLiteral - Variable in class org.log4j.helpers.PatternParser
 
CyclicBuffer - class org.log4j.helpers.CyclicBuffer.
CyclicBuffer is used by other appenders to hold LoggingEvents for immediate or differed display.
CyclicBuffer(int) - Constructor for class org.log4j.helpers.CyclicBuffer
Instantiate a new CyclicBuffer of at most maxSize events.

D

date - Variable in class org.log4j.helpers.DateLayout
 
DATE_AND_TIME_DATE_FORMAT - Static variable in class org.log4j.helpers.AbsoluteTimeDateFormat
String constant used to specify DateTimeDateFormat in layouts.
DATE_FORMAT_OPTION - Static variable in class org.log4j.helpers.DateLayout
 
dateFormat - Variable in class org.log4j.helpers.DateLayout
 
dateFormat(StringBuffer, LoggingEvent) - Method in class org.log4j.helpers.DateLayout
 
DateLayout - class org.log4j.helpers.DateLayout.
This abstract layout takes care of all the date related options and formatting work.
DateLayout() - Constructor for class org.log4j.helpers.DateLayout
 
DateTimeDateFormat - class org.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.log4j.helpers.DateTimeDateFormat
 
DateTimeDateFormat(TimeZone) - Constructor for class org.log4j.helpers.DateTimeDateFormat
 
DEBUG - Static variable in class org.log4j.Priority
 
debug(Object) - Method in class org.log4j.Category
Log an object with debug priority.
debug(String) - Method in class org.log4j.Category
Log a message with debug priority.
debug(String) - Static method in class org.log4j.helpers.LogLog
This method is used to output log4j internal debug statements.
debug(String) - Method in class org.log4j.examples.MyCategory
Overrides the standard debug method by appending " world" to each message.
debug(String) - Method in class org.log4j.xml.examples.XCategory
Overrides the standard debug method by appending " world" to each message.
debug(String, Throwable) - Method in class org.log4j.Category
Log a message with the debug priority.
debug(String, Throwable) - Static method in class org.log4j.helpers.LogLog
This method is used to output log4j internal debug statements.
decide(LoggingEvent) - Method in class org.log4j.spi.Filter
If the decision is DENY, then the event will be dropped.
decide(LoggingEvent) - Method in class org.log4j.varia.StringMatchFilter
Returns Filter.NEUTRAL is there is no string match.
decide(LoggingEvent) - Method in class org.log4j.varia.DenyAllFilter
Always returns the integer constant Filter.DENY regardless of the LoggingEvent parameter.
decide(LoggingEvent) - Method in class org.log4j.varia.PriorityMatchFilter
Return the decision of this filter.
DEFAULT_CONVERSION_PATTERN - Static variable in class org.log4j.PatternLayout
Default pattern string for log output.
DEFAULT_DELAY - Static variable in class org.log4j.helpers.FileWatchdog
The default delay between every file modification check, set to 60 seconds.
DEFAULT_INIT_OVERRIDE_KEY - Static variable in class org.log4j.Category
Setting the system property log4j.defaultInitOverride to "true" or any other value than "false" will skip default configuration from the log4j.properties file.
DEFAULT_PROPERTIES_FILE - Static variable in class org.log4j.Category
At class initialization, the log4j.properties file is searched from the search path used to load classes.
delay - Variable in class org.log4j.helpers.FileWatchdog
The delay to observe between every check.
delay(int) - Static method in class org.log4j.examples.NumberCruncherServer
 
DENY - Static variable in class org.log4j.spi.Filter
The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain.
DenyAllFilter - class org.log4j.varia.DenyAllFilter.
This filter drops all logging events.
DenyAllFilter() - Constructor for class org.log4j.varia.DenyAllFilter
 
disable - Static variable in class org.log4j.Category
 
DISABLE_OVERRIDE_KEY - Static variable in class org.log4j.BasicConfigurator
Setting the system property log4j.disableOverride to "true" or any other value than "false" overrides the effects of all methods BasicConfigurator.disable(org.log4j.Priority), BasicConfigurator.disableAll(), BasicConfigurator.disableDebug() and BasicConfigurator.disableInfo().
disable(Priority) - Static method in class org.log4j.BasicConfigurator
Disable all logging requests of priority equal to or below the priority parameter p, regardless of the request category.
disableAll() - Static method in class org.log4j.BasicConfigurator
Disable all logging requests regardless of category and priority.
disableDebug() - Static method in class org.log4j.BasicConfigurator
Disable all logging requests of priority DEBUG regardless of category.
disableInfo() - Static method in class org.log4j.BasicConfigurator
Disable all logging requests of priority INFO and below regardless of category.
doAppend(LoggingEvent) - Method in class org.log4j.AppenderSkeleton
This method performs threshold checks and invokes filters before delegating actual logging to the sub-classes specific AppenderSkeleton.append(org.log4j.spi.LoggingEvent) method.
doAppend(LoggingEvent) - Method in interface org.log4j.Appender
Log in Appender specific way.
doAppend(LoggingEvent) - Method in class org.log4j.performance.NullAppender
 
DOMConfigurator - class org.log4j.xml.DOMConfigurator.
Use this class to initialize the log4j environment using a DOM tree.
DOMConfigurator() - Constructor for class org.log4j.xml.DOMConfigurator
No argument constructor.
doOnChange() - Method in class org.log4j.helpers.FileWatchdog
 

E

EMERG - Static variable in class org.log4j.Priority
 
enableAll() - Static method in class org.log4j.BasicConfigurator
Undoes the effect of calling any of BasicConfigurator.disable(org.log4j.Priority), BasicConfigurator.disableAll(), BasicConfigurator.disableDebug() and BasicConfigurator.disableInfo() methods.
ERROR - Static variable in class org.log4j.Priority
 
error(Object) - Method in class org.log4j.Category
Log an object with error priority.
error(SAXParseException) - Method in class org.log4j.xml.examples.ReportParserError
 
error(String) - Method in class org.log4j.Category
Log a message with error priority.
error(String) - Method in interface org.log4j.spi.ErrorHandler
This method prints the error message passed as a parameter.
error(String) - Method in class org.log4j.helpers.OnlyOnceErrorHandler
Print a the error message passed as parameter on System.err.
error(String) - Static method in class org.log4j.helpers.LogLog
This method is used to output log4j internal error statements.
error(String, Exception, int) - Method in interface org.log4j.spi.ErrorHandler
This method should handle the error.
error(String, Exception, int) - Method in class org.log4j.helpers.OnlyOnceErrorHandler
Prints the message and the stack trace of the exception on System.err.
error(String, Throwable) - Method in class org.log4j.Category
Log a message with the error priority.
error(String, Throwable) - Static method in class org.log4j.helpers.LogLog
This method is used to output log4j internal error statements.
ErrorCode - interface org.log4j.spi.ErrorCode.
This interface defines commonly encoutered error codes.
errorHandler - Variable in class org.log4j.AppenderSkeleton
It is assumed and enforced that errorHandler is never null.
errorHandler - Variable in class org.log4j.helpers.QuietWriter
 
ErrorHandler - interface org.log4j.spi.ErrorHandler.
Appenders may delegate their error handling to ErrorHandlers.
exists(String) - Static method in class org.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.log4j.Hierarchy
Check if the named category exists in the hirarchy.
ExternallyRolledFileAppender - class org.log4j.varia.ExternallyRolledFileAppender.
This appender listen on a socket on the port specified by the ExternallyRolledFileAppender.PORT_OPTION for a "RollOver" message.
ExternallyRolledFileAppender() - Constructor for class org.log4j.varia.ExternallyRolledFileAppender
Thia default constructor does nothing but call its super-class constructor.

F

FACILITY_OI - Static variable in class org.log4j.net.SyslogAppender
 
FACILITY_OPTION - Static variable in class org.log4j.net.SyslogAppender
A string constant used in naming the option for setting facility type.
FACILITY_PRINTING_OPTION - Static variable in class org.log4j.net.SyslogAppender
A string constant used in naming the option for setting whether the facility name is printed or not.
factor(int) - Method in class org.log4j.examples.NumberCruncherServer
 
factor(int) - Method in interface org.log4j.examples.NumberCruncher
Factor a positive integer number and return its distinct factor's as an integer array.
FATAL - Static variable in class org.log4j.xml.examples.XPriority
 
fatal(String) - Method in class org.log4j.xml.examples.XCategory
 
fatalError(SAXParseException) - Method in class org.log4j.xml.examples.ReportParserError
 
FILE_OPEN_FAILURE - Static variable in interface org.log4j.spi.ErrorCode
 
FILE_OPTION - Static variable in class org.log4j.FileAppender
A string constant used in naming the option for setting the output file.
fileAppend - Variable in class org.log4j.FileAppender
Append to or truncate the file? The default value for this variable is true, meaning that by default a FileAppender will append to an existing file and not truncate it.
FileAppender - class org.log4j.FileAppender.
FileAppender appends log events to the console, to a file, to a Writer or an OutputStream depending on the user's choice.
FileAppender() - Constructor for class org.log4j.FileAppender
The default constructor does no longer set a default layout nor a default output target.
FileAppender(Layout, OutputStream) - Constructor for class org.log4j.FileAppender
Instantiate a FileAppender and set the output destination to a new OutputStreamWriter initialized with os as its OutputStream.
FileAppender(Layout, String) - Constructor for class org.log4j.FileAppender
Instantiate a FileAppender and open the file designated by filename.
FileAppender(Layout, String, boolean) - Constructor for class org.log4j.FileAppender
Instantiate a FileAppender and open the file designated by filename.
FileAppender(Layout, Writer) - Constructor for class org.log4j.FileAppender
Instantiate a FileAppender and set the output destination to writer.
filename - Variable in class org.log4j.helpers.FileWatchdog
The name of the file to observe for changes.
fileName - Variable in class org.log4j.FileAppender
The name of the log file.
FileWatchdog - class org.log4j.helpers.FileWatchdog.
Check every now and then that a certain file has not changed.
FileWatchdog(String) - Constructor for class org.log4j.helpers.FileWatchdog
 
Filter - class org.log4j.spi.Filter.
Users should extend this class to implement customized logging event filtering.
Filter() - Constructor for class org.log4j.spi.Filter
 
finalize() - Method in class org.log4j.AppenderSkeleton
Finalize this appender by calling the imlenentation's close method.
finalize() - Method in class org.log4j.nt.NTEventLogAppender
 
finalizeConverter(char) - Method in class org.log4j.helpers.PatternParser
 
finalizeConverter(char) - Method in class org.log4j.examples.MyPatternParser
 
findAppenderByReference(Element) - Method in class org.log4j.xml.DOMConfigurator
Used internally to parse appenders by IDREF.
flagAsShippedCode() - Static method in class org.log4j.BasicConfigurator
Deprecated.  
FLUSH_FAILURE - Static variable in interface org.log4j.spi.ErrorCode
 
flush() - Method in class org.log4j.helpers.QuietWriter
 
flush() - Method in class org.log4j.helpers.SyslogWriter
 
flush() - Method in class org.log4j.performance.NOPWriter
 
format(Date, StringBuffer, FieldPosition) - Method in class org.log4j.helpers.RelativeTimeDateFormat
Appends to sbuf the number of milliseconds elapsed since the start of the application.
format(Date, StringBuffer, FieldPosition) - Method in class org.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.log4j.helpers.ISO8601DateFormat
Appends to sbuf the date in the format "YYYY-mm-dd HH:mm:ss,SSS" for example, "1999-11-27 15:49:37,459".
format(Date, StringBuffer, FieldPosition) - Method in class org.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(LoggingEvent) - Method in class org.log4j.Layout
Implement this method to create your own layout format.
format(LoggingEvent) - Method in class org.log4j.SimpleLayout
Return the a log statement in a format consisting of the priority, folloed by " - " and then the message.
format(LoggingEvent) - Method in class org.log4j.PatternLayout
Produces a formatted string as specified by the conversion pattern.
format(LoggingEvent) - Method in class org.log4j.TTCCLayout
In addition to the priority of the statement and message, the returned byte array includes time, thread, category and NDC information.
format(LoggingEvent) - Method in class org.log4j.xml.XMLLayout
Formats a LoggingEvent in conformance with the log4j.dtd.
format(StringBuffer, LoggingEvent) - Method in class org.log4j.helpers.PatternConverter
A template method for formatting in a converter specific way.
formattingInfo - Variable in class org.log4j.helpers.PatternParser
 
FormattingInfo - class org.log4j.helpers.FormattingInfo.
FormattingInfo instances contain the information obtained when parsing formatting modifiers in conversion modifiers.
FormattingInfo() - Constructor for class org.log4j.helpers.FormattingInfo
 
fqnOfCategoryClass - Variable in class org.log4j.spi.LoggingEvent
Fully qualified name of the calling category class.
fullInfo - Variable in class org.log4j.spi.LocationInfo
All available caller information, in the format fully.qualified.classname.of.caller.methodName(Filename.java:line)

G

get() - Static method in class org.log4j.NDC
Used when printing the diagnostic context.
get() - Method in class org.log4j.helpers.BoundedFIFO
Get the first element in the buffer.
get(int) - Method in class org.log4j.helpers.CyclicBuffer
Get the ith oldest event currently in the buffer.
getAdditivity() - Method in class org.log4j.Category
Get the additivity flag for this Category instance.
getAllAppenders() - Method in class org.log4j.AsyncAppender
 
getAllAppenders() - Method in class org.log4j.Category
Get the appenders contained in this category as an Enumeration.
getAllAppenders() - Method in interface org.log4j.spi.AppenderAttachable
Get all previously appenders as an Enumeration.
getAllAppenders() - Method in class org.log4j.helpers.AppenderAttachableImpl
Get all attached appenders as an Enumeration.
getAllPossiblePriorities() - Static method in class org.log4j.Priority
Return all possible priorities as an array of Priority objects in descending order.
getAppender(String) - Method in class org.log4j.AsyncAppender
 
getAppender(String) - Method in class org.log4j.Category
Look for the appender named as name.
getAppender(String) - Method in interface org.log4j.spi.AppenderAttachable
Get an appender by name.
getAppender(String) - Method in class org.log4j.helpers.AppenderAttachableImpl
Look for an attached appender named as name.
getChainedPriority() - Method in class org.log4j.Category
Starting from this category, search the category hierarchy for a non-null priority and return it.
getChainedPriority() - Method in class org.log4j.spi.RootCategory
Return the assigned priority value without walking the category hierarchy.
getClassName() - Method in class org.log4j.spi.LocationInfo
Return the fully qualified class name of the caller making the logging request.
getCount() - Method in class org.log4j.helpers.CountingQuietWriter
 
getCurrentCategories() - Static method in class org.log4j.Category
Returns all the currently defined categories in the default hierarchy as an Enumeration.
getDefaultHierarchy() - Static method in class org.log4j.Hierarchy
Return the default Hierarchy instance.
getDepth() - Static method in class org.log4j.NDC
Get the current nesting depth of this diagnostic context.
getErrorHandler() - Method in class org.log4j.AppenderSkeleton
Return the currently set ErrorHandler for this Appender.
getFileName() - Method in class org.log4j.spi.LocationInfo
Return the file name of the caller.
getFirstFilter() - Method in class org.log4j.AppenderSkeleton
Return the first filter in the filter chain for this Appender.
getGIF_Image(String) - Static method in class org.log4j.helpers.Loader
 
getGIF_Image(URL) - Static method in class org.log4j.helpers.Loader
 
getHTML_Page(String) - Static method in class org.log4j.helpers.Loader
 
getInstance(String) - Static method in class org.log4j.Category
Instantiate a category with name name.
getInstance(String) - Method in class org.log4j.Hierarchy
Return a new category instance named as the first parameter using the default factory.
getInstance(String) - Static method in class org.log4j.examples.MyCategory
This method overrides Category.getInstance(java.lang.String) by supplying its own factory type as a parameter.
getInstance(String) - Static method in class org.log4j.xml.examples.XCategory
This method overrides Category.getInstance(java.lang.String) by supplying its own factory type as a parameter.
getInstance(String, CategoryFactory) - Static method in class org.log4j.Category
Like Category.getInstance(String) except that the type of category instantiated depends on the type returned by the CategoryFactory.makeNewCategoryInstance(java.lang.String) method of the factory parameter.
getInstance(String, CategoryFactory) - Method in class org.log4j.Hierarchy
Return a new category instance named as the first parameter using factory.
getLineNumber() - Method in class org.log4j.spi.LocationInfo
Returns the line number of the caller.
getMaxSize() - Method in class org.log4j.helpers.BoundedFIFO
Get the maximum size of the buffer.
getMaxSize() - Method in class org.log4j.helpers.CyclicBuffer
 
getMethodName() - Method in class org.log4j.spi.LocationInfo
Returns the method name of the caller.
getName() - Method in class org.log4j.AppenderSkeleton
Returns the name of this FileAppender.
getName() - Method in class org.log4j.Category
Return the category name.
getName() - Method in interface org.log4j.Appender
Get the name of this appender.
getNDC() - Method in class org.log4j.spi.LoggingEvent
 
getOptionStrings() - Method in class org.log4j.AppenderSkeleton
Returns the string array {AppenderSkeleton.THRESHOLD_OPTION}.
getOptionStrings() - Method in class org.log4j.SimpleLayout
 
getOptionStrings() - Method in class org.log4j.FileAppender
Retuns the option names for this component, namely the string array {FileAppender.FILE_OPTION, FileAppender.APPEND_OPTION} in addition to the options of its super class AppenderSkeleton.
getOptionStrings() - Method in class org.log4j.PatternLayout
Returns the the array of option strings that PatternLayout recognizes.
getOptionStrings() - Method in class org.log4j.TTCCLayout
 
getOptionStrings() - Method in class org.log4j.RollingFileAppender
Retuns the option names for this component, namely RollingFileAppender.MAX_FILE_SIZE_OPTION and RollingFileAppender.MAX_BACKUP_INDEX_OPTION in addition to the options of FileAppender.
getOptionStrings() - Method in interface org.log4j.spi.OptionHandler
Return list of strings that the OptionHandler instance recognizes.
getOptionStrings() - Method in class org.log4j.helpers.DateLayout
 
getOptionStrings() - Method in class org.log4j.helpers.OnlyOnceErrorHandler
Returns null as OnlyOnceErrorHandler has no options.
getOptionStrings() - Method in class org.log4j.xml.XMLLayout
 
getOptionStrings() - Method in class org.log4j.net.SocketAppender
Retuns the option names for this component, namely the string array consisting of {SocketAppender.REMOTE_HOST_OPTION, SocketAppender.PORT_OPTION, SocketAppender.LOCATION_INFO_OPTION, SocketAppender.RECONNECTION_DELAY_OPTION} in addition to the options of its super class AppenderSkeleton.
getOptionStrings() - Method in class org.log4j.net.SyslogAppender
Retuns the option names for this component, namely the string array consisting of {SyslogAppender.SYSLOG_HOST_OPTION, SyslogAppender.FACILITY_OPTION, SyslogAppender.FACILITY_PRINTING_OPTION}.
getOptionStrings() - Method in class org.log4j.varia.StringMatchFilter
 
getOptionStrings() - Method in class org.log4j.varia.DenyAllFilter
Returns null as there are no options.
getOptionStrings() - Method in class org.log4j.varia.ExternallyRolledFileAppender
Retuns the option names for this component, namely ExternallyRolledFileAppender.PORT_OPTION in addition to the options of its super class FileAppender.
getOptionStrings() - Method in class org.log4j.varia.PriorityMatchFilter
 
getOptionStrings() - Method in class org.log4j.xml.examples.XCategory
 
getPriority() - Method in class org.log4j.Category
Returns the assigned Priority, if any, for this Category.
getResourceBundle() - Method in class org.log4j.Category
Return the ResourceBundle for this category.
getResourceBundleString(String) - Method in class org.log4j.Category
 
getRoot() - Static method in class org.log4j.Category
Return the root of the default category hierrachy.
getRoot() - Method in class org.log4j.Hierarchy
Get the root of this hierarchy.
getRootPriority() - Static method in class org.log4j.Category
Deprecated. Use getRoot().getPriority() instead.
getStartTime() - Static method in class org.log4j.spi.LoggingEvent
Returns the time when the application started, in milliseconds elapsed since 01.01.1970.
getThreadName() - Method in class org.log4j.spi.LoggingEvent
 
getThrowableInformation() - Method in class org.log4j.spi.LoggingEvent
 

H

headFilter - Variable in class org.log4j.AppenderSkeleton
The first filter in the filter chain.
Hierarchy - class org.log4j.Hierarchy.
This class is specialized in retreiving categories by name and also maintaining the category hierarchy.
Hierarchy(Category) - Constructor for class org.log4j.Hierarchy
Create a new Category hierarchy.

I

i - Variable in class org.log4j.helpers.PatternParser
 
ignoresThrowable() - Method in class org.log4j.Layout
If the layout handles the throwable object contained within LoggingEvent, then the layout should return false.
ignoresThrowable() - Method in class org.log4j.SimpleLayout
The SimpleLayout does not handle the throwable contained within LoggingEvents.
ignoresThrowable() - Method in class org.log4j.PatternLayout
The PatternLayout does not handle the throwable contained within LoggingEvents.
ignoresThrowable() - Method in class org.log4j.TTCCLayout
The TTCCLayout does not handle the throwable contained within LoggingEvents.
ignoresThrowable() - Method in class org.log4j.xml.XMLLayout
The XMLLayout prints and does not ignore exceptions.
IMMEDIATE_FLUSH_OPTION - Static variable in class org.log4j.FileAppender
A string constant used in naming the option for immediate flushing of the output stream at the end of each append operation.
immediateFlush - Variable in class org.log4j.FileAppender
Immediate flush means that the undelying writer or stream will be flushed at the end of each append operation.
INFO - Static variable in class org.log4j.Priority
 
info(Object) - Method in class org.log4j.Category
Log an object with INFO priority.
info(String) - Method in class org.log4j.Category
Log a message with info priority.
info(String, Throwable) - Method in class org.log4j.Category
Log a message with the info priority.
inherit(Stack) - Static method in class org.log4j.NDC
Inherit the diagnostic context of another thread.
INHERITED - Static variable in class org.log4j.BasicConfigurator
Special priority value signifying inherited behaviour.
instanceFQN - Static variable in class org.log4j.Category
 
instantiateByClassName(String, Class, Object) - Static method in class org.log4j.helpers.OptionConverter
Instantiate an object given a class name.
instantiateByKey(Properties, String, Class, Object) - Static method in class org.log4j.helpers.OptionConverter
 
isAsSevereAs(Priority) - Method in class org.log4j.Priority
 
isAsSevereAsThreshold(Priority) - Method in class org.log4j.AppenderSkeleton
Check whether the message priority is below the appender's threshold.
isDebugEnabled() - Method in class org.log4j.Category
Check whether this category is enabled for the debug priority.
isEnabledFor(Priority) - Method in class org.log4j.Category
Check whether this category is enabled for a given Priority passed as parameter.
isFull() - Method in class org.log4j.helpers.BoundedFIFO
Return true if the buffer is full, i.e.
isInfoEnabled() - Method in class org.log4j.Category
Check whether this category is enabled for the debug priority.
ISO8601_DATE_FORMAT - Static variable in class org.log4j.helpers.AbsoluteTimeDateFormat
String constant used to specify ISO8601DateFormat in layouts.
ISO8601DateFormat - class org.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.log4j.helpers.ISO8601DateFormat
 
ISO8601DateFormat(TimeZone) - Constructor for class org.log4j.helpers.ISO8601DateFormat
 

L

l7dlog(Priority, String, Object[], Throwable) - Method in class org.log4j.Category
Log a localized and parameterized message.
l7dlog(Priority, String, Throwable) - Method in class org.log4j.Category
Log a localized message.
layout - Variable in class org.log4j.AppenderSkeleton
The layout variable does not need to be set if the appender implementation has its own layout.
Layout - class org.log4j.Layout.
Extend this abstract class to create your own log layout format.
Layout() - Constructor for class org.log4j.Layout
 
length() - Method in class org.log4j.helpers.BoundedFIFO
Get the number of elements in the buffer.
length() - Method in class org.log4j.helpers.CyclicBuffer
Get the number of elements in the buffer.
LINE_SEP - Static variable in class org.log4j.Layout
 
LINE_SEP_LEN - Static variable in class org.log4j.Layout
 
ListVsVector - class org.log4j.performance.ListVsVector.
Compares the performance of looping through a list versus a Vector.
ListVsVector() - Constructor for class org.log4j.performance.ListVsVector
 
Loader - class org.log4j.helpers.Loader.
Load things from a jar file.
Loader() - Constructor for class org.log4j.helpers.Loader
 
LOCATION_INFO_OPTION - Static variable in class org.log4j.xml.XMLLayout
This is a string constant to name the option for setting the location information flag.
LOCATION_INFO_OPTION - Static variable in class org.log4j.net.SocketAppender
A string constant used in naming the option for setting the the location information flag.
locationInfo - Variable in class org.log4j.spi.LoggingEvent
Location information for the caller.
LocationInfo - class org.log4j.spi.LocationInfo.
The internal representation of caller location information.
LocationInfo(Throwable, String) - Constructor for class org.log4j.spi.LocationInfo
Instantiate location information based on a Throwable.
LOG_AUTH - Static variable in class org.log4j.net.SyslogAppender
security/authorization messages
LOG_AUTHPRIV - Static variable in class org.log4j.net.SyslogAppender
security/authorization messages (private)
LOG_CRON - Static variable in class org.log4j.net.SyslogAppender
clock daemon
LOG_DAEMON - Static variable in class org.log4j.net.SyslogAppender
System daemons
LOG_FTP - Static variable in class org.log4j.net.SyslogAppender
ftp daemon
LOG_KERN - Static variable in class org.log4j.net.SyslogAppender
Kernel messages
LOG_LOCAL0 - Static variable in class org.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL1 - Static variable in class org.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL2 - Static variable in class org.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL3 - Static variable in class org.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL4 - Static variable in class org.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL5 - Static variable in class org.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL6 - Static variable in class org.log4j.net.SyslogAppender
reserved for local use
LOG_LOCAL7 - Static variable in class org.log4j.net.SyslogAppender
reserved for local use
LOG_LPR - Static variable in class org.log4j.net.SyslogAppender
line printer subsystem
LOG_MAIL - Static variable in class org.log4j.net.SyslogAppender
Mail system
LOG_NEWS - Static variable in class org.log4j.net.SyslogAppender
network news subsystem
LOG_SYSLOG - Static variable in class org.log4j.net.SyslogAppender
messages generated internally by syslogd
LOG_USER - Static variable in class org.log4j.net.SyslogAppender
Random user-level messages
LOG_UUCP - Static variable in class org.log4j.net.SyslogAppender
UUCP subsystem
log(Priority, String) - Method in class org.log4j.Category
Use this form for priorities which are not directly supported, namely Priority.NOTICE, Priority.ALERT, Priority.EMERG and Priority.CRIT.
log(Priority, String, Throwable) - Method in class org.log4j.Category
Use this form for priorities which are not directly supported, namely Priority.NOTICE, Priority.ALERT, Priority.EMERG and Priority.CRIT.
log(String, Priority, String, Throwable) - Method in class org.log4j.Category
This method is intended to be invoked by wrapper classes.
Logging - class org.log4j.performance.Logging.
Measure the performance of logging.
Logging() - Constructor for class org.log4j.performance.Logging
 
LoggingEvent - class org.log4j.spi.LoggingEvent.
The internal representation of logging events.
LoggingEvent(String, Category, Priority, String, Throwable) - Constructor for class org.log4j.spi.LoggingEvent
Instantiate a LoggingEvent from the supplied parameters.
LogLog - class org.log4j.helpers.LogLog.
This class used to output log statements from within the log4j package.
LogLog() - Constructor for class org.log4j.helpers.LogLog
 

M

main(String[]) - Static method in class org.log4j.performance.ListVsVector
 
main(String[]) - Static method in class org.log4j.performance.Logging
Usage: java org.log4j.test.Logging confFile runLength [delay] [burstLen]
main(String[]) - Static method in class org.log4j.performance.SystemTime
 
main(String[]) - Static method in class org.log4j.performance.NewVsSetLen
 
main(String[]) - Static method in class org.log4j.performance.NotLogging
 
main(String[]) - Static method in class org.log4j.performance.ConcatVsArray
 
main(String[]) - Static method in class org.log4j.examples.Sort
 
main(String[]) - Static method in class org.log4j.examples.NumberCruncherServer
 
main(String[]) - Static method in class org.log4j.examples.NumberCruncherClient
 
main(String[]) - Static method in class org.log4j.examples.MyPatternLayout
 
main(String[]) - Static method in class org.log4j.examples.Trivial
 
main(String[]) - Static method in class org.log4j.examples.MyCategory
This program will just print
main(String[]) - Static method in class org.log4j.net.SocketServer
 
main(String[]) - Static method in class org.log4j.varia.Roller
Send a "RollOver" message to ExternallyRolledFileAppender on host and port.
main(String[]) - Static method in class org.log4j.xml.examples.XTest
This program will just print
main(String[]) - Static method in class org.log4j.xml.examples.XMLSample
 
makeNewCategoryInstance(String) - Method in interface org.log4j.spi.CategoryFactory
 
MAX_BACKUP_INDEX_OPTION - Static variable in class org.log4j.RollingFileAppender
A string constant used in naming the option for setting the the number of backup files to retain.
MAX_CAPACITY - Variable in class org.log4j.PatternLayout
 
MAX_FILE_SIZE_OPTION - Static variable in class org.log4j.RollingFileAppender
A string constant used in naming the option for setting the maximum size of the log file.
maxBackupIndex - Variable in class org.log4j.RollingFileAppender
There is one backup file by default.
maxFileSize - Variable in class org.log4j.RollingFileAppender
The default maximum file size is 10MB.
message - Variable in class org.log4j.spi.LoggingEvent
The application supplied message of logging event.
MISSING_LAYOUT - Static variable in interface org.log4j.spi.ErrorCode
 
MyCategory - class org.log4j.examples.MyCategory.
A simple example showing Category sub-classing.
MyCategory(String) - Constructor for class org.log4j.examples.MyCategory
Just calls the parent constuctor.
MyPatternLayout - class org.log4j.examples.MyPatternLayout.
Example showing how to extend PatternLayout to recognize additional conversion characters.
MyPatternLayout() - Constructor for class org.log4j.examples.MyPatternLayout
 
MyPatternLayout(String) - Constructor for class org.log4j.examples.MyPatternLayout
 
MyPatternParser - class org.log4j.examples.MyPatternParser.
Example showing how to extend PatternParser to recognize additional conversion characters.
MyPatternParser(String) - Constructor for class org.log4j.examples.MyPatternParser
 

N

NA - Static variable in class org.log4j.spi.LocationInfo
When location information is not available the constant NA is returned.
name - Variable in class org.log4j.AppenderSkeleton
Appenders are named.
name - Variable in class org.log4j.Category
The name of this category.
ndc - Variable in class org.log4j.spi.LoggingEvent
The nested diagnostic context (NDC) of logging event.
NDC - class org.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.
ndcLookupRequired - Variable in class org.log4j.spi.LoggingEvent
Have we tried to do an NDC lookup? If we did, there is no need to do it again.
NEUTRAL - Static variable in class org.log4j.spi.Filter
This filter is neutral with respect to the log event.
NewVsSetLen - class org.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.
NewVsSetLen() - Constructor for class org.log4j.performance.NewVsSetLen
 
next - Variable in class org.log4j.spi.Filter
Points to the next filter in the filter chain.
next - Variable in class org.log4j.helpers.PatternConverter
 
NOPWriter - class org.log4j.performance.NOPWriter.
Extends Writer with methods that return immediately without doing anything.
NOPWriter() - Constructor for class org.log4j.performance.NOPWriter
 
NOTICE - Static variable in class org.log4j.Priority
 
NotLogging - class org.log4j.performance.NotLogging.
Measure the performance of evaluating whether to log or not to log, but not actually logging.
NotLogging() - Constructor for class org.log4j.performance.NotLogging
 
NTEventLogAppender - class org.log4j.nt.NTEventLogAppender.
Append to the NT event log system.
NTEventLogAppender() - Constructor for class org.log4j.nt.NTEventLogAppender
 
NTEventLogAppender(Layout) - Constructor for class org.log4j.nt.NTEventLogAppender
 
NTEventLogAppender(String) - Constructor for class org.log4j.nt.NTEventLogAppender
 
NTEventLogAppender(String, Layout) - Constructor for class org.log4j.nt.NTEventLogAppender
 
NTEventLogAppender(String, String) - Constructor for class org.log4j.nt.NTEventLogAppender
 
NTEventLogAppender(String, String, Layout) - Constructor for class org.log4j.nt.NTEventLogAppender
 
NULL_DATE_FORMAT - Static variable in class org.log4j.helpers.DateLayout
String constant designating no time information.
NullAppender - class org.log4j.performance.NullAppender.
A bogus appender which calls the format method of its layout object but does not write the result anywhere.
NullAppender() - Constructor for class org.log4j.performance.NullAppender
 
NullAppender(Layout) - Constructor for class org.log4j.performance.NullAppender
 
NumberCruncher - interface org.log4j.examples.NumberCruncher.
NumberCruncher's factor positive integers.
NumberCruncherClient - class org.log4j.examples.NumberCruncherClient.
NumberCruncherClient is a simple client for factoring integers.
NumberCruncherClient() - Constructor for class org.log4j.examples.NumberCruncherClient
 
NumberCruncherServer - class org.log4j.examples.NumberCruncherServer.
A simple NumberCruncher implementation that logs its progress when factoring numbers.
NumberCruncherServer() - Constructor for class org.log4j.examples.NumberCruncherServer
 

O

OK - Static variable in class org.log4j.varia.ExternallyRolledFileAppender
The string constant sent to acknowledge a roll over.
OnlyOnceErrorHandler - class org.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.
OnlyOnceErrorHandler() - Constructor for class org.log4j.helpers.OnlyOnceErrorHandler
 
OptionConverter - class org.log4j.helpers.OptionConverter.
A convinience class to convert property values to specific types.
optionConverterTest1() - Method in class org.log4j.helpers.UnitTestOptionConverter
 
optionConverterTest2() - Method in class org.log4j.helpers.UnitTestOptionConverter
 
optionConverterTest3() - Method in class org.log4j.helpers.UnitTestOptionConverter
 
optionConverterTest4() - Method in class org.log4j.helpers.UnitTestOptionConverter
 
OptionHandler - interface org.log4j.spi.OptionHandler.
A string based interface to configure package components.
org.log4j - package org.log4j
The main package of log4j.
org.log4j.examples - package org.log4j.examples
Example usage of log4j including source code.
org.log4j.helpers - package org.log4j.helpers
This package is used internally.
org.log4j.net - package org.log4j.net
Package for remote logging.
org.log4j.nt - package org.log4j.nt
Package for NT event logging.
org.log4j.performance - package org.log4j.performance
Package to measure the performance of the different log4j components.
org.log4j.spi - package org.log4j.spi
Contains part of the System Programming Interface (SPI) needed to extend log4j.
org.log4j.varia - package org.log4j.varia
Contains various appenders, filters and other odds and ends.
org.log4j.xml - package org.log4j.xml
XML based components.
org.log4j.xml.examples - package org.log4j.xml.examples
Example usage of log4j with XML (including source code).
overrideAsNeeded(String) - Static method in class org.log4j.BasicConfigurator
Override the shipped code flag if the override parameter is not null.

P

parent - Variable in class org.log4j.Category
The parent of this category.
parse() - Method in class org.log4j.helpers.PatternParser
 
parse(Element) - Method in class org.log4j.xml.DOMConfigurator
Used internally to configure the log4j framework by parsing a DOM tree of XML elements based on log4j.dtd.
parse(String, ParsePosition) - Method in class org.log4j.helpers.RelativeTimeDateFormat
This method does not do anything but return null.
parse(String, ParsePosition) - Method in class org.log4j.helpers.AbsoluteTimeDateFormat
This method does not do anything but return null.
parse(String, ParsePosition) - Method in class org.log4j.helpers.ISO8601DateFormat
This method does not do anything but return null.
parse(String, ParsePosition) - Method in class org.log4j.helpers.DateTimeDateFormat
This method does not do anything but return null.
parseAppender(Element) - Method in class org.log4j.xml.DOMConfigurator
Used internally to parse an appender element.
parseCategory(Element) - Method in class org.log4j.xml.DOMConfigurator
Used internally to parse an category element.
parseChildrenOfCategoryElement(Element, Category, boolean) - Method in class org.log4j.xml.DOMConfigurator
Used internally to parse the children of a category element.
parseErrorHandler(Element, Appender) - Method in class org.log4j.xml.DOMConfigurator
Used internally to parse an ErrorHandler element.
parseFilters(Element, Appender) - Method in class org.log4j.xml.DOMConfigurator
Used internally to parse a filter element.
parseLayout(Element) - Method in class org.log4j.xml.DOMConfigurator
Used internally to parse a layout element.
parseParameters(Element, OptionHandler) - Method in class org.log4j.xml.DOMConfigurator
Used internally to parse an param element.
parsePriority(Element, Category, boolean) - Method in class org.log4j.xml.DOMConfigurator
Used internally to parse a priority element.
parseRoot(Element) - Method in class org.log4j.xml.DOMConfigurator
Used internally to parse the roor category element.
pattern - Variable in class org.log4j.helpers.PatternParser
 
PatternConverter - class org.log4j.helpers.PatternConverter.
PatternConverter is an abtract class that provides the formatting functionality that derived classes need.
PatternConverter() - Constructor for class org.log4j.helpers.PatternConverter
 
PatternConverter(FormattingInfo) - Constructor for class org.log4j.helpers.PatternConverter
 
PatternLayout - class org.log4j.PatternLayout.
A flexible layout configurable with pattern string.
PatternLayout() - Constructor for class org.log4j.PatternLayout
Constructs a PatternLayout using the DEFAULT_LAYOUT_PATTERN.
PatternLayout(String) - Constructor for class org.log4j.PatternLayout
Constructs a PatternLayout using the supplied conversion pattern.
patternLength - Variable in class org.log4j.helpers.PatternParser
 
PatternParser - class org.log4j.helpers.PatternParser.
Most of the work of the PatternLayout class is delegated to the PatternParser class.
PatternParser(String) - Constructor for class org.log4j.helpers.PatternParser
 
pop() - Static method in class org.log4j.NDC
Clients should call this method before leaving a diagnostic context.
PORT_OPTION - Static variable in class org.log4j.net.SocketAppender
A string constant used in naming the option for setting the the port to contect on the remote server.
PORT_OPTION - Static variable in class org.log4j.varia.ExternallyRolledFileAppender
A string constant used in naming the option for setting the port for listening to external roll over messages.
pos - Variable in class org.log4j.helpers.DateLayout
 
println(char[]) - Method in class org.log4j.helpers.TracerPrintWriter
 
println(Object) - Method in class org.log4j.helpers.TracerPrintWriter
 
println(String) - Method in class org.log4j.helpers.TracerPrintWriter
 
priority - Variable in class org.log4j.Category
The assigned priority of this category.
priority - Variable in class org.log4j.spi.LoggingEvent
Priority of logging event.
Priority - class org.log4j.Priority.
The Priority class defines the priorities that log4j recognizes.
PRIORITY_TO_MATCH_OPTION - Static variable in class org.log4j.varia.PriorityMatchFilter
 
Priority(int) - Constructor for class org.log4j.Priority
Constructor for the Priority class.
PriorityMatchFilter - class org.log4j.varia.PriorityMatchFilter.
This is a very simple filter based on priority matching.
PriorityMatchFilter() - Constructor for class org.log4j.varia.PriorityMatchFilter
 
PropertyConfigurator - class org.log4j.PropertyConfigurator.
Extends BasicConfigurator to provide configuration from an external file.
push(String) - Static method in class org.log4j.NDC
Push new diagnostic context information for the current thread.
put(LoggingEvent) - Method in class org.log4j.helpers.BoundedFIFO
Place a LoggingEvent in the buffer.

Q

QuietWriter - class org.log4j.helpers.QuietWriter.
QuietWriter does not throw exceptions when things go wrong.
QuietWriter(Writer, ErrorHandler) - Constructor for class org.log4j.helpers.QuietWriter
 
qw - Variable in class org.log4j.FileAppender
This is the quietWriter where we will write to.
qwIsOurs - Variable in class org.log4j.FileAppender
Is the QuietWriter ours or was it created and passed by the user?
qWriter - Variable in class org.log4j.helpers.TracerPrintWriter
 

R

RECONNECTION_DELAY_OPTION - Static variable in class org.log4j.net.SocketAppender
A string constant used in naming the option for setting the delay between each reconneciton attempt to remote server.
registry - Static variable in class org.log4j.PropertyConfigurator
Used internally to keep track of configured appenders.
RELATIVE_TIME_DATE_FORMAT - Static variable in class org.log4j.helpers.DateLayout
String constant designating relative time.
RelativeTimeDateFormat - class org.log4j.helpers.RelativeTimeDateFormat.
Formats a Date by printing the number of milliseconds elapsed since the start of the application.
RelativeTimeDateFormat() - Constructor for class org.log4j.helpers.RelativeTimeDateFormat
 
REMOTE_HOST_OPTION - Static variable in class org.log4j.net.SocketAppender
A string constant used in naming the option for setting the the host name of the remote server.
remove() - Static method in class org.log4j.NDC
Remove the diagnostic context for this thread.
removeAllAppenders() - Method in class org.log4j.AsyncAppender
 
removeAllAppenders() - Method in class org.log4j.Category
Remove all previously added appenders from this Category instance.
removeAllAppenders() - Method in interface org.log4j.spi.AppenderAttachable
Remove all previously added appenders.
removeAllAppenders() - Method in class org.log4j.helpers.AppenderAttachableImpl
Remove all previously attached appenders.
removeAppender(Appender) - Method in class org.log4j.AsyncAppender
 
removeAppender(Appender) - Method in class org.log4j.Category
Remove the appender passed as parameter form the list of appenders.
removeAppender(Appender) - Method in interface org.log4j.spi.AppenderAttachable
Remove the appender passed as parameter form the list of appenders.
removeAppender(Appender) - Method in class org.log4j.helpers.AppenderAttachableImpl
Remove the appender passed as parameter form the list of attached appenders.
removeAppender(String) - Method in class org.log4j.AsyncAppender
 
removeAppender(String) - Method in class org.log4j.Category
Remove the appender with the name passed as parameter form the list of appenders.
removeAppender(String) - Method in interface org.log4j.spi.AppenderAttachable
Remove the appender with the name passed as parameter form the list of appenders.
removeAppender(String) - Method in class org.log4j.helpers.AppenderAttachableImpl
Remove the appender with the name passed as parameter form the list of appenders.
ReportParserError - class org.log4j.xml.examples.ReportParserError.
This class is needed for validating a log4j.dtd derived XML file.
ReportParserError() - Constructor for class org.log4j.xml.examples.ReportParserError
 
requiresLayout() - Method in class org.log4j.AsyncAppender
The AsyncAppender does not require a layout.
requiresLayout() - Method in class org.log4j.FileAppender
The FileAppender requires a layout.
requiresLayout() - Method in interface org.log4j.Appender
Configurators call this method to determine if the appender requires a layout.
requiresLayout() - Method in class org.log4j.performance.NullAppender
This is a bogus appender but it still uses a layout.
requiresLayout() - Method in class org.log4j.net.SocketAppender
The SocketAppender does not use a layout.
requiresLayout() - Method in class org.log4j.net.SyslogAppender
The SyslogAppender requires a layout.
requiresLayout() - Method in class org.log4j.nt.NTEventLogAppender
The NTEventLogAppender requires a layout.
reset() - Method in class org.log4j.FileAppender
 
reset() - Method in class org.log4j.varia.ResilientFileAppender
 
resetConfiguration() - Static method in class org.log4j.BasicConfigurator
Reset the configuration to its default.
ResilientFileAppender - class org.log4j.varia.ResilientFileAppender.
This appender is resilient against moving of the log output file.
ResilientFileAppender() - Constructor for class org.log4j.varia.ResilientFileAppender
Thia default constructor does nothing but call its super-class constructor.
ResilientFileAppender(Layout, Writer) - Constructor for class org.log4j.varia.ResilientFileAppender
This constructor does nothing but call its super-class constructor with the same parameters.
resourceBundle - Variable in class org.log4j.Category
 
ROLL_OVER - Static variable in class org.log4j.varia.ExternallyRolledFileAppender
The string constant sent to initiate a roll over.
Roller - class org.log4j.varia.Roller.
A simple application to send roll over messages to a potentially remote ExternallyRolledFileAppender.
RollingFileAppender - class org.log4j.RollingFileAppender.
RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.
RollingFileAppender() - Constructor for class org.log4j.RollingFileAppender
The default constructor simply calls its parents constructor.
RollingFileAppender(Layout, OutputStream) - Constructor for class org.log4j.RollingFileAppender
Deprecated. This constructor does not allow to roll files and will disappear in the near future.
RollingFileAppender(Layout, String) - Constructor for class org.log4j.RollingFileAppender
Instantiate a FileAppender and open the file designated by filename.
RollingFileAppender(Layout, String, boolean) - Constructor for class org.log4j.RollingFileAppender
Instantiate a RollingFileAppender and open the file designated by filename.
RollingFileAppender(Layout, Writer) - Constructor for class org.log4j.RollingFileAppender
Deprecated. This constructor does not allow to roll files and will disappear in the near future.
rollOver() - Method in class org.log4j.RollingFileAppender
Implemetns the usual roll over behaviour.
RootCategory - class org.log4j.spi.RootCategory.
RootCategory sits at the top of the category hierachy.
RootCategory(Priority) - Constructor for class org.log4j.spi.RootCategory
The root category names itself as "root".
run() - Method in class org.log4j.helpers.FileWatchdog
 
run() - Method in class org.log4j.net.SocketNode
 

S

s - Static variable in class org.log4j.performance.NullAppender
 
setAdditivity(boolean) - Method in class org.log4j.Category
Set the additivity flag for this Category instance.
setCategoryPrefixing(boolean) - Method in class org.log4j.TTCCLayout
Provides an alternate mehtod to setting the CategoryPrefixing option.
setConversionPattern(String) - Method in class org.log4j.PatternLayout
Set the conversion pattern.
setCount(long) - Method in class org.log4j.helpers.CountingQuietWriter
 
setDateFormat(DateFormat, TimeZone) - Method in class org.log4j.helpers.DateLayout
Sets the DateFormat used to format time and date in the zone determined by timeZone.
setDateFormat(String) - Method in class org.log4j.helpers.DateLayout
 
setDateFormat(String, TimeZone) - Method in class org.log4j.helpers.DateLayout
Sets the DateFormat used to format date and time in the time zone determined by timeZone parameter.
setDelay(long) - Method in class org.log4j.helpers.FileWatchdog
Set the delay to observe between each check of the file changes.
setErrorHandler(ErrorHandler) - Method in class org.log4j.AppenderSkeleton
Set the ErrorHandler for this Appender.
setErrorHandler(ErrorHandler) - Method in class org.log4j.FileAppender
Set the ErrorHandler for this FileAppender and also the undelying QuietWriter if any.
setErrorHandler(ErrorHandler) - Method in interface org.log4j.Appender
Set the ErrorHandler for this appender.
setErrorHandler(ErrorHandler) - Method in class org.log4j.helpers.QuietWriter
 
setFacility(String) - Method in class org.log4j.net.SyslogAppender
Set the syslog facility.
setFile(String) - Method in class org.log4j.FileAppender
Sets and opens the file where the log output will go.
setFile(String, boolean) - Method in class org.log4j.FileAppender
Sets and opens the file where the log output will go.
setFile(String, boolean) - Method in class org.log4j.RollingFileAppender
 
setFile(String, boolean) - Method in class org.log4j.varia.ResilientFileAppender
 
setInternalDebugging(boolean) - Static method in class org.log4j.helpers.LogLog
Allows to enable/disable log4j internal logging.
setLayout(Layout) - Method in class org.log4j.AppenderSkeleton
Set the layout for this appender.
setLayout(Layout) - Method in interface org.log4j.Appender
Set the Layout for this appender.
setLocationInformation() - Method in class org.log4j.spi.LoggingEvent
Set the location information for this logging event.
setMaxBackupIndex(int) - Method in class org.log4j.RollingFileAppender
Set the maximum number of backup files to keep around.
setMaxDepth(int) - Static method in class org.log4j.NDC
Set maximum depth of this diagnostic context.
setMaxFileSize(long) - Method in class org.log4j.RollingFileAppender
Set the maximum size that the output file is allowed to reach before being rolled over.
setName(String) - Method in class org.log4j.AppenderSkeleton
Set the name of this Appender.
setName(String) - Method in interface org.log4j.Appender
Set the name of this appender.
setOption(String, String) - Method in class org.log4j.AppenderSkeleton
Configurable Appenders should override this method if they admit additional options.
setOption(String, String) - Method in class org.log4j.SimpleLayout
 
setOption(String, String) - Method in class org.log4j.FileAppender
Set FileAppender specific options.
setOption(String, String) - Method in class org.log4j.PatternLayout
The PatternLayout specific options are:
setOption(String, String) - Method in class org.log4j.TTCCLayout
On top of the DateLayout options TTCCLayout specific options are:
setOption(String, String) - Method in class org.log4j.RollingFileAppender
Set RollingFileAppender specific options.
setOption(String, String) - Method in interface org.log4j.spi.OptionHandler
Set option to value.
setOption(String, String) - Method in class org.log4j.helpers.DateLayout
The DateLayout specific options are:
setOption(String, String) - Method in class org.log4j.helpers.OnlyOnceErrorHandler
No options to set.
setOption(String, String) - Method in class org.log4j.xml.XMLLayout
The XMLLayout specific options are:
setOption(String, String) - Method in class org.log4j.net.SocketAppender
Set SocketAppender specific options.
setOption(String, String) - Method in class org.log4j.net.SyslogAppender
Set SyslogAppender specific parameters.
setOption(String, String) - Method in class org.log4j.varia.StringMatchFilter
 
setOption(String, String) - Method in class org.log4j.varia.DenyAllFilter
No options to set.
setOption(String, String) - Method in class org.log4j.varia.ExternallyRolledFileAppender
The Port options takes a
setOption(String, String) - Method in class org.log4j.varia.PriorityMatchFilter
 
setOption(String, String) - Method in class org.log4j.xml.examples.XCategory
 
setPriority(int) - Method in class org.log4j.helpers.SyslogQuietWriter
 
setPriority(Priority) - Method in class org.log4j.Category
Set the priority of this Category.
setPriority(Priority) - Method in class org.log4j.spi.RootCategory
Setting a null value to the root category may have catastrophic results.
setQuietWriter(QuietWriter) - Method in class org.log4j.helpers.TracerPrintWriter
 
setQWForFiles(Writer) - Method in class org.log4j.FileAppender
 
setQWForFiles(Writer) - Method in class org.log4j.RollingFileAppender
 
setResourceBundle(ResourceBundle) - Method in class org.log4j.Category
Set the resource bundle to be used with localized logging methods Category.l7dlog(Priority,String,Throwable) and Category.l7dlog(Priority,String,Object[],Throwable).
setRootPriority(Priority) - Static method in class org.log4j.Category
Set the priority of the root category.
setSyslogFacility(int) - Method in class org.log4j.helpers.SyslogQuietWriter
 
setSyslogHost(String) - Method in class org.log4j.net.SyslogAppender
 
setThreadPrinting(boolean) - Method in class org.log4j.TTCCLayout
Provides an alternate mehtod to setting the ThreadPrinting option.
setThreshold(Priority) - Method in class org.log4j.AppenderSkeleton
Set the threshold priority.
setUp() - Method in class org.log4j.helpers.UnitTestOptionConverter
 
setWriter(Writer) - Method in class org.log4j.FileAppender
Sets the Writer where the log output will go.
SimpleLayout - class org.log4j.SimpleLayout.
SimpleLayout consists of the priority of the log statement, followed by " - " and then the log message itself.
SimpleLayout() - Constructor for class org.log4j.SimpleLayout
 
SocketAppender - class org.log4j.net.SocketAppender.
Sends LoggingEvent objects to a remote a log server, usually a SocketNode.
SocketAppender() - Constructor for class org.log4j.net.SocketAppender
 
SocketAppender(InetAddress, int) - Constructor for class org.log4j.net.SocketAppender
Connects to remote server at address and port.
SocketAppender(String, int) - Constructor for class org.log4j.net.SocketAppender
Connects to remote server at host and port.
SocketNode - class org.log4j.net.SocketNode.
Read LoggingEvent objects sent from a remote client using Sockets (TCP).
SocketNode(Socket) - Constructor for class org.log4j.net.SocketNode
 
SocketServer - class org.log4j.net.SocketServer.
A simple SocketNode based server.
SocketServer() - Constructor for class org.log4j.net.SocketServer
 
Sort - class org.log4j.examples.Sort.
Example code for log4j to viewed in conjunction with the SortAlgo class.
Sort() - Constructor for class org.log4j.examples.Sort
 
SortAlgo - class org.log4j.examples.SortAlgo.
Example code for log4j to viewed in conjunction with the Sort class.
spacePad(StringBuffer, int) - Method in class org.log4j.helpers.PatternConverter
Fast space padding method.
startTime - Variable in class org.log4j.helpers.RelativeTimeDateFormat
 
STRING_TO_MATCH_OPTION - Static variable in class org.log4j.varia.StringMatchFilter
 
StringMatchFilter - class org.log4j.varia.StringMatchFilter.
This is a very simple filter based on string matching.
StringMatchFilter() - Constructor for class org.log4j.varia.StringMatchFilter
 
strValue - Variable in class org.log4j.Priority
 
subAppend(LoggingEvent) - Method in class org.log4j.FileAppender
Actual writing occurs here.
subAppend(LoggingEvent) - Method in class org.log4j.RollingFileAppender
This method differentiates RollingFileAppender from its super class.
substituteVars(String) - Static method in class org.log4j.helpers.OptionConverter
Perform variable substitution in string val from the values of keys found in the system propeties.
SUFFIX_OPTION - Static variable in class org.log4j.xml.examples.XCategory
 
suite() - Static method in class org.log4j.helpers.UnitTestOptionConverter
 
SYSLOG_HOST_OI - Static variable in class org.log4j.net.SyslogAppender
 
SYSLOG_HOST_OPTION - Static variable in class org.log4j.net.SyslogAppender
A string constant used in naming the option for setting the the syslog server.
SyslogAppender - class org.log4j.net.SyslogAppender.
Use SyslogAppender to send log messages to a remote syslog daemon.
SyslogAppender() - Constructor for class org.log4j.net.SyslogAppender
 
SyslogAppender(Layout, int) - Constructor for class org.log4j.net.SyslogAppender
 
SyslogAppender(Layout, String, int) - Constructor for class org.log4j.net.SyslogAppender
 
SyslogQuietWriter - class org.log4j.helpers.SyslogQuietWriter.
SyslogQuietWriter extends QuietWriter by prepending the syslog priority code before each printed String.
SyslogQuietWriter(Writer, int, ErrorHandler) - Constructor for class org.log4j.helpers.SyslogQuietWriter
 
SyslogWriter - class org.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.log4j.helpers.SyslogWriter
 
SystemTime - class org.log4j.performance.SystemTime.
Measures the time required to make a System.currentTimeMillis() and Thread.currentThread().getName() calls.
SystemTime() - Constructor for class org.log4j.performance.SystemTime
 

T

t - Variable in class org.log4j.performance.NullAppender
 
tailFilter - Variable in class org.log4j.AppenderSkeleton
The last filter in the filter chain.
tearDown() - Method in class org.log4j.helpers.UnitTestOptionConverter
 
THREAD_PRINTING_OPTION - Static variable in class org.log4j.TTCCLayout
 
threadName - Variable in class org.log4j.spi.LoggingEvent
The name of thread in which this logging event was generated.
threshold - Variable in class org.log4j.AppenderSkeleton
There is no priority threshold filtering by default.
THRESHOLD_OPTION - Static variable in class org.log4j.AppenderSkeleton
A string constant used in naming the option for setting the threshold for the appender.
throwable - Variable in class org.log4j.spi.LoggingEvent
The throwable associated with this logging event.
throwableInformation - Variable in class org.log4j.spi.LoggingEvent
This variable collects the info on a throwable.
timeStamp - Variable in class org.log4j.spi.LoggingEvent
The number of milliseconds elapsed from 1/1/1970 until logging event was created.
TIMEZONE_OPTION - Static variable in class org.log4j.helpers.DateLayout
 
toBoolean(String, boolean) - Static method in class org.log4j.helpers.OptionConverter
If value is "true", then true is returned.
toFileSize(String, long) - Static method in class org.log4j.helpers.OptionConverter
 
toInt() - Method in class org.log4j.Priority
 
toInt(String, int) - Static method in class org.log4j.helpers.OptionConverter
 
toPriority(int) - Static method in class org.log4j.Priority
Converts an integer into a Priority.
toPriority(int) - Static method in class org.log4j.xml.examples.XPriority
 
toPriority(String) - Static method in class org.log4j.Priority
Converts a String into a Priority.
toPriority(String) - Static method in class org.log4j.xml.examples.XPriority
 
toPriority(String, Priority) - Static method in class org.log4j.Priority
Converts a String into a Priority.
toString() - Method in class org.log4j.Priority
Return the string corresponding to the priority.
toSyslogInt() - Method in class org.log4j.Priority
Return the equivalent syslog priority integer for this Priority instance.
toSyslogInt() - Method in class org.log4j.xml.examples.XPriority
 
tp - Variable in class org.log4j.FileAppender
TracerPrintWriter is specialized in optimized printing of stack traces (obtained from throwables) to a Writer.
TRACE - Static variable in class org.log4j.xml.examples.XPriority
 
trace(String) - Method in class org.log4j.xml.examples.XCategory
 
TracerPrintWriter - class org.log4j.helpers.TracerPrintWriter.
A PrintWriter used to print stack traces of exceptions.
TracerPrintWriter(QuietWriter) - Constructor for class org.log4j.helpers.TracerPrintWriter
 
Trivial - class org.log4j.examples.Trivial.
View the source code of this a trivial usage example.
Trivial() - Constructor for class org.log4j.examples.Trivial
 
TTCC_CONVERSION_PATTERN - Static variable in class org.log4j.PatternLayout
A conversion pattern equivalent to the TTCCCLayout.
TTCCLayout - class org.log4j.TTCCLayout.
TTCC layout format consists of time, thread, category and nested diagnostic context information, hence the name.
TTCCLayout() - Constructor for class org.log4j.TTCCLayout
Instantiate a TTCCLayout object with RelativeTimeDateFormat as the date formatter in the local time zone.
TTCCLayout(String) - Constructor for class org.log4j.TTCCLayout
Instantiate a TTCCLayout object using the local time zone.

U

UnitTestOptionConverter - class org.log4j.helpers.UnitTestOptionConverter.
Used for internal unit testing.
UnitTestOptionConverter(String) - Constructor for class org.log4j.helpers.UnitTestOptionConverter
 

V

value - Variable in class org.log4j.Priority
 

W

WARN - Static variable in class org.log4j.Priority
 
warn(Object) - Method in class org.log4j.Category
Log an object with warn priority.
warn(String) - Method in class org.log4j.Category
Log a message with warn priority.
warn(String, Throwable) - Method in class org.log4j.Category
Log a message with the warn priority.
warning(SAXParseException) - Method in class org.log4j.xml.examples.ReportParserError
 
wasEmpty() - Method in class org.log4j.helpers.BoundedFIFO
Returns true if there is just one element in the buffer.
wasFull() - Method in class org.log4j.helpers.BoundedFIFO
Returns true if there the number of elements in the buffer plus 1 equals the maximum buffer size, returns false otherwise.
WRITE_FAILURE - Static variable in interface org.log4j.spi.ErrorCode
 
write(char[]) - Method in class org.log4j.performance.NOPWriter
 
write(char[], int, int) - Method in class org.log4j.helpers.SyslogWriter
 
write(char[], int, int) - Method in class org.log4j.performance.NOPWriter
 
write(int) - Method in class org.log4j.performance.NOPWriter
 
write(String) - Method in class org.log4j.helpers.QuietWriter
 
write(String) - Method in class org.log4j.helpers.SyslogQuietWriter
 
write(String) - Method in class org.log4j.helpers.CountingQuietWriter
 
write(String) - Method in class org.log4j.helpers.SyslogWriter
 
write(String) - Method in class org.log4j.performance.NOPWriter
 
write(String, int, int) - Method in class org.log4j.performance.NOPWriter
 

X

XCategory - class org.log4j.xml.examples.XCategory.
A simple example showing Category sub-classing.
XCategory(String) - Constructor for class org.log4j.xml.examples.XCategory
Just calls the parent constuctor.
XMLLayout - class org.log4j.xml.XMLLayout.
The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd.
XMLLayout() - Constructor for class org.log4j.xml.XMLLayout
 
XMLSample - class org.log4j.xml.examples.XMLSample.
This example code shows how to read an XML based configuration file using a DOM parser.
XMLSample() - Constructor for class org.log4j.xml.examples.XMLSample
 
XPriority - class org.log4j.xml.examples.XPriority.
This class introduces a new priority level called TRACE.
XPriority(int) - Constructor for class org.log4j.xml.examples.XPriority
 
XTest - class org.log4j.xml.examples.XTest.
A simple example showing Category sub-classing.
XTest() - Constructor for class org.log4j.xml.examples.XTest
 

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

Please notify me about new log4j releases.