|
Log4j 1.2.6 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
AbsoluteTimeDateFormat
in layouts.
Date
in the format "HH:mm:ss,SSS" for example,
"15:49:37,459".null
, then FileAppender.setFile(java.lang.String)
is called with the values of File and
Append properties.
ExternallyRolledFileAppender.setPort(int)
.
event
as the last event in the buffer.
newAppender
to the list of appenders of this
Category instance.
HierarchyEventListener
event to the repository.
ALL
has the lowest possible rank and is intended to
turn on all logging.
AppenderSkeleton
should implement this
method to perform actual logging.
AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent)
method.
LoggingEvent
record to the
LF5Appender
.
AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent)
method to
do most of the real appending work.
AppenderAttachable
interface.AppenderFinalizer
has a single method that will finalize
resources associated with a LogBrokerMonitor
in the event
that the LF5Appender
class is destroyed, and the class loader
is garbage collected.doAppend
method on all attached appenders.
assertion
parameter is false
, then
logs msg
as an error
statement.
org.xml.sax.Attributes
objects.BoundedFIFO
serves as the bounded first-in-first-out
buffer heavily used by the AsyncAppender
.this
.
Logger
subclass. It
will be kept around to preserve backward compatibility until mid
2003.
Category
instance and
sets its name.
LoggingEvent.getLoggerName()
method instead.
AsyncAppender
by interrupting the
dispatcher thread which will process all pending events before
exiting.
org.apache.log4j.Appender
interface.
Writer
.
WriterAppender.closeWriter()
implementation to do nothing because
the console stream is not ours to close.
LogLog.DEBUG_KEY
instead.
ConsoleAppender
that uses PatternLayout
using the PatternLayout.TTCC_CONVERSION_PATTERN
and
prints to System.out
to the root category.
LF5Appender
using a
default configuration file.
appender
to the root category.
configuration
element as
defined in the log4j.dtd.
properties
.
DOMConfigurator.doConfigure(String, LoggerRepository)
.
configURL
.
DOMConfigurator.doConfigure(URL, LoggerRepository)
.
PropertyConfigurator.configureAndWatch(String, long)
except that the
default delay as defined by FileWatchdog.DEFAULT_DELAY
is
used.
DOMConfigurator.configureAndWatch(String, long)
except that the
default delay as defined by FileWatchdog.DEFAULT_DELAY
is
used.
configFilename
if it
exists.
configFilename
if it
exists.
Properties
object for a
LoggerFactory
entry specified by PropertyConfigurator.LOGGER_FACTORY_KEY
.
System.out
or
System.err
using a layout specified by the user. val
a String parameter to an object of a
given type.
LoggingEvents
for immediate or differed display.
maxSize
events.
FileAppender
so that the
underlying file is rolled over at a user chosen frequency.
DailyRollingFileAppender
and open the
file designated by filename
.
DateTimeDateFormat
in layouts.
Date
in the format "dd MMM YYYY HH:mm:ss,SSS" for example,
"06 Nov 1994 15:49:37,459".DEBUG
priority designates fine-grained
informational events that are most useful to debug an
application.
DEBUG
Level designates fine-grained
informational events that are most useful to debug an
application.
System.out
.
DEBUG
level.
DEBUG
level including
the stack trace of the Throwable
t
passed as
parameter.
DENY
, then the event will be
dropped.
Filter.DENY
regardless of the LoggingEvent
parameter.
Filter.NEUTRAL
is there is no string match.
DefaultLF5Configurator
provides a default
configuration for the LF5Appender
.
AppenderSkeleton.append(org.apache.log4j.spi.LoggingEvent)
method.
Appender
specific way.
properties
.
configURL
.
IllegalStateException
if used.
ThreadGroup
object similar to the way that the
ThreadGroup.list()
method output information.
Attributes
.
Message
.
ERROR
level designates error events that
might still allow the application to continue running.
ERROR
level designates error events that
might still allow the application to continue running.
ERROR
Level.
ERROR
level including
the stack trace of the Throwable
t
passed as
parameter.
System.err
.
System.err
.
System.err
.
ErrorHandler.error(String, Exception, int,
LoggingEvent event)
with the the event parameteter set to
null
.
System.err
.
System.err
.
System.err
.
ErrorHandlers
.
LogManager.exists(java.lang.String)
instead.
FallbackErrorHandler
implements the ErrorHandler
interface such that a secondary appender may be specified. FATAL
level designates very severe error
events that will presumably lead the application to abort.
FATAL
level designates very severe error
events that will presumably lead the application to abort.
FATAL
Level.
FATAL
level including
the stack trace of the Throwable
t
passed as
parameter.
filename
.
filename
.
FileAppender
and open the file
designated by filename
.
close
method.
o
parameter.
key
in
props
.
sbuf
the time in the format
"HH:mm:ss,SSS" for example, "15:49:37,459"
sbuf
.
sbuf
the date in the format "dd MMM YYYY
HH:mm:ss,SSS" for example, "06 Nov 1994 08:49:37,459".
sbuf
the number of milliseconds elapsed
since the start of the application.
level
, followed by " - " and then the
message
.
NDC
information.
LoggingEvent
in conformance with the log4j.dtd.
fully.qualified.classname.of.caller.methodName(Filename.java:line)
LoggingEvent.getNDC()
method instead.
clazz
for a renderer.
RendererMap.get(Class)
with the
class of the object parameter.
key
parameter.
AcceptOnMatch
option.
Enumeration
.
name
.
name
.
Category.getEffectiveLevel()
method
instead.
LogManager.getCurrentLoggers()
instead.
Hierarchy.getCurrentLoggers()
instead.
LoggerRepository.getCurrentLoggers()
instead.
Enumeration
.
LogManager.getLoggerRepository()
instead.
ErrorHandler
for this
Appender.
ErrorHandler
for this appender.
Category.getLoggerRepository()
instead.
new
.
getInstance(clazz.getName())
.
name
parameter.
Level
, if any, for this Category.
LevelMax
option.
LevelMin
option.
Logger
instance.
getLogger(clazz.getName())
.
Logger
instance.
Logger
instance.
Logger.getLogger(String)
except that the type of logger
instantiated depends on the type returned by the LoggerFactory.makeNewLoggerInstance(java.lang.String)
method of the
factory
parameter.
factory
.
LoggerRepository
where this
Category
is attached.
LoggerRepository
depending on the
context.
key
parameter.
setOption
method.
Category.getLevel()
instead.
ResourceBundle
for this
category.
key
in
this category's inherited resource bundle.
System.getProperty
except
that the SecurityException
is hidden.
Level
representation of the enable
state.
Hierarchy
.LoggingEvent
, then the layout should return
false
.
LoggingEvents
.
LoggingEvents
.
LoggingEvents
.
INFO
level designates informational messages
that highlight the progress of the application at coarse-grained
level.
INFO
level designates informational messages
that highlight the progress of the application at coarse-grained
level.
INFO
Level.
INFO
level including
the stack trace of the Throwable
t
passed as
parameter.
Introspector
to computer setters of object to be
configured.
true
if the specified appender is in the
list of attached appenders, false
otherwise.
true
if the specified appender is in list of
attached attached, false
otherwise.
DEBUG
Level.
true
if this repository is
disabled for level
object passed as parameter and
false
otherwise.
Level
passed as parameter.
true
if the buffer is full, i.e. of the
number of elements in the buffer equals the buffer size.
true
if this level has a higher or equal
level than the level passed as argument, false
otherwise.
ISO8601DateFormat
in layouts.
Date
in the format "YYYY-mm-dd HH:mm:ss,SSS" for example
"1999-11-27 15:49:37,459".
Priority
levels will
be displayed in colored font when the LogMonitorAppender
renders this log message.
JMSAppender
.LoggingEvent.getLevel()
method instead.
OFF
, FATAL
, ERROR
,
WARN
, INFO
DEBUG and
ALL
.
LF5Appender
logs events to a swing based logging
console. LF5Appender
using the default instance of
the LogBrokerMonitor
.
LF5Appender using an instance of
a LogBrokerMonitor supplied by the user.
- LINE_SEP -
Static variable in class org.apache.log4j.Layout
-
- LINE_SEP_LEN -
Static variable in class org.apache.log4j.Layout
-
- ListVsVector - class org.apache.log4j.performance.ListVsVector.
- Compares the performance of looping through a list versus a Vector.
- ListVsVector() -
Constructor for class org.apache.log4j.performance.ListVsVector
-
- loadClass(String) -
Static method in class org.apache.log4j.helpers.Loader
- If running under JDK 1.2 load the specified class using the
Thread
contextClassLoader
if that
fails try Class.forname.
- Loader - class org.apache.log4j.helpers.Loader.
- Load resources (or images) from various sources.
- 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 org.apache.log4j.spi.LocationInfo.
- The internal representation of caller location information.
- LocationInfo(Throwable, String) -
Constructor for class org.apache.log4j.spi.LocationInfo
- Instantiate location information based on a Throwable.
- LOG_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
- log(Priority, Object) -
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.Category
- This generic form is intended to be used by wrappers.
- log(String, Priority, Object, Throwable) -
Method in class org.apache.log4j.Category
- This is the most generic printing method.
- Log4JLogRecord - class org.apache.log4j.lf5.Log4JLogRecord.
- A
Log4JLogRecord
encapsulates
the details of your log4j LoggingEvent
in a format usable
by the LogBrokerMonitor
. - Log4JLogRecord() -
Constructor for class org.apache.log4j.lf5.Log4JLogRecord
- Constructs an instance of a
Log4JLogRecord
.
- Logger - class org.apache.log4j.Logger.
- This is the central class in the log4j package.
- LOGGER_FACTORY_KEY -
Static variable in class org.apache.log4j.PropertyConfigurator
- Key for specifying the
LoggerFactory
.
- Logger(String) -
Constructor for class org.apache.log4j.Logger
-
- LoggerDynamicMBean - class org.apache.log4j.jmx.LoggerDynamicMBean.
-
- LoggerDynamicMBean(Logger) -
Constructor for class org.apache.log4j.jmx.LoggerDynamicMBean
-
- loggerFactory -
Variable in class org.apache.log4j.PropertyConfigurator
-
- LoggerFactory - interface org.apache.log4j.spi.LoggerFactory.
- Implement this interface to create new instances of Logger or
a sub-class of Logger.
- LoggerRepository - interface org.apache.log4j.spi.LoggerRepository.
- A
LoggerRepository
is used to create and retrieve
Loggers
. - Logging - class org.apache.log4j.performance.Logging.
- Measure the performance of logging.
- Logging() -
Constructor for class org.apache.log4j.performance.Logging
-
- LoggingEvent - class org.apache.log4j.spi.LoggingEvent.
- The internal representation of logging events.
- 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.
- LogLevel - class org.apache.log4j.lf5.LogLevel.
- The LogLevel class defines a set of standard logging levels.
- LogLevel(String, int) -
Constructor for class org.apache.log4j.lf5.LogLevel
-
- LogLevelFormatException - exception org.apache.log4j.lf5.LogLevelFormatException.
- Thrown to indicate that the client has attempted to convert a string
to one the LogLevel types, but the string does not have the appropriate
format.
- LogLevelFormatException(String) -
Constructor for class org.apache.log4j.lf5.LogLevelFormatException
-
- LogLog - class org.apache.log4j.helpers.LogLog.
- This class used to output log statements from within the log4j package.
- LogLog() -
Constructor for class org.apache.log4j.helpers.LogLog
-
- LogManager - class org.apache.log4j.LogManager.
- Use the
LogManager
to retreive instances of Logger
. - LogManager() -
Constructor for class org.apache.log4j.LogManager
-
- LogRecord - class org.apache.log4j.lf5.LogRecord.
- LogRecord.
- LogRecord() -
Constructor for class org.apache.log4j.lf5.LogRecord
-
- LogRecordFilter - interface org.apache.log4j.lf5.LogRecordFilter.
- An interface for classes which filters LogRecords.
- lookup(Context, String) -
Method in class org.apache.log4j.net.JMSAppender
-
- lookup(Context, String) -
Static method in class org.apache.log4j.net.JMSSink
-
java org.apache.log4j.performance.Logging confFile runLength [delay] [burstLen]
confFile
is an XML configuration file and
runLength
(integer) is the length of test loop,
delay
is the time in millisecs to sleep every
bustLen
log requests.
ExternallyRolledFileAppender
on host
and port
.
NDC
class except that it is
based on a map instead of a stack. javax.jms.Message
objects.NA
is returned.
Writer
with methods that return immediately
without doing anything. Configurator.INHERITED
.
OFF
has the highest possible rank and is
intended to turn off logging.
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.
javax.jms.Message
.org.xml.sax.Attributes
.null
.
null
.
null
.
null
.
ErrorHandler
element.
PatternLayout
class
is delegated to the PatternParser class.
Level
class instead.BasicConfigurator
to provide configuration from an
external file. PrintWriter
.PropertySetter
utility class.ObjectRenderer
for clazz
.
LoggingEvent
in the buffer.
o
parameter) as identified
with the key
parameter into the current thread's
context map.
quietWriter
where we will write
to.
Date
by printing the number of milliseconds
elapsed since the start of the application. key
parameter.
ObjectRenderer
.LogManager
uses one (and only one)
RepositorySelector
implementation to select the
LoggerRepository
for a particular application context.
AsyncAppender
does not require a layout.
Layout
.
SMTPAppender
requires a layout
.
NTEventLogAppender
requires a layout.
reset
.
newSize
.
ExternallyRolledFileAppender
.
parents constructor
.
filename
.
filename
.
AcceptOnMatch
option.
LogBrokerMonitor
is hidden or closed when a user
exits
the monitor.
Category
name is part of log output or not.
DateFormat
used to format time and date in the
zone determined by timeZone
.
SimpleDateFormat
or one of
the srings "NULL", "RELATIVE", "ABSOLUTE", "DATE" or "ISO8601.
timeZone
parameter.
SimpleDateFormat
.
ErrorHandler
for this Appender.
ErrorHandler
for this WriterAppender and also the
underlying QuietWriter
if any.
ErrorHandler
for this appender.
TriggeringEventEvaluator
interface.
true
, the appender will flush at the end of each
write.
JMSAppender
instance to use the InitialContext.InitialContext(Hashtable)
method instead of the
no-argument constructor.
Layout
for this appender.
LevelMax
option.
LevelMin
option.
setOption
method.
setOption
method.
setOption
method.
Category.setLevel(org.apache.log4j.Level)
instead.
prefix
passed as parameter.
PropertyDescriptor
.
SocketNode
is
running.
LoggerFactory
but only if the correct
guard is passed as parameter.
Category.l7dlog(Priority,String,Throwable)
and Category.l7dlog(Priority,String,Object[],Throwable)
.
l
or
higher.
Hierarchy.setThreshold(Level)
.
LoggerRepository.setThreshold(Level)
accepting a string
parameter instead of a Level
.
TimeZone.getTimeZone(java.lang.String)
method.
creating a topic session
.
LogManager.shutdown()
instead.
SocketNode
based server.
TriggeringEventEvaluator
that will trigger on events with
level ERROR or higher.
evaluator
passed as parameter as the TriggeringEventEvaluator
for this SMTPAppender.
LoggingEvent
objects to a remote a log server,
usually a SocketNode
.
address
and port
.
host
and port
.
LoggingEvent
objects to a set of remote log servers,
usually a SocketNodes
.
address
and port
.
LoggingEvent
objects sent from a remote client using
Sockets (TCP). SocketNode
based server that uses a different hierarchy
for each client.
val
from the
values of keys found in the system propeties.
ThreadGroup
objects in a format similar to the
information output by the ThreadGroup.list()
method.ThreadLocalMap
extends InheritableThreadLocal
to bequeath a copy of the hashtable of the MDC of the parent
thread.value
is "true", then true
is
returned.
Level.toLevel(String)
method instead.}
RelativeTimeDateFormat
as the date
formatter in the local time zone.
WARN
level designates potentially harmful situations.
WARN
level designates potentially harmful situations.
WARN
Level.
WARN
level including the
stack trace of the Throwable
t
passed as
parameter.
true
if there is just one element in the
buffer.
true
if the number of elements in the
buffer plus 1 equals the maximum buffer size, returns
false
otherwise.
Layout.getFooter()
method.
Layout.getHeader()
method.
Writer
or an
OutputStream
depending on the user's choice.OutputStreamWriter
initialized with os
as its OutputStream
.
writer
.
|
Log4j 1.2.6 | |||||||||
PREV NEXT | FRAMES NO FRAMES |