A B C D E F G H I J L M N O P R S T U W X 

A

AbstractJDBCTarget - Class in org.apache.log.output.db
Abstract JDBC target.
AbstractJDBCTarget(DataSource) - Constructor for class org.apache.log.output.db.AbstractJDBCTarget
Creation of a new instance of the AbstractJDBCTarget.
AbstractJMSTarget - Class in org.apache.log.output.jms
A target that writes to a JMS Topic.
AbstractJMSTarget(MessageBuilder) - Constructor for class org.apache.log.output.jms.AbstractJMSTarget
 
AbstractJMSTarget(MessageBuilder, ErrorHandler) - Constructor for class org.apache.log.output.jms.AbstractJMSTarget
 
AbstractOutputTarget - Class in org.apache.log.output
Abstract output target.
AbstractOutputTarget() - Constructor for class org.apache.log.output.AbstractOutputTarget
Parameterless constructor.
AbstractOutputTarget(Formatter) - Constructor for class org.apache.log.output.AbstractOutputTarget
Creation of a new abstract output target instance.
AbstractTarget - Class in org.apache.log.output
Abstract target.
AbstractTarget() - Constructor for class org.apache.log.output.AbstractTarget
AbstractTarget constructor.
AbstractTarget(ErrorHandler) - Constructor for class org.apache.log.output.AbstractTarget
AbstractTarget constructor.
AbstractWrappingTarget - Class in org.apache.log.output
Abstract base class for targets that wrap other targets.
AbstractWrappingTarget(LogTarget) - Constructor for class org.apache.log.output.AbstractWrappingTarget
Creation of a new wrapping log target.
AbstractWrappingTarget(LogTarget, boolean) - Constructor for class org.apache.log.output.AbstractWrappingTarget
Creation of a new wrapping log target.
accept(File, String) - Method in class org.apache.log.output.io.rotate.BaseFileNameFilter
 
addLoggerListener(LoggerListener) - Method in class org.apache.log.Hierarchy
Set the LoggerListener associated with hierarchy.
addPatternRun(Stack, char[], int) - Method in class org.apache.log.format.PatternFormatter
Extract and build a pattern from input string.
addTarget(LogTarget) - Method in class org.apache.log.output.PriorityFilteringTarget
Add a new target to output chain.
addTextRun(Stack, char[], int) - Method in class org.apache.log.format.PatternFormatter
Extract and build a text run from input string.
append(StringBuffer, int, int, boolean, String) - Method in class org.apache.log.format.PatternFormatter
Utility to append a string to buffer given certain constraints.
appendWhiteSpace(StringBuffer, int) - Method in class org.apache.log.format.PatternFormatter
Append a certain number of whitespace characters to a StringBuffer.
AsyncLogTarget - Class in org.apache.log.output
An asynchronous LogTarget that sends entries on in another thread.
AsyncLogTarget(LogTarget) - Constructor for class org.apache.log.output.AsyncLogTarget
Creation of a new async log target.
AsyncLogTarget(LogTarget, boolean) - Constructor for class org.apache.log.output.AsyncLogTarget
Creation of a new async log target.
AsyncLogTarget(LogTarget, int) - Constructor for class org.apache.log.output.AsyncLogTarget
Creation of a new async log target.
AsyncLogTarget(LogTarget, int, boolean) - Constructor for class org.apache.log.output.AsyncLogTarget
Creation of a new async log target.

B

BaseFileNameFilter - Class in org.apache.log.output.io.rotate
 
BaseFileNameFilter(String) - Constructor for class org.apache.log.output.io.rotate.BaseFileNameFilter
 
bind(ContextMap) - Static method in class org.apache.log.ContextMap
Bind a particular ContextMap to current thread.
buildMessage(Session, LogEvent) - Method in interface org.apache.log.output.jms.MessageBuilder
Creation of a new message.
buildMessage(Session, LogEvent) - Method in class org.apache.log.output.jms.ObjectMessageBuilder
Creation of a new message.
buildMessage(Session, LogEvent) - Method in class org.apache.log.output.jms.TextMessageBuilder
Build a message from the supplied session for the supplied event

C

c_callStack - Static variable in class org.apache.log.util.StackIntrospector
 
c_defaultContextFormatter - Static variable in class org.apache.log.output.lf5.LF5LogTarget
Default context map formatter
c_defaultLogMonitor - Static variable in class org.apache.log.output.lf5.LF5LogTarget
Common monitor
c_hierarchy - Static variable in class org.apache.log.Hierarchy
 
c_localContext - Static variable in class org.apache.log.ContextMap
 
calculateInitialRotation() - Method in class org.apache.log.output.io.rotate.RevolvingFileStrategy
Method that searches through files that match the pattern for resolving file and determine the last generation written to.
calculateRotationForFile(File) - Method in class org.apache.log.output.io.rotate.RevolvingFileStrategy
Return the rotation for the specified file
calculateRotations(File[]) - Method in class org.apache.log.output.io.rotate.RevolvingFileStrategy
Generate an array of rotation numbers for all the files specified.
CallStack() - Constructor for class org.apache.log.util.StackIntrospector.CallStack
 
CATEGORY - Static variable in class org.apache.log.output.db.ColumnType
 
CATEGORY - Static variable in class org.apache.log.output.jms.PropertyType
 
CATEGORY_SEPARATOR - Static variable in class org.apache.log.Logger
Separator character use to separate different categories
CATEGORY_STR - Static variable in class org.apache.log.output.db.ColumnType
 
CATEGORY_STR - Static variable in class org.apache.log.output.jms.PropertyType
 
checkConnection() - Method in class org.apache.log.output.db.AbstractJDBCTarget
Utility method to check connection and bring it back up if necessary.
checkReadable() - Method in class org.apache.log.ContextMap
Utility method to verify that Context is read-only.
checkValid() - Method in class org.apache.log.util.LoggerOutputStream
Make sure stream is valid.
clear() - Method in class org.apache.log.ContextMap
Empty the context map.
close() - Method in class org.apache.log.output.AbstractOutputTarget
Shutdown target.
close() - Method in class org.apache.log.output.AbstractTarget
Shutdown target.
close() - Method in class org.apache.log.output.AbstractWrappingTarget
 
close() - Method in class org.apache.log.output.db.AbstractJDBCTarget
Shutdown target.
close() - Method in class org.apache.log.output.io.StreamTarget
Shutdown target.
close() - Method in class org.apache.log.output.io.WriterTarget
Shutdown target.
close() - Method in class org.apache.log.output.jms.AbstractJMSTarget
Shutdown target.
close() - Method in class org.apache.log.output.net.DatagramOutputTarget
Shutdown target.
close() - Method in class org.apache.log.output.net.SMTPOutputLogTarget
Closes this log target.
close() - Method in class org.apache.log.output.net.SocketOutputTarget
Shutdown target.
close() - Method in class org.apache.log.output.PriorityFilteringTarget
 
close() - Method in class org.apache.log.output.ServletOutputLogTarget
Shutdown target.
close() - Method in interface org.apache.log.util.Closeable
Close the LogTarget.
close() - Method in class org.apache.log.util.LoggerOutputStream
Shutdown stream.
Closeable - Interface in org.apache.log.util
Interface implemented by LogTargets that are capable of being closed.
closeConnection() - Method in class org.apache.log.output.db.AbstractJDBCTarget
Close connection to underlying database.
closeConnection() - Method in class org.apache.log.output.db.DefaultJDBCTarget
Close connection to underlying database.
closeConnection() - Method in class org.apache.log.output.jms.AbstractJMSTarget
 
closeConnection() - Method in class org.apache.log.output.jms.JMSQueueTarget
 
closeConnection() - Method in class org.apache.log.output.jms.JMSTopicTarget
 
ColumnInfo - Class in org.apache.log.output.db
A descriptor for each column stored in table.
ColumnInfo(String, int, String) - Constructor for class org.apache.log.output.db.ColumnInfo
Creation of a new column info instance.
ColumnType - Class in org.apache.log.output.db
A class to hold all constants for ColumnTypes.
ColumnType() - Constructor for class org.apache.log.output.db.ColumnType
 
CONTEXT - Static variable in class org.apache.log.output.db.ColumnType
 
CONTEXT - Static variable in class org.apache.log.output.jms.PropertyType
 
CONTEXT_STR - Static variable in class org.apache.log.output.db.ColumnType
 
CONTEXT_STR - Static variable in class org.apache.log.output.jms.PropertyType
 
ContextMap - Class in org.apache.log
The ContextMap contains non-hierarchical context information relevant to a particular LogEvent.
ContextMap() - Constructor for class org.apache.log.ContextMap
Default constructor.
ContextMap(ContextMap) - Constructor for class org.apache.log.ContextMap
Constructor that sets parent contextMap.

D

DatagramOutputTarget - Class in org.apache.log.output.net
A datagram output target.
DatagramOutputTarget(InetAddress, int) - Constructor for class org.apache.log.output.net.DatagramOutputTarget
Create a output target with end point specified by address and port.
DatagramOutputTarget(InetAddress, int, Formatter) - Constructor for class org.apache.log.output.net.DatagramOutputTarget
Create a output target with end point specified by address and port.
DatagramOutputTarget(InetAddress, int, Formatter, String) - Constructor for class org.apache.log.output.net.DatagramOutputTarget
Create a output target with end point specified by address and port.
debug(String) - Method in class org.apache.log.Logger
Log a debug priority event.
debug(String, Throwable) - Method in class org.apache.log.Logger
Log a debug priority event.
DEBUG - Static variable in class org.apache.log.Priority
Developer orientated messages, usually used during development of product.
DEFAULT_ENCODING - Static variable in class org.apache.log.output.net.DatagramOutputTarget
 
DEFAULT_ERROR_HANDLER - Static variable in class org.apache.log.output.AbstractTarget
 
DEFAULT_FORMAT - Static variable in class org.apache.log.Hierarchy
 
DefaultDataSource - Class in org.apache.log.output.db
A basic datasource that doesn't do any pooling but just wraps around default mechanisms.
DefaultDataSource(String, String, String) - Constructor for class org.apache.log.output.db.DefaultDataSource
 
DefaultErrorHandler - Class in org.apache.log.util
Handle unrecoverable errors that occur during logging by writing to standard error.
DefaultErrorHandler() - Constructor for class org.apache.log.util.DefaultErrorHandler
 
DefaultJDBCTarget - Class in org.apache.log.output.db
The basic DB target for configurable output formats.
DefaultJDBCTarget(DataSource, String, ColumnInfo[]) - Constructor for class org.apache.log.output.db.DefaultJDBCTarget
Creation of a new JDBC logging target.
doProcessEvent(LogEvent) - Method in class org.apache.log.output.AbstractOutputTarget
Process a log event.
doProcessEvent(LogEvent) - Method in class org.apache.log.output.AbstractTarget
Process a log event, via formatting and outputting it.
doProcessEvent(LogEvent) - Method in class org.apache.log.output.AsyncLogTarget
Process a log event by adding it to queue.
doProcessEvent(LogEvent) - Method in class org.apache.log.output.db.AbstractJDBCTarget
Process a log event, via formatting and outputting it.
doProcessEvent(LogEvent) - Method in class org.apache.log.output.jms.AbstractJMSTarget
Process a log event, via formatting and outputting it.
doProcessEvent(LogEvent) - Method in class org.apache.log.output.MemoryTarget
Process a log event, via formatting and outputting it.
doProcessEvent(LogEvent) - Method in class org.apache.log.output.net.SocketOutputTarget
To process the LogEvent
doProcessEvent(LogEvent) - Method in class org.apache.log.output.PriorityFilteringTarget
 

E

EMPTY_SET - Static variable in class org.apache.log.Logger
 
EOL - Static variable in class org.apache.log.format.PatternFormatter
 
EOL - Static variable in class org.apache.log.format.XMLFormatter
 
error(String) - Method in class org.apache.log.Logger
Log a error priority event.
error(String, Throwable) - Method in class org.apache.log.Logger
Log a error priority event.
error(String, Throwable, LogEvent) - Method in interface org.apache.log.ErrorHandler
Log an unrecoverable error.
error(String, Throwable, LogEvent) - Method in class org.apache.log.Hierarchy.InnerErrorHandler
Log an unrecoverable error.
error(String, Throwable, LogEvent) - Method in class org.apache.log.util.DefaultErrorHandler
Log an unrecoverable error.
ERROR - Static variable in class org.apache.log.Priority
A problem has occurred but it is not fatal.
ErrorAware - Interface in org.apache.log
Interface implemented by components that wish to delegate ErrorHandling to an ErrorHandler.
ErrorHandler - Interface in org.apache.log
Handle unrecoverable errors that occur during logging.
ExtendedPatternFormatter - Class in org.apache.log.format
Formatter especially designed for debugging applications.
ExtendedPatternFormatter(String) - Constructor for class org.apache.log.format.ExtendedPatternFormatter
Creation of a new extended pattern formatter.
ExtendedPatternFormatter(String, int) - Constructor for class org.apache.log.format.ExtendedPatternFormatter
Creation of a new extended pattern formatter.

F

FACILITY_AUTH - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_AUTHPRIV - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_CRON - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_DAEMON - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_DESCRIPTIONS - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_FTP - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_KERN - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_LOCAL0 - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_LOCAL1 - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_LOCAL2 - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_LOCAL3 - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_LOCAL4 - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_LOCAL5 - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_LOCAL6 - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_LOCAL7 - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_LPR - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_MAIL - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_NEWS - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_SYSLOG - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_USER - Static variable in class org.apache.log.format.SyslogFormatter
 
FACILITY_UUCP - Static variable in class org.apache.log.format.SyslogFormatter
 
FATAL_ERROR - Static variable in class org.apache.log.Priority
Something caused whole system to fail.
fatalError(String) - Method in class org.apache.log.Logger
Log a fatalError priority event.
fatalError(String, Throwable) - Method in class org.apache.log.Logger
Log a fatalError priority event.
FileStrategy - Interface in org.apache.log.output.io.rotate
Strategy for naming log files.
FileTarget - Class in org.apache.log.output.io
A basic target that writes to a File.
FileTarget(File, boolean, Formatter) - Constructor for class org.apache.log.output.io.FileTarget
Construct file target to write to a file with a formatter.
fireEvent(LogEvent, LogTarget[]) - Method in class org.apache.log.Logger
 
flush() - Method in class org.apache.log.util.LoggerOutputStream
Flush data to underlying logger.
format(LogEvent) - Method in interface org.apache.log.format.Formatter
Serialize log event into string.
format(LogEvent) - Method in class org.apache.log.format.PatternFormatter
Format the event according to the pattern.
format(LogEvent) - Method in class org.apache.log.format.RawFormatter
Format log event into string.
format(LogEvent) - Method in class org.apache.log.format.SyslogFormatter
Format log event into syslog string.
format(LogEvent) - Method in class org.apache.log.format.XMLFormatter
Format log event into string.
format(LogEvent) - Method in class org.apache.log.output.AbstractOutputTarget
Helper method to format an event into a string, using the formatter if available.
formatPatternRun(LogEvent, PatternFormatter.PatternRun) - Method in class org.apache.log.format.ExtendedPatternFormatter
Formats a single pattern run (can be extended in subclasses).
formatPatternRun(LogEvent, PatternFormatter.PatternRun) - Method in class org.apache.log.format.PatternFormatter
Formats a single pattern run (can be extended in subclasses).
Formatter - Interface in org.apache.log.format
This defines the interface for components that wish to serialize LogEvents into Strings.

G

get() - Method in class org.apache.log.util.StackIntrospector.CallStack
Returns the current execution stack as an array of classes.
get(String) - Method in class org.apache.log.ContextMap
Get an entry from the context.
get(String, Object) - Method in class org.apache.log.ContextMap
Get an entry from the context.
getAux() - Method in class org.apache.log.output.db.ColumnInfo
Return the auxillary column information.
getAux() - Method in class org.apache.log.output.jms.PropertyInfo
Return the property auxilliary information
getCallerClass(Class) - Static method in class org.apache.log.util.StackIntrospector
Find the caller of the passed in Class.
getCallerClass(Class, int) - Static method in class org.apache.log.util.StackIntrospector
Find the caller of the passed in Class.
getCallerMethod(Class) - Static method in class org.apache.log.util.StackIntrospector
Get the method path name for the method from which the LogEvent was created, this includes the path name and the source filename and line number if the source was compiled with debugging on.
getCallStack() - Static method in class org.apache.log.util.StackIntrospector
Create Hack SecurityManager to get CallStack.
getCategory() - Method in class org.apache.log.LogEvent
Get the category that LogEvent relates to.
getCategory(String, String) - Method in class org.apache.log.format.PatternFormatter
Utility method to format category.
getChildLogger(String) - Method in class org.apache.log.Logger
Create a new child logger.
getChildren() - Method in class org.apache.log.Logger
Get all the child Loggers of current logger.
getColumn(int) - Method in class org.apache.log.output.db.DefaultJDBCTarget
Return the column info for an supplied index.
getConnection() - Method in class org.apache.log.output.db.AbstractJDBCTarget
Utility method for subclasses to access connection.
getConnection() - Method in class org.apache.log.output.db.DefaultDataSource
Attempt to establish a database connection.
getConnection(String, String) - Method in class org.apache.log.output.db.DefaultDataSource
Attempt to establish a database connection.
getContextMap() - Method in class org.apache.log.LogEvent
Get ContextMap associated with LogEvent
getContextMap(ContextMap, String) - Method in class org.apache.log.format.PatternFormatter
Utility method to format context map.
getContextMap(ContextMap, String) - Method in class org.apache.log.output.db.DefaultJDBCTarget
 
getContextMap(ContextMap, String) - Method in class org.apache.log.output.jms.TextMessageBuilder
 
getCurrentContext() - Static method in class org.apache.log.ContextMap
Get the Current ContextMap.
getCurrentContext(boolean) - Static method in class org.apache.log.ContextMap
Get the Current ContextMap.
getCurrentRotation() - Method in class org.apache.log.output.io.rotate.RevolvingFileStrategy
Retrieve the current rotation number.
getDefaultHierarchy() - Static method in class org.apache.log.Hierarchy
Retrieve the default hierarchy.
getDefaultMonitor() - Static method in class org.apache.log.output.lf5.LF5LogTarget
Get the default LogBrokerMonitor instance.
getErrorHandler() - Method in class org.apache.log.output.AbstractTarget
Helper method to retrieve ErrorHandler for subclasses.
getFacilityDescription(int) - Method in class org.apache.log.format.SyslogFormatter
Retrieve description for facility.
getFile() - Method in class org.apache.log.output.io.FileTarget
Retrieve file associated with target.
getFormatter() - Method in class org.apache.log.output.AbstractOutputTarget
Returns the Formatter.
getHead() - Method in class org.apache.log.output.AbstractOutputTarget
Helper method to retrieve head for log session.
getID(String, HashMap, String) - Method in class org.apache.log.output.db.NormalizedJDBCTarget
 
getLoggerFor(String) - Method in class org.apache.log.Hierarchy
Retrieve a logger for named category.
getLoginTimeout() - Method in class org.apache.log.output.db.DefaultDataSource
Gets the maximum time in seconds that this data source can wait while attempting to connect to a database.
getLogTarget() - Method in class org.apache.log.output.AbstractWrappingTarget
Return the target for subclasses
getLogWriter() - Method in class org.apache.log.output.db.DefaultDataSource
Get the log writer for this data source.
getMatchingFiles() - Method in class org.apache.log.output.io.rotate.RevolvingFileStrategy
Get a list of files that could have been part of the rotation.
getMessage() - Method in class org.apache.log.LogEvent
Get the message associated with event.
getMessage(String, String) - Method in class org.apache.log.format.PatternFormatter
Utility method to format message.
getMethod(LogEvent) - Method in class org.apache.log.format.ExtendedPatternFormatter
Utility method to format category.
getName() - Method in class org.apache.log.output.db.ColumnInfo
Return the column name
getName() - Method in class org.apache.log.output.jms.PropertyInfo
Return the property name
getName() - Method in class org.apache.log.Priority
Get name of priority.
getParentLogger() - Method in class org.apache.log.output.db.DefaultDataSource
 
getPriority() - Method in class org.apache.log.LogEvent
Get Priority for LogEvent.
getPriority(Priority, String) - Method in class org.apache.log.format.PatternFormatter
Get formatted priority string.
getPriorityForName(String) - Static method in class org.apache.log.Priority
Retrieve a Priority object for the name parameter.
getRecentStack(Class, int) - Static method in class org.apache.log.util.StackIntrospector
Return the current call stack as a String, starting with the first call in the stack after a reference to the clazz class, and then display entries entries.
getRelativeTime() - Method in class org.apache.log.LogEvent
Get the time of the log event relative to start of application.
getRootLogger() - Method in class org.apache.log.Hierarchy
Utility method to retrieve logger for hierarchy.
getRTime(long, String) - Method in class org.apache.log.format.PatternFormatter
Utility method to format relative time.
getSession() - Method in class org.apache.log.output.jms.AbstractJMSTarget
 
getSession() - Method in class org.apache.log.output.jms.JMSQueueTarget
 
getSession() - Method in class org.apache.log.output.jms.JMSTopicTarget
 
getSize() - Method in class org.apache.log.ContextMap
Get the number of contexts in map.
getStackTrace(Throwable) - Method in class org.apache.log.output.db.DefaultJDBCTarget
 
getStackTrace(Throwable) - Method in class org.apache.log.output.jms.TextMessageBuilder
 
getStackTrace(Throwable, String) - Method in class org.apache.log.format.PatternFormatter
Utility method to format stack trace.
getStatementSQL() - Method in class org.apache.log.output.db.DefaultJDBCTarget
Return the SQL insert statement.
getSyslogFacility(LogEvent) - Method in class org.apache.log.format.SyslogFormatter
Get facility associated with event.
getSyslogPriority(LogEvent) - Method in class org.apache.log.format.SyslogFormatter
Get syslog priority code for LogEvent.
getTable() - Method in class org.apache.log.output.db.DefaultJDBCTarget
Return the underlying table
getTail() - Method in class org.apache.log.output.AbstractOutputTarget
Helper method to retrieve tail for log session.
getText(LogEvent) - Method in class org.apache.log.output.jms.TextMessageBuilder
 
getThread(String) - Method in class org.apache.log.format.PatternFormatter
Get formatted thread string.
getThread(LogEvent) - Method in class org.apache.log.format.ExtendedPatternFormatter
Utility thread to format category.
getThrowable() - Method in class org.apache.log.LogEvent
Get throwabe instance associated with event.
getTime() - Method in class org.apache.log.LogEvent
Get the absolute time of the log event.
getTime(long, String) - Method in class org.apache.log.format.PatternFormatter
Utility method to format time.
getType() - Method in class org.apache.log.output.db.ColumnInfo
Return the column type as an integer
getType() - Method in class org.apache.log.output.jms.PropertyInfo
Return the property type
getTypeIdFor(String) - Method in class org.apache.log.format.ExtendedPatternFormatter
Retrieve the type-id for a particular string.
getTypeIdFor(String) - Method in class org.apache.log.format.PatternFormatter
Retrieve the type-id for a particular string.
getTypeIdFor(String) - Static method in class org.apache.log.output.db.ColumnType
 
getTypeIdFor(String) - Static method in class org.apache.log.output.jms.PropertyType
 
getValue() - Method in class org.apache.log.Priority
Get numerical value associated with priority.

H

Hierarchy - Class in org.apache.log
This class encapsulates a basic independent log hierarchy.
Hierarchy() - Constructor for class org.apache.log.Hierarchy
Create a hierarchy object.
Hierarchy.InnerErrorHandler - Class in org.apache.log
 
Hierarchy.InnerLoggerListener - Class in org.apache.log
Inner class to redirect to hierarchys real LoggerListener if any.
HOSTNAME - Static variable in class org.apache.log.output.db.ColumnType
 
HOSTNAME_STR - Static variable in class org.apache.log.output.db.ColumnType
 

I

info(String) - Method in class org.apache.log.Logger
Log a info priority event.
info(String, Throwable) - Method in class org.apache.log.Logger
Log a info priority event.
INFO - Static variable in class org.apache.log.Priority
Useful information messages such as state changes, client connection, user login etc.
InnerErrorHandler() - Constructor for class org.apache.log.Hierarchy.InnerErrorHandler
 
InnerLoggerListener() - Constructor for class org.apache.log.Hierarchy.InnerLoggerListener
 
isDebugEnabled() - Method in class org.apache.log.Logger
Determine if messages of priority DEBUG will be logged.
isErrorEnabled() - Method in class org.apache.log.Logger
Determine if messages of priority ERROR will be logged.
isFatalErrorEnabled() - Method in class org.apache.log.Logger
Determine if messages of priority FATAL_ERROR will be logged.
isFull() - Method in class org.apache.log.output.MemoryTarget
Check if memory buffer is full.
isGreater(Priority) - Method in class org.apache.log.Priority
Test whether this priority is greater than other priority.
isInfoEnabled() - Method in class org.apache.log.Logger
Determine if messages of priority INFO will be logged.
isLower(Priority) - Method in class org.apache.log.Priority
Test whether this priority is lower than other priority.
isLowerOrEqual(Priority) - Method in class org.apache.log.Priority
Test whether this priority is lower or equal to other priority.
isOpen() - Method in class org.apache.log.output.AbstractTarget
Return the open state of the target.
isPriorityEnabled(Priority) - Method in class org.apache.log.Logger
Determine if messages of priority �will be logged.
isReadOnly() - Method in class org.apache.log.ContextMap
Determine if context is read-only.
isRotationNeeded(String, File) - Method in class org.apache.log.output.io.rotate.OrRotateStrategy
check if now a log rotation is neccessary.
isRotationNeeded(String, File) - Method in interface org.apache.log.output.io.rotate.RotateStrategy
Check if a log rotation is neccessary at this time.
isRotationNeeded(String, File) - Method in class org.apache.log.output.io.rotate.RotateStrategyByDate
Test is a rotation is required.
isRotationNeeded(String, File) - Method in class org.apache.log.output.io.rotate.RotateStrategyBySize
Check if now a log rotation is neccessary.
isRotationNeeded(String, File) - Method in class org.apache.log.output.io.rotate.RotateStrategyByTime
Check if now a log rotation is neccessary.
isRotationNeeded(String, File) - Method in class org.apache.log.output.io.rotate.RotateStrategyByTimeOfDay
Check if now a log rotation is neccessary.
isSevereLevel() - Method in class org.apache.log.output.lf5.LogKitLogRecord
 
isStale() - Method in class org.apache.log.output.db.AbstractJDBCTarget
Detect if connection is stale and should be reopened.
isStale() - Method in class org.apache.log.output.db.DefaultJDBCTarget
Test if the target is stale.
isWarnEnabled() - Method in class org.apache.log.Logger
Determine if messages of priority WARN will be logged.
isWrapperFor(Class) - Method in class org.apache.log.output.db.DefaultDataSource
 

J

JMSQueueTarget - Class in org.apache.log.output.jms
A target that writes to a JMS Queue.
JMSQueueTarget(MessageBuilder, QueueConnectionFactory, Queue) - Constructor for class org.apache.log.output.jms.JMSQueueTarget
 
JMSQueueTarget(MessageBuilder, QueueConnectionFactory, Queue, ErrorHandler) - Constructor for class org.apache.log.output.jms.JMSQueueTarget
 
JMSTopicTarget - Class in org.apache.log.output.jms
A target that writes to a JMS Topic.
JMSTopicTarget(MessageBuilder, TopicConnectionFactory, Topic) - Constructor for class org.apache.log.output.jms.JMSTopicTarget
 
JMSTopicTarget(MessageBuilder, TopicConnectionFactory, Topic, ErrorHandler) - Constructor for class org.apache.log.output.jms.JMSTopicTarget
 

L

LF5LogTarget - Class in org.apache.log.output.lf5
A LogTarget that displays log events using the LogFactor5 Swing GUI.
LF5LogTarget() - Constructor for class org.apache.log.output.lf5.LF5LogTarget
Create LogFactorLogTarget on the default LogBrokerMonitor.
LF5LogTarget(LogBrokerMonitor) - Constructor for class org.apache.log.output.lf5.LF5LogTarget
Create a LogFactorLogTarget on a given LogBrokerMonitor.
log(Priority, String) - Method in class org.apache.log.Logger
Log a event at specific priority with a certain message.
log(Priority, String, Throwable) - Method in class org.apache.log.Logger
Log a event at specific priority with a certain message and throwable.
LogEvent - Class in org.apache.log
This class encapsulates each individual log event.
LogEvent() - Constructor for class org.apache.log.LogEvent
 
Logger - Class in org.apache.log
The object interacted with by client objects to perform logging.
Logger(ErrorHandler, LoggerListener, String, LogTarget[], Logger) - Constructor for class org.apache.log.Logger
Protected constructor for use inside the logging toolkit.
loggerCreated(String, Logger) - Method in class org.apache.log.Hierarchy.InnerLoggerListener
Notify listener that a logger was created.
loggerCreated(String, Logger) - Method in class org.apache.log.util.LoggerListener
Notify listener that Logger was created.
LoggerListener - Class in org.apache.log.util
The LoggerListener class is used to notify listeners when a new Logger object is created.
LoggerListener() - Constructor for class org.apache.log.util.LoggerListener
 
LoggerOutputStream - Class in org.apache.log.util
Redirect an output stream to a logger.
LoggerOutputStream(Logger, Priority) - Constructor for class org.apache.log.util.LoggerOutputStream
Construct OutputStreamLogger to write to a particular logger at a particular priority.
LOGKIT_LOGLEVELS - Static variable in class org.apache.log.output.lf5.LogKitLogRecord
The LogLevels corresponding to LogKit priorities.
LogKitLogRecord - Class in org.apache.log.output.lf5
An implementation of a LogFactor5 LogRecord based on a LogKit LogEvent.
LogKitLogRecord(LogEvent, Formatter) - Constructor for class org.apache.log.output.lf5.LogKitLogRecord
Create a LogFactor record from a LogKit event
LogTarget - Interface in org.apache.log
LogTarget is a class to encapsulate outputting LogEvent's.

M

m_additivity - Variable in class org.apache.log.Logger
True means LogEvents will be sent to parents LogTargets aswell as the ones set for this Logger.
m_append - Variable in class org.apache.log.output.io.FileTarget
 
m_append - Variable in class org.apache.log.output.io.rotate.RotatingFileTarget
 
m_aux - Variable in class org.apache.log.output.db.ColumnInfo
 
m_aux - Variable in class org.apache.log.output.jms.PropertyInfo
 
m_baseFile - Variable in class org.apache.log.output.io.rotate.RevolvingFileStrategy
 
m_baseFile - Variable in class org.apache.log.output.io.rotate.UniqueFileStrategy
 
m_baseFileName - Variable in class org.apache.log.output.io.rotate.BaseFileNameFilter
 
m_buffer - Variable in class org.apache.log.output.MemoryTarget
 
m_buffer - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
 
m_bufferTime - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
The time that the first log entry in the current buffer arrived.
m_builder - Variable in class org.apache.log.output.jms.AbstractJMSTarget
 
m_callStackOffset - Variable in class org.apache.log.format.ExtendedPatternFormatter
 
m_category - Variable in class org.apache.log.LogEvent
 
m_category - Variable in class org.apache.log.Logger
 
m_categoryIDs - Variable in class org.apache.log.output.db.NormalizedJDBCTarget
 
m_children - Variable in class org.apache.log.Logger
 
m_closed - Variable in class org.apache.log.util.LoggerOutputStream
 
m_closeWrapped - Variable in class org.apache.log.output.AbstractWrappingTarget
 
m_closeWrapped - Variable in class org.apache.log.output.PriorityFilteringTarget
 
m_columns - Variable in class org.apache.log.output.db.DefaultJDBCTarget
 
m_connection - Variable in class org.apache.log.output.db.AbstractJDBCTarget
 
m_connection - Variable in class org.apache.log.output.jms.JMSQueueTarget
 
m_connection - Variable in class org.apache.log.output.jms.JMSTopicTarget
 
m_context - Variable in class org.apache.log.output.ServletOutputLogTarget
 
m_contextFormatter - Variable in class org.apache.log.output.lf5.LF5LogTarget
Format for context maps
m_contextMap - Variable in class org.apache.log.LogEvent
 
m_current - Variable in class org.apache.log.output.io.rotate.RotateStrategyByDate
 
m_currentRotation - Variable in class org.apache.log.output.io.rotate.RotateStrategyByTime
 
m_currentRotation - Variable in class org.apache.log.output.io.rotate.RotateStrategyByTimeOfDay
Time in ms that the current rotation started.
m_currentSize - Variable in class org.apache.log.output.io.rotate.RotateStrategyBySize
 
m_data - Variable in class org.apache.log.format.PatternFormatter.PatternRun
 
m_dataSource - Variable in class org.apache.log.output.db.AbstractJDBCTarget
 
m_date - Variable in class org.apache.log.format.PatternFormatter
 
m_date - Variable in class org.apache.log.output.io.rotate.RotateStrategyByDate
 
m_debug - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
Flag which controls whether debug is enabled for each message.
m_decimalFormat - Variable in class org.apache.log.output.io.rotate.RevolvingFileStrategy
 
m_encoding - Variable in class org.apache.log.output.io.StreamTarget
The encoding to use when creating byte array for string, may be null.
m_encoding - Variable in class org.apache.log.output.net.DatagramOutputTarget
 
m_errorHandler - Variable in class org.apache.log.Hierarchy
 
m_errorHandler - Variable in class org.apache.log.Logger
 
m_errorHandler - Variable in class org.apache.log.output.AbstractTarget
 
m_facility - Variable in class org.apache.log.format.SyslogFormatter
 
m_factory - Variable in class org.apache.log.output.jms.JMSQueueTarget
 
m_factory - Variable in class org.apache.log.output.jms.JMSTopicTarget
 
m_file - Variable in class org.apache.log.output.io.FileTarget
 
m_fileStrategy - Variable in class org.apache.log.output.io.rotate.RotatingFileTarget
 
m_format - Variable in class org.apache.log.format.PatternFormatter.PatternRun
 
m_format - Variable in class org.apache.log.output.io.rotate.RotateStrategyByDate
 
m_formatSpecification - Variable in class org.apache.log.format.PatternFormatter
 
m_formatter - Variable in class org.apache.log.output.AbstractOutputTarget
Formatter for target.
m_formatter - Variable in class org.apache.log.output.io.rotate.UniqueFileStrategy
 
m_formatter - Variable in class org.apache.log.output.jms.TextMessageBuilder
 
m_fromAddress - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
 
m_index - Variable in class org.apache.log.output.MemoryTarget
 
m_isOpen - Variable in class org.apache.log.output.AbstractTarget
 
m_list - Variable in class org.apache.log.output.AsyncLogTarget
 
m_logger - Variable in class org.apache.log.util.LoggerOutputStream
 
m_loggerListener - Variable in class org.apache.log.Hierarchy
 
m_loggerListener - Variable in class org.apache.log.Logger
 
m_loginTimeout - Variable in class org.apache.log.output.db.DefaultDataSource
 
m_logTargets - Variable in class org.apache.log.Logger
 
m_logTargetsForceSet - Variable in class org.apache.log.Logger
 
m_logWriter - Variable in class org.apache.log.output.db.DefaultDataSource
 
m_map - Variable in class org.apache.log.ContextMap
 
m_maxDelayTime - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
The maximun delay that a message will be allowed to wait in the queue before being sent.
m_maxMsgSize - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
 
m_maxRotations - Variable in class org.apache.log.output.io.rotate.RevolvingFileStrategy
 
m_maxSize - Variable in class org.apache.log.format.PatternFormatter.PatternRun
 
m_maxSize - Variable in class org.apache.log.output.io.rotate.RotateStrategyBySize
 
m_message - Variable in class org.apache.log.LogEvent
 
m_message - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
 
m_minSize - Variable in class org.apache.log.format.PatternFormatter.PatternRun
 
m_monitor - Variable in class org.apache.log.output.lf5.LF5LogTarget
Monitor for this LogTarget
m_msgSize - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
 
m_name - Variable in class org.apache.log.output.db.ColumnInfo
 
m_name - Variable in class org.apache.log.output.jms.PropertyInfo
 
m_name - Variable in class org.apache.log.Priority
 
m_output - Variable in class org.apache.log.output.io.WriterTarget
 
m_output - Variable in class org.apache.log.util.LoggerOutputStream
 
m_outputStream - Variable in class org.apache.log.output.io.StreamTarget
OutputStream we are writing to.
m_outputStream - Variable in class org.apache.log.output.net.SocketOutputTarget
Output strem to write the log
m_overwrite - Variable in class org.apache.log.output.MemoryTarget
 
m_parent - Variable in class org.apache.log.ContextMap
 
m_parent - Variable in class org.apache.log.Logger
 
m_password - Variable in class org.apache.log.output.db.DefaultDataSource
 
m_printCategory - Variable in class org.apache.log.format.XMLFormatter
 
m_printContext - Variable in class org.apache.log.format.XMLFormatter
 
m_printException - Variable in class org.apache.log.format.XMLFormatter
 
m_printMessage - Variable in class org.apache.log.format.XMLFormatter
 
m_printNumericTime - Variable in class org.apache.log.format.XMLFormatter
 
m_printPriority - Variable in class org.apache.log.format.XMLFormatter
 
m_printRelativeTime - Variable in class org.apache.log.format.XMLFormatter
 
m_printTime - Variable in class org.apache.log.format.XMLFormatter
 
m_priority - Variable in class org.apache.log.LogEvent
 
m_priority - Variable in class org.apache.log.Logger
 
m_priority - Variable in class org.apache.log.output.PriorityFilteringTarget
 
m_priority - Variable in class org.apache.log.Priority
 
m_priority - Variable in class org.apache.log.util.LoggerOutputStream
 
m_priorityForceSet - Variable in class org.apache.log.Logger
 
m_priorityIDs - Variable in class org.apache.log.output.db.NormalizedJDBCTarget
 
m_properties - Variable in class org.apache.log.output.jms.TextMessageBuilder
 
m_publisher - Variable in class org.apache.log.output.jms.JMSTopicTarget
 
m_queue - Variable in class org.apache.log.output.jms.JMSQueueTarget
 
m_queueSize - Variable in class org.apache.log.output.AsyncLogTarget
 
m_readOnly - Variable in class org.apache.log.ContextMap
 
m_rightJustify - Variable in class org.apache.log.format.PatternFormatter.PatternRun
 
m_rootLogger - Variable in class org.apache.log.Hierarchy
 
m_rotateStrategy - Variable in class org.apache.log.output.io.rotate.RotatingFileTarget
 
m_rotation - Variable in class org.apache.log.output.io.rotate.RevolvingFileStrategy
 
m_runner - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
Runner thread which is responsible for sending batched log entries in the background.
m_sender - Variable in class org.apache.log.output.jms.JMSQueueTarget
 
m_session - Variable in class org.apache.log.output.jms.JMSQueueTarget
 
m_session - Variable in class org.apache.log.output.jms.JMSTopicTarget
 
m_session - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
 
m_severe - Variable in class org.apache.log.output.lf5.LogKitLogRecord
Is this a severe event ?
m_showFacilityBanner - Variable in class org.apache.log.format.SyslogFormatter
 
m_shutdown - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
Flag which will be set in the close method when it is time to shutdown.
m_simpleDateFormat - Variable in class org.apache.log.format.PatternFormatter
 
m_socket - Variable in class org.apache.log.output.net.DatagramOutputTarget
 
m_socket - Variable in class org.apache.log.output.net.SocketOutputTarget
Socket to communicate with the server
m_startingTime - Variable in class org.apache.log.output.io.rotate.RotateStrategyByTime
 
m_statement - Variable in class org.apache.log.output.db.DefaultJDBCTarget
 
m_strategies - Variable in class org.apache.log.output.io.rotate.OrRotateStrategy
 
m_subject - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
 
m_suffix - Variable in class org.apache.log.output.io.rotate.UniqueFileStrategy
 
m_table - Variable in class org.apache.log.output.db.DefaultJDBCTarget
 
m_target - Variable in class org.apache.log.output.MemoryTarget
 
m_targets - Variable in class org.apache.log.output.PriorityFilteringTarget
Log targets in filter chain
m_threshold - Variable in class org.apache.log.output.MemoryTarget
 
m_throwable - Variable in class org.apache.log.LogEvent
 
m_time - Variable in class org.apache.log.LogEvent
 
m_timeInterval - Variable in class org.apache.log.output.io.rotate.RotateStrategyByTime
 
m_toAddresses - Variable in class org.apache.log.output.net.SMTPOutputLogTarget
 
m_topic - Variable in class org.apache.log.output.jms.JMSTopicTarget
 
m_type - Variable in class org.apache.log.format.PatternFormatter.PatternRun
 
m_type - Variable in class org.apache.log.output.db.ColumnInfo
 
m_type - Variable in class org.apache.log.output.jms.PropertyInfo
 
m_url - Variable in class org.apache.log.output.db.DefaultDataSource
 
m_used - Variable in class org.apache.log.output.MemoryTarget
 
m_usedRotation - Variable in class org.apache.log.output.io.rotate.OrRotateStrategy
The rotation strategy used.
m_username - Variable in class org.apache.log.output.db.DefaultDataSource
 
m_wrappedLogTarget - Variable in class org.apache.log.output.AbstractWrappingTarget
 
makeReadOnly() - Method in class org.apache.log.ContextMap
Make the context read-only.
MAX_TYPE - Static variable in class org.apache.log.format.PatternFormatter
The maximum value used for TYPEs.
MemoryTarget - Class in org.apache.log.output
Output LogEvents into an buffer in memory.
MemoryTarget(LogTarget, int, Priority) - Constructor for class org.apache.log.output.MemoryTarget
Creation of a new instance of the memory target.
MESSAGE - Static variable in class org.apache.log.output.db.ColumnType
 
MESSAGE - Static variable in class org.apache.log.output.jms.PropertyType
 
MESSAGE_STR - Static variable in class org.apache.log.output.db.ColumnType
 
MESSAGE_STR - Static variable in class org.apache.log.output.jms.PropertyType
 
MessageBuilder - Interface in org.apache.log.output.jms
Interface that classes implement to build JMS Messages.

N

nextFile() - Method in interface org.apache.log.output.io.rotate.FileStrategy
Get the next log file to rotate to.
nextFile() - Method in class org.apache.log.output.io.rotate.RevolvingFileStrategy
Calculate the real file name from the base filename.
nextFile() - Method in class org.apache.log.output.io.rotate.UniqueFileStrategy
Calculate the real file name from the base filename.
NONE - Static variable in class org.apache.log.Priority
Do not log anything.
NormalizedJDBCTarget - Class in org.apache.log.output.db
JDBC target that writes to normalized tables.
NormalizedJDBCTarget(DataSource, String, ColumnInfo[]) - Constructor for class org.apache.log.output.db.NormalizedJDBCTarget
 
notifyLoggerCreated(String, Logger) - Method in class org.apache.log.Hierarchy
Notify logger listener (if any) that a new logger was created.
NullOutputLogTarget - Class in org.apache.log.output
A output target that does nothing.
NullOutputLogTarget() - Constructor for class org.apache.log.output.NullOutputLogTarget
Creation of a new null log target.

O

ObjectMessageBuilder - Class in org.apache.log.output.jms
Basic message factory that stores LogEvent in Message.
ObjectMessageBuilder() - Constructor for class org.apache.log.output.jms.ObjectMessageBuilder
 
open() - Method in class org.apache.log.output.AbstractOutputTarget
Startup log session.
open() - Method in class org.apache.log.output.AbstractTarget
Startup log session.
open() - Method in class org.apache.log.output.db.AbstractJDBCTarget
Startup log session.
open() - Method in class org.apache.log.output.jms.AbstractJMSTarget
Startup log session.
openConnection() - Method in class org.apache.log.output.db.AbstractJDBCTarget
Open connection to underlying database.
openConnection() - Method in class org.apache.log.output.db.DefaultJDBCTarget
Open connection to underlying database.
openConnection() - Method in class org.apache.log.output.jms.AbstractJMSTarget
 
openConnection() - Method in class org.apache.log.output.jms.JMSQueueTarget
 
openConnection() - Method in class org.apache.log.output.jms.JMSTopicTarget
 
openFile() - Method in class org.apache.log.output.io.FileTarget
Open underlying file and allocate resources.
org.apache.log - package org.apache.log
Avalon LogKit is the logging framework used throughout the Avalon project.
org.apache.log.format - package org.apache.log.format
This package contains formmaters that serialize LogEvents to strings.
org.apache.log.output - package org.apache.log.output
This package contains some useful output destination LogTargets.
org.apache.log.output.db - package org.apache.log.output.db
Database output destination LogTargets.
org.apache.log.output.io - package org.apache.log.output.io
Stream anf file based output destination LogTargets.
org.apache.log.output.io.rotate - package org.apache.log.output.io.rotate
Log file rotation policies.
org.apache.log.output.jms - package org.apache.log.output.jms
JMS based output destination LogTargets.
org.apache.log.output.lf5 - package org.apache.log.output.lf5
LogFactor5 (Swing GUI) based LogTarget.
org.apache.log.output.net - package org.apache.log.output.net
Datagram, Socket and SMTP output destination LogTargets.
org.apache.log.util - package org.apache.log.util
Utilities suppporting the logging framework.
OrRotateStrategy - Class in org.apache.log.output.io.rotate
Hierarchical rotation strategy.
OrRotateStrategy(RotateStrategy[]) - Constructor for class org.apache.log.output.io.rotate.OrRotateStrategy
Constructor
output(LogEvent) - Method in class org.apache.log.Logger
 
output(LogEvent) - Method in class org.apache.log.output.db.AbstractJDBCTarget
Output a log event to DB.
output(LogEvent) - Method in class org.apache.log.output.db.DefaultJDBCTarget
Output a log event to DB.
output(Priority, String, Throwable) - Method in class org.apache.log.Logger
Internal method to do actual outputting.

P

parse(String) - Method in class org.apache.log.format.PatternFormatter
Parse the input pattern and build internal data structures.
PATTERN - Static variable in class org.apache.log.output.io.rotate.RevolvingFileStrategy
 
PatternFormatter - Class in org.apache.log.format
This formater formats the LogEvents according to a input pattern string.
PatternFormatter(String) - Constructor for class org.apache.log.format.PatternFormatter
Creation of a new patter formatter baseed on a supplied pattern.
PatternFormatter.PatternRun - Class in org.apache.log.format
 
PatternRun() - Constructor for class org.apache.log.format.PatternFormatter.PatternRun
 
Priority - Class in org.apache.log
Class representing and holding constants for priority.
Priority(String, int) - Constructor for class org.apache.log.Priority
Private Constructor to block instantiation outside class.
PRIORITY - Static variable in class org.apache.log.output.db.ColumnType
 
PRIORITY - Static variable in class org.apache.log.output.jms.PropertyType
 
PRIORITY_ALERT - Static variable in class org.apache.log.format.SyslogFormatter
 
PRIORITY_CRIT - Static variable in class org.apache.log.format.SyslogFormatter
 
PRIORITY_DEBUG - Static variable in class org.apache.log.format.SyslogFormatter
 
PRIORITY_EMERG - Static variable in class org.apache.log.format.SyslogFormatter
 
PRIORITY_ERR - Static variable in class org.apache.log.format.SyslogFormatter
 
PRIORITY_INFO - Static variable in class org.apache.log.format.SyslogFormatter
 
PRIORITY_NOTICE - Static variable in class org.apache.log.format.SyslogFormatter
 
PRIORITY_STR - Static variable in class org.apache.log.output.db.ColumnType
 
PRIORITY_STR - Static variable in class org.apache.log.output.jms.PropertyType
 
PRIORITY_WARNING - Static variable in class org.apache.log.format.SyslogFormatter
 
PriorityFilteringTarget - Class in org.apache.log.output
This is a priority filtering target that forwards only requests to other (wrapped) targets that have the same or a higher priority.
PriorityFilteringTarget(Priority) - Constructor for class org.apache.log.output.PriorityFilteringTarget
 
PriorityFilteringTarget(Priority, boolean) - Constructor for class org.apache.log.output.PriorityFilteringTarget
 
processEvent(LogEvent) - Method in interface org.apache.log.LogTarget
Process a log event.
processEvent(LogEvent) - Method in class org.apache.log.output.AbstractTarget
Process a log event, via formatting and outputting it.
processEvent(LogEvent) - Method in class org.apache.log.output.io.SafeFileTarget
Process a log event, via formatting and outputting it.
processEvent(LogEvent) - Method in class org.apache.log.output.lf5.LF5LogTarget
Process a log event.
PropertyInfo - Class in org.apache.log.output.jms
A descriptor for each message property.
PropertyInfo(String, int, String) - Constructor for class org.apache.log.output.jms.PropertyInfo
Creation of a new property info instance.
PropertyType - Class in org.apache.log.output.jms
A class to hold all constants for PropertyTypes.
PropertyType() - Constructor for class org.apache.log.output.jms.PropertyType
 
push() - Method in class org.apache.log.output.MemoryTarget
Push log events to target.

R

RawFormatter - Class in org.apache.log.format
Basic formatter that just returns raw message string and ignores remainder of LogEvent.
RawFormatter() - Constructor for class org.apache.log.format.RawFormatter
 
readResolve() - Method in class org.apache.log.ContextMap
Helper method that sets context to read-only after de-serialization.
readResolve() - Method in class org.apache.log.LogEvent
Helper method that replaces deserialized priority with correct singleton.
readResolve() - Method in class org.apache.log.Priority
Helper method that replaces deserialized object with correct singleton.
RELATIVE_TIME - Static variable in class org.apache.log.output.db.ColumnType
 
RELATIVE_TIME - Static variable in class org.apache.log.output.jms.PropertyType
 
RELATIVE_TIME_STR - Static variable in class org.apache.log.output.db.ColumnType
 
RELATIVE_TIME_STR - Static variable in class org.apache.log.output.jms.PropertyType
 
removeLoggerListener(LoggerListener) - Method in class org.apache.log.Hierarchy
Remove the LoggerListener associated with hierarchy.
reset() - Method in class org.apache.log.output.io.rotate.OrRotateStrategy
reset.
reset() - Method in interface org.apache.log.output.io.rotate.RotateStrategy
Reset cumulative rotation history data.
reset() - Method in class org.apache.log.output.io.rotate.RotateStrategyByDate
Reset the strategy.
reset() - Method in class org.apache.log.output.io.rotate.RotateStrategyBySize
Reset log size written so far.
reset() - Method in class org.apache.log.output.io.rotate.RotateStrategyByTime
reset interval history counters.
reset() - Method in class org.apache.log.output.io.rotate.RotateStrategyByTimeOfDay
reset interval history counters.
resetChildLogTargets(boolean) - Method in class org.apache.log.Logger
Update logTargets of children if any.
resetChildPriorities(boolean) - Method in class org.apache.log.Logger
Update priority of children if any.
resetLogTargets(boolean) - Method in class org.apache.log.Logger
Update logTarget of this Logger.
resetPriority(boolean) - Method in class org.apache.log.Logger
Update priority of this Logger.
RevolvingFileStrategy - Class in org.apache.log.output.io.rotate
strategy for naming log files based on appending revolving suffix.
RevolvingFileStrategy(File, int) - Constructor for class org.apache.log.output.io.rotate.RevolvingFileStrategy
Creation of a new instane ofthe revolving file strategy.
RevolvingFileStrategy(File, int, int) - Constructor for class org.apache.log.output.io.rotate.RevolvingFileStrategy
Creation of a new instane ofthe revolving file strategy.
rotate() - Method in class org.apache.log.output.io.rotate.RotatingFileTarget
Rotates the file.
RotateStrategy - Interface in org.apache.log.output.io.rotate
Strategy that checks condition under which file rotation is needed.
RotateStrategyByDate - Class in org.apache.log.output.io.rotate
Rotation stragety based on SimpleDateFormat.
RotateStrategyByDate() - Constructor for class org.apache.log.output.io.rotate.RotateStrategyByDate
Creation of a new rotation strategy based on a date policy.
RotateStrategyByDate(String) - Constructor for class org.apache.log.output.io.rotate.RotateStrategyByDate
Creation of a new rotation strategy based on a date policy using a supplied pattern.
RotateStrategyBySize - Class in org.apache.log.output.io.rotate
Rotation strategy based on size written to log file.
RotateStrategyBySize() - Constructor for class org.apache.log.output.io.rotate.RotateStrategyBySize
Rotate logs by size.
RotateStrategyBySize(long) - Constructor for class org.apache.log.output.io.rotate.RotateStrategyBySize
Rotate logs by size.
RotateStrategyByTime - Class in org.apache.log.output.io.rotate
rotation stragety based when log writting started.
RotateStrategyByTime() - Constructor for class org.apache.log.output.io.rotate.RotateStrategyByTime
Rotate logs by time.
RotateStrategyByTime(long) - Constructor for class org.apache.log.output.io.rotate.RotateStrategyByTime
Rotate logs by time.
RotateStrategyByTimeOfDay - Class in org.apache.log.output.io.rotate
Rotation stragety based on a specific time of day.
RotateStrategyByTimeOfDay() - Constructor for class org.apache.log.output.io.rotate.RotateStrategyByTimeOfDay
Rotate logs at specific time of day.
RotateStrategyByTimeOfDay(long) - Constructor for class org.apache.log.output.io.rotate.RotateStrategyByTimeOfDay
Rotate logs at specific time of day.
RotatingFileTarget - Class in org.apache.log.output.io.rotate
This is a basic Output log target that writes to rotating files.
RotatingFileTarget(boolean, Formatter, RotateStrategy, FileStrategy) - Constructor for class org.apache.log.output.io.rotate.RotatingFileTarget
Construct RotatingFileTarget object.
RotatingFileTarget(Formatter, RotateStrategy, FileStrategy) - Constructor for class org.apache.log.output.io.rotate.RotatingFileTarget
Construct RotatingFileTarget object.
run() - Method in class org.apache.log.output.AsyncLogTarget
Thread startup.

S

SafeFileTarget - Class in org.apache.log.output.io
A target that will open and close a file for each logevent.
SafeFileTarget(File, boolean, Formatter) - Constructor for class org.apache.log.output.io.SafeFileTarget
Construct file target to write to a file with a formatter.
safeGetLogTargets() - Method in class org.apache.log.Logger
Retrieve logtarget array contained in logger.
send() - Method in class org.apache.log.output.net.SMTPOutputLogTarget
Helper method to send the currently buffered message, if existing.
send(Message) - Method in class org.apache.log.output.jms.AbstractJMSTarget
 
send(Message) - Method in class org.apache.log.output.jms.JMSQueueTarget
 
send(Message) - Method in class org.apache.log.output.jms.JMSTopicTarget
 
ServletOutputLogTarget - Class in org.apache.log.output
Generic logging interface.
ServletOutputLogTarget(ServletContext) - Constructor for class org.apache.log.output.ServletOutputLogTarget
Constructor.
ServletOutputLogTarget(ServletContext, Formatter) - Constructor for class org.apache.log.output.ServletOutputLogTarget
Constructor.
set(String, Object) - Method in class org.apache.log.ContextMap
Set a value in context
setAdditivity(boolean) - Method in class org.apache.log.Logger
Make this logger additive.
setCategory(String) - Method in class org.apache.log.LogEvent
Set the LogEvent category.
setContextMap(ContextMap) - Method in class org.apache.log.LogEvent
Set the ContextMap for this LogEvent.
setDebug(boolean) - Method in class org.apache.log.output.net.SMTPOutputLogTarget
Method to enable/disable debugging on the mail session.
setDefaultLogTarget(LogTarget) - Method in class org.apache.log.Hierarchy
Set the default log target for hierarchy.
setDefaultLogTargets(LogTarget[]) - Method in class org.apache.log.Hierarchy
Set the default log targets for this hierarchy.
setDefaultPriority(Priority) - Method in class org.apache.log.Hierarchy
Set the default priority for hierarchy.
setErrorHandler(ErrorHandler) - Method in interface org.apache.log.ErrorAware
Provide component with ErrorHandler.
setErrorHandler(ErrorHandler) - Method in class org.apache.log.Hierarchy
Set the ErrorHandler associated with hierarchy.
setErrorHandler(ErrorHandler) - Method in class org.apache.log.output.AbstractTarget
Provide component with ErrorHandler.
setErrorHandler(ErrorHandler) - Method in class org.apache.log.output.AsyncLogTarget
Provide component with ErrorHandler.
setFile(File, boolean) - Method in class org.apache.log.output.io.FileTarget
Set the file for this target.
setLoginTimeout(int) - Method in class org.apache.log.output.db.DefaultDataSource
Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.
setLogTargets(LogTarget[]) - Method in class org.apache.log.Logger
Set the log targets for this logger.
setLogWriter(PrintWriter) - Method in class org.apache.log.output.db.DefaultDataSource
 
setMessage(String) - Method in class org.apache.log.LogEvent
Set the message for LogEvent.
setNDCFormatter(Formatter) - Method in class org.apache.log.output.lf5.LF5LogTarget
Sets the Formatter that will be used to produce the "NDC" (nested diagnostic context) text on the GUI.
setOutputStream(OutputStream) - Method in class org.apache.log.output.io.StreamTarget
Set the output stream.
setOverwrite(boolean) - Method in class org.apache.log.output.MemoryTarget
Set flag indicating whether it is valid to overwrite memory buffer.
setPrintCategory(boolean) - Method in class org.apache.log.format.XMLFormatter
Print out category field to log.
setPrintContext(boolean) - Method in class org.apache.log.format.XMLFormatter
Print out context field to log.
setPrintException(boolean) - Method in class org.apache.log.format.XMLFormatter
Print out exception field to log.
setPrintMessage(boolean) - Method in class org.apache.log.format.XMLFormatter
Print out message field to log.
setPrintPriority(boolean) - Method in class org.apache.log.format.XMLFormatter
Print out priority field to log.
setPrintRelativeTime(boolean) - Method in class org.apache.log.format.XMLFormatter
Print out relativeTime field to log.
setPrintTime(boolean) - Method in class org.apache.log.format.XMLFormatter
Print out time field to log.
setPriority(Priority) - Method in class org.apache.log.LogEvent
Set the priority of LogEvent.
setPriority(Priority) - Method in class org.apache.log.Logger
Set the priority for this logger.
setProperty(TextMessage, int, LogEvent) - Method in class org.apache.log.output.jms.TextMessageBuilder
Set a property
setThrowable(Throwable) - Method in class org.apache.log.LogEvent
Set the throwable for LogEvent.
setTime(long) - Method in class org.apache.log.LogEvent
Set the absolute time of LogEvent.
setupErrorHandlers() - Method in class org.apache.log.Logger
Set ErrorHandlers of LogTargets if necessary.
setWriter(Writer) - Method in class org.apache.log.output.io.WriterTarget
Set the writer.
shouldPush(LogEvent) - Method in class org.apache.log.output.MemoryTarget
Determine if LogEvent should initiate a push to target.
shutdownStream() - Method in class org.apache.log.output.io.StreamTarget
Shutdown output stream.
shutdownWriter() - Method in class org.apache.log.output.io.WriterTarget
Shutdown Writer.
SMTPOutputLogTarget - Class in org.apache.log.output.net
Logkit output target that logs data via SMTP.
SMTPOutputLogTarget(Session, Address[], Address, String, int, int, Formatter) - Constructor for class org.apache.log.output.net.SMTPOutputLogTarget
SMTPOutputLogTarget constructor.
SMTPOutputLogTarget(Session, Address[], Address, String, int, Formatter) - Constructor for class org.apache.log.output.net.SMTPOutputLogTarget
SMTPOutputLogTarget constructor.
SocketOutputTarget - Class in org.apache.log.output.net
SocketOutputTarget Useful for writing the output to a TCP/IP client socket.
SocketOutputTarget(String, int) - Constructor for class org.apache.log.output.net.SocketOutputTarget
Creates the output target with the end point specified by host and port
SocketOutputTarget(InetAddress, int) - Constructor for class org.apache.log.output.net.SocketOutputTarget
Creates output target with the end point specified by the address and port
SPACE_1 - Static variable in class org.apache.log.format.PatternFormatter
 
SPACE_16 - Static variable in class org.apache.log.format.PatternFormatter
 
SPACE_2 - Static variable in class org.apache.log.format.PatternFormatter
 
SPACE_4 - Static variable in class org.apache.log.format.PatternFormatter
 
SPACE_8 - Static variable in class org.apache.log.format.PatternFormatter
 
specifyColumn(PreparedStatement, int, LogEvent) - Method in class org.apache.log.output.db.DefaultJDBCTarget
Adds a single object into statement.
specifyColumn(PreparedStatement, int, LogEvent) - Method in class org.apache.log.output.db.NormalizedJDBCTarget
Adds a single object into statement.
StackIntrospector - Class in org.apache.log.util
A set of utilities to inspect current stack frame.
StackIntrospector() - Constructor for class org.apache.log.util.StackIntrospector
Private constructor to block instantiation.
StackIntrospector.CallStack - Class in org.apache.log.util
Hack to get the call stack as an array of classes.
START_TIME - Static variable in class org.apache.log.LogEvent
 
STATIC - Static variable in class org.apache.log.output.db.ColumnType
 
STATIC - Static variable in class org.apache.log.output.jms.PropertyType
 
STATIC_STR - Static variable in class org.apache.log.output.db.ColumnType
The maximum value used for TYPEs.
STATIC_STR - Static variable in class org.apache.log.output.jms.PropertyType
The maximum value used for TYPEs.
StreamTarget - Class in org.apache.log.output.io
A basic target that writes to an OutputStream.
StreamTarget(OutputStream, Formatter) - Constructor for class org.apache.log.output.io.StreamTarget
Constructor that writes to a stream and uses a particular formatter.
StreamTarget(OutputStream, Formatter, String) - Constructor for class org.apache.log.output.io.StreamTarget
Constructor that writes to a stream and uses a particular formatter.
SyslogFormatter - Class in org.apache.log.format
A formatter that serializes in the format originally used by BSD syslog daemon.
SyslogFormatter() - Constructor for class org.apache.log.format.SyslogFormatter
Constructor that assumes FACILITY_USER.
SyslogFormatter(int) - Constructor for class org.apache.log.format.SyslogFormatter
Constructor so that you can associate facility with formatter.
SyslogFormatter(int, boolean) - Constructor for class org.apache.log.format.SyslogFormatter
Constructor allowing setting of facility and whether to show banner.

T

TextMessageBuilder - Class in org.apache.log.output.jms
Basic message factory that stores LogEvent in Message.
TextMessageBuilder(Formatter) - Constructor for class org.apache.log.output.jms.TextMessageBuilder
Creation of a new text message builder.
TextMessageBuilder(PropertyInfo[], Formatter) - Constructor for class org.apache.log.output.jms.TextMessageBuilder
Creation of a new text message builder.
THROWABLE - Static variable in class org.apache.log.output.db.ColumnType
 
THROWABLE - Static variable in class org.apache.log.output.jms.PropertyType
 
THROWABLE_STR - Static variable in class org.apache.log.output.db.ColumnType
 
THROWABLE_STR - Static variable in class org.apache.log.output.jms.PropertyType
 
TIME - Static variable in class org.apache.log.output.db.ColumnType
 
TIME - Static variable in class org.apache.log.output.jms.PropertyType
 
TIME_24_HOURS - Static variable in class org.apache.log.output.io.rotate.RotateStrategyByTimeOfDay
Constant that stores the the number of ms in 24 hours.
TIME_STR - Static variable in class org.apache.log.output.db.ColumnType
 
TIME_STR - Static variable in class org.apache.log.output.jms.PropertyType
 
toLogLevel(Priority) - Method in class org.apache.log.output.lf5.LogKitLogRecord
Convert a LogKit Priority to a LogFactor LogLevel.
toString() - Method in class org.apache.log.Priority
Overidden string to display Priority in human readable form.
TYPE_CATEGORY - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_CATEGORY_STR - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_CONTEXT - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_CONTEXT_STR - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_MESSAGE - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_MESSAGE_STR - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_METHOD - Static variable in class org.apache.log.format.ExtendedPatternFormatter
 
TYPE_METHOD_STR - Static variable in class org.apache.log.format.ExtendedPatternFormatter
 
TYPE_PRIORITY - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_PRIORITY_STR - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_RELATIVE_TIME - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_RELATIVE_TIME_STR - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_TEXT - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_THREAD - Static variable in class org.apache.log.format.ExtendedPatternFormatter
 
TYPE_THREAD - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_THREAD_STR - Static variable in class org.apache.log.format.ExtendedPatternFormatter
 
TYPE_THREAD_STR - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_THROWABLE - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_THROWABLE_STR - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_TIME - Static variable in class org.apache.log.format.PatternFormatter
 
TYPE_TIME_STR - Static variable in class org.apache.log.format.PatternFormatter
 

U

UniqueFileStrategy - Class in org.apache.log.output.io.rotate
Strategy for naming log files based on appending time suffix.
UniqueFileStrategy(File) - Constructor for class org.apache.log.output.io.rotate.UniqueFileStrategy
Creation of a new Unique File Strategy ??
UniqueFileStrategy(File, String) - Constructor for class org.apache.log.output.io.rotate.UniqueFileStrategy
Creation of a new Unique File Strategy ??
UniqueFileStrategy(File, String, String) - Constructor for class org.apache.log.output.io.rotate.UniqueFileStrategy
Creation of a new Unique File Strategy ??
unsetLogTargets() - Method in class org.apache.log.Logger
Unset the logtargets for this logger.
unsetLogTargets(boolean) - Method in class org.apache.log.Logger
Unset the logtargets for this logger and all child loggers if recursive is set.
unsetPriority() - Method in class org.apache.log.Logger
Unset the priority of Logger.
unsetPriority(boolean) - Method in class org.apache.log.Logger
Unset the priority of Logger.
unwrap(Class) - Method in class org.apache.log.output.db.DefaultDataSource
 

W

warn(String) - Method in class org.apache.log.Logger
Log a warn priority event.
warn(String, Throwable) - Method in class org.apache.log.Logger
Log a warn priority event.
WARN - Static variable in class org.apache.log.Priority
A problem or conflict has occurred but it may be recoverable, then again it could be the start of the system failing.
write(int) - Method in class org.apache.log.util.LoggerOutputStream
Write a single byte of data to output stream.
write(String) - Method in class org.apache.log.output.AbstractOutputTarget
Abstract method to write data.
write(String) - Method in class org.apache.log.output.io.rotate.RotatingFileTarget
Output the log message, and check if rotation is needed.
write(String) - Method in class org.apache.log.output.io.StreamTarget
Abstract method that will output event.
write(String) - Method in class org.apache.log.output.io.WriterTarget
Concrete implementation of output that writes out to underlying writer.
write(String) - Method in class org.apache.log.output.net.DatagramOutputTarget
Method to write output to datagram.
write(String) - Method in class org.apache.log.output.net.SMTPOutputLogTarget
Method to write data to the log target.
write(String) - Method in class org.apache.log.output.NullOutputLogTarget
Do nothing output method.
write(String) - Method in class org.apache.log.output.ServletOutputLogTarget
Logs message to servlet context log file
write(LogEvent) - Method in class org.apache.log.output.net.SocketOutputTarget
Writes the output as a LogEvent without formatting.
writeHead() - Method in class org.apache.log.output.AbstractOutputTarget
Helper method to write out log head.
WriterTarget - Class in org.apache.log.output.io
This target outputs to a writer.
WriterTarget(Writer, Formatter) - Constructor for class org.apache.log.output.io.WriterTarget
Construct target with a specific writer and formatter.
writeTail() - Method in class org.apache.log.output.AbstractOutputTarget
Helper method to write out log tail.

X

XMLFormatter - Class in org.apache.log.format
Basic XML formatter that writes out a basic XML-ified log event.
XMLFormatter() - Constructor for class org.apache.log.format.XMLFormatter
 
A B C D E F G H I J L M N O P R S T U W X 
Skip navigation links

Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.