|
Log4j 0.9.1 | |||||||||
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.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
.
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
.
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".DENY
, then the event will be
dropped.
Filter.NEUTRAL
is there is no string match.
Filter.DENY
regardless of the LoggingEvent
parameter.
log4j.properties
file.
BasicConfigurator.disable(org.log4j.Priority)
, BasicConfigurator.disableAll()
, BasicConfigurator.disableDebug()
and BasicConfigurator.disableInfo()
.
p
, regardless of
the request category.
AppenderSkeleton.append(org.log4j.spi.LoggingEvent)
method.
BasicConfigurator.disable(org.log4j.Priority)
, BasicConfigurator.disableAll()
, BasicConfigurator.disableDebug()
and BasicConfigurator.disableInfo()
methods.
System.err
.
System.err
.
null
.
ExternallyRolledFileAppender.PORT_OPTION
for a "RollOver" message.number
and return its
distinct factor's as an integer array.
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.
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".
priority
, folloed by " - " and then the
message
.
NDC
information.
LoggingEvent
in conformance with the log4j.dtd.
fully.qualified.classname.of.caller.methodName(Filename.java:line)
name
.
name
.
Enumeration
.
ErrorHandler
for this
Appender.
name
.
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
.
AppenderSkeleton.THRESHOLD_OPTION
}.
FileAppender.FILE_OPTION
, FileAppender.APPEND_OPTION
} in addition
to the options of its super class AppenderSkeleton
.
PatternLayout
recognizes.
RollingFileAppender.MAX_FILE_SIZE_OPTION
and RollingFileAppender.MAX_BACKUP_INDEX_OPTION
in
addition to the options of FileAppender
.
null
as OnlyOnceErrorHandler
has no options.
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
.
SyslogAppender.SYSLOG_HOST_OPTION
, SyslogAppender.FACILITY_OPTION
, SyslogAppender.FACILITY_PRINTING_OPTION
}.
null
as there are no options.
ExternallyRolledFileAppender.PORT_OPTION
in addition to the options of its super class FileAppender
.
Priority
, if any, for this Category.
ResourceBundle
for this category.
LoggingEvent
, then the layout should return
false
.
LoggingEvents
.
LoggingEvents
.
LoggingEvents
.
INFO
priority.
Priority
passed as parameter.
true
if the buffer is full, i.e.
ISO8601DateFormat
in layouts.
Date
in the format "YYYY-mm-dd HH:mm:ss,SSS" for example
"1999-11-27 15:49:37,459".Priority.NOTICE
, Priority.ALERT
, Priority.EMERG
and Priority.CRIT
.
Priority.NOTICE
, Priority.ALERT
, Priority.EMERG
and Priority.CRIT
.
java org.log4j.test.Logging confFile runLength [delay] [burstLen]
ExternallyRolledFileAppender
on host
and port
.
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.BasicConfigurator
to provide configuration from an
external file.LoggingEvent
in the buffer.
quietWriter
where we will write
to.
Date
by printing the number of milliseconds
elapsed since the start of the application.AsyncAppender
does not require a layout.
NTEventLogAppender
requires a layout.
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 FileAppender and also the
undelying QuietWriter
if any.
ErrorHandler
for this appender.
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.
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.SortAlgo
class.Sort
class.val
from the
values of keys found in the system propeties.
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.
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 0.9.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |