|
Log4j 1.2.3 | |||||||||
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.
AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent)
method to
do most of the real appending work.
AppenderAttachable
interface.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.
AsyncAppender
by interrupting the
dispatcher thread which will process all pending events before
exiting.
Writer
.
LogLog.DEBUG_KEY
instead.
ConsoleAppender
that uses PatternLayout
using the PatternLayout.TTCC_CONVERSION_PATTERN
and
prints to System.out
to the root category.
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.NEUTRAL
is there is no string match.
Filter.DENY
regardless of the LoggingEvent
parameter.
AppenderSkeleton.append(org.apache.log4j.spi.LoggingEvent)
method.
Appender
specific way.
properties
.
configURL
.
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.
Enumeration
.
name
.
name
.
Category.getEffectiveLevel()
method.
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.
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".
OFF
, FATAL
, ERROR
,
WARN
, INFO
DEBUG and
ALL
.
Thread
contextClassLoader
if that
fails try Class.forname.
LoggerFactory
.
LoggerRepository
is used to create and retrieve
Loggers
. LogManager
to retreive instances of Logger
.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.
SMTPAppender
requires a layout
.
NTEventLogAppender
requires a layout.
reset
.
newSize
.
ExternallyRolledFileAppender
.
parents constructor
.
filename
.
filename
.
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.
Layout
for this appender.
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.
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.3 | |||||||||
PREV NEXT | FRAMES NO FRAMES |