|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
null
, then FileAppender.setFile(java.lang.String)
is called with the values of File and
Append properties.
newAppender
to the list of appenders of this
Category instance.
ALL
has the lowest possible rank and is intended to
turn on all logging.
AppenderSkeleton
should implement this
method to perform actual logging.
AppenderSkeleton
should implement this
method to perform actual logging.
AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent)
method.
assertion
parameter is false
, then
logs msg
as an error
statement.
this
.
Logger
subclass.Category
instance and
sets its name.
AsyncAppender
by interrupting the dispatcher
thread which will process all pending events before exiting.
Writer
.
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
.
PropertyConfigurator.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.FileAppender
so that the
underlying file is rolled over at a user chosen frequency.DailyRollingFileAppender
and open the
file designated by filename
.
DEBUG
level.
DEBUG
level including
the stack trace of the Throwable
t
passed as
parameter.
DEBUG
Level designates fine-grained
informational events that are most useful to debug an
application.
Level.DEBUG
instead.
Appender
specific way.
AppenderSkeleton.append(org.apache.log4j.spi.LoggingEvent)
method.
properties
.
configURL
.
ERROR
Level.
ERROR
level including
the stack trace of the Throwable
t
passed as
parameter.
ERROR
level designates error events that
might still allow the application to continue running.
Level.ERROR
instead.
LogManager.exists(java.lang.String)
instead.
FATAL
Level.
FATAL
level including
the stack trace of the Throwable
t
passed as
parameter.
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.
level
, followed by " - " and then the
message
.
NDC
information.
key
parameter.
LoggingEvent.getNDC()
method instead.
Enumeration
.
name
.
Category.getEffectiveLevel()
method
instead.
LogManager.getCurrentLoggers()
instead.
Hierarchy.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.
Level
, if any, for this Category.
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.
Category.getLevel()
instead.
ResourceBundle
for this
category.
key
in
this category's inherited resource bundle.
Logger.getRootLogger()
instead.
Level
representation of the enable
state.
LoggingEvent
, then the layout should return
false
.
LoggingEvents
.
LoggingEvents
.
LoggingEvents
.
INFO
Level.
INFO
level including
the stack trace of the Throwable
t
passed as
parameter.
INFO
level designates informational messages
that highlight the progress of the application at coarse-grained
level.
Level.INFO
instead.
DEBUG
Level.
true
if this repository is
disabled for level
object passed as parameter and
false
otherwise.
Level
passed as parameter.
true
if this level has a higher or equal
level than the level passed as argument, false
otherwise.
OFF
, FATAL
, ERROR
,
WARN
, INFO
DEBUG and
ALL
.LoggerFactory
.
LogManager
class to retreive Logger
instances or to operate on the current LoggerRepository
.NDC
class except that it is
based on a map instead of a stack.OFF
has the highest possible rank and is
intended to turn off logging.
Level
class instead.o
parameter) as identified
with the key
parameter into the current thread's
context map.
quietWriter
where we will write
to.
key
parameter.
reset
.
parents constructor
.
filename
.
filename
.
Category
name is part of log output or not.
SimpleDateFormat
.
ErrorHandler
for this appender.
ErrorHandler
for this Appender.
ErrorHandler
for this WriterAppender and also the
underlying QuietWriter
if any.
true
, the appender will flush at the end of each
write.
Layout
for this appender.
Category.setLevel(org.apache.log4j.Level)
instead.
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.
LogManager.shutdown()
instead.
Level.toLevel(String)
method instead.
Level.toLevel(int)
method instead.
Level.toLevel(int, Level)
method instead.
Level.toLevel(String, Level)
method instead.
TRACE
Level designates finer-grained
informational events than the DEBUG
trace(Object) -
Method in class org.apache.log4j.Logger
TRACE
level.
TRACE
level including the
stack trace of the Throwable
t
passed as parameter.
RelativeTimeDateFormat
as the date
formatter in the local time zone.
WARN
Level.
WARN
level including the
stack trace of the Throwable
t
passed as
parameter.
WARN
level designates potentially harmful situations.
Level.WARN
instead.
Layout.getFooter()
method.
Layout.getHeader()
method.
Writer
or an
OutputStream
depending on the user's choice.OutputStreamWriter
initialized with os
as its OutputStream
.
writer
.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |