|
NLOG4J 1.2.21 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbsoluteTimeDateFormat
in layouts.
ALL
has the lowest possible rank and is intended to
turn on all logging.
Date
in the format "HH:mm:ss,SSS" for example,
"15:49:37,459".AppenderAttachable
interface.org.xml.sax.Attributes
objects.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.
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.
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
.LogLog.DEBUG_KEY
instead.
Logger
subclass.Category
instance and sets
its name.
System.out
or
System.err
using a layout specified by the user.LoggingEvents
for immediate or differed display.maxSize
events.
this
.
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
.
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
.
val
a String parameter to an object of a
given type.
DateTimeDateFormat
in layouts.
DEBUG
Level designates fine-grained
informational events that are most useful to debug an
application.
Level.DEBUG
instead.
System.out
.
FileAppender
so that the
underlying file is rolled over at a user chosen frequency.DailyRollingFileAppender
and open the
file designated by filename
.
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.
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
.
ThreadGroup
object similar to the way that the
ThreadGroup.list()
method output information.
Message
.
Attributes
.
ERROR
level designates error events that
might still allow the application to continue running.
Level.ERROR
instead.
ErrorHandlers
.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
.
ErrorHandler.error(String, Exception, int,
LoggingEvent event)
with the the event parameteter set to
null
.
System.err
.
System.err
.
System.err
.
LogManager.exists(java.lang.String)
instead.
FATAL
level designates very severe error
events that will presumably lead the application to abort.
Level.FATAL
instead.
FallbackErrorHandler
implements the ErrorHandler
interface such that a secondary appender may be specified.FileAppender
and open the file
designated by filename
.
filename
.
filename
.
Category.fatal(String)
method instead.
close
method.
o
parameter.
key
in
props
.
level
, followed by " - " and then the
message
.
NDC
information.
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.
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
.
Logger
instance.
Logger
instance.
Logger
instance.
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.
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
.INFO
level designates informational messages
that highlight the progress of the application at coarse-grained
level.
Level.INFO
instead.
Date
in the format "YYYY-mm-dd HH:mm:ss,SSS" for example
"1999-11-27 15:49:37,459".ISO8601DateFormat
in layouts.
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.
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.
JMSAppender
.LoggerFactory
.
OFF
, FATAL
, ERROR
,
WARN
, INFO
DEBUG and
ALL
.EntityResolver
specifically designed to return
log4j.dtd
which is embedded within the log4j jar
file.LogManager
class to retreive Logger
instances or to operate on the current LoggerRepository
.LoggerRepository
is used to create and retrieve
Loggers
.LoggingEvent.getLevel()
method instead.
Thread
contextClassLoader
if that
fails try Class.forname.
NDC
class except that it is
based on a map instead of a stack.javax.jms.Message
objects.ExternallyRolledFileAppender
on host
and port
.
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
.PatternLayout
class
is delegated to the PatternParser class.Level
class instead.PrintWriter
.PropertySetter
utility class.null
.
null
.
null
.
null
.
ErrorHandler
element.
o
parameter) as identified
with the key
parameter into the current thread's
context map.
LoggingEvent
in the buffer.
ObjectRenderer
for clazz
.
quietWriter
where we will write
to.
Date
by printing the number of milliseconds
elapsed since the start of the application.ObjectRenderer
.LogManager
uses one (and only one)
RepositorySelector
implementation to select the
LoggerRepository
for a particular application context.ExternallyRolledFileAppender
.parents constructor
.
filename
.
filename
.
RootLogger
.key
parameter.
AsyncAppender
does not require a layout.
SMTPAppender
requires a layout
.
reset
.
newSize
.
TriggeringEventEvaluator
that will trigger on events with
level ERROR or higher.
evaluator
passed as parameter as the TriggeringEventEvaluator
for this SMTPAppender.
SocketNode
based server.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.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.
val
from the
values of keys found in the system propeties.
RelativeTimeDateFormat
as the date
formatter in the local time zone.
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.
WARN
level designates potentially harmful situations.
Level.WARN
instead.
Writer
or an
OutputStream
depending on the user's choice.OutputStreamWriter
initialized with os
as its OutputStream
.
writer
.
Category.warn(String)
method instead.
WARN
level with message formatting done
according to the value of format
and the arg
parameters.
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.
|
NLOG4J 1.2.21 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |