|
Log4j 1.0.4 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
AbsoluteTimeDateFormat
in layouts.
Date
in the format "HH:mm:ss,SSS" for example,
"15:49:37,459".FileAppender.FILE_OPTION
is non-null, then FileAppender.setFile(java.lang.String, boolean)
is called with the values of FileAppender.FILE_OPTION
and
FileAppender.APPEND_OPTION
.
setOption
.
ExternallyRolledFileAppender.setOption(java.lang.String, java.lang.String)
.
event
as the last event in the buffer.
newAppender
to the list of appenders of this
Category instance.
AppenderSkeleton
should imlement this
method to perform actual logging.
AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent)
method.
AppenderAttachable
interface.doAppend
method on all attached appenders.
assertion
parameter is false
, then
logs msg
as an error
statement.
BoundedFIFO
serves as the bounded first-in-first-out
buffer heavily used by the AsyncAppender
.this
.
Category
instance and
sets its name.
AsyncAppender
by interrupting the
dispatcher thread which will process all pending events before
exiting.
FileAppender.setFile(java.lang.String, boolean)
call.
System.out
while parsing configuration files.
FileAppender
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, Hierarchy)
.x
configURL
.
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.
LoggingEvents
for immediate or differed display.maxSize
events.
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
priority.
DEBUG
priority 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.
BasicConfigurator.disable(org.apache.log4j.Priority)
, BasicConfigurator.disableAll()
, BasicConfigurator.disableDebug()
and BasicConfigurator.disableInfo()
.
p
, regardless of
the request category.
AppenderSkeleton.append(org.apache.log4j.spi.LoggingEvent)
method.
properties
.
configURL
.
Message
.
ThreadGroup
object similar to the way that the
ThreadGroup.list()
method output information.
BasicConfigurator.disable(org.apache.log4j.Priority)
, BasicConfigurator.disableAll()
, BasicConfigurator.disableDebug()
and BasicConfigurator.disableInfo()
methods.
ERROR
priority designates error events that
might still allow the application to continue running.
ERROR
priority.
ERROR
priority including
the stack trace of the Throwable
t
passed as
parameter.
System.err
.
System.err
.
null
.
ExternallyRolledFileAppender.PORT_OPTION
for a "RollOver" message.number
and return its
distinct factor's as an integer array.
FATAL
priority designates very severe error
events that will presumably lead the application to abort.
FATAL
priority.
FATAL
priority including
the stack trace of the Throwable
t
passed as
parameter.
true
, meaning that by default a
FileAppender
will append to an existing file and
not truncate it.
Writer
or an OutputStream
depending
on the user's choice.OutputStreamWriter
initialized with os
as its OutputStream
.
filename
.
filename
.
writer
.
close
method.
o
parameter.
key
in
props
.
message
passed as a
oaraneter and logs immediately without further checks.
sbuf
the number of milliseconds elapsed
since the start of the application.
sbuf
the time in the format
"HH:mm:ss,SSS" for example, "15:49:37,459"
sbuf
the date in the format "YYYY-mm-dd
HH:mm:ss,SSS" for example, "1999-11-27 15:49:37,459".
sbuf
the date in the format "dd MMM YYYY
HH:mm:ss,SSS" for example, "06 Nov 1994 08:49:37,459".
NDC
information.
priority
, folloed by " - " and then the
message
.
LoggingEvent
in conformance with the log4j.dtd.
fully.qualified.classname.of.caller.methodName(Filename.java:line)
clazz
for a renderer.
RendererMap.get(Class)
with the
class of the object parameter.
name
.
name
.
Enumeration
.
ErrorHandler
for this
Appender.
getInstance(clazz.getName())
.
name
parameter.
Category.getInstance(java.lang.String)
by supplying
its own factory type as a parameter.
Category.getInstance(java.lang.String)
by supplying
its own factory type as a parameter.
Category.getInstance(String)
except that the type of category
instantiated depends on the type returned by the CategoryFactory.makeNewCategoryInstance(java.lang.String)
method of the
factory
parameter.
factory
.
PatternLayout
recognizes.
AppenderSkeleton.THRESHOLD_OPTION
}.
AppenderSkeleton
.
FileAppender.FILE_OPTION
, FileAppender.APPEND_OPTION
} in addition
to the options of its super class AppenderSkeleton
.
RollingFileAppender.MAX_FILE_SIZE_OPTION
and RollingFileAppender.MAX_BACKUP_INDEX_OPTION
in
addition to the options of FileAppender
.
null
as OnlyOnceErrorHandler
has no options.
SyslogAppender.SYSLOG_HOST_OPTION
, SyslogAppender.FACILITY_OPTION
, SyslogAppender.FACILITY_PRINTING_OPTION
}.
AppenderSkeleton
.
SocketAppender.REMOTE_HOST_OPTION
, SocketAppender.PORT_OPTION
, SocketAppender.LOCATION_INFO_OPTION
, SocketAppender.RECONNECTION_DELAY_OPTION
} in addition to the options of its
super class AppenderSkeleton
.
ExternallyRolledFileAppender.PORT_OPTION
in addition to the options of its super class FileAppender
.
null
as there are no options.
XCategory.SUFFIX_OPTION
.
Priority
, if any, for this Category.
ResourceBundle
for this category.
LoggingEvent
, then the layout should return
false
.
LoggingEvents
.
LoggingEvents
.
LoggingEvents
.
INFO
priority designates informational messages
that higlight the progress of the application at coarse-grained
level.
INFO
priority.
INFO
priority including
the stack trace of the Throwable
t
passed as
parameter.
DEBUG
priority.
Priority
passed as parameter.
true
if the buffer is full, i.e.
true
if this priority has a higher or equal
priority than the priority 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".java org.apache.log4j.test.Logging confFile runLength [delay] [burstLen]
ExternallyRolledFileAppender
on host
and port
.
ThreadGroup
objects in a format similar to the
information output by the ThreadGroup.list()
method.MyCategory
objects.NA
is returned.
Writer
with methods that return immediately without
doing anything.NumberCruncher
implementation that logs its
progress when factoring numbers.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.override
parameter is not null.
null
.
null
.
null
.
null
.
ErrorHandler
element.
param
element.
PatternLayout
class
is delegated to the PatternParser class.Priority.FATAL
, Priority.ERROR
, Priority.WARN
, Priority.INFO
and Priority.DEBUG
.BasicConfigurator
to provide configuration from an
external file.ObjectRenderer
for clazz
.
LoggingEvent
in the buffer.
quietWriter
where we will write
to.
Date
by printing the number of milliseconds
elapsed since the start of the application.ObjectRenderer
.AsyncAppender
does not require a layout.
SMTPAppender
requires a layout
.
NTEventLogAppender
requires a layout.
newSize
.
ExternallyRolledFileAppender
.parents constructor
.
filename
.
filename
.
CategoryPrefixing
option.
DateFormat
used to format time and date in the
zone determined by timeZone
.
timeZone
parameter.
ErrorHandler
for this appender.
ErrorHandler
for this Appender.
ErrorHandler
for this FileAppender and also the
undelying QuietWriter
if any.
Layout
for this appender.
DateLayout
options
TTCCLayout
specific options are:
option
to value
.
Category.l7dlog(Priority,String,Throwable)
and Category.l7dlog(Priority,String,Object[],Throwable)
.
ThreadPrinting
option.
SocketNode
based server.TriggeringEventEvaluator
that will tirgger on events with
priority 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 sent from a remote client using
Sockets (TCP).SocketNode
based server that uses a different hiearchy
for each client.SortAlgo
class.Sort
class.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.value
is "true", then true
is
returned.
TracerPrintWriter
is specialized in optimized printing
of stack traces (obtained from throwables) to a Writer.
RelativeTimeDateFormat
as the date formatter in the local time
zone.
WARN
priority designates potentially harmful situations.
WARN
priority.
WARN
priority including the
stack trace of the Throwable
t
passed as
parameter.
true
if there is just one element in the
buffer.
true
if there the number of elements in the
buffer plus 1 equals the maximum buffer size, returns
false
otherwise.
|
Log4j 1.0.4 | |||||||||
PREV NEXT | FRAMES NO FRAMES |