|
Log4j 1.1b7 | |||||||||
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 not null
, then FileAppender.setFile(java.lang.String)
is called with the values of FileAppender.FILE_OPTION
and
FileAppender.APPEND_OPTION
.
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.
AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent)
method to
do most of the real appending work.
AppenderAttachable
interface.doAppend
method on all attached appenders.
Category
by adding four text attributes
relevant to applications run in application servers.
AppServerCategory
.
AppServerCategoryFactory
with
the provided attributes.
PatternLayout
to create subclass
instances of AppServerPatternParser
for
parsing pattern strings.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.
Writer
.
LogLog.DEBUG_KEY
instead.
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.
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.
System.out
.
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.
DISABLE_KEY
is the name of the constant
holding the string value log4j.disable.
DISABLE_OVERRIDE_KEY
is the name of the constant
holding the string value log4j.disableOverride.
Category.getDefaultHierarchy().disable(p)
instead.
p
, for
all categories in this hierarchy.
Category.getDefaultHierarchy().disable()
instead.
Hierarchy.disable(Priority)
except that the priority
argument is given as a String.
Category.getDefaultHierarchy().disableAll()
instead.
Category.getDefaultHierarchy().disableDebug()
instead.
Category.getDefaultHierarchy().disableInfo()
instead.
AppenderSkeleton.append(org.apache.log4j.spi.LoggingEvent)
method.
properties
.
configURL
.
Message
.
ThreadGroup
object similar to the way that the
ThreadGroup.list()
method output information.
Category.getDefaultHierarchy().enableAll()
instead.
Hierarchy.disable(java.lang.String)
, Hierarchy.disableAll()
, Hierarchy.disableDebug()
and Hierarchy.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.
WriterAppender
. This constructor
will be removed in the near term.
filename
.
filename
.
WriterAppender
. This constructor will be
removed in the near term.
close
method.
Converter
to instanciate.
o
parameter.
key
in
props
.
AppServerLoggingEvent
is sent to the
appenders.
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.
priority
, followed by " - " and then the
message
.
NDC
information.
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.
AcceptOnMatch
option.
Enumeration
.
name
.
name
.
Enumeration
.
Enumeration
.
ErrorHandler
for this
Appender.
ErrorHandler
for this appender.
Hierarchy
where this Category
instance is
attached.
getInstance(clazz.getName())
.
Category.getInstance(Class)
by supplying
its own factory type as a parameter.
name
parameter.
Category.getInstance(java.lang.String)
by supplying
its own factory type as a parameter.
AppServerCategory
instance with the
provided name.
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
.
setOption
method.
setOption
method.
XCategory.SUFFIX_OPTION
.
Priority
, if any, for this Category.
PriorityMax
option.
PriorityMin
option.
resource
in different
places.
ResourceBundle
for this category.
System.getProperty
except
that the SecurityException
is hidden.
LoggingEvent
, then the layout should return
false
.
LoggingEvents
.
LoggingEvents
.
LoggingEvents
.
INFO
priority designates informational messages
that highlight the progress of the application at coarse-grained
level.
INFO
priority.
INFO
priority including
the stack trace of the Throwable
t
passed as
parameter.
Introspector
to computer setters of object to be
configured.
DEBUG
priority.
Priority
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 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".
XPriority.LETHAL
.
XPriority.LETHAL
.
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
.
AppServerCategory
using the information contained in this instance.
javax.jms.Message
objects.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.
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. PrintWriter
.PropertySetter
utility class.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.
reset
.
hierarchy.resetConfiguration()
instead.
newSize
.
ExternallyRolledFileAppender
.
parents constructor
.
filename
.
filename
.
AcceptOnMatch
option.
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 FileAppender and also the
underlying QuietWriter
if any.
ErrorHandler
for this appender.
TriggeringEventEvaluator
interface.
AppServerCategory
instances.
in the getInstance
method.
true
, the appender will flush at the end of each
write.
Layout
for this appender.
RollingFileAppender.setMaximumFileSize(long)
instead.
Category
objects created by this CatgoryFactory
.
param bundle a bundle of messages
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
setOption
method.
PriorityMax
option.
PriorityMin
option.
prefix
passed as parameter.
PropertyDescriptor
.
SocketNode
is running.
Category.l7dlog(Priority,String,Throwable)
and Category.l7dlog(Priority,String,Object[],Throwable)
.
TimeZone.getTimeZone(java.lang.String)
method.
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 hierarchy
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.
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 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.1b7 | |||||||||
PREV NEXT | FRAMES NO FRAMES |