documentation
.HELP!
Log4j 1.2 Documentation
About Jd2chm
Log4j 1.2
previous page
next page
About Jd2chm...
The project files of this HTML Help
Were generated with Jd2chm version 0.3
Copyright © 2000-2003
Andre Burgaud
http://www.burgaud.com
previous page
start
next page
Menu
Homepage
Table of contents
About Jd2chm...
Overview
Hierarchy For All Packages
org.apache.log4j
Hierarchy For Package org.apache.log4j
Uses of Package org.apache.log4j
Appender (Interface)
addFilter (Filter newFilter)
clearFilters ()
close ()
doAppend (LoggingEvent event)
getErrorHandler ()
getFilter ()
getLayout ()
getName ()
requiresLayout ()
setErrorHandler (ErrorHandler errorHandler)
setLayout (Layout layout)
setName (String name)
AppenderSkeleton
closed
errorHandler
headFilter
layout
name
tailFilter
threshold
AppenderSkeleton ()
activateOptions ()
addFilter (Filter newFilter)
append (LoggingEvent event)
clearFilters ()
doAppend (LoggingEvent event)
finalize ()
getErrorHandler ()
getFilter ()
getFirstFilter ()
getLayout ()
getName ()
getThreshold ()
isAsSevereAsThreshold (Priority priority)
setErrorHandler (ErrorHandler eh)
setLayout (Layout layout)
setName (String name)
setThreshold (Priority threshold)
AsyncAppender
DEFAULT_BUFFER_SIZE
AsyncAppender ()
addAppender (Appender newAppender)
append (LoggingEvent event)
close ()
getAllAppenders ()
getAppender (String name)
getBlocking ()
getBufferSize ()
getLocationInfo ()
isAttached (Appender appender)
removeAllAppenders ()
removeAppender (Appender appender)
removeAppender (String name)
requiresLayout ()
setBlocking (boolean value)
setBufferSize (int size)
setLocationInfo (boolean flag)
BasicConfigurator
BasicConfigurator ()
configure ()
configure (Appender appender)
resetConfiguration ()
Category
additive
level
name
parent
repository
resourceBundle
Category (String name)
addAppender (Appender newAppender)
assertLog (boolean assertion, String msg)
callAppenders (LoggingEvent event)
debug (Object message)
debug (Object message, Throwable t)
error (Object message)
error (Object message, Throwable t)
exists (String name)
fatal (Object message)
fatal (Object message, Throwable t)
forcedLog (String fqcn, Priority level, Object message, Throwable t)
getAdditivity ()
getAllAppenders ()
getAppender (String name)
getChainedPriority ()
getCurrentCategories ()
getDefaultHierarchy ()
getEffectiveLevel ()
getHierarchy ()
getInstance (Class clazz)
getInstance (String name)
getLevel ()
getLoggerRepository ()
getName ()
getParent ()
getPriority ()
getResourceBundle ()
getResourceBundleString (String key)
getRoot ()
info (Object message)
info (Object message, Throwable t)
isAttached (Appender appender)
isDebugEnabled ()
isEnabledFor (Priority level)
isInfoEnabled ()
l7dlog (Priority priority, String key, Object[] params, Throwable t)
l7dlog (Priority priority, String key, Throwable t)
log (Priority priority, Object message)
log (Priority priority, Object message, Throwable t)
log (String callerFQCN, Priority level, Object message, Throwable t)
removeAllAppenders ()
removeAppender (Appender appender)
removeAppender (String name)
setAdditivity (boolean additive)
setLevel (Level level)
setPriority (Priority priority)
setResourceBundle (ResourceBundle bundle)
shutdown ()
warn (Object message)
warn (Object message, Throwable t)
ConsoleAppender
SYSTEM_ERR
SYSTEM_OUT
target
ConsoleAppender ()
ConsoleAppender (Layout layout)
ConsoleAppender (Layout layout, String target)
activateOptions ()
closeWriter ()
getFollow ()
getTarget ()
setFollow (boolean newValue)
setTarget (String value)
DailyRollingFileAppender
DailyRollingFileAppender ()
DailyRollingFileAppender (Layout layout, String filename, String datePattern)
activateOptions ()
getDatePattern ()
setDatePattern (String pattern)
subAppend (LoggingEvent event)
FileAppender
bufferedIO
bufferSize
fileAppend
fileName
FileAppender ()
FileAppender (Layout layout, String filename)
FileAppender (Layout layout, String filename, boolean append)
FileAppender (Layout layout, String filename, boolean append, boolean bufferedIO, int bufferSize)
activateOptions ()
closeFile ()
getAppend ()
getBufferedIO ()
getBufferSize ()
getFile ()
reset ()
setAppend (boolean flag)
setBufferedIO (boolean bufferedIO)
setBufferSize (int bufferSize)
setFile (String file)
setFile (String fileName, boolean append, boolean bufferedIO, int bufferSize)
setQWForFiles (Writer writer)
Hierarchy
Hierarchy (Logger root)
addHierarchyEventListener (HierarchyEventListener listener)
addRenderer (Class classToRender, ObjectRenderer or)
clear ()
emitNoAppenderWarning (Category cat)
exists (String name)
fireAddAppenderEvent (Category logger, Appender appender)
getCurrentCategories ()
getCurrentLoggers ()
getLogger (String name)
getLogger (String name, LoggerFactory factory)
getRendererMap ()
getRootLogger ()
getThreshold ()
isDisabled (int level)
overrideAsNeeded (String override)
resetConfiguration ()
setDisableOverride (String override)
setRenderer (Class renderedClass, ObjectRenderer renderer)
setThreshold (Level l)
setThreshold (String levelStr)
shutdown ()
HTMLLayout
BUF_SIZE
LOCATION_INFO_OPTION
MAX_CAPACITY
TITLE_OPTION
HTMLLayout ()
activateOptions ()
format (LoggingEvent event)
getContentType ()
getFooter ()
getHeader ()
getLocationInfo ()
getTitle ()
ignoresThrowable ()
setLocationInfo (boolean flag)
setTitle (String title)
Layout
LINE_SEP
LINE_SEP_LEN
Layout ()
format (LoggingEvent event)
getContentType ()
getFooter ()
getHeader ()
ignoresThrowable ()
Level
ALL
DEBUG
ERROR
FATAL
INFO
OFF
TRACE
TRACE_INT
WARN
Level (int level, String levelStr, int syslogEquivalent)
toLevel (int val)
toLevel (int val, Level defaultLevel)
toLevel (String sArg)
toLevel (String sArg, Level defaultLevel)
Logger
Logger (String name)
getLogger (Class clazz)
getLogger (String name)
getLogger (String name, LoggerFactory factory)
getRootLogger ()
isTraceEnabled ()
trace (Object message)
trace (Object message, Throwable t)
LogManager
CONFIGURATOR_CLASS_KEY
DEFAULT_CONFIGURATION_FILE
DEFAULT_CONFIGURATION_KEY
DEFAULT_INIT_OVERRIDE_KEY
LogManager ()
exists (String name)
getCurrentLoggers ()
getLogger (Class clazz)
getLogger (String name)
getLogger (String name, LoggerFactory factory)
getLoggerRepository ()
getRootLogger ()
resetConfiguration ()
setRepositorySelector (RepositorySelector selector, Object guard)
shutdown ()
MDC
get (String key)
getContext ()
put (String key, Object o)
remove (String key)
NDC
clear ()
cloneStack ()
get ()
getDepth ()
inherit (Stack stack)
peek ()
pop ()
push (String message)
remove ()
setMaxDepth (int maxDepth)
PatternLayout
BUF_SIZE
DEFAULT_CONVERSION_PATTERN
MAX_CAPACITY
TTCC_CONVERSION_PATTERN
PatternLayout ()
PatternLayout (String pattern)
activateOptions ()
createPatternParser (String pattern)
format (LoggingEvent event)
getConversionPattern ()
ignoresThrowable ()
setConversionPattern (String conversionPattern)
Priority
ALL_INT
DEBUG
DEBUG_INT
ERROR
ERROR_INT
FATAL
FATAL_INT
INFO
INFO_INT
OFF_INT
WARN
WARN_INT
Priority ()
Priority (int level, String levelStr, int syslogEquivalent)
equals (Object o)
getAllPossiblePriorities ()
getSyslogEquivalent ()
isGreaterOrEqual (Priority r)
toInt ()
toPriority (int val)
toPriority (int val, Priority defaultPriority)
toPriority (String sArg)
toPriority (String sArg, Priority defaultPriority)
toString ()
PropertyConfigurator
LOGGER_FACTORY_KEY
loggerFactory
registry
PropertyConfigurator ()
configure (Properties properties)
configure (String configFilename)
configure (URL configURL)
configureAndWatch (String configFilename)
configureAndWatch (String configFilename, long delay)
configureLoggerFactory (Properties props)
doConfigure (Properties properties, LoggerRepository hierarchy)
doConfigure (String configFileName, LoggerRepository hierarchy)
doConfigure (URL configURL, LoggerRepository hierarchy)
parseCatsAndRenderers (Properties props, LoggerRepository hierarchy)
RollingFileAppender
maxBackupIndex
maxFileSize
RollingFileAppender ()
RollingFileAppender (Layout layout, String filename)
RollingFileAppender (Layout layout, String filename, boolean append)
getMaxBackupIndex ()
getMaximumFileSize ()
rollOver ()
setFile (String fileName, boolean append, boolean bufferedIO, int bufferSize)
setMaxBackupIndex (int maxBackups)
setMaxFileSize (String value)
setMaximumFileSize (long maxFileSize)
setQWForFiles (Writer writer)
subAppend (LoggingEvent event)
SimpleLayout
SimpleLayout ()
activateOptions ()
format (LoggingEvent event)
ignoresThrowable ()
TTCCLayout
buf
TTCCLayout ()
TTCCLayout (String dateFormatType)
format (LoggingEvent event)
getCategoryPrefixing ()
getContextPrinting ()
getThreadPrinting ()
ignoresThrowable ()
setCategoryPrefixing (boolean categoryPrefixing)
setContextPrinting (boolean contextPrinting)
setThreadPrinting (boolean threadPrinting)
WriterAppender
encoding
immediateFlush
qw
WriterAppender ()
WriterAppender (Layout layout, OutputStream os)
WriterAppender (Layout layout, Writer writer)
activateOptions ()
append (LoggingEvent event)
checkEntryConditions ()
close ()
closeWriter ()
createWriter (OutputStream os)
getEncoding ()
getImmediateFlush ()
requiresLayout ()
reset ()
setEncoding (String value)
setErrorHandler (ErrorHandler eh)
setImmediateFlush (boolean value)
setWriter (Writer writer)
subAppend (LoggingEvent event)
writeFooter ()
writeHeader ()
org.apache.log4j.chainsaw
Hierarchy For Package org.apache.log4j.chainsaw
Uses of Package org.apache.log4j.chainsaw
Main
PORT_PROP_NAME
main (String[] aArgs)
org.apache.log4j.config
Hierarchy For Package org.apache.log4j.config
Uses of Package org.apache.log4j.config
PropertyGetter
PropertyCallback
foundProperty (Object obj, String prefix, String name, Object value)
NULL_ARG
obj
props
PropertyGetter (Object obj)
getProperties (Object obj, PropertyGetter.PropertyCallback callback, String prefix)
getProperties (PropertyGetter.PropertyCallback callback, String prefix)
isHandledType (Class type)
PropertyPrinter
appenderNames
doCapitalize
layoutNames
numAppenders
out
PropertyPrinter (PrintWriter out)
PropertyPrinter (PrintWriter out, boolean doCapitalize)
capitalize (String name)
foundProperty (Object obj, String prefix, String name, Object value)
genAppName ()
isGenAppName (String name)
main (String[] args)
print (PrintWriter out)
printOptions (PrintWriter out, Logger cat)
printOptions (PrintWriter out, Object obj, String fullname)
PropertySetter
obj
props
PropertySetter (Object obj)
activate ()
convertArg (String val, Class type)
getPropertyDescriptor (String name)
introspect ()
setProperties (Object obj, Properties properties, String prefix)
setProperties (Properties properties, String prefix)
setProperty (PropertyDescriptor prop, String name, String value)
setProperty (String name, String value)
PropertySetterException
rootCause
PropertySetterException (String msg)
PropertySetterException (Throwable rootCause)
getMessage ()
org.apache.log4j.helpers
Hierarchy For Package org.apache.log4j.helpers
Uses of Package org.apache.log4j.helpers
AbsoluteTimeDateFormat
ABS_TIME_DATE_FORMAT
DATE_AND_TIME_DATE_FORMAT
ISO8601_DATE_FORMAT
AbsoluteTimeDateFormat ()
AbsoluteTimeDateFormat (TimeZone timeZone)
format (Date date, StringBuffer sbuf, FieldPosition fieldPosition)
parse (String s, ParsePosition pos)
AppenderAttachableImpl
appenderList
AppenderAttachableImpl ()
addAppender (Appender newAppender)
appendLoopOnAppenders (LoggingEvent event)
getAllAppenders ()
getAppender (String name)
isAttached (Appender appender)
removeAllAppenders ()
removeAppender (Appender appender)
removeAppender (String name)
BoundedFIFO
BoundedFIFO (int maxSize)
get ()
getMaxSize ()
isFull ()
length ()
put (LoggingEvent o)
resize (int newSize)
wasEmpty ()
wasFull ()
CountingQuietWriter
count
CountingQuietWriter (Writer writer, ErrorHandler eh)
getCount ()
setCount (long count)
write (String string)
CyclicBuffer
CyclicBuffer (int maxSize)
add (LoggingEvent event)
get ()
get (int i)
getMaxSize ()
length ()
resize (int newSize)
DateLayout
date
DATE_FORMAT_OPTION
dateFormat
NULL_DATE_FORMAT
pos
RELATIVE_TIME_DATE_FORMAT
TIMEZONE_OPTION
DateLayout ()
activateOptions ()
dateFormat (StringBuffer buf, LoggingEvent event)
getDateFormat ()
getOptionStrings ()
getTimeZone ()
setDateFormat (DateFormat dateFormat, TimeZone timeZone)
setDateFormat (String dateFormat)
setDateFormat (String dateFormatType, TimeZone timeZone)
setOption (String option, String value)
setTimeZone (String timeZone)
DateTimeDateFormat
DateTimeDateFormat ()
DateTimeDateFormat (TimeZone timeZone)
format (Date date, StringBuffer sbuf, FieldPosition fieldPosition)
parse (String s, ParsePosition pos)
FileWatchdog
DEFAULT_DELAY
delay
filename
FileWatchdog (String filename)
checkAndConfigure ()
doOnChange ()
run ()
setDelay (long delay)
FormattingInfo
FormattingInfo ()
ISO8601DateFormat
ISO8601DateFormat ()
ISO8601DateFormat (TimeZone timeZone)
format (Date date, StringBuffer sbuf, FieldPosition fieldPosition)
parse (String s, ParsePosition pos)
Loader
Loader ()
getResource (String resource)
getResource (String resource, Class clazz)
isJava1 ()
loadClass (String clazz)
LogLog
CONFIG_DEBUG_KEY
DEBUG_KEY
debugEnabled
LogLog ()
debug (String msg)
debug (String msg, Throwable t)
error (String msg)
error (String msg, Throwable t)
setInternalDebugging (boolean enabled)
setQuietMode (boolean quietMode)
warn (String msg)
warn (String msg, Throwable t)
NullEnumeration
getInstance ()
hasMoreElements ()
nextElement ()
OnlyOnceErrorHandler
OnlyOnceErrorHandler ()
activateOptions ()
error (String message)
error (String message, Exception e, int errorCode)
error (String message, Exception e, int errorCode, LoggingEvent event)
setAppender (Appender appender)
setBackupAppender (Appender appender)
setLogger (Logger logger)
OptionConverter
concatanateArrays (String[] l, String[] r)
convertSpecialChars (String s)
findAndSubst (String key, Properties props)
getSystemProperty (String key, String def)
instantiateByClassName (String className, Class superClass, Object defaultValue)
instantiateByKey (Properties props, String key, Class superClass, Object defaultValue)
selectAndConfigure (URL url, String clazz, LoggerRepository hierarchy)
substVars (String val, Properties props)
toBoolean (String value, boolean dEfault)
toFileSize (String value, long dEfault)
toInt (String value, int dEfault)
toLevel (String value, Level defaultValue)
PatternConverter
next
PatternConverter ()
PatternConverter (FormattingInfo fi)
convert (LoggingEvent event)
format (StringBuffer sbuf, LoggingEvent e)
spacePad (StringBuffer sbuf, int length)
PatternParser
currentLiteral
formattingInfo
i
pattern
patternLength
PatternParser (String pattern)
addConverter (PatternConverter pc)
extractOption ()
extractPrecisionOption ()
finalizeConverter (char c)
parse ()
QuietWriter
errorHandler
QuietWriter (Writer writer, ErrorHandler errorHandler)
flush ()
setErrorHandler (ErrorHandler eh)
write (String string)
RelativeTimeDateFormat
startTime
RelativeTimeDateFormat ()
format (Date date, StringBuffer sbuf, FieldPosition fieldPosition)
parse (String s, ParsePosition pos)
SyslogQuietWriter
SyslogQuietWriter (Writer writer, int syslogFacility, ErrorHandler eh)
setLevel (int level)
setSyslogFacility (int syslogFacility)
write (String string)
SyslogWriter
SyslogWriter (String syslogHost)
close ()
flush ()
write (char[] buf, int off, int len)
write (String string)
ThreadLocalMap
ThreadLocalMap ()
childValue (Object parentValue)
Transform
Transform ()
appendEscapingCDATA (StringBuffer buf, String str)
escapeTags (String input)
org.apache.log4j.jdbc
Hierarchy For Package org.apache.log4j.jdbc
Uses of Package org.apache.log4j.jdbc
JDBCAppender
buffer
bufferSize
connection
databasePassword
databaseURL
databaseUser
removes
sqlStatement
JDBCAppender ()
append (LoggingEvent event)
close ()
closeConnection (Connection con)
execute (String sql)
finalize ()
flushBuffer ()
getBufferSize ()
getConnection ()
getLogStatement (LoggingEvent event)
getPassword ()
getSql ()
getURL ()
getUser ()
requiresLayout ()
setBufferSize (int newBufferSize)
setDriver (String driverClass)
setPassword (String password)
setSql (String s)
setURL (String url)
setUser (String user)
org.apache.log4j.jmx
Hierarchy For Package org.apache.log4j.jmx
Uses of Package org.apache.log4j.jmx
AbstractDynamicMBean
AbstractDynamicMBean ()
getAttributes (String[] attributeNames)
getLogger ()
postDeregister ()
postRegister (Boolean registrationDone)
preDeregister ()
preRegister (javax.management.MBeanServer server, javax.management.ObjectName name)
setAttributes (javax.management.AttributeList attributes)
Agent
Agent ()
start ()
AppenderDynamicMBean
AppenderDynamicMBean (Appender appender)
getAttribute (String attributeName)
getLogger ()
getMBeanInfo ()
invoke (String operationName, Object[] params, String[] signature)
preRegister (javax.management.MBeanServer server, javax.management.ObjectName name)
setAttribute (javax.management.Attribute attribute)
HierarchyDynamicMBean
HierarchyDynamicMBean ()
addAppenderEvent (Category logger, Appender appender)
addLoggerMBean (String name)
addNotificationListener (javax.management.NotificationListener listener, javax.management.NotificationFilter filter, Object handback)
getAttribute (String attributeName)
getLogger ()
getMBeanInfo ()
getNotificationInfo ()
invoke (String operationName, Object[] params, String[] signature)
postRegister (Boolean registrationDone)
removeAppenderEvent (Category cat, Appender appender)
removeNotificationListener (javax.management.NotificationListener listener)
setAttribute (javax.management.Attribute attribute)
LayoutDynamicMBean
LayoutDynamicMBean (Layout layout)
getAttribute (String attributeName)
getLogger ()
getMBeanInfo ()
invoke (String operationName, Object[] params, String[] signature)
setAttribute (javax.management.Attribute attribute)
LoggerDynamicMBean
LoggerDynamicMBean (Logger logger)
getAttribute (String attributeName)
getLogger ()
getMBeanInfo ()
handleNotification (javax.management.Notification notification, Object handback)
invoke (String operationName, Object[] params, String[] signature)
postRegister (Boolean registrationDone)
setAttribute (javax.management.Attribute attribute)
org.apache.log4j.lf5
Hierarchy For Package org.apache.log4j.lf5
Uses of Package org.apache.log4j.lf5
LogRecordFilter (Interface)
passes (LogRecord record)
AppenderFinalizer
_defaultMonitor
AppenderFinalizer (org.apache.log4j.lf5.viewer.LogBrokerMonitor defaultMonitor)
finalize ()
DefaultLF5Configurator
configure ()
doConfigure (URL configURL, LoggerRepository repository)
LF5Appender
_defaultLogMonitor
_finalizer
_logMonitor
LF5Appender ()
LF5Appender (org.apache.log4j.lf5.viewer.LogBrokerMonitor monitor)
append (LoggingEvent event)
close ()
equals (LF5Appender compareTo)
getDefaultInstance ()
getDefaultMonitorHeight ()
getDefaultMonitorWidth ()
getLogBrokerMonitor ()
getScreenHeight ()
getScreenWidth ()
main (String[] args)
requiresLayout ()
setCallSystemExitOnClose (boolean callSystemExitOnClose)
setMaxNumberOfRecords (int maxNumberOfRecords)
Log4JLogRecord
Log4JLogRecord ()
isSevereLevel ()
setThrownStackTrace (ThrowableInformation throwableInfo)
LogLevel
_label
_precedence
CONFIG
DEBUG
ERROR
FATAL
FINE
FINER
FINEST
INFO
SEVERE
WARN
WARNING
LogLevel (String label, int precedence)
encompasses (LogLevel level)
equals (Object o)
getAllDefaultLevels ()
getJdk14Levels ()
getLabel ()
getLog4JLevels ()
getLogLevelColorMap ()
getPrecedence ()
hashCode ()
register (List logLevels)
register (LogLevel logLevel)
register (LogLevel[] logLevels)
resetLogLevelColorMap ()
setLogLevelColorMap (LogLevel level, Color color)
toString ()
valueOf (String level)
LogRecord
_category
_level
_location
_message
_millis
_ndc
_seqCount
_sequenceNumber
_thread
_thrown
_thrownStackTrace
LogRecord ()
getCategory ()
getLevel ()
getLocation ()
getMessage ()
getMillis ()
getNDC ()
getNextId ()
getSequenceNumber ()
getThreadDescription ()
getThrown ()
getThrownStackTrace ()
hasThrown ()
isFatal ()
isSevereLevel ()
resetSequenceNumber ()
setCategory (String category)
setLevel (LogLevel level)
setLocation (String location)
setMessage (String message)
setMillis (long millis)
setNDC (String ndc)
setSequenceNumber (long number)
setThreadDescription (String threadDescription)
setThrown (Throwable thrown)
setThrownStackTrace (String trace)
toString ()
PassingLogRecordFilter
PassingLogRecordFilter ()
passes (LogRecord record)
reset ()
StartLogFactor5
StartLogFactor5 ()
main (String[] args)
LogLevelFormatException
LogLevelFormatException (String message)
org.apache.log4j.net
Hierarchy For Package org.apache.log4j.net
Uses of Package org.apache.log4j.net
JMSAppender
JMSAppender ()
activateOptions ()
append (LoggingEvent event)
checkEntryConditions ()
close ()
getInitialContextFactoryName ()
getLocationInfo ()
getPassword ()
getProviderURL ()
getSecurityCredentials ()
getSecurityPrincipalName ()
getTopicBindingName ()
getTopicConnection ()
getTopicConnectionFactoryBindingName ()
getTopicPublisher ()
getTopicSession ()
getUserName ()
lookup (Context ctx, String name)
requiresLayout ()
setInitialContextFactoryName (String initialContextFactoryName)
setLocationInfo (boolean locationInfo)
setPassword (String password)
setProviderURL (String providerURL)
setSecurityCredentials (String securityCredentials)
setSecurityPrincipalName (String securityPrincipalName)
setTopicBindingName (String topicBindingName)
setTopicConnectionFactoryBindingName (String tcfBindingName)
setURLPkgPrefixes (String urlPkgPrefixes)
setUserName (String userName)
JMSSink
JMSSink (String tcfBindingName, String topicBindingName, String username, String password)
lookup (Context ctx, String name)
main (String[] args)
onMessage (Message message)
SimpleSocketServer
SimpleSocketServer ()
main (String[] argv)
SMTPAppender
cb
evaluator
msg
SMTPAppender ()
SMTPAppender (TriggeringEventEvaluator evaluator)
activateOptions ()
addressMessage (Message msg)
append (LoggingEvent event)
checkEntryConditions ()
close ()
createSession ()
getBcc ()
getBufferSize ()
getCc ()
getEvaluatorClass ()
getFrom ()
getLocationInfo ()
getSMTPDebug ()
getSMTPHost ()
getSMTPPassword ()
getSMTPUsername ()
getSubject ()
getTo ()
requiresLayout ()
sendBuffer ()
setBcc (String addresses)
setBufferSize (int bufferSize)
setCc (String addresses)
setEvaluatorClass (String value)
setFrom (String from)
setLocationInfo (boolean locationInfo)
setSMTPDebug (boolean debug)
setSMTPHost (String smtpHost)
setSMTPPassword (String password)
setSMTPUsername (String username)
setSubject (String subject)
setTo (String to)
SocketAppender
SocketAppender ()
SocketAppender (InetAddress address, int port)
SocketAppender (String host, int port)
activateOptions ()
append (LoggingEvent event)
cleanUp ()
close ()
getLocationInfo ()
getPort ()
getReconnectionDelay ()
getRemoteHost ()
requiresLayout ()
setLocationInfo (boolean locationInfo)
setPort (int port)
setReconnectionDelay (int delay)
setRemoteHost (String host)
SocketHubAppender
SocketHubAppender ()
SocketHubAppender (int _port)
activateOptions ()
append (LoggingEvent event)
cleanUp ()
close ()
getLocationInfo ()
getPort ()
requiresLayout ()
setLocationInfo (boolean _locationInfo)
setPort (int _port)
SocketNode
SocketNode (Socket socket, LoggerRepository hierarchy)
run ()
SocketServer
SocketServer (File directory)
main (String[] argv)
SyslogAppender
FACILITY_OI
LOG_AUTH
LOG_AUTHPRIV
LOG_CRON
LOG_DAEMON
LOG_FTP
LOG_KERN
LOG_LOCAL0
LOG_LOCAL1
LOG_LOCAL2
LOG_LOCAL3
LOG_LOCAL4
LOG_LOCAL5
LOG_LOCAL6
LOG_LOCAL7
LOG_LPR
LOG_MAIL
LOG_NEWS
LOG_SYSLOG
LOG_USER
LOG_UUCP
SYSLOG_HOST_OI
SyslogAppender ()
SyslogAppender (Layout layout, int syslogFacility)
SyslogAppender (Layout layout, String syslogHost, int syslogFacility)
activateOptions ()
append (LoggingEvent event)
close ()
getFacility ()
getFacility (String facilityName)
getFacilityPrinting ()
getFacilityString (int syslogFacility)
getSyslogHost ()
requiresLayout ()
setFacility (String facilityName)
setFacilityPrinting (boolean on)
setSyslogHost (String syslogHost)
TelnetAppender
SocketHandler
finalize ()
run ()
send (String message)
TelnetAppender ()
activateOptions ()
append (LoggingEvent event)
close ()
getPort ()
requiresLayout ()
setPort (int port)
org.apache.log4j.nt
Hierarchy For Package org.apache.log4j.nt
Uses of Package org.apache.log4j.nt
NTEventLogAppender
NTEventLogAppender ()
NTEventLogAppender (Layout layout)
NTEventLogAppender (String source)
NTEventLogAppender (String source, Layout layout)
NTEventLogAppender (String server, String source)
NTEventLogAppender (String server, String source, Layout layout)
activateOptions ()
append (LoggingEvent event)
close ()
finalize ()
getSource ()
requiresLayout ()
setSource (String source)
org.apache.log4j.or
Hierarchy For Package org.apache.log4j.or
Uses of Package org.apache.log4j.or
ObjectRenderer (Interface)
doRender (Object o)
RendererMap
RendererMap ()
addRenderer (RendererSupport repository, String renderedClassName, String renderingClassName)
clear ()
findAndRender (Object o)
get (Class clazz)
get (Object o)
getDefaultRenderer ()
put (Class clazz, ObjectRenderer or)
ThreadGroupRenderer
ThreadGroupRenderer ()
doRender (Object o)
org.apache.log4j.or.jms
Hierarchy For Package org.apache.log4j.or.jms
Uses of Package org.apache.log4j.or.jms
MessageRenderer
MessageRenderer ()
doRender (Object o)
org.apache.log4j.or.sax
Hierarchy For Package org.apache.log4j.or.sax
Uses of Package org.apache.log4j.or.sax
AttributesRenderer
AttributesRenderer ()
doRender (Object o)
org.apache.log4j.performance
Hierarchy For Package org.apache.log4j.performance
Uses of Package org.apache.log4j.performance
ListVsVector
ListVsVector ()
main (String[] args)
NewVsSetLen
NewVsSetLen ()
main (String[] args)
NOPWriter
NOPWriter ()
close ()
flush ()
write (char[] cbuf)
write (char[] cbuf, int off, int len)
write (int b)
write (String s)
write (String s, int off, int len)
NullAppender
s
t
NullAppender ()
NullAppender (Layout layout)
append (LoggingEvent event)
close ()
doAppend (LoggingEvent event)
requiresLayout ()
SystemTime
SystemTime ()
main (String[] args)
org.apache.log4j.spi
Hierarchy For Package org.apache.log4j.spi
Uses of Package org.apache.log4j.spi
AppenderAttachable (Interface)
addAppender (Appender newAppender)
getAllAppenders ()
getAppender (String name)
isAttached (Appender appender)
removeAllAppenders ()
removeAppender (Appender appender)
removeAppender (String name)
Configurator (Interface)
INHERITED
NULL
doConfigure (URL url, LoggerRepository repository)
ErrorCode (Interface)
ADDRESS_PARSE_FAILURE
CLOSE_FAILURE
FILE_OPEN_FAILURE
FLUSH_FAILURE
GENERIC_FAILURE
MISSING_LAYOUT
WRITE_FAILURE
ErrorHandler (Interface)
error (String message)
error (String message, Exception e, int errorCode)
error (String message, Exception e, int errorCode, LoggingEvent event)
setAppender (Appender appender)
setBackupAppender (Appender appender)
setLogger (Logger logger)
HierarchyEventListener (Interface)
addAppenderEvent (Category cat, Appender appender)
removeAppenderEvent (Category cat, Appender appender)
LoggerFactory (Interface)
makeNewLoggerInstance (String name)
LoggerRepository (Interface)
addHierarchyEventListener (HierarchyEventListener listener)
emitNoAppenderWarning (Category cat)
exists (String name)
fireAddAppenderEvent (Category logger, Appender appender)
getCurrentCategories ()
getCurrentLoggers ()
getLogger (String name)
getLogger (String name, LoggerFactory factory)
getRootLogger ()
getThreshold ()
isDisabled (int level)
resetConfiguration ()
setThreshold (Level level)
setThreshold (String val)
shutdown ()
OptionHandler (Interface)
activateOptions ()
RendererSupport (Interface)
getRendererMap ()
setRenderer (Class renderedClass, ObjectRenderer renderer)
RepositorySelector (Interface)
getLoggerRepository ()
TriggeringEventEvaluator (Interface)
isTriggeringEvent (LoggingEvent event)
DefaultRepositorySelector
DefaultRepositorySelector (LoggerRepository repository)
getLoggerRepository ()
Filter
ACCEPT
DENY
NEUTRAL
next
Filter ()
activateOptions ()
decide (LoggingEvent event)
getNext ()
setNext (Filter next)
LocationInfo
fullInfo
NA
LocationInfo (Throwable t, String fqnOfCallingClass)
getClassName ()
getFileName ()
getLineNumber ()
getMethodName ()
LoggingEvent
categoryName
fqnOfCategoryClass
level
timeStamp
LoggingEvent (String fqnOfCategoryClass, Category logger, long timeStamp, Priority level, Object message, Throwable throwable)
LoggingEvent (String fqnOfCategoryClass, Category logger, Priority level, Object message, Throwable throwable)
getLevel ()
getLocationInformation ()
getLoggerName ()
getMDC (String key)
getMDCCopy ()
getMessage ()
getNDC ()
getRenderedMessage ()
getStartTime ()
getThreadName ()
getThrowableInformation ()
getThrowableStrRep ()
RootCategory
RootCategory (Level level)
getChainedLevel ()
setLevel (Level level)
setPriority (Level level)
RootLogger
RootLogger (Level level)
getChainedLevel ()
setLevel (Level level)
ThrowableInformation
ThrowableInformation (Throwable throwable)
getThrowable ()
getThrowableStrRep ()
org.apache.log4j.varia
Hierarchy For Package org.apache.log4j.varia
Uses of Package org.apache.log4j.varia
DenyAllFilter
DenyAllFilter ()
decide (LoggingEvent event)
getOptionStrings ()
setOption (String key, String value)
ExternallyRolledFileAppender
OK
ROLL_OVER
ExternallyRolledFileAppender ()
activateOptions ()
getPort ()
setPort (int port)
FallbackErrorHandler
FallbackErrorHandler ()
activateOptions ()
error (String message)
error (String message, Exception e, int errorCode)
error (String message, Exception e, int errorCode, LoggingEvent event)
setAppender (Appender primary)
setBackupAppender (Appender backup)
setLogger (Logger logger)
LevelMatchFilter
LevelMatchFilter ()
decide (LoggingEvent event)
getAcceptOnMatch ()
getLevelToMatch ()
setAcceptOnMatch (boolean acceptOnMatch)
setLevelToMatch (String level)
LevelRangeFilter
LevelRangeFilter ()
decide (LoggingEvent event)
getAcceptOnMatch ()
getLevelMax ()
getLevelMin ()
setAcceptOnMatch (boolean acceptOnMatch)
setLevelMax (Level levelMax)
setLevelMin (Level levelMin)
NullAppender
NullAppender ()
activateOptions ()
append (LoggingEvent event)
close ()
doAppend (LoggingEvent event)
getInstance ()
requiresLayout ()
ReloadingPropertyConfigurator
ReloadingPropertyConfigurator ()
doConfigure (URL url, LoggerRepository repository)
Roller
main (String[] argv)
StringMatchFilter
ACCEPT_ON_MATCH_OPTION
STRING_TO_MATCH_OPTION
StringMatchFilter ()
decide (LoggingEvent event)
getAcceptOnMatch ()
getOptionStrings ()
getStringToMatch ()
setAcceptOnMatch (boolean acceptOnMatch)
setOption (String key, String value)
setStringToMatch (String s)
org.apache.log4j.xml
Hierarchy For Package org.apache.log4j.xml
Uses of Package org.apache.log4j.xml
DOMConfigurator
DOMConfigurator ()
configure (Element element)
configure (String filename)
configure (URL url)
configureAndWatch (String configFilename)
configureAndWatch (String configFilename, long delay)
doConfigure (Element element, LoggerRepository repository)
doConfigure (InputSource inputSource, LoggerRepository repository)
doConfigure (InputStream inputStream, LoggerRepository repository)
doConfigure (Reader reader, LoggerRepository repository)
doConfigure (String filename, LoggerRepository repository)
doConfigure (URL url, LoggerRepository repository)
findAppenderByName (Document doc, String appenderName)
findAppenderByReference (Element appenderRef)
parse (Element element)
parseAppender (Element appenderElement)
parseCategory (Element loggerElement)
parseCategoryFactory (Element factoryElement)
parseChildrenOfLoggerElement (Element catElement, Logger cat, boolean isRoot)
parseErrorHandler (Element element, Appender appender)
parseFilters (Element element, Appender appender)
parseLayout (Element layout_element)
parseLevel (Element element, Logger logger, boolean isRoot)
parseRenderer (Element element)
parseRoot (Element rootElement)
setParameter (Element elem, PropertySetter propSetter)
subst (String value)
Log4jEntityResolver
Log4jEntityResolver ()
resolveEntity (String publicId, String systemId)
SAXErrorHandler
SAXErrorHandler ()
error (SAXParseException ex)
fatalError (SAXParseException ex)
warning (SAXParseException ex)
XMLLayout
XMLLayout ()
activateOptions ()
format (LoggingEvent event)
getLocationInfo ()
ignoresThrowable ()
setLocationInfo (boolean flag)
org.apache.log4j.xml.examples
Hierarchy For Package org.apache.log4j.xml.examples
Uses of Package org.apache.log4j.xml.examples
ReportParserError
ReportParserError ()
error (SAXParseException e)
fatalError (SAXParseException e)
warning (SAXParseException e)
XMLSample
XMLSample ()
main (String[] argv)
Get in touch
Submit feedback about this site to:
[email protected]