- AbstractFilterTarget - Class in org.apache.log.filter
-
Abstract implementation of FilterTarget.
- AbstractFilterTarget() - Constructor for class org.apache.log.filter.AbstractFilterTarget
-
- 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.
- addLoggerListener(LoggerListener) - Method in class org.apache.log.Hierarchy
-
Set the LoggerListener associated with hierarchy.
- addTarget(LogTarget) - Method in class org.apache.log.filter.AbstractFilterTarget
-
Add a new target to output chain.
- addTarget(LogTarget) - Method in interface org.apache.log.FilterTarget
-
Deprecated.
Add a target to output chain.
- 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, int) - Constructor for class org.apache.log.output.AsyncLogTarget
-
Creation of a new async log target.
- AvalonFormatter - Class in org.apache.log.format
-
Deprecated.
Use org.apache.avalon.framework.logger.AvalonFormatter
instead of this one.
- AvalonFormatter(String) - Constructor for class org.apache.log.format.AvalonFormatter
-
Deprecated.
Construct the formatter with the specified pattern
and which which prints out exceptions to stackDepth of 8.
- AvalonFormatter(String, int, boolean) - Constructor for class org.apache.log.format.AvalonFormatter
-
Deprecated.
Construct the formatter with the specified pattern
and which which prints out exceptions to stackDepth specified.
- DatagramOutputTarget - Class in org.apache.log.output
-
Deprecated.
Use org.apache.log.output.net.DatagramOutputTarget instead
- DatagramOutputTarget(InetAddress, int, Formatter) - Constructor for class org.apache.log.output.DatagramOutputTarget
-
Deprecated.
Create a output target with end point specified by address and port.
- DatagramOutputTarget(InetAddress, int) - Constructor for class org.apache.log.output.DatagramOutputTarget
-
Deprecated.
Create a output target with end point specified by address and port.
- DatagramOutputTarget - Class in org.apache.log.output.net
-
A datagram output target.
- 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) - Constructor for class org.apache.log.output.net.DatagramOutputTarget
-
Create a output target with end point specified by address and port.
- debug(String, Throwable) - Method in class org.apache.log.Logger
-
Log a debug priority event.
- debug(String) - 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_PRINT_CASCADING - Static variable in class org.apache.log.format.AvalonFormatter
-
Deprecated.
The constant defining the default behaviour for printing
nested exceptions.
- DEFAULT_STACK_DEPTH - Static variable in class org.apache.log.format.AvalonFormatter
-
Deprecated.
The constant defining the default stack depth when
none other is specified.
- 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.
- DefaultOutputLogTarget - Class in org.apache.log.output
-
Deprecated.
Use org.apache.log.output.io.WriterTarget or
org.apache.log.output.io.StreamTarget as appropriate
as this class encourages unsafe behaviour
- DefaultOutputLogTarget(Formatter) - Constructor for class org.apache.log.output.DefaultOutputLogTarget
-
Deprecated.
- DefaultOutputLogTarget() - Constructor for class org.apache.log.output.DefaultOutputLogTarget
-
Deprecated.
Default Constructor.
- DefaultOutputLogTarget(OutputStream) - Constructor for class org.apache.log.output.DefaultOutputLogTarget
-
Deprecated.
Constructor that takes a stream arguement.
- DefaultOutputLogTarget(Writer) - Constructor for class org.apache.log.output.DefaultOutputLogTarget
-
Deprecated.
Constructor that takes a writer parameter.
- DefaultOutputLogTarget(Writer, Formatter) - Constructor for class org.apache.log.output.DefaultOutputLogTarget
-
Deprecated.
- 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
- 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, Throwable) - Method in class org.apache.log.Logger
-
Log a fatalError priority event.
- fatalError(String) - Method in class org.apache.log.Logger
-
Log a fatalError priority event.
- FileOutputLogTarget - Class in org.apache.log.output
-
Deprecated.
Use org.apache.log.output.io.FileTarget as this class is not thread safe
- FileOutputLogTarget() - Constructor for class org.apache.log.output.FileOutputLogTarget
-
Deprecated.
- FileOutputLogTarget(String) - Constructor for class org.apache.log.output.FileOutputLogTarget
-
Deprecated.
- FileOutputLogTarget(String, boolean) - Constructor for class org.apache.log.output.FileOutputLogTarget
-
Deprecated.
- 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.
- filter(LogEvent) - Method in class org.apache.log.filter.AbstractFilterTarget
-
Filter the log event.
- filter(LogEvent) - Method in class org.apache.log.filter.PriorityFilter
-
Filter the log event based on priority.
- FilterTarget - Interface in org.apache.log
-
Deprecated.
Interface offered no significant advantage and thus will no
longer be used by new interfaces
- 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 interface org.apache.log.Formatter
-
Deprecated.
Serialize log event into string.
- formatPatternRun(LogEvent, PatternFormatter.PatternRun) - Method in class org.apache.log.format.AvalonFormatter
-
Deprecated.
- 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.
- Formatter - Interface in org.apache.log
-
Deprecated.
Use org.apache.log.format.Formatter instead.
- get(String, Object) - Method in class org.apache.log.ContextMap
-
Get an entry from the context.
- get(String) - Method in class org.apache.log.ContextMap
-
Get an entry from the context.
- get(int) - Method in class org.apache.log.ContextStack
-
Deprecated.
Get the context at a particular depth.
- 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.
- getCategory(String, String) - Method in class org.apache.log.format.PatternFormatter
-
Utility method to format category.
- getCategory() - Method in class org.apache.log.LogEvent
-
Get the category that LogEvent relates to.
- getCategory() - Method in class org.apache.log.Logger
-
Deprecated.
This method violates Inversion of Control principle.
If you are relying on its presence then there may be
something wrong with the design of your system
- 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.
- getContext(ContextStack, String) - Method in class org.apache.log.format.PatternFormatter
-
Deprecated.
Use getContextStack rather than this method
- getContextMap(ContextMap, String) - Method in class org.apache.log.format.PatternFormatter
-
Utility method to format context map.
- getContextMap() - Method in class org.apache.log.LogEvent
-
Get ContextMap associated with LogEvent
- getContextStack(ContextStack, String) - Method in class org.apache.log.format.PatternFormatter
-
Utility method to format context.
- getContextStack() - Method in class org.apache.log.LogEvent
-
Deprecated.
ContextStack has been deprecated and thus so has this method
- 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.
- getCurrentContext() - Static method in class org.apache.log.ContextStack
-
Deprecated.
Get the Current ContextStack.
- getCurrentContext() - Static method in class org.apache.log.LogKit
-
Deprecated.
Use ContextStack.getCurrentContext() instead
- 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
-
Deprecated.
Access to formatter is not advised and this method will be removed
in future iterations. It remains only for backwards compatability.
- 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.
- getLoggerFor(String) - Static method in class org.apache.log.LogKit
-
Deprecated.
Use Hierarchy.getDefaultHierarchy().getLoggerFor() instead
- 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.
- getLogTargets() - Method in class org.apache.log.Logger
-
Deprecated.
This method is deprecated and will be removed in Future version.
Previously it allowed unsafe access to logtargets which permitted
masqurade attacks. It currently returns a zero sized array.
- getLogWriter() - Method in class org.apache.log.output.db.DefaultDataSource
-
Get the log writer for this data source.
- getMessage(String, String) - Method in class org.apache.log.format.PatternFormatter
-
Utility method to format message.
- getMessage() - Method in class org.apache.log.LogEvent
-
Get the message associated with event.
- 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(Priority, String) - Method in class org.apache.log.format.PatternFormatter
-
Get formatted priority string.
- getPriority() - Method in class org.apache.log.LogEvent
-
Get Priority for LogEvent.
- getPriority() - Method in class org.apache.log.Logger
-
Deprecated.
This method violates Inversion of Control principle.
It will downgraded to protected access in a future
release. When user needs to check priority it is advised
that they use the is[Priority]Enabled() functions.
- getPriorityForName(String) - Static method in class org.apache.log.LogKit
-
Deprecated.
Use Priority.getPriorityForName() instead
- 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.
- getSize() - Method in class org.apache.log.ContextStack
-
Deprecated.
Get the number of contexts in stack.
- getStackTrace(Throwable, String) - Method in class org.apache.log.format.AvalonFormatter
-
Deprecated.
Utility method to format stack trace.
- 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
- getThread(String) - Method in class org.apache.log.format.PatternFormatter
-
Get formatted thread string.
- getThrowable() - Method in class org.apache.log.LogEvent
-
Get throwabe instance associated with event.
- getTime(long, String) - Method in class org.apache.log.format.PatternFormatter
-
Utility method to format time.
- getTime() - Method in class org.apache.log.LogEvent
-
Get the absolute time of the log event.
- 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.AvalonFormatter
-
Deprecated.
Retrieve the type-id for a particular string.
- 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.
- info(String, Throwable) - Method in class org.apache.log.Logger
-
Log a info priority event.
- info(String) - 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.
- initPattern() - Method in class org.apache.log.output.DefaultOutputLogTarget
-
Deprecated.
This is no longer the recomended way to set formatter. It is recomended
that it be passed into constructor.
- 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.
- 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
-
- 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.filter - package org.apache.log.filter
-
This package contains filters to limit or modify LogEvents as
they are passed down LogEvent chain.
- 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(String) - Method in class org.apache.log.output.AbstractOutputTarget
-
Deprecated.
User should overide write() instead of output(). Output exists
for backwards compatability and will be removed in future.
- 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.
- OutputStreamLogger - Class in org.apache.log.util
-
Deprecated.
Use LoggerOutputStream as this class was misnamed.
- OutputStreamLogger(Logger, Priority) - Constructor for class org.apache.log.util.OutputStreamLogger
-
Deprecated.
Use LoggerOutputStream as this class was misnamed.
- parse(String) - Method in class org.apache.log.format.PatternFormatter
-
Parse the input pattern and build internal data structures.
- PatternFormatter - Class in org.apache.log.format
-
This formater formats the LogEvents according to a input pattern
string.
- PatternFormatter() - Constructor for class org.apache.log.format.PatternFormatter
-
Deprecated.
Use constructor PatternFormatter(String pattern) as this does not
correctly initialize object
- 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
-
- PatternFormatter.PatternRun() - Constructor for class org.apache.log.format.PatternFormatter.PatternRun
-
- pop() - Method in class org.apache.log.ContextStack
-
Deprecated.
Remove a context from top of stack and return it.
- PRIORITY - Static variable in class org.apache.log.output.db.ColumnType
-
- PRIORITY - Static variable in class org.apache.log.output.jms.PropertyType
-
- Priority - Class in org.apache.log
-
Class representing and holding constants for priority.
- 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
-
- PriorityFilter - Class in org.apache.log.filter
-
Filters log events based on priority.
- PriorityFilter(Priority) - Constructor for class org.apache.log.filter.PriorityFilter
-
Constructor that sets the priority that is filtered against.
- processEvent(LogEvent) - Method in class org.apache.log.filter.AbstractFilterTarget
-
Process a log event
- 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(Object) - Method in class org.apache.log.ContextStack
-
Deprecated.
Push the context onto top of context stack.
- push() - Method in class org.apache.log.output.MemoryTarget
-
Push log events to target.
- 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
-
- 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.
- 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.
- RotatingFileTarget - Class in org.apache.log.output.io.rotate
-
This is a basic Output log target that writes to rotating files.
- RotatingFileTarget(Formatter, RotateStrategy, FileStrategy) - Constructor for class org.apache.log.output.io.rotate.RotatingFileTarget
-
Construct RotatingFileTarget object.
- RotatingFileTarget(boolean, 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.
- 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.
- 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.
- set(String, Object) - Method in class org.apache.log.ContextMap
-
Set a value in context
- set(ContextStack) - Method in class org.apache.log.ContextStack
-
Deprecated.
Set the current ContextSet to be equl to other ContextStack.
- setAdditivity(boolean) - Method in class org.apache.log.Logger
-
Make this logger additive.
- setAppend(boolean) - Method in class org.apache.log.output.FileOutputLogTarget
-
Deprecated.
- 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.
- setContextStack(ContextStack) - Method in class org.apache.log.LogEvent
-
Deprecated.
ContextStack has been deprecated and thus so has this method
- 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.
- setDefaultLogTarget(LogTarget) - Static method in class org.apache.log.LogKit
-
Deprecated.
Use Hierarchy.getDefaultHierarchy().setDefaultLogTarget() instead
- 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.
- setFilename(String) - Method in class org.apache.log.output.FileOutputLogTarget
-
Deprecated.
Overwrites the m_output value in the super class through
assignment of an OutputStreamWriter based on a supplied
file path.
- setFormat(String) - Method in class org.apache.log.format.PatternFormatter
-
Deprecated.
Parse format in via constructor rather than use this method
- setFormat(String) - Method in class org.apache.log.output.DefaultOutputLogTarget
-
Deprecated.
This method is unsafe as it assumes formatter is PatternFormatter
and accesses a protected attribute. Instead of calling this method
It is recomended that a fully configured formatter is passed into
constructor.
- setFormatter(Formatter) - Method in class org.apache.log.output.AbstractOutputTarget
-
Deprecated.
In future this method will become protected access.
- 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.filter.PriorityFilter
-
Set priority used to filter.
- 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.
- 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.
- 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 (ie.
- SMTPOutputLogTarget(Session, Address[], Address, String, int, Formatter) - Constructor for class org.apache.log.output.net.SMTPOutputLogTarget
-
SMTPOutputLogTarget constructor, creates a logkit output target
capable of logging to SMTP (ie.
- SocketOutputTarget - Class in org.apache.log.output.net
-
SocketOutputTarget
Useful for writing the output to a TCP/IP client socket.
- 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
- 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
- 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.
- 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.
- 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.
- warn(String, Throwable) - Method in class org.apache.log.Logger
-
Log a warn priority event.
- warn(String) - 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(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(LogEvent) - Method in class org.apache.log.output.net.SocketOutputTarget
-
Writes the output as a LogEvent without formatting.
- 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(int) - Method in class org.apache.log.util.LoggerOutputStream
-
Write a single byte of data to output stream.
- 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.