|
NLOG4J 1.2.24 | |||||||||
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 to
do most of the real appending work.
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.
org.xml.sax.Attributes
objects.BoundedFIFO
serves as the bounded first-in-first-out
buffer heavily used by the AsyncAppender
.this
.
Logger
subclass.Category
instance and sets
its name.
LoggingEvent.getLoggerName()
method instead.
AsyncAppender
by interrupting the
dispatcher thread which will process all pending events before
exiting.
WriterAppender.closeWriter()
implementation to do nothing because
the console stream is not ours to close.
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.
configURL
.
properties
.
configuration
element as
defined in the log4j.dtd.
DOMConfigurator.doConfigure(String, LoggerRepository)
.
DOMConfigurator.doConfigure(URL, LoggerRepository)
.
PropertyConfigurator.configureAndWatch(String, long)
except that the
default delay as defined by FileWatchdog.DEFAULT_DELAY
is
used.
configFilename
if it
exists.
DOMConfigurator.configureAndWatch(String, long)
except that the
default delay as defined by FileWatchdog.DEFAULT_DELAY
is
used.
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".Category.debug(String)
method instead.
DEBUG
level with message formatting
done according to the value of format
and the
arg
parameters.
DEBUG
Level designates fine-grained
informational events that are most useful to debug an
application.
Level.DEBUG
instead.
System.out
.
DENY
, then the event will be
dropped.
Filter.DENY
regardless of the LoggingEvent
parameter.
Filter.NEUTRAL
is there is no string match.
Appender
specific way.
AppenderSkeleton.append(org.apache.log4j.spi.LoggingEvent)
method.
properties
.
configURL
.
Message
.
Attributes
.
ThreadGroup
object similar to the way that the
ThreadGroup.list()
method output information.
Category.error(String)
method instead.
ERROR
level with message formatting
done according to the value of format
and the
arg
parameters.
System.err
.
System.err
.
System.err
.
ERROR
level designates error events that
might still allow the application to continue running.
Level.ERROR
instead.
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.Category.fatal(String)
method instead.
FATAL
level designates very severe error
events that will presumably lead the application to abort.
Level.FATAL
instead.
FileAppender
and open the file
designated by filename
.
filename
.
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
the date in the format "dd MMM YYYY
HH:mm:ss,SSS" for example, "06 Nov 1994 08:49:37,459".
sbuf
.
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)
key
parameter.
LoggingEvent.getNDC()
method instead.
RendererMap.get(Class)
with the
class of the object parameter.
clazz
for a renderer.
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.
Logger.getLogger(String)
instead.
Logger.getLogger(Class)
instead.
new
.
Level
, if any, for this Category.
LevelMax
option.
LevelMin
option.
factory
.
name
parameter.
getLogger(clazz.getName())
.
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.
Logger
instance.
Logger
instance.
Logger
instance.
LoggerRepository
where this Category
is attached.
LoggerRepository
depending on the
context.
key
parameter.
setOption
method.
Category.getLevel()
instead.
resource
in different
places.
ResourceBundle
for this category.
key
in this
category's inherited resource bundle.
Logger.getRootLogger()
instead.
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
.
Category.info(String)
method instead.
INFO
level with message formatting done
according to the value of format
and the arg
parameters.
INFO
level designates informational messages
that highlight the progress of the application at coarse-grained
level.
Level.INFO
instead.
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, that is, whether
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".JMSAppender
.OFF
, FATAL
, ERROR
,
WARN
, INFO
DEBUG and
ALL
.LoggingEvent.getLevel()
method instead.
Thread
contextClassLoader
if that
fails try Class.forname.
EntityResolver
specifically designed to return
log4j.dtd
which is embedded within the log4j jar
file.LoggerFactory
.
LoggerRepository
is used to create and retrieve
Loggers
.LogManager
class to retreive Logger
instances or to operate on the current LoggerRepository
.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.PrintWriter
.PropertySetter
utility class.LoggingEvent
in the buffer.
o
parameter) as identified
with the key
parameter into the current thread's
context map.
ObjectRenderer
for clazz
.
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
.
reset
.
newSize
.
ExternallyRolledFileAppender
.parents constructor
.
filename
.
filename
.
RootLogger
.AcceptOnMatch
option.
Category
name is part of log output or not.
SimpleDateFormat
or one of
the srings "NULL", "RELATIVE", "ABSOLUTE", "DATE" or "ISO8601.
DateFormat
used to format time and date in the
zone determined by timeZone
.
timeZone
parameter.
SimpleDateFormat
.
ErrorHandler
for this appender.
ErrorHandler
for this Appender.
ErrorHandler
for this WriterAppender and also the
underlying QuietWriter
if any.
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)
.
Hierarchy.setThreshold(Level)
.
l
or
higher.
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.
Level.toLevel(int)
method instead.
Level.toLevel(int, Level)
method instead.
Level.toLevel(String, Level)
method instead.
RelativeTimeDateFormat
as the date
formatter in the local time zone.
Category.warn(String)
method instead.
WARN
level with message formatting done
according to the value of format
and the arg
parameters.
WARN
level designates potentially harmful situations.
Level.WARN
instead.
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
.
|
NLOG4J 1.2.24 | |||||||||
PREV NEXT | FRAMES NO FRAMES |