Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abbreviate(int, StringBuffer) - Method in class org.apache.log4j.pattern.NameAbbreviator
-
Abbreviates a name in a StringBuffer.
- abbreviate(int, StringBuffer) - Method in class org.apache.log4j.pattern.NamePatternConverter
-
Abbreviate name in string buffer.
- ABS_TIME_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
-
String constant used to specify
AbsoluteTimeDateFormat
in layouts. - AbsoluteTimeDateFormat - Class in org.apache.log4j.helpers
-
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
- ACCEPT - Static variable in class org.apache.log4j.spi.Filter
-
The log event must be logged immediately without consulting with the remaining filters, if any, in the chain.
- ACCEPT_ON_MATCH_OPTION - Static variable in class org.apache.log4j.varia.StringMatchFilter
-
Deprecated.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
- 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.EnhancedPatternLayout
-
Activates the conversion pattern.
- activateOptions() - Method in class org.apache.log4j.FileAppender
-
If the value of File is not
null
, thenFileAppender.setFile(java.lang.String)
is called with the values of File and Append properties. - activateOptions() - Method in class org.apache.log4j.helpers.DateLayout
- activateOptions() - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
-
No options to activate.
- activateOptions() - Method in class org.apache.log4j.HTMLLayout
-
No options to activate.
- activateOptions() - Method in class org.apache.log4j.jdbc.JDBCAppender
- 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.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.PatternLayout
-
Does not do anything as options become effective
- activateOptions() - Method in class org.apache.log4j.SimpleLayout
- activateOptions() - Method in class org.apache.log4j.spi.Filter
-
Usually filters options become active when set.
- activateOptions() - Method in interface org.apache.log4j.spi.OptionHandler
-
Activate the options that were previously set with calls to option setters.
- activateOptions() - Method in class org.apache.log4j.varia.ExternallyRolledFileAppender
-
Start listening on the port specified by a preceding call to
ExternallyRolledFileAppender.setPort(int)
. - activateOptions() - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
No options to activate.
- activateOptions() - Method in class org.apache.log4j.varia.NullAppender
-
There are no options to acticate.
- activateOptions() - Method in class org.apache.log4j.WriterAppender
-
Does nothing.
- activateOptions() - Method in class org.apache.log4j.xml.XMLLayout
-
No options to activate.
- add(int, E) - Method in class org.apache.log4j.helpers.COWArrayList
- add(E) - Method in class org.apache.log4j.helpers.COWArrayList
- add(LoggingEvent) - Method in class org.apache.log4j.helpers.CyclicBuffer
-
Add an
event
as the last event in the buffer. - addAll(int, Collection<? extends E>) - Method in class org.apache.log4j.helpers.COWArrayList
- addAll(Collection<? extends E>) - Method in class org.apache.log4j.helpers.COWArrayList
- addAppender(Appender) - Method in class org.apache.log4j.AsyncAppender
-
Add appender.
- addAppender(Appender) - Method in class org.apache.log4j.Category
-
Add
newAppender
to the list of appenders of this Category instance. - addAppender(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
-
Attach an appender.
- addAppender(Appender) - Method in class org.apache.log4j.rewrite.RewriteAppender
-
Add appender.
- addAppender(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Add an appender.
- addAppender(Appender) - Method in class org.apache.log4j.spi.NOPLogger
-
Add
newAppender
to the list of appenders of this Category instance. - addAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
- addConverter(PatternConverter) - Method in class org.apache.log4j.helpers.PatternParser
- addFilter(Filter) - Method in interface org.apache.log4j.Appender
-
Add a filter to the end of the filter list.
- addFilter(Filter) - Method in class org.apache.log4j.AppenderSkeleton
-
Add a filter to end of the filter list.
- addHierarchyEventListener(HierarchyEventListener) - Method in class org.apache.log4j.Hierarchy
- addHierarchyEventListener(HierarchyEventListener) - Method in interface org.apache.log4j.spi.LoggerRepository
-
Add a
HierarchyEventListener
event to the repository. - addHierarchyEventListener(HierarchyEventListener) - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Add a
HierarchyEventListener
event to the repository. - addIfAbsent(E) - Method in class org.apache.log4j.helpers.COWArrayList
- additive - Variable in class org.apache.log4j.Category
-
Additivity is set to true by default, that is children inherit the appenders of their ancestors by default.
- addRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.Hierarchy
-
Add an object renderer for a specific class.
- addRenderer(RendererSupport, String, String) - Static method in class org.apache.log4j.or.RendererMap
-
Add a renderer to a hierarchy passed as parameter.
- ADDRESS_PARSE_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
- addressMessage(Message) - Method in class org.apache.log4j.net.SMTPAppender
-
Address message.
- addToWhitelist(List<String>) - Method in class org.apache.log4j.net.HardenedObjectInputStream
- advertise() - Method in class org.apache.log4j.net.ZeroConfSupport
- ALL - Static variable in class org.apache.log4j.Level
-
The
ALL
has the lowest possible rank and is intended to turn on all logging. - ALL_INT - Static variable in class org.apache.log4j.Priority
- append(LoggingEvent) - Method in class org.apache.log4j.AppenderSkeleton
-
Subclasses of
AppenderSkeleton
should implement this method to perform actual logging. - append(LoggingEvent) - Method in class org.apache.log4j.AsyncAppender
-
Subclasses of
AppenderSkeleton
should implement this method to perform actual logging. - append(LoggingEvent) - Method in class org.apache.log4j.jdbc.JDBCAppender
-
Adds the event to the buffer.
- append(LoggingEvent) - Method in class org.apache.log4j.net.JMSAppender
-
This method called by
AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent)
method to do most of the real appending work. - append(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(LoggingEvent) - Method in class org.apache.log4j.net.SocketAppender
- append(LoggingEvent) - Method in class org.apache.log4j.net.SocketHubAppender
-
Append an event to all of current connections.
- append(LoggingEvent) - Method in class org.apache.log4j.net.SyslogAppender
- append(LoggingEvent) - Method in class org.apache.log4j.net.TelnetAppender
-
Handles a log event.
- append(LoggingEvent) - Method in class org.apache.log4j.rewrite.RewriteAppender
-
Subclasses of
AppenderSkeleton
should implement this method to perform actual logging. - append(LoggingEvent) - Method in class org.apache.log4j.varia.NullAppender
-
Does not do anything.
- append(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
-
This method is called by the
AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent)
method. - Appender - Interface in org.apache.log4j
-
Implement this interface for your own strategies for outputting log statements.
- AppenderAttachable - Interface in org.apache.log4j.spi
-
Interface for attaching appenders to objects.
- AppenderAttachableImpl - Class in org.apache.log4j.helpers
-
A straightforward implementation of the
AppenderAttachable
interface. - AppenderAttachableImpl() - Constructor for class org.apache.log4j.helpers.AppenderAttachableImpl
- appenderNames - Variable in class org.apache.log4j.config.PropertyPrinter
- AppenderSkeleton - Class in org.apache.log4j
-
Abstract superclass of the other appenders in the package.
- AppenderSkeleton() - Constructor for class org.apache.log4j.AppenderSkeleton
-
Create new instance.
- AppenderSkeleton(boolean) - Constructor for class org.apache.log4j.AppenderSkeleton
-
Create new instance.
- 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.
- appendLoopOnAppenders(LoggingEvent) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
-
Call the
doAppend
method on all attached appenders. - assertLog(boolean, String) - Method in class org.apache.log4j.Category
- assertLog(boolean, String) - Method in class org.apache.log4j.spi.NOPLogger
- asTypedArray() - Method in class org.apache.log4j.helpers.COWArrayList
-
Return an array of type E[].
- AsyncAppender - Class in org.apache.log4j
-
The AsyncAppender lets users log events asynchronously.
- AsyncAppender() - Constructor for class org.apache.log4j.AsyncAppender
-
Create new instance.
- AttributesRenderer - Class in org.apache.log4j.or.sax
-
Render
org.xml.sax.Attributes
objects. - AttributesRenderer() - Constructor for class org.apache.log4j.or.sax.AttributesRenderer
B
- BasicConfigurator - Class in org.apache.log4j
-
Use this class to quickly configure the package.
- BasicConfigurator() - Constructor for class org.apache.log4j.BasicConfigurator
- BoundedFIFO - Class in org.apache.log4j.helpers
-
BoundedFIFO
serves as the bounded first-in-first-out buffer heavily used by theAsyncAppender
. - BoundedFIFO(int) - Constructor for class org.apache.log4j.helpers.BoundedFIFO
-
Instantiate a new BoundedFIFO with a maximum size passed as argument.
- BridgePatternConverter - Class in org.apache.log4j.pattern
-
The class implements the pre log4j 1.3 org.apache.log4j.helpers.PatternConverter contract by delegating to the log4j 1.3 pattern implementation.
- BridgePatternConverter(String) - Constructor for class org.apache.log4j.pattern.BridgePatternConverter
-
Create a new instance.
- BridgePatternParser - Class in org.apache.log4j.pattern
-
The class implements the pre log4j 1.3 org.apache.log4j.helpers.PatternConverter contract by delegating to the log4j 1.3 pattern implementation.
- BridgePatternParser(String) - Constructor for class org.apache.log4j.pattern.BridgePatternParser
-
Create a new instance.
- buf - Variable in class org.apache.log4j.TTCCLayout
- BUF_SIZE - Variable in class org.apache.log4j.EnhancedPatternLayout
-
Deprecated.since 1.3
- BUF_SIZE - Variable in class org.apache.log4j.HTMLLayout
- BUF_SIZE - Variable in class org.apache.log4j.PatternLayout
- buffer - Variable in class org.apache.log4j.jdbc.JDBCAppender
-
ArrayList holding the buffer of Logging Events.
- bufferedIO - Variable in class org.apache.log4j.FileAppender
-
Do we do bufferedIO?
- bufferSize - Variable in class org.apache.log4j.FileAppender
-
Determines the size of IO buffer be.
- bufferSize - Variable in class org.apache.log4j.jdbc.JDBCAppender
-
size of LoggingEvent buffer before writting to the database.
C
- CachedDateFormat - Class in org.apache.log4j.pattern
-
CachedDateFormat optimizes the performance of a wrapped DateFormat.
- CachedDateFormat(DateFormat, int) - Constructor for class org.apache.log4j.pattern.CachedDateFormat
-
Creates a new CachedDateFormat object.
- callAppenders(LoggingEvent) - Method in class org.apache.log4j.Category
-
Call the appenders in the hierrachy starting at
this
. - callAppenders(LoggingEvent) - Method in class org.apache.log4j.spi.NOPLogger
-
Call the appenders in the hierrachy starting at
this
. - capitalize(String) - Static method in class org.apache.log4j.config.PropertyPrinter
- Category - Class in org.apache.log4j
-
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 - Variable in class org.apache.log4j.pattern.LogEvent
-
Deprecated.This field will be marked as private in future releases. Please do not access it directly. Use the
LogEvent.getLoggerName()
method instead. - categoryName - Variable in class org.apache.log4j.spi.LoggingEvent
-
Deprecated.This field will be marked as private in future releases. Please do not access it directly. Use the
LoggingEvent.getLoggerName()
method instead. - catFactory - Variable in class org.apache.log4j.xml.DOMConfigurator
- cb - Variable 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
- ClassNamePatternConverter - Class in org.apache.log4j.pattern
-
Formats the class name of the site of the logging request.
- 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.helpers.COWArrayList
- 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.MDC
-
Remove all values from the MDC.
- 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 interface org.apache.log4j.Appender
-
Clear the list of filters by removing all the filters in it.
- clearFilters() - Method in class org.apache.log4j.AppenderSkeleton
-
Clear the filters chain.
- cloneStack() - Static method in class org.apache.log4j.NDC
-
Clone the diagnostic context for the current thread.
- close() - Method in interface org.apache.log4j.Appender
-
Release any resources allocated within the appender such as file handles, network connections, etc.
- close() - Method in class org.apache.log4j.AsyncAppender
-
Close this
AsyncAppender
by interrupting the dispatcher thread which will process all pending events before exiting. - close() - Method in class org.apache.log4j.helpers.SyslogWriter
- 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.net.SMTPAppender
- 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.net.TelnetAppender
-
shuts down the appender.
- close() - Method in class org.apache.log4j.net.TelnetAppender.SocketHandler
-
make sure we close all network connections when this handler is destroyed.
- close() - Method in class org.apache.log4j.rewrite.RewriteAppender
-
Close this
AsyncAppender
by interrupting the dispatcher thread which will process all pending events before exiting. - close() - Method in class org.apache.log4j.varia.NullAppender
- close() - Method in class org.apache.log4j.WriterAppender
-
Close this appender instance.
- CLOSE_FAILURE - Static variable in interface 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 - Variable 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
-
Close the underlying
Writer
. - 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 variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
CONFIG.
- CONFIG_DEBUG_KEY - Static variable in class org.apache.log4j.helpers.LogLog
-
Deprecated.Use
LogLog.DEBUG_KEY
instead. - CONFIG_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for CONFIG.
- Configurator - Interface in org.apache.log4j.spi
-
Implemented by classes capable of configuring log4j using a URL.
- CONFIGURATOR_CLASS_KEY - Static variable in class org.apache.log4j.LogManager
-
Deprecated.This variable is for internal use only. It will become private in future versions.
- configure() - Static method in class org.apache.log4j.BasicConfigurator
-
Add a
ConsoleAppender
that usesPatternLayout
using thePatternLayout.TTCC_CONVERSION_PATTERN
and prints toSystem.out
to the root category. - configure(InputStream) - Static method in class org.apache.log4j.PropertyConfigurator
-
Reads configuration options from an InputStream.
- configure(String) - Static method in class org.apache.log4j.PropertyConfigurator
- configure(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
A static version of
DOMConfigurator.doConfigure(String, LoggerRepository)
. - configure(URL) - Static method in class org.apache.log4j.PropertyConfigurator
-
Read configuration options from url
configURL
. - configure(URL) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
A static version of
DOMConfigurator.doConfigure(URL, LoggerRepository)
. - configure(Properties) - Static method in class org.apache.log4j.PropertyConfigurator
-
Read configuration options from
properties
. - configure(Appender) - Static method in class org.apache.log4j.BasicConfigurator
-
Add
appender
to the root category. - configure(Element) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Configure log4j using a
configuration
element as defined in the log4j.dtd. - configureAndWatch(String) - Static method in class org.apache.log4j.PropertyConfigurator
-
Like
PropertyConfigurator.configureAndWatch(String, long)
except that the default delay as defined byFileWatchdog.DEFAULT_DELAY
is used. - configureAndWatch(String) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Like
DOMConfigurator.configureAndWatch(String, long)
except that the default delay as defined byFileWatchdog.DEFAULT_DELAY
is used. - configureAndWatch(String, long) - Static method in class org.apache.log4j.PropertyConfigurator
-
Read the configuration file
configFilename
if it exists. - configureAndWatch(String, long) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Read the configuration file
configFilename
if it exists. - configureLoggerFactory(Properties) - Method in class org.apache.log4j.PropertyConfigurator
-
Check the provided
Properties
object for aLoggerFactory
entry specified byPropertyConfigurator.LOGGER_FACTORY_KEY
. - connection - Variable in class org.apache.log4j.jdbc.JDBCAppender
-
Connection used by default.
- ConsoleAppender - Class in org.apache.log4j
-
ConsoleAppender appends log events to
System.out
orSystem.err
using a layout specified by the user. - ConsoleAppender() - Constructor for class org.apache.log4j.ConsoleAppender
-
Constructs an unconfigured appender.
- ConsoleAppender(Layout) - Constructor for class org.apache.log4j.ConsoleAppender
-
Creates a configured appender.
- ConsoleAppender(Layout, String) - Constructor for class org.apache.log4j.ConsoleAppender
-
Creates a configured appender.
- contains(Object) - Method in class org.apache.log4j.helpers.COWArrayList
- containsAll(Collection<?>) - Method in class org.apache.log4j.helpers.COWArrayList
- convert(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.
- convert(LoggingEvent) - Method in class org.apache.log4j.pattern.BridgePatternConverter
-
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 - Variable in class org.apache.log4j.helpers.CountingQuietWriter
- CountingQuietWriter - Class in org.apache.log4j.helpers
-
Counts the number of bytes written.
- CountingQuietWriter(Writer, ErrorHandler) - Constructor for class org.apache.log4j.helpers.CountingQuietWriter
- COWArrayList<E> - Class in org.apache.log4j.helpers
-
A GC-free lock-free thread-safe implementation of the
List
interface for use cases where iterations over the list vastly out-number modifications on the list. - COWArrayList(E[]) - Constructor for class org.apache.log4j.helpers.COWArrayList
- createPatternParser(String) - Method in class org.apache.log4j.EnhancedPatternLayout
-
Returns PatternParser used to parse the conversion string.
- createPatternParser(String) - Method in class org.apache.log4j.PatternLayout
-
Returns PatternParser used to parse the conversion string.
- createServerSocket(int) - Method in class org.apache.log4j.net.SocketHubAppender
-
Creates a server socket to accept connections.
- createSession() - Method in class org.apache.log4j.net.SMTPAppender
-
Create mail session.
- createWriter(OutputStream) - Method in class org.apache.log4j.WriterAppender
-
Returns an OutputStreamWriter when passed an OutputStream.
- currentLiteral - Variable in class org.apache.log4j.helpers.PatternParser
- CyclicBuffer - Class in org.apache.log4j.helpers
-
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 - Class in org.apache.log4j
-
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.
- DailyRollingFileAppender(Layout, String, String) - Constructor for class org.apache.log4j.DailyRollingFileAppender
-
Instantiate a
DailyRollingFileAppender
and open the file designated byfilename
. - databasePassword - Variable in class org.apache.log4j.jdbc.JDBCAppender
-
User to use for default connection handling
- databaseURL - Variable in class org.apache.log4j.jdbc.JDBCAppender
-
URL of the DB for default connection handling
- databaseUser - Variable in class org.apache.log4j.jdbc.JDBCAppender
-
User to connect as for default connection handling
- date - Variable in class org.apache.log4j.helpers.DateLayout
- DATE_AND_TIME_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
-
String constant used to specify
DateTimeDateFormat
in layouts. - DATE_FORMAT_OPTION - Static variable in class org.apache.log4j.helpers.DateLayout
-
Deprecated.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
- dateFormat - Variable in class org.apache.log4j.helpers.DateLayout
- dateFormat(StringBuffer, LoggingEvent) - Method in class org.apache.log4j.helpers.DateLayout
- DateLayout - Class in org.apache.log4j.helpers
-
This abstract layout takes care of all the date related options and formatting work.
- DateLayout() - Constructor for class org.apache.log4j.helpers.DateLayout
- DatePatternConverter - Class in org.apache.log4j.pattern
-
Convert and format the event's date in a StringBuffer.
- DateTimeDateFormat - Class in org.apache.log4j.helpers
-
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(Object) - Method in class org.apache.log4j.Category
-
Log a message object with the
DEBUG
level. - debug(Object) - Method in class org.apache.log4j.spi.NOPLogger
-
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 theThrowable
t
passed as parameter. - debug(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
-
Log a message object with the
DEBUG
level including the stack trace of theThrowable
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(Logger, String, boolean) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, boolean) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, byte) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, byte) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, char) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, char) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, double) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, double) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, float) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, float) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, int) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, int) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, long) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, long) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, short) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, short) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- debug(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at debug level.
- debug(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at debug level.
- DEBUG - Static variable in class org.apache.log4j.Level
-
The
DEBUG
Level designates fine-grained informational events that are most useful to debug an application. - DEBUG - Static variable in class org.apache.log4j.Priority
-
Deprecated.Use
Level.DEBUG
instead. - DEBUG_INT - Static variable in class org.apache.log4j.Priority
- DEBUG_KEY - Static variable in class org.apache.log4j.helpers.LogLog
-
Defining this value makes log4j print log4j-internal debug statements to
System.out
. - debugEnabled - Static variable in class org.apache.log4j.helpers.LogLog
- decide(LoggingEvent) - Method in class org.apache.log4j.spi.Filter
-
If the decision is
DENY
, then the event will be dropped. - decide(LoggingEvent) - Method in class org.apache.log4j.varia.DenyAllFilter
-
Always returns the integer constant
Filter.DENY
regardless of theLoggingEvent
parameter. - decide(LoggingEvent) - Method in class org.apache.log4j.varia.LevelMatchFilter
-
Return the decision of this filter.
- decide(LoggingEvent) - Method in class org.apache.log4j.varia.LevelRangeFilter
-
Return the decision of this filter.
- decide(LoggingEvent) - Method in class org.apache.log4j.varia.StringMatchFilter
-
Returns
Filter.NEUTRAL
is there is no string match. - DEFAULT_BUFFER_SIZE - Static variable in class org.apache.log4j.AsyncAppender
-
The default buffer size is set to 128 events.
- DEFAULT_CONFIGURATION_FILE - Static variable in class org.apache.log4j.LogManager
-
Deprecated.This variable is for internal use only. It will become package protected in future versions.
- DEFAULT_CONFIGURATION_KEY - Static variable in class org.apache.log4j.LogManager
-
Deprecated.This variable is for internal use only. It will become private in future versions.
- DEFAULT_CONVERSION_PATTERN - Static variable in class org.apache.log4j.EnhancedPatternLayout
-
Default pattern string for log output.
- DEFAULT_CONVERSION_PATTERN - Static variable in class org.apache.log4j.PatternLayout
-
Default pattern string for log output.
- DEFAULT_DELAY - Static variable in class org.apache.log4j.helpers.FileWatchdog
-
The default delay between every file modification check, set to 60 seconds.
- DEFAULT_INIT_OVERRIDE_KEY - Static variable in class org.apache.log4j.LogManager
-
Deprecated.This variable is for internal use only. It will become private in future versions.
- DEFAULT_PORT - Static variable in class org.apache.log4j.net.SocketAppender
-
The default port number of remote logging server (4560).
- DefaultRepositorySelector - Class in org.apache.log4j.spi
- DefaultRepositorySelector(LoggerRepository) - Constructor for class org.apache.log4j.spi.DefaultRepositorySelector
- DefaultThrowableRenderer - Class in org.apache.log4j
-
Default implementation of ThrowableRenderer using Throwable.printStackTrace.
- DefaultThrowableRenderer() - Constructor for class org.apache.log4j.DefaultThrowableRenderer
-
Construct new instance.
- delay - Variable in class org.apache.log4j.helpers.FileWatchdog
-
The delay to observe between every check.
- DENY - Static variable in class org.apache.log4j.spi.Filter
-
The log event must be dropped immediately without consulting with the remaining filters, if any, in the chain.
- DenyAllFilter - Class in org.apache.log4j.varia
-
This filter drops all logging events.
- DenyAllFilter() - Constructor for class org.apache.log4j.varia.DenyAllFilter
- doAppend(LoggingEvent) - Method in interface org.apache.log4j.Appender
-
Log in
Appender
specific way. - doAppend(LoggingEvent) - Method in class org.apache.log4j.AppenderSkeleton
-
This method performs threshold checks and invokes filters before delegating actual logging to the subclasses specific
AppenderSkeleton.append(org.apache.log4j.spi.LoggingEvent)
method. - doAppend(LoggingEvent) - Method in class org.apache.log4j.varia.NullAppender
-
Does not do anything.
- doCapitalize - Variable in class org.apache.log4j.config.PropertyPrinter
- doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
-
Read configuration options from url
configURL
. - doConfigure(InputStream, LoggerRepository) - Method in interface org.apache.log4j.spi.Configurator
-
Interpret a resource pointed by a InputStream and set up log4j accordingly.
- doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.varia.ReloadingPropertyConfigurator
- doConfigure(InputStream, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
- doConfigure(Reader, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
- doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
-
Read configuration from a file.
- doConfigure(String, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
- doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
-
Read configuration options from url
configURL
. - doConfigure(URL, LoggerRepository) - Method in interface org.apache.log4j.spi.Configurator
-
Interpret a resource pointed by a URL and set up log4j accordingly.
- doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.varia.ReloadingPropertyConfigurator
- doConfigure(URL, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
- doConfigure(Properties, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
-
Read configuration options from
properties
. - doConfigure(Element, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Configure by taking in an DOM element.
- doConfigure(InputSource, LoggerRepository) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Configure log4j by reading in a log4j.dtd compliant XML configuration file.
- DOMConfigurator - Class in org.apache.log4j.xml
-
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.jms.MessageRenderer
-
Render a
Message
. - doRender(Object) - Method in interface org.apache.log4j.or.ObjectRenderer
-
Render the object passed as parameter as a String.
- doRender(Object) - Method in class org.apache.log4j.or.sax.AttributesRenderer
-
Render a
Attributes
. - doRender(Object) - Method in class org.apache.log4j.or.ThreadGroupRenderer
-
Render a
ThreadGroup
object similar to the way that theThreadGroup.list()
method output information. - doRender(Throwable) - Method in class org.apache.log4j.DefaultThrowableRenderer
-
Render Throwable.
- doRender(Throwable) - Method in class org.apache.log4j.EnhancedThrowableRenderer
-
Render Throwable.
- doRender(Throwable) - Method in interface org.apache.log4j.spi.ThrowableRenderer
-
Render Throwable.
E
- emitNoAppenderWarning(Category) - Method in class org.apache.log4j.Hierarchy
- emitNoAppenderWarning(Category) - Method in interface org.apache.log4j.spi.LoggerRepository
- emitNoAppenderWarning(Category) - Method in class org.apache.log4j.spi.NOPLoggerRepository
- encoding - Variable in class org.apache.log4j.WriterAppender
-
The encoding to use when writing.
- EnhancedPatternLayout - Class in org.apache.log4j
-
This class is an enhanced version of org.apache.log4j.PatternLayout which was originally developed as part of the abandoned log4j 1.3 effort and has been available in the extras companion.
- EnhancedPatternLayout() - Constructor for class org.apache.log4j.EnhancedPatternLayout
-
Constructs a EnhancedPatternLayout using the DEFAULT_LAYOUT_PATTERN.
- EnhancedPatternLayout(String) - Constructor for class org.apache.log4j.EnhancedPatternLayout
-
Constructs a EnhancedPatternLayout using the supplied conversion pattern.
- EnhancedThrowableRenderer - Class in org.apache.log4j
-
Enhanced implementation of ThrowableRenderer.
- EnhancedThrowableRenderer() - Constructor for class org.apache.log4j.EnhancedThrowableRenderer
-
Construct new instance.
- entering(Logger, String, String) - Static method in class org.apache.log4j.LogXF
-
Log an entering message at DEBUG level.
- entering(Logger, String, String, Object) - Static method in class org.apache.log4j.LogXF
-
Log an entering message with a parameter at DEBUG level.
- entering(Logger, String, String, Object[]) - Static method in class org.apache.log4j.LogXF
-
Log an entering message with an array of parameters at DEBUG level.
- entering(Logger, String, String, String) - Static method in class org.apache.log4j.LogXF
-
Log an entering message with a parameter at DEBUG level.
- equals(Object) - Method in class org.apache.log4j.Priority
-
Two priorities are equal if their level fields are equal.
- error(Object) - Method in class org.apache.log4j.Category
-
Log a message object with the
ERROR
Level. - error(Object) - Method in class org.apache.log4j.spi.NOPLogger
-
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 theThrowable
t
passed as parameter. - error(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
-
Log a message object with the
ERROR
level including the stack trace of theThrowable
t
passed as parameter. - 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) - Method in interface org.apache.log4j.spi.ErrorHandler
-
This method is normally used to just print the error message passed as a parameter.
- error(String) - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
Print a the error message passed as parameter 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
. - error(String, Exception, int) - Method in interface org.apache.log4j.spi.ErrorHandler
-
Equivalent to the
ErrorHandler.error(String, Exception, int, LoggingEvent event)
with the the event parameteter set tonull
. - 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, LoggingEvent) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
-
Prints the message and the stack trace of the exception on
System.err
. - error(String, Exception, int, LoggingEvent) - Method in interface org.apache.log4j.spi.ErrorHandler
-
This method is invoked to handle the error.
- error(String, Exception, int, LoggingEvent) - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
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(Logger, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at error level.
- error(Logger, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at error level.
- error(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at error level.
- error(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at error level.
- error(SAXParseException) - Method in class org.apache.log4j.xml.SAXErrorHandler
- ERROR - Static variable in class org.apache.log4j.Level
-
The
ERROR
level designates error events that might still allow the application to continue running. - ERROR - Static variable in class org.apache.log4j.Priority
-
Deprecated.Use
Level.ERROR
instead. - ERROR_INT - Static variable in class org.apache.log4j.Priority
- ErrorCode - Interface in org.apache.log4j.spi
-
This interface defines commonly encoutered error codes.
- errorHandler - Variable in class org.apache.log4j.AppenderSkeleton
-
It is assumed and enforced that errorHandler is never null.
- errorHandler - Variable in class org.apache.log4j.helpers.QuietWriter
- ErrorHandler - Interface in org.apache.log4j.spi
-
Appenders may delegate their error handling to
ErrorHandlers
. - 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 '<', '>' , '&' or '"' characters with respective predefined entity references.
- evaluator - Variable 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
-
Deprecated.Please use
LogManager.exists(java.lang.String)
instead. - exists(String) - Method in class org.apache.log4j.Hierarchy
-
Check if the named logger exists in the hierarchy.
- exists(String) - Static method in class org.apache.log4j.LogManager
- exists(String) - Method in interface org.apache.log4j.spi.LoggerRepository
- exists(String) - Method in class org.apache.log4j.spi.NOPLoggerRepository
- exiting(Logger, String, String) - Static method in class org.apache.log4j.LogXF
-
Log an exiting message at DEBUG level.
- exiting(Logger, String, String, Object) - Static method in class org.apache.log4j.LogXF
-
Log an exiting message with result at DEBUG level.
- exiting(Logger, String, String, String) - Static method in class org.apache.log4j.LogXF
-
Log an exiting message with result at DEBUG level.
- ExternallyRolledFileAppender - Class in org.apache.log4j.varia
-
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 variable in class org.apache.log4j.net.SyslogAppender
- FallbackErrorHandler - Class in org.apache.log4j.varia
-
The
FallbackErrorHandler
implements the ErrorHandler interface such that a secondary appender may be specified. - FallbackErrorHandler() - Constructor for class org.apache.log4j.varia.FallbackErrorHandler
- fatal(Object) - Method in class org.apache.log4j.Category
-
Log a message object with the
FATAL
Level. - fatal(Object) - Method in class org.apache.log4j.spi.NOPLogger
-
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 theThrowable
t
passed as parameter. - fatal(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
-
Log a message object with the
FATAL
level including the stack trace of theThrowable
t
passed as parameter. - fatal(Logger, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at fatal level.
- fatal(Logger, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at fatal level.
- fatal(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at fatal level.
- fatal(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at fatal level.
- FATAL - Static variable in class org.apache.log4j.Level
-
The
FATAL
level designates very severe error events that will presumably lead the application to abort. - FATAL - Static variable in class org.apache.log4j.Priority
-
Deprecated.Use
Level.FATAL
instead. - FATAL_INT - Static variable in class org.apache.log4j.Priority
- fatalError(SAXParseException) - Method in class org.apache.log4j.xml.SAXErrorHandler
- FILE_OPEN_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
- fileAppend - Variable in class org.apache.log4j.FileAppender
-
Controls file truncatation.
- FileAppender - Class in org.apache.log4j
-
FileAppender appends log events to a file.
- FileAppender() - Constructor for class org.apache.log4j.FileAppender
-
The default constructor does not do anything.
- FileAppender(Layout, String) - Constructor for class org.apache.log4j.FileAppender
-
Instantiate a FileAppender and open the file designated by
filename
. - FileAppender(Layout, String, boolean) - Constructor for class org.apache.log4j.FileAppender
-
Instantiate a FileAppender and open the file designated by
filename
. - FileAppender(Layout, String, boolean, boolean, int) - Constructor for class org.apache.log4j.FileAppender
-
Instantiate a
FileAppender
and open the file designated byfilename
. - FileDatePatternConverter - Class in org.apache.log4j.pattern
-
Formats an date by delegating to DatePatternConverter.
- FileLocationPatternConverter - Class in org.apache.log4j.pattern
-
Return the event's line location information in a StringBuffer.
- filename - Variable in class org.apache.log4j.helpers.FileWatchdog
-
The name of the file to observe for changes.
- fileName - Variable in class org.apache.log4j.FileAppender
-
The name of the log file.
- FileWatchdog - Class in org.apache.log4j.helpers
-
Check every now and then that a certain file has not changed.
- FileWatchdog(String) - Constructor for class org.apache.log4j.helpers.FileWatchdog
- Filter - Class in org.apache.log4j.spi
-
Users should extend this class to implement customized logging event filtering.
- Filter() - Constructor for class org.apache.log4j.spi.Filter
- 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.net.TelnetAppender.SocketHandler
- 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
inprops
. - 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.
- findMillisecondStart(long, String, DateFormat) - Static method in class org.apache.log4j.pattern.CachedDateFormat
-
Finds start of millisecond field in formatted time.
- FINE - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
FINE.
- FINE_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for FINE.
- FINER - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
FINER.
- FINER_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for FINER.
- FINEST - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
FINEST.
- FINEST_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for FINEST.
- fireAddAppenderEvent(Category, Appender) - Method in class org.apache.log4j.Hierarchy
- fireAddAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.LoggerRepository
- fireAddAppenderEvent(Category, Appender) - Method in class org.apache.log4j.spi.NOPLoggerRepository
- flush() - Method in class org.apache.log4j.helpers.QuietWriter
- flush() - Method in class org.apache.log4j.helpers.SyslogWriter
- FLUSH_FAILURE - Static variable in interface 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().
- forcedLog(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
-
This method creates a new logging event and logs the event without further checks.
- format(int, StringBuffer) - Method in class org.apache.log4j.pattern.FormattingInfo
-
Adjust the content of the buffer based on the specified lengths and alignment.
- format(long, StringBuffer) - Method in class org.apache.log4j.pattern.CachedDateFormat
-
Formats a millisecond count into a date/time string.
- format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.DatePatternConverter
-
Formats an object into a string buffer.
- format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.IntegerPatternConverter
-
Formats an object into a string buffer.
- format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.LineSeparatorPatternConverter
-
Formats an object into a string buffer.
- format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.LiteralPatternConverter
-
Formats an object into a string buffer.
- format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.LoggingEventPatternConverter
-
Formats an object into a string buffer.
- format(Object, StringBuffer) - Method in class org.apache.log4j.pattern.PatternConverter
-
Formats an object into a string buffer.
- format(StringBuffer, LoggingEvent) - Method in class org.apache.log4j.helpers.PatternConverter
-
A template method for formatting in a converter specific way.
- format(StringBuffer, LoggingEvent) - Method in class org.apache.log4j.pattern.BridgePatternConverter
-
Format event to string buffer.
- format(Date, StringBuffer) - Method in class org.apache.log4j.pattern.DatePatternConverter
-
Append formatted date to string buffer.
- 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(Date, StringBuffer, FieldPosition) - Method in class org.apache.log4j.pattern.CachedDateFormat
-
Formats a Date into a date/time string.
- format(LoggingEvent) - Method in class org.apache.log4j.EnhancedPatternLayout
-
Formats a logging event to a writer.
- format(LoggingEvent) - Method in class org.apache.log4j.HTMLLayout
- format(LoggingEvent) - Method in class org.apache.log4j.Layout
-
Implement this method to create your own layout format.
- format(LoggingEvent) - Method in class org.apache.log4j.PatternLayout
-
Produces a formatted string as specified by the conversion pattern.
- format(LoggingEvent) - Method in class org.apache.log4j.SimpleLayout
-
Returns the log statement in a format consisting of the
level
, followed by " - " and then themessage
. - format(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(LoggingEvent) - Method in class org.apache.log4j.xml.XMLLayout
-
Formats a
LoggingEvent
in conformance with the log4j.dtd. - format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.ClassNamePatternConverter
-
Format a logging event.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.DatePatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.FileLocationPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.FullLocationPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LevelPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LineLocationPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LineSeparatorPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LiteralPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LoggerPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.LoggingEventPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.MessagePatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.MethodLocationPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.NDCPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.PropertiesPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.RelativeTimePatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.SequenceNumberPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.ThreadPatternConverter
-
Formats an event into a string buffer.
- format(LoggingEvent, StringBuffer) - Method in class org.apache.log4j.pattern.ThrowableInformationPatternConverter
-
Formats an event into a string buffer.
- formatBody() - Method in class org.apache.log4j.net.SMTPAppender
-
Layout body of email message.
- formattingInfo - Variable in class org.apache.log4j.helpers.PatternParser
- FormattingInfo - Class in org.apache.log4j.helpers
-
FormattingInfo instances contain the information obtained when parsing formatting modifiers in conversion modifiers.
- FormattingInfo - Class in org.apache.log4j.pattern
-
Modifies the output of a pattern converter for a specified minimum and maximum width and alignment.
- FormattingInfo() - Constructor for class org.apache.log4j.helpers.FormattingInfo
- FormattingInfo(boolean, int, int) - Constructor for class org.apache.log4j.pattern.FormattingInfo
-
Creates new instance.
- foundProperty(Object, String, String, Object) - Method in interface org.apache.log4j.config.PropertyGetter.PropertyCallback
- foundProperty(Object, String, String, Object) - Method in class org.apache.log4j.config.PropertyPrinter
- fqnOfCategoryClass - Variable in class org.apache.log4j.pattern.LogEvent
-
Fully qualified name of the calling category class.
- fqnOfCategoryClass - Variable in class org.apache.log4j.spi.LoggingEvent
-
Fully qualified name of the calling category class.
- fullInfo - Variable in class org.apache.log4j.spi.LocationInfo
-
All available caller information, in the format
fully.qualified.classname.of.caller.methodName(Filename.java:line)
- FullLocationPatternConverter - Class in org.apache.log4j.pattern
-
Format the event's line location information.
G
- genAppName() - Method in class org.apache.log4j.config.PropertyPrinter
- GENERIC_FAILURE - Static variable in interface 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(int) - Method in class org.apache.log4j.helpers.COWArrayList
- get(int) - Method in class org.apache.log4j.helpers.CyclicBuffer
-
Get the ith oldest event currently in the buffer.
- get(Class) - Method in class org.apache.log4j.or.RendererMap
-
Search the parents of
clazz
for a renderer. - get(Object) - Method in class org.apache.log4j.or.RendererMap
-
Syntactic sugar method that calls
RendererMap.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. - getAbbreviator(String) - Static method in class org.apache.log4j.pattern.NameAbbreviator
-
Gets an abbreviator.
- 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.AsyncAppender
-
Get iterator over attached appenders.
- getAllAppenders() - Method in class org.apache.log4j.Category
-
Get the appenders contained in this category 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.rewrite.RewriteAppender
-
Get iterator over attached appenders.
- getAllAppenders() - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Get all previously added appenders as an Enumeration.
- getAllAppenders() - Method in class org.apache.log4j.spi.NOPLogger
-
Get the appenders contained in this category as an
Enumeration
. - getAllPossibleLevels() - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
-
Gets list of supported levels.
- getAllPossiblePriorities() - Static method in class org.apache.log4j.Priority
-
Deprecated.This method will be removed with no replacement.
- getAppend() - Method in class org.apache.log4j.FileAppender
-
Returns the value of the Append option.
- getAppender(String) - Method in class org.apache.log4j.AsyncAppender
-
Get appender by name.
- getAppender(String) - Method in class org.apache.log4j.Category
-
Look for the appender named as
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.rewrite.RewriteAppender
-
Get appender by name.
- getAppender(String) - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Get an appender by name.
- getAppender(String) - Method in class org.apache.log4j.spi.NOPLogger
-
Look for the appender named as
name
. - getApplication() - Method in class org.apache.log4j.net.SocketAppender
-
Returns value of the Application option.
- getApplication() - Method in class org.apache.log4j.net.SocketHubAppender
-
Returns value of the Application option.
- getBcc() - Method in class org.apache.log4j.net.SMTPAppender
-
Get the bcc recipient addresses.
- getBlocking() - Method in class org.apache.log4j.AsyncAppender
-
Gets whether appender should block calling thread when buffer is full.
- getBufferedIO() - Method in class org.apache.log4j.FileAppender
-
Get the value of the BufferedIO option.
- getBufferSize() - Method in class org.apache.log4j.AsyncAppender
-
Gets the current buffer size.
- 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.
- getBufferSize() - Method in class org.apache.log4j.net.SocketHubAppender
-
Returns value of the bufferSize option.
- getCategoryPrefixing() - Method in class org.apache.log4j.TTCCLayout
-
Returns value of the CategoryPrefixing option.
- getCc() - Method in class org.apache.log4j.net.SMTPAppender
-
Get the cc recipient addresses.
- getChainedLevel() - Method in class org.apache.log4j.spi.RootCategory
-
Deprecated.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
-
Deprecated.Please use the the
Category.getEffectiveLevel()
method instead. - getChainedPriority() - Method in class org.apache.log4j.spi.NOPLogger
- getCheckServerIdentity() - Method in class org.apache.log4j.net.SMTPAppender
-
This option enables server identity check and if false will disable server identity check.
- 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.EnhancedPatternLayout
-
Returns the value of the ConversionPattern 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
-
Deprecated.Please use
LogManager.getCurrentLoggers()
instead. - getCurrentCategories() - Method in class org.apache.log4j.Hierarchy
-
Deprecated.Please use
Hierarchy.getCurrentLoggers()
instead. - getCurrentCategories() - Method in interface org.apache.log4j.spi.LoggerRepository
-
Deprecated.
- getCurrentCategories() - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Deprecated.
- getCurrentLoggers() - Method in class org.apache.log4j.Hierarchy
-
Returns all the currently defined categories in this hierarchy as an
Enumeration
. - getCurrentLoggers() - Static method in class org.apache.log4j.LogManager
- getCurrentLoggers() - Method in interface org.apache.log4j.spi.LoggerRepository
- getCurrentLoggers() - Method in class org.apache.log4j.spi.NOPLoggerRepository
- 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.
- getDefault() - Static method in class org.apache.log4j.pattern.FormattingInfo
-
Gets default instance.
- getDefaultAbbreviator() - Static method in class org.apache.log4j.pattern.NameAbbreviator
-
Gets default abbreviator.
- getDefaultHierarchy() - Static method in class org.apache.log4j.Category
-
Deprecated.Please use
LogManager.getLoggerRepository()
instead. - 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.
- getEffectiveLevel() - Method in class org.apache.log4j.spi.NOPLogger
-
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 interface 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. - getEvaluator() - Method in class org.apache.log4j.net.SMTPAppender
-
Get triggering evaluator.
- 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.
- getFileNamePatternRules() - Static method in class org.apache.log4j.pattern.PatternParser
-
Get standard format specifiers for rolling file appender file specification.
- getFilter() - Method in interface 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.
- getFQNOfLoggerClass() - Method in class org.apache.log4j.pattern.LogEvent
-
Get the fully qualified name of the calling logger sub-class/wrapper.
- getFQNOfLoggerClass() - Method in class org.apache.log4j.spi.LoggingEvent
-
Get the fully qualified name of the calling logger sub-class/wrapper.
- 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.
- getHeader() - Method in class org.apache.log4j.net.SyslogAppender
-
If true, the appender will generate the HEADER part (that is, timestamp and host name) of the syslog packet.
- getHierarchy() - Method in class org.apache.log4j.Category
-
Deprecated.Please use
Category.getLoggerRepository()
instead. - 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() - Static method in class org.apache.log4j.helpers.NullEnumeration
- getInstance() - Method in class org.apache.log4j.varia.NullAppender
-
Deprecated.Use getNullAppender instead. getInstance should have been static.
- getInstance(Class) - Static method in class org.apache.log4j.Category
-
Deprecated.Please make sure to use
Logger.getLogger(Class)
instead. - getInstance(String) - Static method in class org.apache.log4j.Category
-
Deprecated.Make sure to use
Logger.getLogger(String)
instead. - getJMDNSInstance() - Static method in class org.apache.log4j.net.ZeroConfSupport
- getLayout() - Method in interface 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.pattern.LogEvent
-
Return the level of this event.
- getLevel() - Method in class org.apache.log4j.spi.LoggingEvent
-
Return the level of this event.
- 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.
- getLocationInfo() - Method in class org.apache.log4j.AsyncAppender
-
Gets whether the location of the logging request call should be captured.
- getLocationInfo() - Method in class org.apache.log4j.HTMLLayout
-
Returns the current value of the LocationInfo option.
- getLocationInfo() - Method in class org.apache.log4j.jdbc.JDBCAppender
-
Gets whether the location of the logging request call should be captured.
- 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.pattern.LogEvent
-
Set the location information for this logging event.
- getLocationInformation() - Method in class org.apache.log4j.spi.LoggingEvent
-
Set the location information for this logging event.
- getLogger() - Method in class org.apache.log4j.spi.LoggingEvent
-
Gets the logger of the event.
- 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) - Static method in class org.apache.log4j.LogManager
-
Retrieve the appropriate
Logger
instance. - getLogger(String) - Method in interface org.apache.log4j.spi.LoggerRepository
- getLogger(String) - Method in class org.apache.log4j.spi.NOPLoggerRepository
- getLogger(String, LoggerFactory) - Method in class org.apache.log4j.Hierarchy
-
Return a new logger instance named as the first parameter using
factory
. - getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.Logger
-
Like
Logger.getLogger(String)
except that the type of logger instantiated depends on the type returned by theLoggerFactory.makeNewLoggerInstance(java.lang.String)
method of thefactory
parameter. - getLogger(String, LoggerFactory) - Static method in class org.apache.log4j.LogManager
-
Retrieve the appropriate
Logger
instance. - getLogger(String, LoggerFactory) - Method in interface org.apache.log4j.spi.LoggerRepository
- getLogger(String, LoggerFactory) - Method in class org.apache.log4j.spi.NOPLoggerRepository
- getLoggerName() - Method in class org.apache.log4j.pattern.LogEvent
-
Return the name of the logger.
- 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 thisCategory
is attached. - getLoggerRepository() - Static method in class org.apache.log4j.LogManager
- getLoggerRepository() - Method in class org.apache.log4j.spi.DefaultRepositorySelector
- getLoggerRepository() - Method in interface org.apache.log4j.spi.RepositorySelector
-
Returns a
LoggerRepository
depending on the context. - getLogStatement(LoggingEvent) - Method in class org.apache.log4j.jdbc.JDBCAppender
-
As of 1.2.18.1
JDBCAppender.getLogStatement(org.apache.log4j.spi.LoggingEvent)
is no longer in use. - getMaxBackupIndex() - Method in class org.apache.log4j.RollingFileAppender
-
Returns the value of the MaxBackupIndex option.
- getMaximumCacheValidity(String) - Static method in class org.apache.log4j.pattern.CachedDateFormat
-
Gets maximum cache validity for the specified SimpleDateTime conversion pattern.
- 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.
- getMaxLength() - Method in class org.apache.log4j.pattern.FormattingInfo
-
Get maximum length.
- 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
- getMDC(String) - Method in class org.apache.log4j.pattern.LogEvent
-
Returns the the context corresponding to the
key
parameter. - 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.pattern.LogEvent
-
Obtain a copy of this thread's MDC prior to serialization or asynchronous logging.
- getMDCCopy() - Method in class org.apache.log4j.spi.LoggingEvent
-
Obtain a copy of this thread's MDC prior to serialization or asynchronous logging.
- getMessage() - Method in exception org.apache.log4j.config.PropertySetterException
-
Returns descriptive text on the cause of this exception.
- getMessage() - Method in class org.apache.log4j.pattern.LogEvent
-
Return the message for this logging event.
- getMessage() - Method in class org.apache.log4j.spi.LoggingEvent
-
Return the message for this logging event.
- getMethodName() - Method in class org.apache.log4j.spi.LocationInfo
-
Returns the method name of the caller.
- getMinLength() - Method in class org.apache.log4j.pattern.FormattingInfo
-
Get minimum length.
- getName() - Method in interface org.apache.log4j.Appender
-
Get the name of this appender.
- getName() - Method in class org.apache.log4j.AppenderSkeleton
-
Returns the name of this appender.
- getName() - Method in class org.apache.log4j.Category
-
Return the category name.
- getName() - Method in class org.apache.log4j.pattern.PatternConverter
-
This method returns the name of the conversion pattern.
- getNDC() - Method in class org.apache.log4j.pattern.LogEvent
-
This method returns the NDC for this event.
- getNDC() - Method in class org.apache.log4j.spi.LoggingEvent
-
This method returns the NDC for this event.
- getNext() - Method in class org.apache.log4j.spi.Filter
-
Return the pointer to the next filter;
- getNullAppender() - Static 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
. - getNumberFormat() - Method in class org.apache.log4j.pattern.CachedDateFormat
-
Gets number formatter.
- getOptionStrings() - Method in class org.apache.log4j.helpers.DateLayout
-
Deprecated.Use the setter method for the option directly instead of the generic
setOption
method. - getOptionStrings() - Method in class org.apache.log4j.varia.DenyAllFilter
-
Deprecated.We now use JavaBeans introspection to configure components. Options strings are no longer needed.
- getOptionStrings() - Method in class org.apache.log4j.varia.StringMatchFilter
-
Deprecated.We now use JavaBeans introspection to configure components. Options strings are no longer needed.
- 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
- getPatternLayoutRules() - Static method in class org.apache.log4j.pattern.PatternParser
-
Get standard format specifiers for EnhancedPatternLayout.
- 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
- getPort() - Method in class org.apache.log4j.varia.ExternallyRolledFileAppender
-
Returns value of the Port option.
- getPriority() - Method in class org.apache.log4j.Category
-
Deprecated.Please use
Category.getLevel()
instead. - getProperties() - Method in class org.apache.log4j.pattern.LogEvent
-
Returns the set of properties for the event.
- getProperties() - Method in class org.apache.log4j.spi.LoggingEvent
-
Returns the set of properties for the event.
- getProperties() - Method in class org.apache.log4j.xml.XMLLayout
-
Gets whether MDC key-value pairs should be output.
- getProperties(Object, PropertyGetter.PropertyCallback, String) - Static method in class org.apache.log4j.config.PropertyGetter
- getProperties(PropertyGetter.PropertyCallback, String) - Method in class org.apache.log4j.config.PropertyGetter
- getProperty(String) - Method in class org.apache.log4j.pattern.LogEvent
-
Return a property for this event.
- getProperty(String) - Method in class org.apache.log4j.spi.LoggingEvent
-
Return a property for this event.
- getPropertyDescriptor(String) - Method in class org.apache.log4j.config.PropertySetter
- getPropertyKeySet() - Method in class org.apache.log4j.pattern.LogEvent
-
Returns the set of the key values in the properties for the event.
- getPropertyKeySet() - Method in class org.apache.log4j.spi.LoggingEvent
-
Returns the set of the key values in the properties for the event.
- getPropertyKeySet(LoggingEvent) - Method in class org.apache.log4j.helpers.MDCKeySetExtractor
- 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.pattern.LogEvent
- 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 interface org.apache.log4j.spi.RendererSupport
- getReplyTo() - Method in class org.apache.log4j.net.SMTPAppender
-
Get the reply addresses.
- 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
-
Deprecated.as of 1.2.
- getResourceBundle() - Method in class org.apache.log4j.Category
-
Return the inherited
ResourceBundle
for this category. - getResourceBundle() - Method in class org.apache.log4j.spi.NOPLogger
-
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
-
Deprecated.Please use
Logger.getRootLogger()
instead. - 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() - Static method in class org.apache.log4j.LogManager
-
Retrieve the appropriate root logger.
- getRootLogger() - Method in interface org.apache.log4j.spi.LoggerRepository
- getRootLogger() - Method in class org.apache.log4j.spi.NOPLoggerRepository
- getSecurityCredentials() - Method in class org.apache.log4j.net.JMSAppender
- getSecurityPrincipalName() - Method in class org.apache.log4j.net.JMSAppender
- getSendOnClose() - Method in class org.apache.log4j.net.SMTPAppender
-
Get sendOnClose.
- getSMTPDebug() - Method in class org.apache.log4j.net.SMTPAppender
-
Get SMTP debug.
- getSMTPHost() - Method in class org.apache.log4j.net.SMTPAppender
-
Returns value of the SMTPHost option.
- getSMTPPassword() - Method in class org.apache.log4j.net.SMTPAppender
-
Get SMTP password.
- getSMTPPort() - Method in class org.apache.log4j.net.SMTPAppender
-
Get port.
- getSMTPProtocol() - Method in class org.apache.log4j.net.SMTPAppender
-
Get transport protocol.
- getSMTPUsername() - Method in class org.apache.log4j.net.SMTPAppender
-
Get SMTP user name.
- 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.pattern.LogEvent
-
Returns the time when the application started, in milliseconds elapsed since 01.01.1970.
- getStartTime() - Static method in class org.apache.log4j.spi.LoggingEvent
-
Returns the time when the application started, in milliseconds elapsed since 01.01.1970.
- getStringToMatch() - Method in class org.apache.log4j.varia.StringMatchFilter
- getStyleClass(Object) - Method in class org.apache.log4j.pattern.LevelPatternConverter
-
This method returns the CSS style class that should be applied to the LoggingEvent passed as parameter, which can be null.
- getStyleClass(Object) - Method in class org.apache.log4j.pattern.PatternConverter
-
This method returns the CSS style class that should be applied to the LoggingEvent passed as parameter, which can be null.
- 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 theSecurityException
is hidden. - getTarget() - Method in class org.apache.log4j.ConsoleAppender
-
Returns the current value of the Target property.
- getThreadName() - Method in class org.apache.log4j.pattern.LogEvent
- 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 theenable
state. - getThreshold() - Method in interface org.apache.log4j.spi.LoggerRepository
-
Get the repository-wide threshold.
- getThreshold() - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Get the repository-wide threshold.
- getThrowable() - Method in class org.apache.log4j.spi.ThrowableInformation
- getThrowableInformation() - Method in class org.apache.log4j.pattern.LogEvent
-
Returns the throwable information contained within this event.
- getThrowableInformation() - Method in class org.apache.log4j.spi.LoggingEvent
-
Returns the throwable information contained within this event.
- getThrowableRenderer() - Method in class org.apache.log4j.Hierarchy
-
Get throwable renderer.
- getThrowableRenderer() - Method in interface org.apache.log4j.spi.ThrowableRendererSupport
-
Get throwable renderer.
- getThrowableStrRep() - Method in class org.apache.log4j.pattern.LogEvent
-
Return this event's throwable's string[] representaion.
- getThrowableStrRep() - Method in class org.apache.log4j.spi.LoggingEvent
-
Return this event's throwable's string[] representaion.
- getThrowableStrRep() - Method in class org.apache.log4j.spi.ThrowableInformation
- getTimeStamp() - Method in class org.apache.log4j.pattern.LogEvent
-
Getter for the event's time stamp.
- getTimeStamp() - Method in class org.apache.log4j.spi.LoggingEvent
-
Getter for the event's time stamp.
- 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
- getWhilelist() - Static method in class org.apache.log4j.net.HardenedLoggingEventInputStream
H
- handlesThrowable() - Method in class org.apache.log4j.pattern.LoggingEventPatternConverter
-
Normally pattern converters are not meant to handle Exceptions although few pattern converters might.
- handlesThrowable() - Method in class org.apache.log4j.pattern.ThrowableInformationPatternConverter
-
This converter obviously handles throwables.
- HardenedLoggingEventInputStream - Class in org.apache.log4j.net
- HardenedLoggingEventInputStream(InputStream) - Constructor for class org.apache.log4j.net.HardenedLoggingEventInputStream
- HardenedLoggingEventInputStream(InputStream, List<String>) - Constructor for class org.apache.log4j.net.HardenedLoggingEventInputStream
- HardenedObjectInputStream - Class in org.apache.log4j.net
-
HardenedObjectInputStream restricts the set of classes that can be deserialized to a set of explicitly whitelisted classes.
- HardenedObjectInputStream(InputStream, String[]) - Constructor for class org.apache.log4j.net.HardenedObjectInputStream
- HardenedObjectInputStream(InputStream, List<String>) - Constructor for class org.apache.log4j.net.HardenedObjectInputStream
- hasMoreElements() - Method in class org.apache.log4j.helpers.NullEnumeration
- headFilter - Variable in class org.apache.log4j.AppenderSkeleton
-
The first filter in the filter chain.
- Hierarchy - Class in org.apache.log4j
-
This class is specialized in retrieving loggers by name and also maintaining the logger hierarchy.
- Hierarchy(Logger) - Constructor for class org.apache.log4j.Hierarchy
-
Create a new logger hierarchy.
- HierarchyEventListener - Interface in org.apache.log4j.spi
-
Listen to events occuring within a
Hierarchy
. - HTMLLayout - Class in org.apache.log4j
-
This layout outputs events in a HTML table.
- HTMLLayout() - Constructor for class org.apache.log4j.HTMLLayout
I
- i - Variable in class org.apache.log4j.helpers.PatternParser
- ignoresThrowable() - Method in class org.apache.log4j.EnhancedPatternLayout
-
Will return false if any of the conversion specifiers in the pattern handles
Exceptions
. - 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 returnfalse
. - ignoresThrowable() - Method in class org.apache.log4j.pattern.BridgePatternConverter
-
Will return false if any of the conversion specifiers in the pattern handles
Exceptions
. - 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 - Variable in class org.apache.log4j.WriterAppender
-
Immediate flush means that the underlying writer or output stream will be flushed at the end of each append operation unless shouldFlush() is overridden.
- indexOf(Object) - Method in class org.apache.log4j.helpers.COWArrayList
- info(Object) - Method in class org.apache.log4j.Category
-
Log a message object with the
INFO
Level. - info(Object) - Method in class org.apache.log4j.spi.NOPLogger
-
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 theThrowable
t
passed as parameter. - info(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
-
Log a message object with the
INFO
level including the stack trace of theThrowable
t
passed as parameter. - info(Logger, String, boolean) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, boolean) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, byte) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, byte) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, char) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, char) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, double) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, double) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, float) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, float) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, int) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, int) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, long) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, long) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, short) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, short) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- info(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at info level.
- info(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at info level.
- INFO - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
INFO.
- INFO - Static variable in class org.apache.log4j.Level
-
The
INFO
level designates informational messages that highlight the progress of the application at coarse-grained level. - INFO - Static variable in class org.apache.log4j.Priority
-
Deprecated.Use
Level.INFO
instead. - INFO_INT - Static variable in class org.apache.log4j.Priority
- inherit(Stack) - Static method in class org.apache.log4j.NDC
-
Inherit the diagnostic context of another thread.
- INHERITED - Static variable in interface org.apache.log4j.spi.Configurator
-
Special level value signifying inherited behaviour.
- INSTANCE - Static variable in class org.apache.log4j.helpers.MDCKeySetExtractor
- 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
- IntegerPatternConverter - Class in org.apache.log4j.pattern
-
Formats an integer.
- introspect() - Method in class org.apache.log4j.config.PropertySetter
-
Uses JavaBeans
Introspector
to computer setters of object to be configured. - isAdvertiseViaMulticastDNS() - Method in class org.apache.log4j.net.SocketAppender
- isAdvertiseViaMulticastDNS() - Method in class org.apache.log4j.net.SocketHubAppender
- isAsSevereAsThreshold(Priority) - Method in class org.apache.log4j.AppenderSkeleton
-
Check whether the message level is below the appender's threshold.
- isAttached(Appender) - Method in class org.apache.log4j.AsyncAppender
-
Determines if specified appender is attached.
- isAttached(Appender) - Method in class org.apache.log4j.Category
-
Is the appender passed as parameter attached to this category?
- isAttached(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
-
Returns
true
if the specified appender is in the list of attached appenders,false
otherwise. - isAttached(Appender) - Method in class org.apache.log4j.rewrite.RewriteAppender
-
Determines if specified appender is attached.
- isAttached(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Returns
true
if the specified appender is in list of attached attached,false
otherwise. - isAttached(Appender) - Method in class org.apache.log4j.spi.NOPLogger
-
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. - isDebugEnabled() - Method in class org.apache.log4j.spi.NOPLogger
-
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 forlevel
object passed as parameter andfalse
otherwise. - isDisabled(int) - Method in interface org.apache.log4j.spi.LoggerRepository
-
Returns whether this repository is disabled for a given level.
- isDisabled(int) - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Returns whether this repository is disabled for a given level.
- isEmpty() - Method in class org.apache.log4j.helpers.COWArrayList
- isEnabledFor(Priority) - Method in class org.apache.log4j.Category
-
Check whether this category is enabled for a given
Level
passed as parameter. - isEnabledFor(Priority) - Method in class org.apache.log4j.spi.NOPLogger
-
Check whether this category is enabled for a given
Level
passed as parameter. - 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(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.
- isInfoEnabled() - Method in class org.apache.log4j.spi.NOPLogger
-
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?
- isLeftAligned() - Method in class org.apache.log4j.pattern.FormattingInfo
-
Determine if left aligned.
- ISO8601_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
-
String constant used to specify
ISO8601DateFormat
in layouts. - ISO8601DateFormat - Class in org.apache.log4j.helpers
-
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
- isTraceEnabled() - Method in class org.apache.log4j.Logger
-
Check whether this category is enabled for the TRACE Level.
- isTraceEnabled() - Method in class org.apache.log4j.spi.NOPLogger
-
Check whether this category is enabled for the TRACE Level.
- isTriggeringEvent(LoggingEvent) - Method in interface org.apache.log4j.spi.TriggeringEventEvaluator
-
Is this the triggering event?
- iterator() - Method in class org.apache.log4j.helpers.COWArrayList
J
- JDBCAppender - Class in org.apache.log4j.jdbc
-
The JDBCAppender provides for sending log events to a database.
- JDBCAppender() - Constructor for class org.apache.log4j.jdbc.JDBCAppender
- JMSAppender - Class in org.apache.log4j.net
-
A simple appender that publishes events to a JMS Topic.
- JMSAppender() - Constructor for class org.apache.log4j.net.JMSAppender
- JMSSink - Class in org.apache.log4j.net
-
A simple application that consumes logging events sent by a
JMSAppender
. - JMSSink(String, String, String, String) - Constructor for class org.apache.log4j.net.JMSSink
- JNDI_JAVA_NAMESPACE - Static variable in class org.apache.log4j.net.JNDIUtil
- jndiNameSecurityCheck(String) - Static method in class org.apache.log4j.net.JNDIUtil
- JNDIUtil - Class in org.apache.log4j.net
- JNDIUtil() - Constructor for class org.apache.log4j.net.JNDIUtil
L
- l7dlog(Priority, String, Object[], Throwable) - Method in class org.apache.log4j.Category
-
Log a localized and parameterized message.
- l7dlog(Priority, String, Object[], Throwable) - Method in class org.apache.log4j.spi.NOPLogger
-
Log a localized and parameterized message.
- l7dlog(Priority, String, Throwable) - Method in class org.apache.log4j.Category
-
Log a localized message.
- l7dlog(Priority, String, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
-
Log a localized message.
- lastIndexOf(Object) - Method in class org.apache.log4j.helpers.COWArrayList
- layout - Variable 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 in org.apache.log4j
-
Extend this abstract class to create your own log layout format.
- Layout() - Constructor for class org.apache.log4j.Layout
- layoutNames - Variable 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 - Variable in class org.apache.log4j.Category
-
The assigned level of this category.
- level - Variable in class org.apache.log4j.pattern.LogEvent
-
Deprecated.This field will be marked as private in future releases. Please do not access it directly. Use the
LogEvent.getLevel()
method instead. - level - Variable in class org.apache.log4j.spi.LoggingEvent
-
Deprecated.This field will be marked as private in future releases. Please do not access it directly. Use the
LoggingEvent.getLevel()
method instead. - Level - Class in org.apache.log4j
-
Defines the minimum set of levels recognized by the system, that is
OFF
,FATAL
,ERROR
,WARN
,INFO
,DEBUG
andALL
. - Level(int, String, int) - Constructor for class org.apache.log4j.Level
-
Instantiate a Level object.
- LevelMatchFilter - Class in org.apache.log4j.varia
-
This is a very simple filter based on level matching.
- LevelMatchFilter() - Constructor for class org.apache.log4j.varia.LevelMatchFilter
- LevelPatternConverter - Class in org.apache.log4j.pattern
-
Return the event's level in a StringBuffer.
- LevelRangeFilter - Class in org.apache.log4j.varia
-
This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.
- LevelRangeFilter() - Constructor for class org.apache.log4j.varia.LevelRangeFilter
- LINE_SEP - Static variable in class org.apache.log4j.Layout
- LINE_SEP_LEN - Static variable in class org.apache.log4j.Layout
- LineLocationPatternConverter - Class in org.apache.log4j.pattern
-
Return the event's line location information in a StringBuffer.
- LineSeparatorPatternConverter - Class in org.apache.log4j.pattern
-
Formats a line separator.
- listIterator() - Method in class org.apache.log4j.helpers.COWArrayList
- listIterator(int) - Method in class org.apache.log4j.helpers.COWArrayList
- LiteralPatternConverter - Class in org.apache.log4j.pattern
-
Formats a string literal.
- LiteralPatternConverter(String) - Constructor for class org.apache.log4j.pattern.LiteralPatternConverter
-
Create a new instance.
- 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 in org.apache.log4j.helpers
-
Load resources (or images) from various sources.
- Loader() - Constructor for class org.apache.log4j.helpers.Loader
- LOCATION_INFO_OPTION - Static variable in class org.apache.log4j.HTMLLayout
-
Deprecated.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
- LocationInfo - Class in org.apache.log4j.spi
-
The internal representation of caller location information.
- LocationInfo(String, String, String, String) - Constructor for class org.apache.log4j.spi.LocationInfo
-
Create new instance.
- LocationInfo(Throwable, String) - Constructor for class org.apache.log4j.spi.LocationInfo
-
Instantiate location information based on a Throwable.
- locationInformationExists() - Method in class org.apache.log4j.pattern.LogEvent
-
Check for the existence of location information without creating it (a byproduct of calling getLocationInformation).
- locationInformationExists() - Method in class org.apache.log4j.spi.LoggingEvent
-
Check for the existence of location information without creating it (a byproduct of calling getLocationInformation).
- log(String, Priority, Object, Throwable) - Method in class org.apache.log4j.Category
-
This is the most generic printing method.
- log(String, Priority, Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
-
This is the most generic printing method.
- log(Logger, Level, String, boolean) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, boolean) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, byte) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, byte) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, char) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, char) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, double) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, double) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, float) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, float) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, int) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, int) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, long) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, long) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, short) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, short) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specifed level.
- log(Logger, Level, String, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specifed level.
- log(Logger, Level, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Logger, Level, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at specified level.
- log(Logger, Level, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at specified level.
- log(Priority, Object) - Method in class org.apache.log4j.Category
-
This generic form is intended to be used by wrappers.
- log(Priority, Object) - Method in class org.apache.log4j.spi.NOPLogger
-
This generic form is intended to be used by wrappers.
- log(Priority, Object, Throwable) - Method in class org.apache.log4j.Category
-
This generic form is intended to be used by wrappers.
- log(Priority, Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
-
This generic form is intended to be used by wrappers.
- LOG_AUTH - Static variable in class org.apache.log4j.net.SyslogAppender
-
security/authorization messages
- LOG_AUTHPRIV - Static variable in class org.apache.log4j.net.SyslogAppender
-
security/authorization messages (private)
- LOG_CRON - Static variable in class org.apache.log4j.net.SyslogAppender
-
clock daemon
- LOG_DAEMON - Static variable in class org.apache.log4j.net.SyslogAppender
-
System daemons
- LOG_FTP - Static variable in class org.apache.log4j.net.SyslogAppender
-
ftp daemon
- LOG_KERN - Static variable in class org.apache.log4j.net.SyslogAppender
-
Kernel messages
- LOG_LOCAL0 - Static variable in class org.apache.log4j.net.SyslogAppender
-
reserved for local use
- LOG_LOCAL1 - Static variable in class org.apache.log4j.net.SyslogAppender
-
reserved for local use
- LOG_LOCAL2 - Static variable in class org.apache.log4j.net.SyslogAppender
-
reserved for local use
- LOG_LOCAL3 - Static variable in class org.apache.log4j.net.SyslogAppender
-
reserved for local use
- LOG_LOCAL4 - Static variable in class org.apache.log4j.net.SyslogAppender
-
reserved for local use
- LOG_LOCAL5 - Static variable in class org.apache.log4j.net.SyslogAppender
-
reserved for local use
- LOG_LOCAL6 - Static variable in class org.apache.log4j.net.SyslogAppender
-
reserved for local use
- LOG_LOCAL7 - Static variable in class org.apache.log4j.net.SyslogAppender
-
reserved for local use
- LOG_LPR - Static variable in class org.apache.log4j.net.SyslogAppender
-
line printer subsystem
- LOG_MAIL - Static variable in class org.apache.log4j.net.SyslogAppender
-
Mail system
- LOG_NEWS - Static variable in class org.apache.log4j.net.SyslogAppender
-
network news subsystem
- LOG_SYSLOG - Static variable in class org.apache.log4j.net.SyslogAppender
-
messages generated internally by syslogd
- LOG_USER - Static variable in class org.apache.log4j.net.SyslogAppender
-
Random user-level messages
- LOG_UUCP - Static variable in class org.apache.log4j.net.SyslogAppender
-
UUCP subsystem
- Log4jEntityResolver - Class in org.apache.log4j.xml
-
An
EntityResolver
specifically designed to returnlog4j.dtd
which is embedded within the log4j jar file. - Log4jEntityResolver() - Constructor for class org.apache.log4j.xml.Log4jEntityResolver
- LogEvent - Class in org.apache.log4j.pattern
-
This class is a copy of o.a.l.spi.LoggingEvent from log4j 1.2.15 which has been renamed to keep the same overall class name length to allow a serialization written with a prior instance of o.a.l.spi.LoggingEvent to be deserialized with this class just by mangling the class name in the byte stream.
- LogEvent(String, Category, long, Priority, Object, Throwable) - Constructor for class org.apache.log4j.pattern.LogEvent
-
Instantiate a LoggingEvent from the supplied parameters.
- LogEvent(String, Category, Priority, Object, Throwable) - Constructor for class org.apache.log4j.pattern.LogEvent
-
Instantiate a LoggingEvent from the supplied parameters.
- LogEvent(String, Logger, long, Level, Object, String, ThrowableInformation, String, LocationInfo, Map) - Constructor for class org.apache.log4j.pattern.LogEvent
-
Create new instance.
- Logger - Class in org.apache.log4j
-
This is the central class in the log4j package.
- Logger(String) - Constructor for class org.apache.log4j.Logger
- LOGGER_FACTORY_KEY - Static variable in class org.apache.log4j.PropertyConfigurator
-
Key for specifying the
LoggerFactory
. - loggerFactory - Variable in class org.apache.log4j.PropertyConfigurator
- LoggerFactory - Interface in org.apache.log4j.spi
-
Implement this interface to create new instances of Logger or a sub-class of Logger.
- LoggerPatternConverter - Class in org.apache.log4j.pattern
-
Formats a logger name.
- LoggerRepository - Interface in org.apache.log4j.spi
-
A
LoggerRepository
is used to create and retrieveLoggers
. - LoggingEvent - Class in org.apache.log4j.spi
-
The internal representation of logging events.
- LoggingEvent(String, Category, long, Level, Object, String, ThrowableInformation, String, LocationInfo, Map) - Constructor for class org.apache.log4j.spi.LoggingEvent
-
Create new instance.
- LoggingEvent(String, Category, long, Priority, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
-
Instantiate a LoggingEvent from the supplied parameters.
- LoggingEvent(String, Category, Priority, Object, Throwable) - Constructor for class org.apache.log4j.spi.LoggingEvent
-
Instantiate a LoggingEvent from the supplied parameters.
- LoggingEventPatternConverter - Class in org.apache.log4j.pattern
-
LoggingEventPatternConverter is a base class for pattern converters that can format information from instances of LoggingEvent.
- LoggingEventPatternConverter(String, String) - Constructor for class org.apache.log4j.pattern.LoggingEventPatternConverter
-
Constructs an instance of LoggingEventPatternConverter.
- LogLog - Class in org.apache.log4j.helpers
-
This class used to output log statements from within the log4j package.
- LogLog() - Constructor for class org.apache.log4j.helpers.LogLog
- LogManager - Class in org.apache.log4j
-
Use the
LogManager
class to retreiveLogger
instances or to operate on the currentLoggerRepository
. - LogManager() - Constructor for class org.apache.log4j.LogManager
- LogMF - Class in org.apache.log4j
-
This class provides parameterized logging services using the pattern syntax of java.text.MessageFormat.
- logrb(Logger, Level, String, String, boolean) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, boolean) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, byte) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, byte) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, char) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, char) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, double) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, double) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, float) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, float) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, int) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, int) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, long) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, long) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, short) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, short) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, String, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, Throwable, String, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message using a pattern from a resource bundle.
- logrb(Logger, Level, Throwable, String, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message using a pattern from a resource bundle.
- LogSF - Class in org.apache.log4j
-
This class provides parameterized logging services using the SLF4J pattern syntax.
- LogXF - Class in org.apache.log4j
-
This is a base class for LogMF and LogSF parameterized logging classes.
- LogXF() - Constructor for class org.apache.log4j.LogXF
- lookup(Context, String) - Method in class org.apache.log4j.net.JMSAppender
- lookupObject(Context, String) - Static method in class org.apache.log4j.net.JNDIUtil
M
- main(String[]) - Static method in class org.apache.log4j.chainsaw.Main
-
The main method.
- main(String[]) - Static method in class org.apache.log4j.config.PropertyPrinter
- main(String[]) - Static method in class org.apache.log4j.net.JMSSink
- main(String[]) - Static method in class org.apache.log4j.net.SimpleSocketServer
- main(String[]) - Static method in class org.apache.log4j.net.SocketServer
- main(String[]) - Static method in class org.apache.log4j.varia.Roller
-
Send a "RollOver" message to
ExternallyRolledFileAppender
onhost
andport
. - Main - Class in org.apache.log4j.chainsaw
-
The main application.
- makeNewLoggerInstance(String) - Method in interface org.apache.log4j.spi.LoggerFactory
- MapRewritePolicy - Class in org.apache.log4j.rewrite
-
This policy rewrites events where the message of the original event implementes java.util.Map.
- MapRewritePolicy() - Constructor for class org.apache.log4j.rewrite.MapRewritePolicy
- MAX_CAPACITY - Variable in class org.apache.log4j.EnhancedPatternLayout
-
Deprecated.since 1.3
- MAX_CAPACITY - Variable in class org.apache.log4j.HTMLLayout
- MAX_CAPACITY - Variable in class org.apache.log4j.PatternLayout
- maxBackupIndex - Variable in class org.apache.log4j.RollingFileAppender
-
There is one backup file by default.
- maxFileSize - Variable in class org.apache.log4j.RollingFileAppender
-
The default maximum file size is 10MB.
- MDC - Class in org.apache.log4j
-
The MDC class is similar to the
NDC
class except that it is based on a map instead of a stack. - MDCKeySetExtractor - Class in org.apache.log4j.helpers
- MessagePatternConverter - Class in org.apache.log4j.pattern
-
Return the event's rendered message in a StringBuffer.
- MessageRenderer - Class in org.apache.log4j.or.jms
-
Render
javax.jms.Message
objects. - MessageRenderer() - Constructor for class org.apache.log4j.or.jms.MessageRenderer
- MethodLocationPatternConverter - Class in org.apache.log4j.pattern
-
Return the event's line location information in a StringBuffer.
- MISSING_LAYOUT - Static variable in interface org.apache.log4j.spi.ErrorCode
- msg - Variable in class org.apache.log4j.net.SMTPAppender
N
- NA - Static variable in class org.apache.log4j.spi.LocationInfo
-
When location information is not available the constant
NA
is returned. - NA_LOCATION_INFO - Static variable in class org.apache.log4j.spi.LocationInfo
-
NA_LOCATION_INFO is provided for compatibility with log4j 1.3.
- name - Variable in class org.apache.log4j.AppenderSkeleton
-
Appenders are named.
- name - Variable in class org.apache.log4j.Category
-
The name of this category.
- NameAbbreviator - Class in org.apache.log4j.pattern
-
NameAbbreviator generates abbreviated logger and class names.
- NameAbbreviator() - Constructor for class org.apache.log4j.pattern.NameAbbreviator
- NamePatternConverter - Class in org.apache.log4j.pattern
-
Base class for other pattern converters which can return only parts of their name.
- NamePatternConverter(String, String, String[]) - Constructor for class org.apache.log4j.pattern.NamePatternConverter
-
Constructor.
- NDC - Class in org.apache.log4j
-
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.
- NDCPatternConverter - Class in org.apache.log4j.pattern
-
Return the event's NDC in a StringBuffer.
- NEUTRAL - Static variable in class org.apache.log4j.spi.Filter
-
This filter is neutral with respect to the log event.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.ClassNamePatternConverter
-
Gets an instance of ClassNamePatternConverter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.DatePatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.FileDatePatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.FileLocationPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.FullLocationPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.IntegerPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.LevelPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.LineLocationPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.LineSeparatorPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.LoggerPatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.MessagePatternConverter
-
Obtains an instance of pattern converter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.MethodLocationPatternConverter
-
Obtains an instance of MethodLocationPatternConverter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.NDCPatternConverter
-
Obtains an instance of NDCPatternConverter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.PropertiesPatternConverter
-
Obtains an instance of PropertiesPatternConverter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.RelativeTimePatternConverter
-
Obtains an instance of RelativeTimePatternConverter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.SequenceNumberPatternConverter
-
Obtains an instance of SequencePatternConverter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.ThreadPatternConverter
-
Obtains an instance of ThreadPatternConverter.
- newInstance(String[]) - Static method in class org.apache.log4j.pattern.ThrowableInformationPatternConverter
-
Gets an instance of the class.
- next - Variable in class org.apache.log4j.helpers.PatternConverter
- next - Variable in class org.apache.log4j.spi.Filter
-
Deprecated.As of 1.2.12, use
Filter.getNext()
andFilter.setNext(org.apache.log4j.spi.Filter)
instead - nextElement() - Method in class org.apache.log4j.helpers.NullEnumeration
- NO_MILLISECONDS - Static variable in class org.apache.log4j.pattern.CachedDateFormat
-
Constant used to represent that there was no change observed when changing the millisecond count.
- NOPLogger - Class in org.apache.log4j.spi
-
No-operation implementation of Logger used by NOPLoggerRepository.
- NOPLogger(NOPLoggerRepository, String) - Constructor for class org.apache.log4j.spi.NOPLogger
-
Create instance of Logger.
- NOPLoggerRepository - Class in org.apache.log4j.spi
-
No-operation implementation of LoggerRepository which is used when LogManager.repositorySelector is erroneously nulled during class reloading.
- NOPLoggerRepository() - Constructor for class org.apache.log4j.spi.NOPLoggerRepository
- NULL - Static variable in interface org.apache.log4j.spi.Configurator
-
Special level signifying inherited behaviour, same as
Configurator.INHERITED
. - NULL_ARG - Static variable in class org.apache.log4j.config.PropertyGetter
- NULL_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.DateLayout
-
String constant designating no time information.
- NullAppender - Class in org.apache.log4j.varia
-
A NullAppender merely exists, it never outputs a message to any device.
- NullAppender() - Constructor for class org.apache.log4j.varia.NullAppender
- NullEnumeration - Class in org.apache.log4j.helpers
-
An always-empty Enumerator.
- numAppenders - Variable in class org.apache.log4j.config.PropertyPrinter
O
- obj - Variable in class org.apache.log4j.config.PropertyGetter
- obj - Variable in class org.apache.log4j.config.PropertySetter
- ObjectRenderer - Interface in org.apache.log4j.or
-
Implement this interface in order to render objects as strings.
- OFF - Static variable in class org.apache.log4j.Level
-
The
OFF
has the highest possible rank and is intended to turn off logging. - OFF_INT - Static variable in class org.apache.log4j.Priority
- OK - Static variable in class org.apache.log4j.varia.ExternallyRolledFileAppender
-
The string constant sent to acknowledge a roll over.
- OnlyOnceErrorHandler - Class in org.apache.log4j.helpers
-
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.apache.log4j.helpers.OnlyOnceErrorHandler
- onMessage(Message) - Method in class org.apache.log4j.net.JMSSink
- OptionConverter - Class in org.apache.log4j.helpers
-
A convenience class to convert property values to specific types.
- OptionHandler - Interface in org.apache.log4j.spi
-
A string based interface to configure package components.
- org.apache.log4j - package org.apache.log4j
-
The main log4j package.
- org.apache.log4j.chainsaw - package org.apache.log4j.chainsaw
-
Chainsaw is a GUI log viewer and filter for the log4j package.
- org.apache.log4j.config - package org.apache.log4j.config
-
Package used in getting/setting component properties.
- org.apache.log4j.helpers - package org.apache.log4j.helpers
-
This package is used internally.
- org.apache.log4j.jdbc - package org.apache.log4j.jdbc
- org.apache.log4j.net - package org.apache.log4j.net
-
Package for remote logging.
- org.apache.log4j.or - package org.apache.log4j.or
-
ObjectRenders are resposible for rendering messages depending on their class type.
- org.apache.log4j.or.jms - package org.apache.log4j.or.jms
-
This package contains the MessageRenderer which renders objects of type
javax.jms.Message
. - org.apache.log4j.or.sax - package org.apache.log4j.or.sax
-
This package contains the AttributesRenderer which renders object of class
org.xml.sax.Attributes
. - org.apache.log4j.pattern - package org.apache.log4j.pattern
-
Provides classes implementing format specifiers in conversion patterns.
- org.apache.log4j.rewrite - package org.apache.log4j.rewrite
- org.apache.log4j.spi - package org.apache.log4j.spi
-
Contains part of the System Programming Interface (SPI) needed to extend log4j.
- org.apache.log4j.varia - package org.apache.log4j.varia
-
Contains various appenders, filters and other odds and ends.
- org.apache.log4j.xml - package org.apache.log4j.xml
-
XML based components.
- out - Variable in class org.apache.log4j.config.PropertyPrinter
- overrideAsNeeded(String) - Method in class org.apache.log4j.Hierarchy
-
Deprecated.Deprecated with no replacement.
P
- parent - Variable in class org.apache.log4j.Category
-
The parent of this category.
- parse() - Method in class org.apache.log4j.helpers.PatternParser
- parse() - Method in class org.apache.log4j.pattern.BridgePatternParser
-
Create new pattern converter.
- parse(String, ParsePosition) - Method in class org.apache.log4j.helpers.AbsoluteTimeDateFormat
-
This method does not do anything but return
null
. - parse(String, ParsePosition) - Method in class org.apache.log4j.helpers.DateTimeDateFormat
-
This method does not do anything but return
null
. - parse(String, ParsePosition) - Method in class org.apache.log4j.helpers.ISO8601DateFormat
-
This method does not do anything but return
null
. - parse(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.pattern.CachedDateFormat
-
This method is delegated to the formatter which most likely returns null.
- parse(String, List, List, Map, Map) - Static method in class org.apache.log4j.pattern.PatternParser
-
Parse a format specifier.
- 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.
- 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.
- parseCatsAndRenderers(Properties, LoggerRepository) - Method in class org.apache.log4j.PropertyConfigurator
-
Parse non-root elements, such non-root categories and renderers.
- parseChildrenOfLoggerElement(Element, Logger, boolean) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse the children of a category element.
- parseElement(Element, Properties, Class) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Creates an object and processes any nested param elements but does not call activateOptions.
- parseErrorHandler(Element, Appender) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse an
ErrorHandler
element. - parseFilters(Element, Appender) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse a filter element.
- parseLayout(Element) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Used internally to parse a layout element.
- parseLevel(Element, Logger, boolean) - Method in class org.apache.log4j.xml.DOMConfigurator
-
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.
- parseThrowableRenderer(Element) - Method in class org.apache.log4j.xml.DOMConfigurator
-
Parses throwable renderer.
- parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.net.SMTPAppender
-
Called to inform a configured object when an unrecognized child element is encountered.
- parseUnrecognizedElement(Element, Properties) - Method in class org.apache.log4j.rewrite.RewriteAppender
-
Called to inform a configured object when an unrecognized child element is encountered.
- parseUnrecognizedElement(Element, Properties) - Method in interface org.apache.log4j.xml.UnrecognizedElementHandler
-
Called to inform a configured object when an unrecognized child element is encountered.
- pattern - Variable in class org.apache.log4j.helpers.PatternParser
- PATTERN_RULE_REGISTRY - Static variable in class org.apache.log4j.EnhancedPatternLayout
-
Customized pattern conversion rules are stored under this key in the
LoggerRepository
object store. - PatternConverter - Class in org.apache.log4j.helpers
-
PatternConverter is an abtract class that provides the formatting functionality that derived classes need.
- PatternConverter - Class in org.apache.log4j.pattern
-
PatternConverter is an abstract class that provides the formatting functionality that derived classes need.
- PatternConverter() - Constructor for class org.apache.log4j.helpers.PatternConverter
- PatternConverter(String, String) - Constructor for class org.apache.log4j.pattern.PatternConverter
-
Create a new pattern converter.
- PatternConverter(FormattingInfo) - Constructor for class org.apache.log4j.helpers.PatternConverter
- PatternLayout - Class in org.apache.log4j
-
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 - Variable in class org.apache.log4j.helpers.PatternParser
- PatternParser - Class in org.apache.log4j.helpers
-
Most of the work of the
PatternLayout
class is delegated to the PatternParser class. - PatternParser - Class in org.apache.log4j.pattern
-
Most of the work of the
EnhancedPatternLayout
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 variable in class org.apache.log4j.chainsaw.Main
-
name of property for port name
- pos - Variable in class org.apache.log4j.helpers.DateLayout
- 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, Category) - Method in class org.apache.log4j.config.PropertyPrinter
- printOptions(PrintWriter, Logger) - Method in class org.apache.log4j.config.PropertyPrinter
- Priority - Class in org.apache.log4j
-
Refrain from using this class directly, use the
Level
class instead. - Priority() - Constructor for class org.apache.log4j.Priority
-
Default constructor for deserialization.
- Priority(int, String, int) - Constructor for class org.apache.log4j.Priority
-
Instantiate a level object.
- PropertiesPatternConverter - Class in org.apache.log4j.pattern
-
Able to handle the contents of the LoggingEvent's Property bundle and either output the entire contents of the properties in a similar format to the java.util.Hashtable.toString(), or to output the value of a specific key within the property bundle when this pattern converter has the option set.
- PropertyConfigurator - Class in org.apache.log4j
-
Allows the configuration of log4j from an external file.
- PropertyConfigurator() - Constructor for class org.apache.log4j.PropertyConfigurator
- PropertyGetter - Class in org.apache.log4j.config
-
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.
- PropertyGetter.PropertyCallback - Interface in org.apache.log4j.config
- PropertyPrinter - Class in org.apache.log4j.config
-
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
- PropertyRewritePolicy - Class in org.apache.log4j.rewrite
-
This policy rewrites events by adding a user-specified list of properties to the event.
- PropertyRewritePolicy() - Constructor for class org.apache.log4j.rewrite.PropertyRewritePolicy
- PropertySetter - Class in org.apache.log4j.config
-
General purpose Object property setter.
- PropertySetter(Object) - Constructor for class org.apache.log4j.config.PropertySetter
-
Create a new PropertySetter for the specified Object.
- PropertySetterException - Exception in org.apache.log4j.config
-
Thrown when an error is encountered whilst attempting to set a property using the
PropertySetter
utility class. - PropertySetterException(String) - Constructor for exception org.apache.log4j.config.PropertySetterException
- PropertySetterException(Throwable) - Constructor for exception org.apache.log4j.config.PropertySetterException
- props - Variable in class org.apache.log4j.config.PropertyGetter
- props - Variable in class org.apache.log4j.config.PropertySetter
- push(String) - Static method in class org.apache.log4j.NDC
-
Push new diagnostic context information for the current thread.
- put(Class, ObjectRenderer) - Method in class org.apache.log4j.or.RendererMap
-
Register an
ObjectRenderer
forclazz
. - put(String, Object) - Static method in class org.apache.log4j.MDC
-
Put a context value (the
o
parameter) as identified with thekey
parameter into the current thread's context map. - put(LoggingEvent) - Method in class org.apache.log4j.helpers.BoundedFIFO
-
Place a
LoggingEvent
in the buffer.
Q
- QuietWriter - Class in org.apache.log4j.helpers
-
QuietWriter does not throw exceptions when things go wrong.
- QuietWriter(Writer, ErrorHandler) - Constructor for class org.apache.log4j.helpers.QuietWriter
- qw - Variable in class org.apache.log4j.WriterAppender
-
This is the
quietWriter
where we will write to.
R
- ReflectionRewritePolicy - Class in org.apache.log4j.rewrite
-
This policy rewrites events by evaluating any JavaBean properties on the message object and adding them to the event properties.
- ReflectionRewritePolicy() - Constructor for class org.apache.log4j.rewrite.ReflectionRewritePolicy
- registry - Variable in class org.apache.log4j.PropertyConfigurator
-
Used internally to keep track of configured appenders.
- RELATIVE_TIME_DATE_FORMAT - Static variable in class org.apache.log4j.helpers.DateLayout
-
String constant designating relative time.
- RelativeTimeDateFormat - Class in org.apache.log4j.helpers
-
Formats a
Date
by printing the number of milliseconds elapsed since construction of the format. - RelativeTimeDateFormat() - Constructor for class org.apache.log4j.helpers.RelativeTimeDateFormat
- RelativeTimePatternConverter - Class in org.apache.log4j.pattern
-
Return the relative time in milliseconds since loading of the LoggingEvent class.
- RelativeTimePatternConverter() - Constructor for class org.apache.log4j.pattern.RelativeTimePatternConverter
-
Private constructor.
- ReloadingPropertyConfigurator - Class in org.apache.log4j.varia
- 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(int) - Method in class org.apache.log4j.helpers.COWArrayList
- remove(Object) - Method in class org.apache.log4j.helpers.COWArrayList
- remove(String) - Static method in class org.apache.log4j.MDC
-
Remove the the context identified by the
key
parameter. - removeAll(Collection<?>) - Method in class org.apache.log4j.helpers.COWArrayList
- removeAllAppenders() - Method in class org.apache.log4j.AsyncAppender
-
Removes and closes all attached appenders.
- removeAllAppenders() - Method in class org.apache.log4j.Category
-
Remove all previously added appenders from this Category instance.
- removeAllAppenders() - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
-
Remove and close all previously attached appenders.
- removeAllAppenders() - Method in class org.apache.log4j.rewrite.RewriteAppender
-
Removes and closes all attached appenders.
- removeAllAppenders() - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Remove all previously added appenders.
- removeAllAppenders() - Method in class org.apache.log4j.spi.NOPLogger
-
Remove all previously added appenders from this Category instance.
- removeAppender(String) - Method in class org.apache.log4j.AsyncAppender
-
Remove appender by name.
- removeAppender(String) - Method in class org.apache.log4j.Category
-
Remove the appender with the name passed as parameter form 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.rewrite.RewriteAppender
-
Remove appender by name.
- removeAppender(String) - Method in interface 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.spi.NOPLogger
-
Remove the appender with the name passed as parameter form the list of appenders.
- removeAppender(Appender) - Method in class org.apache.log4j.AsyncAppender
-
Removes an appender.
- removeAppender(Appender) - Method in class org.apache.log4j.Category
-
Remove the appender passed as parameter form the list of appenders.
- removeAppender(Appender) - Method in class org.apache.log4j.helpers.AppenderAttachableImpl
-
Remove the appender passed as parameter form the list of attached appenders.
- removeAppender(Appender) - Method in class org.apache.log4j.rewrite.RewriteAppender
-
Removes an appender.
- removeAppender(Appender) - Method in interface org.apache.log4j.spi.AppenderAttachable
-
Remove the appender passed as parameter from the list of appenders.
- removeAppender(Appender) - Method in class org.apache.log4j.spi.NOPLogger
-
Remove the appender passed as parameter form the list of appenders.
- removeAppenderEvent(Category, Appender) - Method in interface org.apache.log4j.spi.HierarchyEventListener
- removeProperty(String) - Method in class org.apache.log4j.spi.LoggingEvent
-
This removes the specified MDC property from the event.
- render(Throwable) - Static method in class org.apache.log4j.DefaultThrowableRenderer
-
Render throwable using Throwable.printStackTrace.
- RendererMap - Class in org.apache.log4j.or
-
Map class objects to an
ObjectRenderer
. - RendererMap() - Constructor for class org.apache.log4j.or.RendererMap
- RendererSupport - Interface in org.apache.log4j.spi
- repository - Variable in class org.apache.log4j.Category
- RepositorySelector - Interface in org.apache.log4j.spi
-
The
LogManager
uses one (and only one)RepositorySelector
implementation to select theLoggerRepository
for a particular application context. - requiresLayout() - Method in interface org.apache.log4j.Appender
-
Configurators call this method to determine if the appender requires a layout.
- requiresLayout() - Method in class org.apache.log4j.AsyncAppender
-
Configurators call this method to determine if the appender requires 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.net.SMTPAppender
-
The
SMTPAppender
requires alayout
. - 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.rewrite.RewriteAppender
-
Configurators call this method to determine if the appender requires a layout.
- requiresLayout() - Method in class org.apache.log4j.varia.NullAppender
-
NullAppenders do not need a layout.
- 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.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() - Static method in class org.apache.log4j.LogManager
- resetConfiguration() - Method in interface org.apache.log4j.spi.LoggerRepository
- resetConfiguration() - Method in class org.apache.log4j.spi.NOPLoggerRepository
- 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
. - resolveClass(ObjectStreamClass) - Method in class org.apache.log4j.net.HardenedObjectInputStream
- resolveEntity(String, String) - Method in class org.apache.log4j.xml.Log4jEntityResolver
- resourceBundle - Variable in class org.apache.log4j.Category
- retainAll(Collection<?>) - Method in class org.apache.log4j.helpers.COWArrayList
- rewrite(LoggingEvent) - Method in class org.apache.log4j.rewrite.MapRewritePolicy
-
Rewrite a logging event.
- rewrite(LoggingEvent) - Method in class org.apache.log4j.rewrite.PropertyRewritePolicy
-
Rewrite a logging event.
- rewrite(LoggingEvent) - Method in class org.apache.log4j.rewrite.ReflectionRewritePolicy
-
Rewrite a logging event.
- rewrite(LoggingEvent) - Method in interface org.apache.log4j.rewrite.RewritePolicy
-
Rewrite a logging event.
- RewriteAppender - Class in org.apache.log4j.rewrite
-
This appender forwards a logging request to another appender after possibly rewriting the logging event.
- RewriteAppender() - Constructor for class org.apache.log4j.rewrite.RewriteAppender
- RewritePolicy - Interface in org.apache.log4j.rewrite
-
This interface is implemented to provide a rewrite strategy for RewriteAppender.
- ROLL_OVER - Static variable in class org.apache.log4j.varia.ExternallyRolledFileAppender
-
The string constant sent to initiate a roll over.
- Roller - Class in org.apache.log4j.varia
-
A simple application to send roll over messages to a potentially remote
ExternallyRolledFileAppender
. - RollingFileAppender - Class in org.apache.log4j
-
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
. - RollingFileAppender(Layout, String) - Constructor for class org.apache.log4j.RollingFileAppender
-
Instantiate a FileAppender and open the file designated by
filename
. - RollingFileAppender(Layout, String, boolean) - Constructor for class org.apache.log4j.RollingFileAppender
-
Instantiate a RollingFileAppender and open the file designated by
filename
. - rollOver() - Method in class org.apache.log4j.RollingFileAppender
-
Implements the usual roll over behaviour.
- RootCategory - Class in org.apache.log4j.spi
-
Deprecated.Replaced by
RootLogger
. - RootCategory(Level) - Constructor for class org.apache.log4j.spi.RootCategory
-
Deprecated.The root category names itself as "root".
- rootCause - Variable in exception org.apache.log4j.config.PropertySetterException
- RootLogger - Class in org.apache.log4j.spi
-
RootLogger sits at the top of the logger hierachy.
- RootLogger(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
- SAXErrorHandler - Class in org.apache.log4j.xml
- SAXErrorHandler() - Constructor for class org.apache.log4j.xml.SAXErrorHandler
- selectAndConfigure(InputStream, String, LoggerRepository) - Static method in class org.apache.log4j.helpers.OptionConverter
-
Configure log4j given an
InputStream
. - selectAndConfigure(URL, String, LoggerRepository) - Static method in class org.apache.log4j.helpers.OptionConverter
-
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.
- SequenceNumberPatternConverter - Class in org.apache.log4j.pattern
-
Formats the event sequence number.
- set(int, E) - Method in class org.apache.log4j.helpers.COWArrayList
- 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.
- setAdvertiseViaMulticastDNS(boolean) - Method in class org.apache.log4j.net.SocketAppender
- setAdvertiseViaMulticastDNS(boolean) - Method in class org.apache.log4j.net.SocketHubAppender
- setAppend(boolean) - Method in class org.apache.log4j.FileAppender
-
The Append option takes a boolean value.
- setAppender(Appender) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
-
Does not do anything.
- setAppender(Appender) - Method in interface org.apache.log4j.spi.ErrorHandler
-
Set the appender for which errors are handled.
- setAppender(Appender) - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
The appender to which this error handler is attached.
- setApplication(String) - Method in class org.apache.log4j.net.SocketAppender
-
The App option takes a string value which should be the name of the application getting logged.
- setApplication(String) - Method in class org.apache.log4j.net.SocketHubAppender
-
The App option takes a string value which should be the name of the application getting logged.
- setBackupAppender(Appender) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
-
Does not do anything.
- setBackupAppender(Appender) - Method in interface org.apache.log4j.spi.ErrorHandler
-
Set the appender to falkback upon in case of failure.
- setBackupAppender(Appender) - Method in class org.apache.log4j.varia.FallbackErrorHandler
-
Set the backup appender.
- setBcc(String) - Method in class org.apache.log4j.net.SMTPAppender
-
Set the bcc recipient addresses.
- setBlocking(boolean) - Method in class org.apache.log4j.AsyncAppender
-
Sets whether appender should wait if there is no space available in the event buffer or immediately return.
- 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
-
Sets the number of messages allowed in the event buffer before the calling thread is blocked (if blocking is true) or until messages are summarized and discarded.
- 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.
- setBufferSize(int) - Method in class org.apache.log4j.net.SocketHubAppender
-
The BufferSize option takes a positive integer representing the number of events this appender will buffer and send to newly connected clients.
- setCategoryPrefixing(boolean) - Method in class org.apache.log4j.TTCCLayout
-
The CategoryPrefixing option specifies whether
Category
name is part of log output or not. - setCc(String) - Method in class org.apache.log4j.net.SMTPAppender
-
Set the cc recipient addresses.
- setCheckServerIdentity(boolean) - Method in class org.apache.log4j.net.SMTPAppender
-
Setting the checkServerIdentity option to false will disable server identity check.
- 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.EnhancedPatternLayout
-
Set the ConversionPattern option.
- setConversionPattern(String) - Method in class org.apache.log4j.PatternLayout
-
Set the ConversionPattern option.
- setCount(long) - Method in class org.apache.log4j.helpers.CountingQuietWriter
- 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. - setDateFormat(DateFormat, TimeZone) - Method in class org.apache.log4j.helpers.DateLayout
-
Sets the
DateFormat
used to format time and date in the zone determined bytimeZone
. - 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
-
Deprecated.Deprecated with no replacement.
- 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
- setErrorHandler(ErrorHandler) - Method in interface org.apache.log4j.Appender
-
Set the
ErrorHandler
for this appender. - setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.AppenderSkeleton
-
Set the
ErrorHandler
for this Appender. - setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.helpers.QuietWriter
- setErrorHandler(ErrorHandler) - Method in class org.apache.log4j.WriterAppender
-
Set the
ErrorHandler
for this WriterAppender and also the underlyingQuietWriter
if any. - setEvaluator(TriggeringEventEvaluator) - Method in class org.apache.log4j.net.SMTPAppender
-
Sets triggering evaluator.
- 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
- 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.
- setHeader(boolean) - Method in class org.apache.log4j.net.SyslogAppender
-
Returns whether the appender produces the HEADER part (that is, timestamp and host name) of the syslog packet.
- 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 theInitialContext(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(Layout) - Method in interface org.apache.log4j.Appender
-
Set the
Layout
for this appender. - setLayout(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(Level) - Method in class org.apache.log4j.Category
-
Set the level of this Category.
- setLevel(Level) - Method in class org.apache.log4j.spi.NOPLogger
-
Set the level of this Category.
- setLevel(Level) - Method in class org.apache.log4j.spi.RootCategory
-
Deprecated.Setting a null value to the level of the root category may have catastrophic results.
- setLevel(Level) - Method in class org.apache.log4j.spi.RootLogger
-
Setting a null value to the level of the root logger may have catastrophic results.
- setLevelMax(Level) - Method in class org.apache.log4j.varia.LevelRangeFilter
-
Set the
LevelMax
option. - setLevelMin(Level) - Method in class org.apache.log4j.varia.LevelRangeFilter
-
Set the
LevelMin
option. - setLevelToMatch(String) - Method in class org.apache.log4j.varia.LevelMatchFilter
- 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.jdbc.JDBCAppender
-
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(Logger) - Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
-
Does not do anything.
- setLogger(Logger) - Method in interface org.apache.log4j.spi.ErrorHandler
-
Add a reference to a logger to which the failing appender might be attached to.
- setLogger(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.
- 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.
- setName(String) - Method in interface 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.
- setNext(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
-
Deprecated.Use the setter method for the option directly instead of the generic
setOption
method. - setOption(String, String) - Method in class org.apache.log4j.varia.DenyAllFilter
-
Deprecated.Use the setter method for the option directly instead of the generic
setOption
method. - setOption(String, String) - Method in class org.apache.log4j.varia.StringMatchFilter
-
Deprecated.Use the setter method for the option directly instead of the generic
setOption
method. - setParameter(Element, PropertySetter) - Method in class org.apache.log4j.xml.DOMConfigurator
- setParameter(Element, PropertySetter, Properties) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Sets a parameter based from configuration file content.
- 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.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
- 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.
- setPriority(Level) - Method in class org.apache.log4j.spi.RootCategory
-
Deprecated.
- setPriority(Priority) - Method in class org.apache.log4j.Category
-
Deprecated.Please use
Category.setLevel(org.apache.log4j.Level)
instead. - setPriority(Priority) - Method in class org.apache.log4j.spi.NOPLogger
-
Set the level of this Category.
- setProperties(boolean) - Method in class org.apache.log4j.xml.XMLLayout
-
Sets whether MDC key-value pairs should be output, default false.
- 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(String) - Method in class org.apache.log4j.rewrite.PropertyRewritePolicy
-
Set a string representing the property name/value pairs.
- 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.
- setProperty(String, String) - Method in class org.apache.log4j.pattern.LogEvent
-
Set value for MDC property.
- setProperty(String, String) - Method in class org.apache.log4j.spi.LoggingEvent
-
Set value for MDC property.
- 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
- 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. - setRenderer(Class, ObjectRenderer) - Method in class org.apache.log4j.Hierarchy
-
Used by subclasses to add a renderer to the hierarchy passed as parameter.
- setRenderer(Class, ObjectRenderer) - Method in interface org.apache.log4j.spi.RendererSupport
- setReplyTo(String) - Method in class org.apache.log4j.net.SMTPAppender
-
Set the e-mail addresses to which replies should be directed.
- setRepositorySelector(RepositorySelector, Object) - Static method in class org.apache.log4j.LogManager
-
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
Category.l7dlog(Priority,String,Throwable)
andCategory.l7dlog(Priority,String,Object[],Throwable)
. - setResourceBundle(ResourceBundle) - Method in class org.apache.log4j.spi.NOPLogger
-
Set the resource bundle to be used with localized logging methods
Category.l7dlog(Priority,String,Throwable)
andCategory.l7dlog(Priority,String,Object[],Throwable)
. - setRewritePolicy(RewritePolicy) - Method in class org.apache.log4j.rewrite.RewriteAppender
- setSecurityCredentials(String) - Method in class org.apache.log4j.net.JMSAppender
- setSecurityPrincipalName(String) - Method in class org.apache.log4j.net.JMSAppender
- setSendOnClose(boolean) - Method in class org.apache.log4j.net.SMTPAppender
-
Set sendOnClose.
- setSMTPDebug(boolean) - Method in class org.apache.log4j.net.SMTPAppender
-
Setting the SmtpDebug option to true will cause the mail session to log its server interaction to stdout.
- 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.
- setSMTPPassword(String) - Method in class org.apache.log4j.net.SMTPAppender
-
The SmtpPassword option takes a string value which should be the password required to authenticate against the mail server.
- setSMTPPort(int) - Method in class org.apache.log4j.net.SMTPAppender
-
Set port.
- setSMTPProtocol(String) - Method in class org.apache.log4j.net.SMTPAppender
-
Set transport protocol.
- setSMTPUsername(String) - Method in class org.apache.log4j.net.SMTPAppender
-
The SmtpUsername option takes a string value which should be the username required to authenticate against the mail server.
- 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.
- 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(String) - Method in class org.apache.log4j.Hierarchy
-
The string form of
Hierarchy.setThreshold(Level)
. - setThreshold(String) - Method in interface org.apache.log4j.spi.LoggerRepository
-
Another form of
LoggerRepository.setThreshold(Level)
accepting a string parameter instead of aLevel
. - setThreshold(String) - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Another form of
LoggerRepository.setThreshold(Level)
accepting a string parameter instead of aLevel
. - setThreshold(Level) - Method in class org.apache.log4j.Hierarchy
-
Enable logging for logging requests with level
l
or higher. - setThreshold(Level) - Method in interface org.apache.log4j.spi.LoggerRepository
-
Set the repository-wide threshold.
- setThreshold(Level) - Method in class org.apache.log4j.spi.NOPLoggerRepository
-
Set the repository-wide threshold.
- setThreshold(Priority) - Method in class org.apache.log4j.AppenderSkeleton
-
Set the threshold level.
- setThrowableRenderer(ThrowableRenderer) - Method in class org.apache.log4j.Hierarchy
-
Set throwable renderer.
- setThrowableRenderer(ThrowableRenderer) - Method in interface org.apache.log4j.spi.ThrowableRendererSupport
-
Set throwable renderer.
- 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(java.lang.String)
method. - setTimeZone(TimeZone) - Method in class org.apache.log4j.pattern.CachedDateFormat
-
Set timezone.
- 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 variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
SEVERE.
- SEVERE_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for SEVERE.
- shouldFlush(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
-
Determines whether the writer should be flushed after this event is written.
- shutdown() - Static method in class org.apache.log4j.Category
-
Deprecated.Please use
LogManager.shutdown()
instead. - 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() - Static method in class org.apache.log4j.LogManager
- shutdown() - Method in interface org.apache.log4j.spi.LoggerRepository
- shutdown() - Method in class org.apache.log4j.spi.NOPLoggerRepository
- SimpleLayout - Class in org.apache.log4j
-
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 in org.apache.log4j.net
-
A simple
SocketNode
based server. - SimpleSocketServer() - Constructor for class org.apache.log4j.net.SimpleSocketServer
- size() - Method in class org.apache.log4j.helpers.COWArrayList
- SMTPAppender - Class in org.apache.log4j.net
-
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. - SMTPAppender(TriggeringEventEvaluator) - Constructor for class org.apache.log4j.net.SMTPAppender
-
Use
evaluator
passed as parameter as theTriggeringEventEvaluator
for this SMTPAppender. - SocketAppender - Class in org.apache.log4j.net
-
Sends
LoggingEvent
objects to a remote a log server, usually aSocketNode
. - SocketAppender() - Constructor for class org.apache.log4j.net.SocketAppender
- SocketAppender(String, int) - Constructor for class org.apache.log4j.net.SocketAppender
-
Connects to remote server at
host
andport
. - SocketAppender(InetAddress, int) - Constructor for class org.apache.log4j.net.SocketAppender
-
Connects to remote server at
address
andport
. - SocketHandler(int) - Constructor for class org.apache.log4j.net.TelnetAppender.SocketHandler
- SocketHubAppender - Class in org.apache.log4j.net
-
Sends
LoggingEvent
objects to a set of remote log servers, usually aSocketNodes
. - 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
andport
. - SocketNode - Class in org.apache.log4j.net
-
Read
LoggingEvent
objects sent from a remote client using Sockets (TCP). - SocketNode(Socket, LoggerRepository) - Constructor for class org.apache.log4j.net.SocketNode
- SocketServer - Class in org.apache.log4j.net
-
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 - Variable 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").
- startTime - Variable in class org.apache.log4j.helpers.RelativeTimeDateFormat
- STRING_TO_MATCH_OPTION - Static variable in class org.apache.log4j.varia.StringMatchFilter
-
Deprecated.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
- StringMatchFilter - Class in org.apache.log4j.varia
-
This is a very simple filter based on string matching.
- StringMatchFilter() - Constructor for class org.apache.log4j.varia.StringMatchFilter
- subAppend(LoggingEvent) - Method in class org.apache.log4j.DailyRollingFileAppender
-
This method differentiates DailyRollingFileAppender from its super class.
- subAppend(LoggingEvent) - Method in class org.apache.log4j.RollingFileAppender
-
This method differentiates RollingFileAppender from its super class.
- subAppend(LoggingEvent) - Method in class org.apache.log4j.WriterAppender
-
Actual writing occurs here.
- subList(int, int) - Method in class org.apache.log4j.helpers.COWArrayList
- subst(String) - Method in class org.apache.log4j.xml.DOMConfigurator
- subst(String, Properties) - Static method in class org.apache.log4j.xml.DOMConfigurator
-
Substitutes property value for any references in expression.
- substVars(String, Properties) - Static method in class org.apache.log4j.helpers.OptionConverter
-
Perform variable substitution in string
val
from the values of keys found in the system propeties. - SYSLOG_HOST_OI - Static variable in class org.apache.log4j.net.SyslogAppender
- SyslogAppender - Class in org.apache.log4j.net
-
Use SyslogAppender to send log messages to a remote syslog daemon.
- SyslogAppender() - Constructor for class org.apache.log4j.net.SyslogAppender
- SyslogAppender(Layout, int) - Constructor for class org.apache.log4j.net.SyslogAppender
- SyslogAppender(Layout, String, int) - Constructor for class org.apache.log4j.net.SyslogAppender
- SyslogQuietWriter - Class in org.apache.log4j.helpers
-
SyslogQuietWriter extends QuietWriter by prepending the syslog level code before each printed String.
- SyslogQuietWriter(Writer, int, ErrorHandler) - Constructor for class org.apache.log4j.helpers.SyslogQuietWriter
- SyslogWriter - Class in org.apache.log4j.helpers
-
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
-
Constructs a new instance of SyslogWriter.
- SYSTEM_ERR - Static variable in class org.apache.log4j.ConsoleAppender
- SYSTEM_OUT - Static variable in class org.apache.log4j.ConsoleAppender
T
- tailFilter - Variable in class org.apache.log4j.AppenderSkeleton
-
The last filter in the filter chain.
- target - Variable in class org.apache.log4j.ConsoleAppender
- TelnetAppender - Class in org.apache.log4j.net
-
The TelnetAppender is a log4j appender that specializes in writing to a read-only socket.
- TelnetAppender() - Constructor for class org.apache.log4j.net.TelnetAppender
- TelnetAppender.SocketHandler - Class in org.apache.log4j.net
-
The SocketHandler class is used to accept connections from clients.
- ThreadGroupRenderer - Class in org.apache.log4j.or
-
Render
ThreadGroup
objects in a format similar to the information output by theThreadGroup.list()
method. - ThreadGroupRenderer() - Constructor for class org.apache.log4j.or.ThreadGroupRenderer
- ThreadLocalMap - Class in org.apache.log4j.helpers
-
ThreadLocalMap
extendsInheritableThreadLocal
to bequeath a copy of the hashtable of the MDC of the parent thread. - ThreadLocalMap() - Constructor for class org.apache.log4j.helpers.ThreadLocalMap
- ThreadPatternConverter - Class in org.apache.log4j.pattern
-
Formats the event thread name.
- threshold - Variable in class org.apache.log4j.AppenderSkeleton
-
There is no level threshold filtering by default.
- ThrowableInformation - Class in org.apache.log4j.spi
-
ThrowableInformation is log4j's internal representation of throwables.
- ThrowableInformation(String[]) - Constructor for class org.apache.log4j.spi.ThrowableInformation
-
Create new instance.
- ThrowableInformation(Throwable) - Constructor for class org.apache.log4j.spi.ThrowableInformation
- ThrowableInformation(Throwable, Category) - Constructor for class org.apache.log4j.spi.ThrowableInformation
-
Create a new instance.
- ThrowableInformationPatternConverter - Class in org.apache.log4j.pattern
-
Outputs the ThrowableInformation portion of the LoggingEvent.
- ThrowableRenderer - Interface in org.apache.log4j.spi
-
Implemented by classes that render instances of java.lang.Throwable (exceptions and errors) into a string representation.
- ThrowableRendererSupport - Interface in org.apache.log4j.spi
-
Implemented by logger repositories that support configurable rendering of Throwables.
- throwing(Logger, String, String, Throwable) - Static method in class org.apache.log4j.LogXF
-
Logs a throwing message at DEBUG level.
- timeStamp - Variable in class org.apache.log4j.pattern.LogEvent
-
The number of milliseconds elapsed from 1/1/1970 until logging event was created.
- timeStamp - Variable in class org.apache.log4j.spi.LoggingEvent
-
The number of milliseconds elapsed from 1/1/1970 until logging event was created.
- TIMEZONE_OPTION - Static variable in class org.apache.log4j.helpers.DateLayout
-
Deprecated.Options are now handled using the JavaBeans paradigm. This constant is not longer needed and will be removed in the near term.
- TITLE_OPTION - Static variable in class org.apache.log4j.HTMLLayout
-
A string constant used in naming the option for setting the the HTML document title.
- toArray() - Method in class org.apache.log4j.helpers.COWArrayList
- toArray(Object) - Static method in class org.apache.log4j.LogXF
-
Create new array.
- toArray(Object, Object) - Static method in class org.apache.log4j.LogXF
-
Create new array.
- toArray(Object, Object, Object) - Static method in class org.apache.log4j.LogXF
-
Create new array.
- toArray(Object, Object, Object, Object) - Static method in class org.apache.log4j.LogXF
-
Create new array.
- toArray(T[]) - Method in class org.apache.log4j.helpers.COWArrayList
- toBoolean(String, boolean) - Static method in class org.apache.log4j.helpers.OptionConverter
-
If
value
is "true", thentrue
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.helpers.UtilLoggingLevel
-
Gets level matching numeric value.
- toLevel(int) - Static method in class org.apache.log4j.Level
-
Convert an integer passed as argument to a level.
- toLevel(int, UtilLoggingLevel) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
-
Convert an integer passed as argument to a level.
- toLevel(int, Level) - Static method in class org.apache.log4j.Level
-
Convert an integer passed as argument to a level.
- toLevel(String) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
-
Get level with specified symbolic name.
- toLevel(String) - Static method in class org.apache.log4j.Level
-
Convert the string passed as argument to a level.
- toLevel(String, Level) - Static method in class org.apache.log4j.helpers.OptionConverter
-
Converts a standard or custom priority level to a Level object.
- toLevel(String, Level) - Static method in class org.apache.log4j.helpers.UtilLoggingLevel
-
Get level with specified symbolic name.
- toLevel(String, Level) - Static method in class org.apache.log4j.Level
-
Convert the string passed as argument to a level.
- toPriority(int) - Static method in class org.apache.log4j.Priority
-
Deprecated.Please use the
Level.toLevel(int)
method instead. - toPriority(int, Priority) - Static method in class org.apache.log4j.Priority
-
Deprecated.Please use the
Level.toLevel(int, Level)
method instead. - toPriority(String) - Static method in class org.apache.log4j.Priority
-
Deprecated.Please use the
Level.toLevel(String)
method instead. - toPriority(String, Priority) - Static method in class org.apache.log4j.Priority
-
Deprecated.Please use the
Level.toLevel(String, Level)
method instead. - toString() - Method in class org.apache.log4j.Priority
-
Returns the string representation of this priority.
- trace(Object) - Method in class org.apache.log4j.Logger
-
Log a message object with the
TRACE
level. - trace(Object) - Method in class org.apache.log4j.spi.NOPLogger
-
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 theThrowable
t
passed as parameter. - trace(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
-
Log a message object with the
TRACE
level including the stack trace of theThrowable
t
passed as parameter. - trace(Logger, String, boolean) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, boolean) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, byte) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, byte) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, char) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, char) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, double) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, double) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, float) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, float) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, int) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, int) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, long) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, long) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, short) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, short) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- trace(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at trace level.
- trace(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at trace level.
- TRACE - Static variable in class org.apache.log4j.Level
-
The
TRACE
Level designates finer-grained informational events than theDEBUG
level. - TRACE - Static variable in class org.apache.log4j.LogXF
-
Trace level.
- TRACE_INT - Static variable in class org.apache.log4j.Level
-
TRACE level integer value.
- Transform - Class in org.apache.log4j.helpers
-
Utility class for transforming strings.
- Transform() - Constructor for class org.apache.log4j.helpers.Transform
- TriggeringEventEvaluator - Interface in org.apache.log4j.spi
-
Implementions of this interface allow certain appenders to decide when to perform an appender specific action.
- TTCC_CONVERSION_PATTERN - Static variable in class org.apache.log4j.EnhancedPatternLayout
-
A conversion pattern equivalent to the TTCCCLayout.
- TTCC_CONVERSION_PATTERN - Static variable in class org.apache.log4j.PatternLayout
-
A conversion pattern equivalent to the TTCCCLayout.
- TTCCLayout - Class in org.apache.log4j
-
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.
U
- unadvertise() - Method in class org.apache.log4j.net.ZeroConfSupport
- UNKNOWN_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for UNKNOWN.
- UNRECOGNIZED_MILLISECONDS - Static variable in class org.apache.log4j.pattern.CachedDateFormat
-
Constant used to represent that there was an observed change, but was an expected change.
- UnrecognizedElementHandler - Interface in org.apache.log4j.xml
-
When implemented by an object configured by DOMConfigurator, the handle method will be called when an unrecognized child element is encountered.
- UtilLoggingLevel - Class in org.apache.log4j.helpers
-
An extension of the Level class that provides support for java.util.logging Levels.
- UtilLoggingLevel(int, String, int) - Constructor for class org.apache.log4j.helpers.UtilLoggingLevel
-
Create new instance.
V
- valueOf(boolean) - Static method in class org.apache.log4j.LogXF
-
Returns a Boolean instance representing the specified boolean.
- valueOf(byte) - Static method in class org.apache.log4j.LogXF
-
Returns a Byte instance representing the specified byte.
- valueOf(char) - Static method in class org.apache.log4j.LogXF
-
Returns a Character instance representing the specified char.
- valueOf(double) - Static method in class org.apache.log4j.LogXF
-
Returns a Double instance representing the specified double.
- valueOf(float) - Static method in class org.apache.log4j.LogXF
-
Returns a Float instance representing the specified float.
- valueOf(int) - Static method in class org.apache.log4j.LogXF
-
Returns an Integer instance representing the specified int.
- valueOf(long) - Static method in class org.apache.log4j.LogXF
-
Returns a Long instance representing the specified long.
- valueOf(short) - Static method in class org.apache.log4j.LogXF
-
Returns a Short instance representing the specified short.
W
- warn(Object) - Method in class org.apache.log4j.Category
-
Log a message object with the
WARN
Level. - warn(Object) - Method in class org.apache.log4j.spi.NOPLogger
-
Log a message object with the
WARN
Level. - warn(Object, Throwable) - Method in class org.apache.log4j.Category
- warn(Object, Throwable) - Method in class org.apache.log4j.spi.NOPLogger
- 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(Logger, String, boolean) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, boolean) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, byte) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, byte) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, char) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, char) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, double) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, double) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, float) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, float) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, int) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, int) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, long) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, long) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, short) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, short) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, String, Object, Object, Object, Object) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- warn(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogMF
-
Log a parameterized message at warn level.
- warn(Logger, Throwable, String, Object[]) - Static method in class org.apache.log4j.LogSF
-
Log a parameterized message at warn level.
- WARN - Static variable in class org.apache.log4j.Level
-
The
WARN
level designates potentially harmful situations. - WARN - Static variable in class org.apache.log4j.Priority
-
Deprecated.Use
Level.WARN
instead. - WARN_INT - Static variable in class org.apache.log4j.Priority
- warning(SAXParseException) - Method in class org.apache.log4j.xml.SAXErrorHandler
- WARNING - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
WARNING.
- WARNING_INT - Static variable in class org.apache.log4j.helpers.UtilLoggingLevel
-
Numerical value for WARNING.
- 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, returnsfalse
otherwise. - write(char[], int, int) - Method in class org.apache.log4j.helpers.SyslogWriter
- write(String) - Method in class org.apache.log4j.helpers.CountingQuietWriter
- 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_FAILURE - Static variable in interface org.apache.log4j.spi.ErrorCode
- writeFooter() - Method in class org.apache.log4j.WriterAppender
-
Write a footer as produced by the embedded layout's
Layout.getFooter()
method. - writeHeader() - Method in class org.apache.log4j.WriterAppender
-
Write a header as produced by the embedded layout's
Layout.getHeader()
method. - WriterAppender - Class in org.apache.log4j
-
WriterAppender appends log events to a
Writer
or anOutputStream
depending on the user's choice. - WriterAppender() - Constructor for class org.apache.log4j.WriterAppender
-
This default constructor does nothing.
- WriterAppender(Layout, OutputStream) - Constructor for class org.apache.log4j.WriterAppender
-
Instantiate a WriterAppender and set the output destination to a new
OutputStreamWriter
initialized withos
as itsOutputStream
. - WriterAppender(Layout, Writer) - Constructor for class org.apache.log4j.WriterAppender
-
Instantiate a WriterAppender and set the output destination to
writer
.
X
- XMLLayout - Class in org.apache.log4j.xml
-
The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd.
- XMLLayout() - Constructor for class org.apache.log4j.xml.XMLLayout
Z
- ZeroConfSupport - Class in org.apache.log4j.net
- ZeroConfSupport(String, int, String) - Constructor for class org.apache.log4j.net.ZeroConfSupport
- ZeroConfSupport(String, int, String, Map) - Constructor for class org.apache.log4j.net.ZeroConfSupport
- ZONE - Static variable in class org.apache.log4j.net.SocketAppender
-
The MulticastDNS zone advertised by a SocketAppender
- ZONE - Static variable in class org.apache.log4j.net.SocketHubAppender
-
The MulticastDNS zone advertised by a SocketHubAppender
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form