|
Log4j 1.3alpha-7 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
ALL
has the lowest possible rank and is intended to
turn on all logging.
AppenderAttachable
interface.org.xml.sax.Attributes
objects.null
, then FileAppender.setFile(java.lang.String)
is called with the values of File and
Append properties.
This allows to defer activiation of the options until all options have been set. This is required for components which have related options that remain ambigous until all are set.
For example, the FileAppender has the File
and Append
options both of
which are ambigous until the other is also set.
This allows to defer activiation of the options until all options have been set. This is required for components which have related options that remain ambigous until all are set.
For example, the FileAppender has the File
and Append
options both of
which are ambigous until the other is also set.
This allows to defer activiation of the options until all options have been set. This is required for components which have related options that remain ambigous until all are set.
For example, the FileAppender has the File
and Append
options both of
which are ambigous until the other is also set.
ExternallyRolledFileAppender.setPort(int)
.
event
as the last event in the buffer.
newAppender
to the list of appenders of this Category
instance.
LoggerEventListener
to the repository.
LoggerEventListener
to the repository.
LoggerRepositoryEventListener
to the repository.
LoggerRepositoryEventListener
to the repository.
RendererMap.addRenderer(String,String)
. Left here only to provide binary compatibility with 1.2.xx and will be removed in a future release.
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
.System.out
.
Logger
subclass. Category
instance and sets
its name.
Connection
s for log4j classes
that require the use of a Connection
.System.out
or
System.err
using a layout specified by the user. RepositorySelector
in Servlet Containers at:
http://qos.ch/logging/sc.html
By default, the class static RepositorySelector
variable
of the LogManager
class is set to a trivial
RepositorySelector
implementation which always returns the same logger repository. a.k.a.
LoggingEvents
for immediate or differed display.
maxSize
events.
this
.
AsyncAppender
by interrupting the dispatcher
thread which will process all pending events before exiting.
WriterAppender.closeWriter()
method instead.
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
.
configuration
element.
Properties
object for a
LoggerFactory
entry specified by PropertyConfigurator.LOGGER_FACTORY_KEY
.
val
a String parameter to an object of a
given type.
DEBUG
Level designates fine-grained
informational events that are most useful to debug an
application.
JoranConfigurator
.RollingFileAppender
parents constructor
.
filename
.
ConnectionSource
that obtains the Connection in the recommended JDBC manner based on
a DataSource
.
ConnectionSource
that obtains the Connection in the traditional JDBC manner based on the
connection URL.
DEBUG
level.
DEBUG
level including the
stack trace of the Throwable
t
passed as parameter.
DEBUG
level with message formatting
done according to the value of messagePattern
and
arg
parameters.
DEBUG
level with message formatting
done according to the messagePattern and the arguments arg1 and arg2.
Filter.DENY
regardless of the LoggingEvent
parameter.
Filter.NEUTRAL
is there is no string match.
Filter.NEUTRAL
is there is no string match.
DENY
, then the event will be
dropped.
Appender
specific way.
AppenderSkeleton.append(org.apache.log4j.spi.LoggingEvent)
method.
Appender
specific way.
Appender
specific way.
properties
.
configURL
.
configStream
.
ThreadGroup
object similar to the way that the
ThreadGroup.list()
method output information.
Message
.
Attributes
.
PrintStream
.
ERROR
level designates error events that
might still allow the application to continue running.
RuleFactory
.
ERROR
Level.
ERROR
level including the
stack trace of the Throwable
t
passed as parameter.
ERROR
level with message formatting
done according to the value of messagePattern
and
arg
parameters.
ERROR
level with message formatting
done according to the messagePattern and the arguments arg1 and arg2.
Logger
instead.
Logger
instead.
LogManager.exists(java.lang.String)
instead.
FATAL
level designates very severe error
events that will presumably lead the application to abort.
FileAppender
and open the file
designated by filename
.
filename
.
filename
.
FixedWindowRollingPolicy
renames files
according to a fixed window algorithm as described below.
FATAL
Level.
FATAL
level with message formatting
done according to the value of messagePattern
and
arg
parameters.
FATAL
level including the
stack trace of the Throwable
t
passed as parameter.
FATAL
level with message formatting
done according to the messagePattern and the arguments arg1 and arg2.
close
method.
o
parameter.
key
in
props
.
LoggerEventListener
.
LoggerEventListener
.
LoggerRepositoryEventListener
.
LoggerRepositoryEventListener
.
LoggerEventListener
.
LoggerEventListener
.
LoggerEventListener
.
LoggerEventListener
.
level
, followed by " - " and then the
message
.
NDC
information.
sbuf
the number of milliseconds elapsed
since the start of the application.
LoggingEvent
in conformance with the log4j.dtd.
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.
Connection
for use.
LogManager.getCurrentLoggers()
instead.
Hierarchy.getCurrentLoggers()
instead.
LoggerRepository.getCurrentLoggers()
instead.
Enumeration
.
LogManager.getLoggerRepository()
instead.
error items
.
Category.getLoggerRepository()
instead.
Logger.getLogger(String)
method instead.
Logger.getLogger(Class)
instead.
new
.
Enumeration
.
Level
, if any, for this Category.
LevelMax
option.
LevelMin
option.
factory
.
Logger
instance.
Logger
instance.
Logger
instance.
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
this component is attached to.
LoggerRepository
by name.
LoggerRepository
depending on the context.
Category.getLevel()
instead.
resource
in different
places.
ResourceBundle
for this category.
key
in this
category's inherited resource bundle.
Logger.getRootLogger()
method instead.
Scheduler
for this LoggerRepository.
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.
RuleFactory
NOTE: parsing is supported through the use of StringTokenizer
, which means
all tokens in the expression must be separated by spaces.
LoggingEvent
, then the layout should return false
.
Exceptions
.
INFO
Level.
INFO
level with message formatting
done according to the value of messagePattern
and
arg
parameters.
INFO
level with message formatting
done according to the messagePattern and the arguments arg1 and arg2.
INFO
level including the stack
trace of the Throwable
t
passed as parameter.
repository
using configuratonResourceStr
and configuratorClassNameStr
.
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, i.e. of 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
.ConnectionSource
that obtains a DataSource
from a
JNDI provider and uses it to obtain a Connection
. ExecutionContext
. LoggerFactory
.
OFF
, FATAL
, ERROR
,
WARN
, INFO
, DEBUG
,
TRACE
, 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
. Logger
instance and sets
its name.
Logger
related events such as
add/remove appender or changing levels. LoggerRepository
is used to create and retrieve
Loggers
. LoggerRepository
related
events such as startup, reset, and shutdown. 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
.
ULogger
.Configurator.INHERITED
.
Filter.getNext()
and Filter.setNext(org.apache.log4j.spi.Filter)
instead
OFF
has the highest possible rank and is
intended to turn off logging.
javax.jms.Message
.org.xml.sax.Attributes
.org.apache.log4j.rolling
package.LoggerRepository
object store.
PatternLayout
class
is delegated to the PatternParser class.
PrintWriter
.PropertySetter
utility class.null
.
val
parameter) as identified
with the key
parameter into the current thread's
context map.
MDC.put(String key, String val)
form.
LoggingEvent
in the buffer.
ObjectRenderer
for clazz
.
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.
RollingFileAppender
parents constructor
.
filename
.
filename
.
RollingFileAppender
extends FileAppender
to backup the log files
depending on RollingPolicy
and TriggeringPolicy
.
RollingPolicy
specifies the actions taken
on a logging file rollover.RootLogger
.key
parameter.
LoggerEventListener
from the repository.
LoggerEventListener
from the repository.
LoggerRepositoryEventListener
from the repository.
LoggerRepositoryEventListener
from the repository.
SMTPAppender
requires a layout
.
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.
System.out).
- SizeBasedTriggeringPolicy - class org.apache.log4j.rolling.SizeBasedTriggeringPolicy.
- SizeBasedTriggeringPolicy looks at size of the file being
currently written to.
- SizeBasedTriggeringPolicy() -
Constructor for class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
- Constructs a new instance.
- SizeBasedTriggeringPolicy(long) -
Constructor for class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
- Constructs an new instance.
- SocketAppender - class org.apache.log4j.net.SocketAppender.
- Sends
LoggingEvent
objects to a remote a log server, usually a
SocketNode
.
- SocketAppender() -
Constructor for class org.apache.log4j.net.SocketAppender
-
- SocketAppender(InetAddress, int) -
Constructor for class org.apache.log4j.net.SocketAppender
- Connects to remote server at
address
and port
.
- SocketAppender(String, int) -
Constructor for class org.apache.log4j.net.SocketAppender
- Connects to remote server at
host
and port
.
- SocketHubAppender - class org.apache.log4j.net.SocketHubAppender.
- Sends
LoggingEvent
objects to a set of remote log servers,
usually a SocketNodes
.
- SocketHubAppender() -
Constructor for class org.apache.log4j.net.SocketHubAppender
-
- SocketHubAppender(int) -
Constructor for class org.apache.log4j.net.SocketHubAppender
- Connects to remote server at
address
and port
.
- SocketHubReceiver - class org.apache.log4j.net.SocketHubReceiver.
- SocketHubReceiver receives a remote logging event on a configured
socket and "posts" it to a LoggerRepository as if the event was
generated locally.
- SocketHubReceiver() -
Constructor for class org.apache.log4j.net.SocketHubReceiver
-
- SocketHubReceiver(String, int) -
Constructor for class org.apache.log4j.net.SocketHubReceiver
-
- SocketHubReceiver(String, int, LoggerRepository) -
Constructor for class org.apache.log4j.net.SocketHubReceiver
-
- SocketHubReceiverBeanInfo - class org.apache.log4j.net.SocketHubReceiverBeanInfo.
- BeanInfo class for the SocketHubReceiver.
- SocketHubReceiverBeanInfo() -
Constructor for class org.apache.log4j.net.SocketHubReceiverBeanInfo
-
- SocketNode - class org.apache.log4j.net.SocketNode.
- Read
LoggingEvent
objects sent from a remote client using
Sockets (TCP). - SocketNode(Socket, LoggerRepository) -
Constructor for class org.apache.log4j.net.SocketNode
- Constructor for socket and logger repository.
- SocketNode(Socket, Receiver) -
Constructor for class org.apache.log4j.net.SocketNode
- Constructor for socket and reciever.
- SocketNodeEventListener - interface org.apache.log4j.net.SocketNodeEventListener.
- Interface used to listen for
SocketNode
related
events. - SocketReceiver - class org.apache.log4j.net.SocketReceiver.
- SocketReceiver receives a remote logging event on a configured
socket and "posts" it to a LoggerRepository as if the event was
generated locally.
- SocketReceiver() -
Constructor for class org.apache.log4j.net.SocketReceiver
-
- SocketReceiver(int) -
Constructor for class org.apache.log4j.net.SocketReceiver
-
- SocketReceiver(int, LoggerRepository) -
Constructor for class org.apache.log4j.net.SocketReceiver
-
- SocketReceiver.SocketDetail - class org.apache.log4j.net.SocketReceiver.SocketDetail.
-
- SocketServer - class org.apache.log4j.net.SocketServer.
- A
SocketNode
based server that uses a different hierarchy
for each client.
- SocketServer(File) -
Constructor for class org.apache.log4j.net.SocketServer
-
- SoundAppender - class org.apache.log4j.varia.SoundAppender.
- Plays a sound clip created using Applet.newAudioClip when an event is received.
- SoundAppender() -
Constructor for class org.apache.log4j.varia.SoundAppender
-
- StringMatchFilter - class org.apache.log4j.filter.StringMatchFilter.
- This is a very simple filter based on string matching.
- StringMatchFilter() -
Constructor for class org.apache.log4j.filter.StringMatchFilter
-
- StringMatchFilter - class org.apache.log4j.varia.StringMatchFilter.
- Deprecated. org.apache.log4j.filter.StringMatchFilter
- StringMatchFilter() -
Constructor for class org.apache.log4j.varia.StringMatchFilter
- Deprecated.
- SubstitutionPropertyAction - class org.apache.log4j.joran.action.SubstitutionPropertyAction.
- This action sets new substitution properties for the execution context by
name, value pair, or adds all the properties passed in the
Properties
argument. - SubstitutionPropertyAction() -
Constructor for class org.apache.log4j.joran.action.SubstitutionPropertyAction
-
- SyslogAppender - class org.apache.log4j.net.SyslogAppender.
- Implements an RFC 3164 compliant agent to send log messages to a remote
syslog daemon.
- SyslogAppender() -
Constructor for class org.apache.log4j.net.SyslogAppender
-
- SyslogConstants - class org.apache.log4j.net.SyslogConstants.
- Constants used by the
SyslogAppender
class. - SyslogConstants() -
Constructor for class org.apache.log4j.net.SyslogConstants
-
- SyslogWriter - class org.apache.log4j.helpers.SyslogWriter.
- SyslogWriter is a wrapper around the java.net.DatagramSocket class
so that it behaves like a java.io.Writer.
- SyslogWriter(String) -
Constructor for class org.apache.log4j.helpers.SyslogWriter
-
- selectAndConfigure(URL, String, LoggerRepository) -
Static method in class org.apache.log4j.helpers.OptionConverter
- Configure log4j given a URL.
- selfInitialize(LoggerRepository) -
Method in class org.apache.log4j.joran.JoranConfigurator
-
- send(String) -
Method in class org.apache.log4j.net.TelnetAppender.SocketHandler
- sends a message to each of the clients in telnet-friendly output.
- sendBuffer(LoggingEvent) -
Method in class org.apache.log4j.net.SMTPAppender
- Send the contents of the cyclic buffer as an e-mail message.
- setAcceptOnMatch(boolean) -
Method in class org.apache.log4j.filter.AndFilter
-
- setAcceptOnMatch(boolean) -
Method in class org.apache.log4j.filter.ExpressionFilter
-
- setAcceptOnMatch(boolean) -
Method in class org.apache.log4j.filter.LevelMatchFilter
-
- setAcceptOnMatch(boolean) -
Method in class org.apache.log4j.filter.LevelRangeFilter
- Set the
AcceptOnMatch
option.
- setAcceptOnMatch(boolean) -
Method in class org.apache.log4j.filter.StringMatchFilter
-
- setActive(boolean) -
Method in class org.apache.log4j.net.JMSReceiver
- Sets the flag to indicate if receiver is active or not.
- setActive(boolean) -
Method in class org.apache.log4j.net.SocketHubReceiver
- Sets the flag to indicate if receiver is active or not.
- setActiveFileName(String) -
Method in class org.apache.log4j.rolling.RollingPolicyBase
- Deprecated. Duplicates FileAppender.file and should be removed
- setAdditionalProperties(Map) -
Method in interface org.apache.log4j.spi.Decoder
-
- setAdditionalProperties(Map) -
Method in class org.apache.log4j.xml.UtilLoggingXMLDecoder
- Sets an additionalProperty map, where each Key/Value pair is
automatically added to each LoggingEvent as it is decoded.
- setAdditionalProperties(Map) -
Method in class org.apache.log4j.xml.XMLDecoder
- Sets an additionalProperty map, where each Key/Value pair is
automatically added to each LoggingEvent as it is decoded.
- setAdditivity(boolean) -
Method in class org.apache.log4j.Category
- Set the additivity flag for this Category instance.
- setAddress(String) -
Method in class org.apache.log4j.net.MulticastReceiver
-
- setAppend(boolean) -
Method in class org.apache.log4j.DailyRollingFileAppender
- Deprecated. The Append option takes a boolean value.
- setAppend(boolean) -
Method in class org.apache.log4j.FileAppender
- The Append option takes a boolean value.
- setAppend(boolean) -
Method in class org.apache.log4j.RollingFileAppender
- Deprecated. The Append option takes a boolean value.
- setAppender(Appender) -
Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
- Deprecated.
- setAppender(Appender) -
Method in interface org.apache.log4j.spi.ErrorHandler
- Deprecated.
- setAppender(Appender) -
Method in class org.apache.log4j.varia.FallbackErrorHandler
- Deprecated.
- setApplication(String) -
Method in class org.apache.log4j.net.MulticastAppender
- The App option takes a string value which should be the name of the application getting logged.
- setApplication(String) -
Method in class org.apache.log4j.net.SocketAppender
- The App option takes a string value which should be the name of the
application getting logged.
- setApplication(String) -
Method in class org.apache.log4j.net.UDPAppender
- The App option takes a string value which should be the name of the application getting logged.
- setAudioURL(String) -
Method in class org.apache.log4j.varia.SoundAppender
- Mutator - common format for a file-based url:
file:///c:/path/someaudioclip.wav
- setBackupAppender(Appender) -
Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
- Deprecated.
- setBackupAppender(Appender) -
Method in interface org.apache.log4j.spi.ErrorHandler
- Deprecated.
- setBackupAppender(Appender) -
Method in class org.apache.log4j.varia.FallbackErrorHandler
- Deprecated.
- setBufferSize(int) -
Method in class org.apache.log4j.AsyncAppender
- The BufferSize option takes a non-negative integer value.
- setBufferSize(int) -
Method in class org.apache.log4j.DailyRollingFileAppender
- Deprecated. Set the size of the IO buffer.
- setBufferSize(int) -
Method in class org.apache.log4j.FileAppender
- Set the size of the IO buffer.
- setBufferSize(int) -
Method in class org.apache.log4j.RollingFileAppender
- Deprecated. Set the size of the IO buffer.
- setBufferSize(int) -
Method in class org.apache.log4j.net.SMTPAppender
- The BufferSize option takes a positive integer
representing the maximum number of logging events to collect in a
cyclic buffer.
- setBufferSize(int) -
Method in class org.apache.log4j.net.SocketHubAppender
- The BufferSize option takes a positive integer representing
the number of events this appender will buffer and send to newly connected clients.
- setBufferedIO(boolean) -
Method in class org.apache.log4j.DailyRollingFileAppender
- Deprecated. The BufferedIO option takes a boolean value.
- setBufferedIO(boolean) -
Method in class org.apache.log4j.FileAppender
- The BufferedIO option takes a boolean value.
- setBufferedIO(boolean) -
Method in class org.apache.log4j.RollingFileAppender
- Deprecated. The BufferedIO option takes a boolean value.
- setCategoryPrefixing(boolean) -
Method in class org.apache.log4j.TTCCLayout
- Deprecated. The CategoryPrefixing option specifies whether
Category
name is part of log output or not.
- setCharset(String) -
Method in class org.apache.log4j.net.SMTPAppender
- Set charset for messages: ensure the charset
you are using is available on your platform.
- setColNumber(int) -
Method in class org.apache.log4j.spi.ErrorItem
-
- setComponent(String, Object) -
Method in class org.apache.log4j.config.PropertySetter
-
- setConfiguratorClass(Class) -
Method in interface org.apache.log4j.config.ConfigWatchdog
- Sets the configurator class used for reconfiguration.
- setConfiguratorClassName(String) -
Method in interface org.apache.log4j.config.ConfigWatchdog
- Sets the configurator class name used for reconfiguration.
- setConnectionSource(ConnectionSource) -
Method in class org.apache.log4j.db.CustomSQLDBReceiver
-
- setConnectionSource(ConnectionSource) -
Method in class org.apache.log4j.db.DBAppender
-
- setConnectionSource(ConnectionSource) -
Method in class org.apache.log4j.db.DBReceiver
-
- setContextPrinting(boolean) -
Method in class org.apache.log4j.TTCCLayout
- Deprecated. The ContextPrinting option specifies log output will include
the nested context information belonging to the current thread.
- setConversionPattern(String) -
Method in class org.apache.log4j.PatternLayout
- Set the ConversionPattern option.
- setConvertInFixToPostFix(boolean) -
Method in class org.apache.log4j.filter.ExpressionFilter
-
- setConvertInFixToPostFix(boolean) -
Method in class org.apache.log4j.filter.LocationInfoFilter
-
- setDataSource(DataSource) -
Method in class org.apache.log4j.db.DataSourceConnectionSource
-
- setDateFormat(String) -
Method in class org.apache.log4j.TTCCLayout
- Deprecated.
- setDatePattern(String) -
Method in class org.apache.log4j.DailyRollingFileAppender
- Deprecated. The DatePattern takes a string in the same format as
expected by
SimpleDateFormat
.
- setDecoder(String) -
Method in class org.apache.log4j.net.MulticastReceiver
-
- setDecoder(String) -
Method in class org.apache.log4j.net.UDPReceiver
-
- setDecoder(String) -
Method in class org.apache.log4j.net.XMLSocketReceiver
-
- setDelay(long) -
Method in class org.apache.log4j.helpers.FileWatchdog
- Set the delay to observe between each check of the file changes.
- setDriverClass(String) -
Method in class org.apache.log4j.db.DriverManagerConnectionSource
- Sets the driver class.
- setEncoding(String) -
Method in class org.apache.log4j.WriterAppender
-
- setEncoding(String) -
Method in class org.apache.log4j.net.MulticastAppender
- The Encoding option specifies how the bytes are encoded.
- setEncoding(String) -
Method in class org.apache.log4j.net.MulticastReceiver
- The Encoding option specifies how the bytes are encoded.
- setEncoding(String) -
Method in class org.apache.log4j.net.UDPAppender
- The Encoding option specifies how the bytes are encoded.
- setEncoding(String) -
Method in class org.apache.log4j.net.UDPReceiver
- The Encoding option specifies how the bytes are encoded.
- setErrorHandler(ErrorHandler) -
Method in interface org.apache.log4j.Appender
- Deprecated. As of 1.3
- setErrorHandler(ErrorHandler) -
Method in class org.apache.log4j.AppenderSkeleton
- Deprecated. As of 1.3
- setErrorHandler(ErrorHandler) -
Method in class org.apache.log4j.DailyRollingFileAppender
- Deprecated. As of 1.3
- setErrorHandler(ErrorHandler) -
Method in class org.apache.log4j.RollingFileAppender
- Deprecated. As of 1.3
- setEvaluator(TriggeringEventEvaluator) -
Method in class org.apache.log4j.net.SMTPAppender
- Set
TriggeringEventEvaluator
for this instance of SMTPAppender.
- setEvaluatorClass(String) -
Method in class org.apache.log4j.net.SMTPAppender
- Deprecated. replaced by
SMTPAppender.setEvaluator(org.apache.log4j.spi.TriggeringEventEvaluator)
.
- setException(Throwable) -
Method in class org.apache.log4j.spi.ErrorItem
-
- setExpression(String) -
Method in class org.apache.log4j.filter.ExpressionFilter
-
- setExpression(String) -
Method in class org.apache.log4j.filter.LocationInfoFilter
-
- setFQNOfLoggerClass(String) -
Method in class org.apache.log4j.spi.LoggingEvent
- Set the fully qualified name of the calling logger sub-class/wrapper.
- setFacility(String) -
Method in class org.apache.log4j.net.SyslogAppender
- Set the syslog facility.
- setFile(String) -
Method in class org.apache.log4j.DailyRollingFileAppender
- Deprecated. The File property takes a string value which should be the
name of the file to append to.
- setFile(String) -
Method in class org.apache.log4j.FileAppender
- The File property takes a string value which should be the
name of the file to append to.
- setFile(String, boolean, boolean, int) -
Method in class org.apache.log4j.FileAppender
- Sets and opens the file where the log output will
go.
- setFile(String) -
Method in class org.apache.log4j.RollingFileAppender
- Deprecated. The File property takes a string value which should be the
name of the file to append to.
- setFileNamePattern(String) -
Method in class org.apache.log4j.rolling.RollingPolicyBase
- Set file name pattern.
- setFileURL(String) -
Method in class org.apache.log4j.varia.LogFilePatternReceiver
- Mutator
- setFilterExpression(String) -
Method in class org.apache.log4j.varia.LogFilePatternReceiver
- Mutator
- setFooter(String) -
Method in class org.apache.log4j.Layout
- Set the footer.
- setFrom(String) -
Method in class org.apache.log4j.net.SMTPAppender
- The From option takes a string value which should be a
e-mail address of the sender.
- setHeader(String) -
Method in class org.apache.log4j.Layout
- Set the header.
- setHost(String) -
Method in class org.apache.log4j.net.SocketHubReceiver
- Configures the Host property, this will require activateOptions
to be called for this to take effect.
- setIDField(String) -
Method in class org.apache.log4j.db.CustomSQLDBReceiver
-
- setIgnoresThrowable(boolean) -
Method in class org.apache.log4j.Layout
-
- setImmediateFlush(boolean) -
Method in class org.apache.log4j.WriterAppender
- If the ImmediateFlush option is set to
true
, the appender will flush at the end of each
write.
- setInitialContextFactoryName(String) -
Method in class org.apache.log4j.net.JMSAppender
- Setting the InitialContextFactoryName method will cause
this
JMSAppender
instance to use the InitialContext.InitialContext(Hashtable)
method instead of the
no-argument constructor.
- setInternalDebugging(boolean) -
Static method in class org.apache.log4j.helpers.LogLog
- Allows to enable/disable log4j internal logging.
- setJndiLocation(String) -
Method in class org.apache.log4j.db.JNDIConnectionSource
- Sets the jndiLocation.
- setJndiPath(String) -
Method in class org.apache.log4j.net.JMSReceiver
- Sets the path to a properties file containing
the initial context and jndi provider url
- setLayout(Layout) -
Method in interface org.apache.log4j.Appender
- Set the
Layout
for this appender.
- setLayout(Layout) -
Method in class org.apache.log4j.AppenderSkeleton
- Set the layout for this appender.
- setLayout(Layout) -
Method in class org.apache.log4j.DailyRollingFileAppender
- Deprecated. Set the
Layout
for this appender.
- setLayout(Layout) -
Method in class org.apache.log4j.RollingFileAppender
- Deprecated. Set the
Layout
for this appender.
- setLayout(Layout) -
Method in class org.apache.log4j.net.SyslogAppender
-
- setLevel(Level) -
Method in class org.apache.log4j.Category
- Set the level of this Category.
- setLevel(Level) -
Method in class org.apache.log4j.spi.LoggingEvent
- Set the level of this event.
- setLevel(Level) -
Method in class org.apache.log4j.spi.RootCategory
- Deprecated. Setting a null value to the level of the root logger may have catastrophic
results.
- setLevel(Level) -
Method in class org.apache.log4j.spi.RootLogger
- Setting a null value to the level of the root logger may have catastrophic
results.
- setLevelMax(Level) -
Method in class org.apache.log4j.filter.LevelRangeFilter
- Set the
LevelMax
option.
- setLevelMin(Level) -
Method in class org.apache.log4j.filter.LevelRangeFilter
- Set the
LevelMin
option.
- setLevelToMatch(String) -
Method in class org.apache.log4j.filter.LevelMatchFilter
-
- setLineNumber(int) -
Method in class org.apache.log4j.spi.ErrorItem
-
- setListener(SocketNodeEventListener) -
Method in class org.apache.log4j.net.SocketNode
- Deprecated. Now supports mutliple listeners, this method
simply invokes the removeSocketNodeEventListener() to remove
the listener, and then readds it.
- setListener(SocketNodeEventListener) -
Method in class org.apache.log4j.net.SocketReceiver
- Deprecated. This receiver now supports multiple listeners and
so this method simply removes the listener (if there already)
and readds it to the list.
The passed listener will also be returned via the getListener()
method still, but this is also deprecated
- setListener(SocketNodeEventListener) -
Method in class org.apache.log4j.net.XMLSocketNode
- Set the event listener on this node.
- setLocationInfo(boolean) -
Method in class org.apache.log4j.AsyncAppender
- The LocationInfo option takes a boolean value.
- setLocationInfo(boolean) -
Method in class org.apache.log4j.db.DBAppender
- If true, the information written to the database will include caller's
location information.
- setLocationInfo(boolean) -
Method in class org.apache.log4j.net.JMSAppender
- If true, the information sent to the remote subscriber will include
caller's location information.
- setLocationInfo(boolean) -
Method in class org.apache.log4j.net.SMTPAppender
- The LocationInfo option takes a boolean value.
- setLocationInfo(boolean) -
Method in class org.apache.log4j.net.SocketAppender
- The LocationInfo option takes a boolean value.
- setLocationInfo(boolean) -
Method in class org.apache.log4j.net.SocketHubAppender
- The LocationInfo option takes a boolean value.
- setLocationInfo(boolean) -
Method in class org.apache.log4j.xml.XMLLayout
- The LocationInfo option takes a boolean value.
- setLocationInformation(LocationInfo) -
Method in class org.apache.log4j.spi.LoggingEvent
- Set the location information for this logging event.
- setLogFormat(String) -
Method in class org.apache.log4j.varia.LogFilePatternReceiver
- Mutator
- setLogger(Logger) -
Method in class org.apache.log4j.helpers.OnlyOnceErrorHandler
- Deprecated.
- setLogger(Logger) -
Method in interface org.apache.log4j.spi.ErrorHandler
- Deprecated.
- setLogger(Logger) -
Method in class org.apache.log4j.spi.LoggingEvent
- Set the logger of this event.
- setLogger(Logger) -
Method in class org.apache.log4j.varia.FallbackErrorHandler
- Deprecated.
- setLoggerName(String) -
Method in class org.apache.log4j.spi.LoggingEvent
- Set the loggerName for this event.
- setLoggerRepository(LoggerRepository) -
Method in interface org.apache.log4j.Appender
-
- setLoggerRepository(LoggerRepository) -
Method in class org.apache.log4j.DailyRollingFileAppender
- Deprecated.
- setLoggerRepository(LoggerRepository) -
Method in class org.apache.log4j.RollingFileAppender
- Deprecated.
- setLoggerRepository(LoggerRepository) -
Method in interface org.apache.log4j.config.ConfigWatchdog
- Set the logger repository this watchdog will reconfigure
when new configuration data is detected.
- setLoggerRepository(LoggerRepository) -
Static method in class org.apache.log4j.helpers.OptionConverter
-
- setLoggerRepository(LoggerRepository) -
Method in interface org.apache.log4j.plugins.Plugin
- Sets the logger repository used by this plugin.
- setLoggerRepository(LoggerRepository) -
Method in class org.apache.log4j.plugins.PluginSkeleton
- Sets the logger repository used by this plugin and notifies an relevant PropertyChangeListeners registered.
- setLoggerRepository(LoggerRepository) -
Method in interface org.apache.log4j.spi.Component
- Set owning logger repository for this component.
- setLoggerRepository(LoggerRepository) -
Method in class org.apache.log4j.spi.ComponentBase
- Set the owning repository.
- setMaxBackupIndex(int) -
Method in class org.apache.log4j.RollingFileAppender
- Deprecated. Set the maximum number of backup files to keep around.
- setMaxDepth(int) -
Static method in class org.apache.log4j.NDC
- Set maximum depth of this diagnostic context.
- setMaxFileSize(String) -
Method in class org.apache.log4j.RollingFileAppender
- Deprecated. Set the maximum size that the output file is allowed to reach
before being rolled over to backup files.
- setMaxFileSize(long) -
Method in class org.apache.log4j.rolling.SizeBasedTriggeringPolicy
- Sets rollover threshold size in bytes.
- setMaxIndex(int) -
Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
- Set index of oldest log file to be retained.
- setMaximumFileSize(long) -
Method in class org.apache.log4j.RollingFileAppender
- Deprecated. Set the maximum size that the output file is allowed to reach
before being rolled over to backup files.
- setMessage(String) -
Method in class org.apache.log4j.spi.ErrorItem
-
- setMessage(Object) -
Method in class org.apache.log4j.spi.LoggingEvent
- Set the message for this event.
- setMinIndex(int) -
Method in class org.apache.log4j.rolling.FixedWindowRollingPolicy
- Set index of most recent log file.
- setNDC(String) -
Method in class org.apache.log4j.spi.LoggingEvent
- This method sets the NDC string for this event.
- setName(String) -
Method in interface org.apache.log4j.Appender
- Set the name of this appender.
- setName(String) -
Method in class org.apache.log4j.AppenderSkeleton
- Set the name of this Appender.
- setName(String) -
Method in class org.apache.log4j.DailyRollingFileAppender
- Deprecated. Set the name of this appender.
- setName(String) -
Method in class org.apache.log4j.Hierarchy
-
- setName(String) -
Method in class org.apache.log4j.RollingFileAppender
- Deprecated. Set the name of this appender.
- setName(String) -
Method in interface org.apache.log4j.config.ConfigWatchdog
- Set the name of this watchdog.
- setName(String) -
Method in interface org.apache.log4j.plugins.Plugin
- Sets the name of the plugin.
- setName(String) -
Method in class org.apache.log4j.plugins.PluginSkeleton
- Sets the name of the plugin and notifies PropertyChangeListeners of the change
- setName(String) -
Method in interface org.apache.log4j.spi.LoggerRepository
- A logger repository is a named entity.
- setNext(Filter) -
Method in class org.apache.log4j.spi.Filter
- Set the next filter pointer.
- setOption(String, String) -
Method in class org.apache.log4j.filter.DenyAllFilter
- Deprecated. Use the setter method for the option directly instead
of the generic
setOption
method.
- setOverrideProperties(String) -
Method in class org.apache.log4j.net.MulticastAppender
- The OverrideProperties option allows configurations where the appender does not apply
the machinename/appname properties - the properties will be used as provided.
- setOverrideProperties(String) -
Method in class org.apache.log4j.net.UDPAppender
- The OverrideProperties option allows configurations where the appender does not apply
the machinename/appname properties - the properties will be used as provided.
- setPassword(String) -
Method in class org.apache.log4j.db.ConnectionSourceSkeleton
- Sets the password.
- setPassword(String) -
Method in class org.apache.log4j.net.JMSAppender
- The paswword to use when creating a topic session.
- setPassword(String) -
Method in class org.apache.log4j.net.JMSReceiver
- Sets the password to use when creating the
JMS connection.
- setPaused(boolean) -
Method in class org.apache.log4j.db.CustomSQLDBReceiver
-
- setPaused(boolean) -
Method in class org.apache.log4j.db.DBReceiver
-
- setPaused(boolean) -
Method in class org.apache.log4j.net.MulticastReceiver
-
- setPaused(boolean) -
Method in class org.apache.log4j.net.SocketNode
-
- setPaused(boolean) -
Method in class org.apache.log4j.net.SocketReceiver.SocketDetail
-
- setPaused(boolean) -
Method in class org.apache.log4j.net.SocketReceiver
-
- setPaused(boolean) -
Method in class org.apache.log4j.net.UDPReceiver
-
- setPaused(boolean) -
Method in class org.apache.log4j.net.XMLSocketReceiver
-
- setPaused(boolean) -
Method in interface org.apache.log4j.plugins.Pauseable
-
- setPort(int) -
Method in class org.apache.log4j.net.MulticastAppender
- The Port option takes a positive integer representing
the port where multicast packets will be sent.
- setPort(int) -
Method in class org.apache.log4j.net.MulticastReceiver
-
- setPort(int) -
Method in class org.apache.log4j.net.SocketAppender
- The Port option takes a positive integer representing the port
where the server is waiting for connections.
- setPort(int) -
Method in class org.apache.log4j.net.SocketHubAppender
- The Port option takes a positive integer representing
the port where the server is waiting for connections.
- setPort(String) -
Method in class org.apache.log4j.net.SocketHubReceiver
- Set the remote host to connect to for logging events.
- setPort(int) -
Method in class org.apache.log4j.net.SocketHubReceiver
- Set the remote port to connect to for logging events.
- setPort(int) -
Method in class org.apache.log4j.net.SocketReceiver
- Set the port to receive logging events on.
- setPort(int) -
Method in class org.apache.log4j.net.TelnetAppender
-
- setPort(int) -
Method in class org.apache.log4j.net.UDPAppender
- The Port option takes a positive integer representing
the port where UDP packets will be sent.
- setPort(int) -
Method in class org.apache.log4j.net.UDPReceiver
-
- setPort(int) -
Method in class org.apache.log4j.net.XMLSocketReceiver
- Set the port to receive logging events on.
- setPort(int) -
Method in class org.apache.log4j.varia.ExternallyRolledFileAppender
- Deprecated. Sets the port monitored for rollover requests.
- setPristine(boolean) -
Method in class org.apache.log4j.Hierarchy
-
- setPristine(boolean) -
Method in interface org.apache.log4j.spi.LoggerRepository
- Set the pristine flag.
- setProperties(Properties, String) -
Method in class org.apache.log4j.config.PropertySetter
- Set the properites for the object that match the
prefix
passed as parameter.
- setProperties(String) -
Method in class org.apache.log4j.filter.PropertyFilter
-
- setProperties(ExecutionContext, Properties) -
Method in class org.apache.log4j.joran.action.RepositoryPropertyAction
-
- setProperties(ExecutionContext, Properties) -
Method in class org.apache.log4j.joran.action.SubstitutionPropertyAction
-
- setProperties(Hashtable) -
Method in class org.apache.log4j.spi.LoggingEvent
-
- setProperty(String, String) -
Method in class org.apache.log4j.Hierarchy
-
- setProperty(String, String) -
Method in class org.apache.log4j.config.PropertySetter
- Set a property on this PropertySetter's Object.
- setProperty(PropertyDescriptor, String, String) -
Method in class org.apache.log4j.config.PropertySetter
- Set the named property given a
PropertyDescriptor
.
- setProperty(ExecutionContext, String, String) -
Method in class org.apache.log4j.joran.action.RepositoryPropertyAction
-
- setProperty(ExecutionContext, String, String) -
Method in class org.apache.log4j.joran.action.SubstitutionPropertyAction
-
- setProperty(String, String) -
Method in interface org.apache.log4j.spi.LoggerRepository
- Set a property of this repository.
- setProperty(String, String) -
Method in class org.apache.log4j.spi.LoggingEvent
- Set a string property using a key and a string value.
- setProviderURL(String) -
Method in class org.apache.log4j.net.JMSAppender
-
- setQuietMode(boolean) -
Static method in class org.apache.log4j.helpers.LogLog
- Deprecated. with no replacement
- setReconnectionDelay(int) -
Method in class org.apache.log4j.net.SocketAppender
- The ReconnectionDelay option takes a positive integer representing
the number of milliseconds to wait between each failed connection attempt
to the server.
- setReconnectionDelay(int) -
Method in class org.apache.log4j.net.SocketHubReceiver
- The ReconnectionDelay option takes a positive integer
representing the number of milliseconds to wait between each
failed connection attempt to the server.
- setRefreshMillis(int) -
Method in class org.apache.log4j.db.CustomSQLDBReceiver
-
- setRefreshMillis(int) -
Method in class org.apache.log4j.db.DBReceiver
-
- setRemoteHost(String) -
Method in class org.apache.log4j.net.MulticastAppender
- The RemoteHost option takes a string value which should be
the host name or ipaddress to send the multicast packets.
- setRemoteHost(String) -
Method in class org.apache.log4j.net.SocketAppender
- The RemoteHost option takes a string value which should be
the host name of the server where a
SocketNode
or a
SocketReceiver
is running.
- setRemoteHost(String) -
Method in class org.apache.log4j.net.UDPAppender
- The RemoteHost option takes a string value which should be
the host name or ipaddress to send the UDP packets.
- setRenderedMessage(String) -
Method in class org.apache.log4j.spi.LoggingEvent
-
- setRenderer(Class, ObjectRenderer) -
Method in class org.apache.log4j.Hierarchy
- Used by subclasses to add a renderer to the hierarchy passed as parameter.
- setRenderer(Class, ObjectRenderer) -
Method in interface org.apache.log4j.spi.RendererSupport
-
- setRepositorySelector(RepositorySelector, Object) -
Static method in class org.apache.log4j.LogManager
- Sets
RepositorySelector
but only if the correct
guard is passed as parameter.
- setResourceBundle(ResourceBundle) -
Method in class org.apache.log4j.Category
- Set the resource bundle to be used with localized logging methods
Category.l7dlog(Level,String,Throwable)
and Category.l7dlog(Level,String,Object[],Throwable)
.
- setRollingPolicy(RollingPolicy) -
Method in class org.apache.log4j.rolling.RollingFileAppender
- Sets the rolling policy.
- setSMTPHost(String) -
Method in class org.apache.log4j.net.SMTPAppender
- The SMTPHost option takes a string value which should be a
the host name of the SMTP server that will send the e-mail message.
- setSecurityCredentials(String) -
Method in class org.apache.log4j.net.JMSAppender
-
- setSecurityPrincipalName(String) -
Method in class org.apache.log4j.net.JMSAppender
-
- setSequenceNumber(long) -
Method in class org.apache.log4j.spi.LoggingEvent
-
- setSql(String) -
Method in class org.apache.log4j.db.CustomSQLDBReceiver
-
- setStringToMatch(String) -
Method in class org.apache.log4j.filter.StringMatchFilter
-
- setSubject(String) -
Method in class org.apache.log4j.net.SMTPAppender
- The Subject option takes a string value which will be the subject
of the e-mail message.
- setSyslogHost(String) -
Method in class org.apache.log4j.net.SyslogAppender
- The SyslogHost option is the name of the the syslog host where log
output should go.
- setTailing(boolean) -
Method in class org.apache.log4j.varia.LogFilePatternReceiver
- Mutator
- setTarget(String) -
Method in class org.apache.log4j.ConsoleAppender
- Sets the value of the Target option.
- setThreadName(String) -
Method in class org.apache.log4j.spi.LoggingEvent
-
- setThreadPrinting(boolean) -
Method in class org.apache.log4j.TTCCLayout
- Deprecated. The ThreadPrinting option specifies whether the name of the
current thread is part of log output or not.
- setThreshold(Level) -
Method in class org.apache.log4j.AppenderSkeleton
- Set the threshold level.
- setThreshold(String) -
Method in class org.apache.log4j.Hierarchy
- The string form of
Hierarchy.setThreshold(Level)
.
- setThreshold(Level) -
Method in class org.apache.log4j.Hierarchy
- Enable logging for logging requests with level
l
or
higher.
- setThreshold(Level) -
Method in class org.apache.log4j.plugins.Receiver
- Sets the receiver theshold to the given level.
- setThreshold(Level) -
Method in interface org.apache.log4j.spi.LoggerRepository
- Set the repository-wide threshold.
- setThreshold(String) -
Method in interface org.apache.log4j.spi.LoggerRepository
- Another form of
LoggerRepository.setThreshold(Level)
accepting a string
parameter instead of a Level
.
- setThreshold(Level) -
Method in interface org.apache.log4j.spi.Thresholdable
- Sets the component theshold to the given level.
- setThrowableInformation(ThrowableInformation) -
Method in class org.apache.log4j.spi.LoggingEvent
- Set this event's throwable information.
- setTimeStamp(long) -
Method in class org.apache.log4j.spi.LoggingEvent
- Setter for the even'ts time stamp.
- setTimeToLive(int) -
Method in class org.apache.log4j.net.MulticastAppender
- The Time to live option takes a positive integer representing
the time to live value.
- setTimeZone(TimeZone) -
Method in class org.apache.log4j.helpers.RelativeTimeDateFormat
- Sets the timezone.
- setTimestampFormat(String) -
Method in class org.apache.log4j.varia.LogFilePatternReceiver
- Mutator
- setTo(String) -
Method in class org.apache.log4j.net.SMTPAppender
- The To option takes a string value which should be a
comma separated list of e-mail address of the recipients.
- setTopicBindingName(String) -
Method in class org.apache.log4j.net.JMSAppender
- The TopicBindingName option takes a
string value.
- setTopicConnectionFactoryBindingName(String) -
Method in class org.apache.log4j.net.JMSAppender
- The TopicConnectionFactoryBindingName option takes a
string value.
- setTopicFactoryName(String) -
Method in class org.apache.log4j.net.JMSReceiver
- Sets the JMS topic factory name to use when creating the
JMS connection.
- setTopicName(String) -
Method in class org.apache.log4j.net.JMSReceiver
- Sets the JMS topic name to use when creating the
JMS connection.
- setTriggeringPolicy(TriggeringPolicy) -
Method in class org.apache.log4j.rolling.RollingFileAppender
- Set triggering policy.
- setURLPkgPrefixes(String) -
Method in class org.apache.log4j.net.JMSAppender
-
- setUrl(String) -
Method in class org.apache.log4j.db.DriverManagerConnectionSource
- Sets the url.
- setUser(String) -
Method in class org.apache.log4j.db.ConnectionSourceSkeleton
- Sets the username.
- setUserId(String) -
Method in class org.apache.log4j.net.JMSReceiver
- Sets the user id to use when creating the
JMS connection.
- setUserName(String) -
Method in class org.apache.log4j.net.JMSAppender
- The user name to use when
TopicConnectionFactory.createTopicConnection(String, String)
creating a topic session}.
- setWriter(Writer) -
Method in class org.apache.log4j.WriterAppender
- Sets the Writer where the log output will go.
- shutdown() -
Static method in class org.apache.log4j.Category
- Deprecated. Please use
LogManager.shutdown()
instead.
- shutdown() -
Method in class org.apache.log4j.Hierarchy
- Shutting down a hierarchy will safely close and remove
all appenders in all categories including the root logger.
- shutdown() -
Static method in class org.apache.log4j.LogManager
-
- shutdown() -
Method in class org.apache.log4j.db.CustomSQLDBReceiver
-
- shutdown() -
Method in class org.apache.log4j.db.DBReceiver
-
- shutdown() -
Method in class org.apache.log4j.net.JMSReceiver
- Called when the receiver should be stopped.
- shutdown() -
Method in class org.apache.log4j.net.MulticastReceiver
-
- shutdown() -
Method in class org.apache.log4j.net.SocketHubReceiver
- Called when the receiver should be stopped.
- shutdown() -
Method in class org.apache.log4j.net.SocketReceiver
- Called when the receiver should be stopped.
- shutdown() -
Method in class org.apache.log4j.net.UDPReceiver
-
- shutdown() -
Method in class org.apache.log4j.net.XMLSocketReceiver
- Called when the receiver should be stopped.
- shutdown() -
Method in interface org.apache.log4j.plugins.Plugin
- Call when the plugin should be stopped.
- shutdown() -
Method in interface org.apache.log4j.spi.LoggerRepository
-
- shutdown() -
Method in class org.apache.log4j.varia.LogFilePatternReceiver
- Close the reader.
- shutdownEvent(LoggerRepository) -
Method in interface org.apache.log4j.spi.LoggerRepositoryEventListener
- Called when the repository is shutdown.
- socket -
Variable in class org.apache.log4j.net.SocketHubReceiver
-
- socketClosedEvent(Exception) -
Method in class org.apache.log4j.net.SocketHubReceiver
- Listen for a socketClosedEvent from the SocketNode.
- socketClosedEvent(Exception) -
Method in interface org.apache.log4j.net.SocketNodeEventListener
- Called when the socket the node was given has been closed.
- socketOpened(String) -
Method in class org.apache.log4j.net.SocketHubReceiver
-
- socketOpened(String) -
Method in interface org.apache.log4j.net.SocketNodeEventListener
- Called when the SocketNode is created and begins awaiting data.
- sqlStatement -
Variable in class org.apache.log4j.db.CustomSQLDBReceiver
-
- startTime -
Variable in class org.apache.log4j.helpers.RelativeTimeDateFormat
-
- startWatching() -
Method in interface org.apache.log4j.config.ConfigWatchdog
- Starts this watchdog watching.
- stopAllPlugins() -
Method in class org.apache.log4j.plugins.PluginRegistry
- Stops all plugins in the given logger repository.
- stopPlugin(String) -
Method in class org.apache.log4j.plugins.PluginRegistry
- Stops a plugin by plugin name and repository.
- stopWatching() -
Method in interface org.apache.log4j.config.ConfigWatchdog
- Stops this watchdog.
- stripDuplicateBackslashes(String) -
Static method in class org.apache.log4j.helpers.OptionConverter
- Replaces double backslashes (except the leading doubles in UNC's)
with single backslashes for compatibility with existing path specifications
that were working around use of OptionConverter.convertSpecialChars
in XML configuration files.
- subAppend(LoggingEvent) -
Method in class org.apache.log4j.WriterAppender
- Actual writing occurs here.
- subAppend(LoggingEvent) -
Method in class org.apache.log4j.rolling.RollingFileAppender
- Actual writing occurs here.
Most subclasses of WriterAppender
will need to override
this method.
- substVars(String, Properties) -
Static method in class org.apache.log4j.helpers.OptionConverter
- Perform variable substitution in string
val
from the values of
keys found the properties passed as parameter or in the system propeties.
- supportsBatchUpdates() -
Method in interface org.apache.log4j.db.ConnectionSource
- If the connection does not support batch updates, we will avoid using them.
- supportsBatchUpdates() -
Method in class org.apache.log4j.db.ConnectionSourceSkeleton
- Does this connection support batch updates?
- supportsBatchUpdates(DatabaseMetaData) -
Method in class org.apache.log4j.db.dialect.Util
- This method handles cases where the
DatabaseMetaData.supportsBatchUpdates()
method is missing in the
JDBC driver implementation.
- supportsGetGeneratedKeys() -
Method in interface org.apache.log4j.db.ConnectionSource
- If the connection supports the JDBC 3.0 getGeneratedKeys method, then
we do not need any specific dialect support.
- supportsGetGeneratedKeys() -
Method in class org.apache.log4j.db.ConnectionSourceSkeleton
- Does this connection support the JDBC Connection.getGeneratedKeys method?
- supportsGetGeneratedKeys(DatabaseMetaData) -
Method in class org.apache.log4j.db.dialect.Util
- This method handles cases where the
DatabaseMetaData.supportsGetGeneratedKeys()
method is missing in the
JDBC driver implementation.
TRACE
Level designates finer-grained
informational events than the DEBUG
TRACE_INT -
Static variable in class org.apache.log4j.Level
PatternLayout
instead.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.TimeBasedRollingPolicy
is both easy to configure and quite
powerful.
TriggeringPolicy
controls the conditions under which rollover
occurs. value
is "true", then true
is
returned.
TRACE
level.
TRACE
level including the
stack trace of the Throwable
t
passed as parameter.
TRACE
level with message formatting
done according to the value of messagePattern
and
arg
parameters.
TRACE
level with message formatting
done according to the messagePattern and the arguments arg1 and arg2.
address
and port
.
address
and port
.
EntityResolver
specifically designed to return
java 1.4's logging dtd, logger.dtd
which is embedded within the log4j jar
file. WARN
level designates potentially harmful situations.
Writer
or an
OutputStream
depending on the user's choice.WARN
Level.
WARN
level including the stack trace
of the Throwable
t
passed as parameter.
WARN
level with message formatting
done according to the value of messagePattern
and
arg
parameters.
WARN
level with message formatting
done according to the messagePattern and the arguments arg1 and arg2.
Logger
instead.
Logger
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
where we will write to.
LoggingEvent
objects sent from a remote client using XML over
Sockets (TCP). WriterAppender.closeWriter()
method instead.
|
Log4j 1.3alpha-7 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |