Creation of a new instance of the AbstractJDBCTarget.
A target that writes to a JMS Topic.
Parameterless constructor.
Creation of a new abstract output target instance.
AbstractTarget constructor.
AbstractTarget constructor.
Abstract base class for targets that wrap other targets.
Creation of a new wrapping log target.
Creation of a new wrapping log target.
Set the LoggerListener associated with hierarchy.
Extract and build a pattern from input string.
Add a new target to output chain.
Extract and build a text run from input string.
Utility to append a string to buffer given certain constraints.
Append a certain number of whitespace characters to a StringBuffer.
An asynchronous LogTarget that sends entries on in another thread.
Creation of a new async log target.
Creation of a new async log target.
Creation of a new async log target.
Creation of a new async log target.
Default context map formatter
Method that searches through files that
match the pattern for resolving file and determine
the last generation written to.
Return the rotation for the specified file
Generate an array of rotation numbers for all the files specified.
Hack to get the call stack as an array of classes.
Separator character use to separate different categories
Utility method to check connection and bring it back up if necessary.
Utility method to verify that Context is read-only.
Make sure stream is valid.
Interface implemented by LogTargets that are capable of being
closed.
Close connection to underlying database.
Close connection to underlying database.
A descriptor for each column stored in table.
Creation of a new column info instance.
A class to hold all constants for ColumnTypes.
The ContextMap contains non-hierarchical context information
relevant to a particular LogEvent.
Constructor that sets parent contextMap.
A datagram output target.
Create a output target with end point specified by address and port.
Create a output target with end point specified by address and port.
Create a output target with end point specified by address and port.
Developer orientated messages, usually used during development of product.
Log a debug priority event.
Log a debug priority event.
A basic datasource that doesn't do any pooling but just wraps
around default mechanisms.
Handle unrecoverable errors that occur during logging by
writing to standard error.
The basic DB target for configurable output formats.
Creation of a new JDBC logging target.
Process a log event, via formatting and outputting it.
Process a log event, via formatting and outputting it.
Process a log event, via formatting and outputting it.
Process a log event by adding it to queue.
Process a log event, via formatting and outputting it.
Process a log event, via formatting and outputting it.
A problem has occurred but it is not fatal.
Log a error priority event.
Log a error priority event.
Log an unrecoverable error.
Log an unrecoverable error.
Log an unrecoverable error.
Interface implemented by components that wish to
delegate ErrorHandling to an ErrorHandler.
Handle unrecoverable errors that occur during logging.
Formatter especially designed for debugging applications.
Creation of a new extended pattern formatter.
Creation of a new extended pattern formatter.
Something caused whole system to fail.
Log a fatalError priority event.
Log a fatalError priority event.
Strategy for naming log files.
A basic target that writes to a File.
Construct file target to write to a file with a formatter.
Flush data to underlying logger.
Helper method to format an event into a string, using the formatter if available.
Serialize log event into string.
Format the event according to the pattern.
Format log event into string.
Format log event into syslog string.
Format log event into string.
Formats a single pattern run (can be extended in subclasses).
Formats a single pattern run (can be extended in subclasses).
This defines the interface for components that wish to serialize
LogEvents into Strings.
Returns the current execution stack as an array of classes.
Get an entry from the context.
Get an entry from the context.
Return the auxillary column information.
Return the property auxilliary information
Find the caller of the passed in Class.
Find the caller of the passed in Class.
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.
Create Hack SecurityManager to get CallStack.
Get the category that LogEvent relates to.
Utility method to format category.
Create a new child logger.
Get all the child Loggers of current logger.
Return the column info for an supplied index.
Utility method for subclasses to access connection.
Attempt to establish a database connection.
Attempt to establish a database connection.
Get ContextMap associated with LogEvent
Utility method to format context map.
Get the Current ContextMap.
Get the Current ContextMap.
Retrieve the current rotation number.
Retrieve the default hierarchy.
Get the default LogBrokerMonitor
instance.
Helper method to retrieve ErrorHandler for subclasses.
Retrieve description for facility.
Retrieve file associated with target.
Helper method to retrieve head for log session.
Retrieve a logger for named category.
Gets the maximum time in seconds that this data source can wait while
attempting to connect to a database.
Return the target for subclasses
Get the log writer for this data source.
Get a list of files that could have been part of the rotation.
Get the message associated with event.
Utility method to format message.
Utility method to format category.
Get Priority for LogEvent.
Get formatted priority string.
Retrieve a Priority object for the name parameter.
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.
Get the time of the log event relative to start of application.
Utility method to retrieve logger for hierarchy.
Utility method to format relative time.
Get the number of contexts in map.
Utility method to format stack trace.
Return the SQL insert statement.
Get facility associated with event.
Get syslog priority code for LogEvent.
Return the underlying table
Helper method to retrieve tail for log session.
Utility thread to format category.
Get formatted thread string.
Get throwabe instance associated with event.
Get the absolute time of the log event.
Utility method to format time.
Return the column type as an integer
Retrieve the type-id for a particular string.
Retrieve the type-id for a particular string.
Get numerical value associated with priority.
Useful information messages such as state changes, client connection, user login etc.
Log a info priority event.
Log a info priority event.
Inner class to redirect to hierarchys real LoggerListener if any.
Determine if messages of priority DEBUG will be logged.
Determine if messages of priority ERROR will be logged.
Determine if messages of priority FATAL_ERROR will be logged.
Check if memory buffer is full.
Test whether this priority is greater than other priority.
Determine if messages of priority INFO will be logged.
Test whether this priority is lower than other priority.
Test whether this priority is lower or equal to other priority.
Return the open state of the target.
Determine if messages of priority ???will be logged.
Determine if context is read-only.
check if now a log rotation is neccessary.
Check if a log rotation is neccessary at this time.
Test is a rotation is required.
Check if now a log rotation is neccessary.
Check if now a log rotation is neccessary.
Check if now a log rotation is neccessary.
Detect if connection is stale and should be reopened.
Test if the target is stale.
Determine if messages of priority WARN will be logged.
Create LogFactorLogTarget
on the default LogBrokerMonitor
.
Create a LogFactorLogTarget
on a given LogBrokerMonitor
.
Log a event at specific priority with a certain message.
Log a event at specific priority with a certain message and throwable.
This class encapsulates each individual log event.
The object interacted with by client objects to perform logging.
Protected constructor for use inside the logging toolkit.
Notify listener that a logger was created.
Notify listener that Logger was created.
The LoggerListener class is used to notify listeners
when a new Logger object is created.
Redirect an output stream to a logger.
Construct OutputStreamLogger to write to a particular logger at a particular priority.
The LogLevel
s corresponding to LogKit priorities.
An implementation of a LogFactor5
LogRecord
based on a
LogKit
LogEvent
.
Create a LogFactor record from a LogKit event
LogTarget is a class to encapsulate outputting LogEvent's.
True means LogEvents will be sent to parents LogTargets
aswell as the ones set for this Logger.
Buffer containing current mail.
The time that the first log entry in the current buffer arrived.
Time in ms that the current rotation started.
The encoding to use when creating byte array for string, may be null.
Address to mail is to be listed as sent from.
The maximun delay that a message will be allowed to wait in the queue
before being sent.
Maximum size of mail, in units of log events.
Monitor for this LogTarget
Current size of mail, in units of log events.
Output strem to write the log
OutputStream we are writing to.
Runner thread which is responsible for sending batched log entries in
the background.
Flag which will be set in the close method when it is time to shutdown.
Socket to communicate with the server
Log targets in filter chain
The rotation strategy used.
Make the context read-only.
The maximum value used for TYPEs.
Output LogEvents into an buffer in memory.
Creation of a new instance of the memory target.
Interface that classes implement to build JMS Messages.
Basic message factory that stores LogEvent in Message.
Open connection to underlying database.
Open connection to underlying database.
Open underlying file and allocate resources.
Avalon LogKit is the logging framework used throughout
the Avalon project.
This package contains formmaters that serialize LogEvents to strings.
This package contains some useful output destination LogTargets.
Database output destination LogTargets.
Stream anf file based output destination LogTargets.
Log file rotation policies.
JMS based output destination LogTargets.
LogFactor5 (Swing GUI) based LogTarget.
Datagram, Socket and SMTP output destination LogTargets.
Utilities suppporting the logging framework.
Hierarchical rotation strategy.
Output a log event to DB.
Output a log event to DB.
Internal method to do actual outputting.
Parse the input pattern and build internal data structures.
This formater formats the LogEvents according to a input pattern
string.
Creation of a new patter formatter baseed on a supplied pattern.
Class representing and holding constants for priority.
Private Constructor to block instantiation outside class.
This is a priority filtering target that forwards only requests
to other (wrapped) targets that have the same or a higher
priority.
Process a log event, via formatting and outputting it.
Process a log event, via formatting and outputting it.
A descriptor for each message property.
Creation of a new property info instance.
A class to hold all constants for PropertyTypes.
Push log events to target.
Basic formatter that just returns raw
message string and ignores remainder of LogEvent.
Helper method that sets context to read-only after de-serialization.
Helper method that replaces deserialized priority with correct singleton.
Helper method that replaces deserialized object with correct singleton.
Remove the LoggerListener associated with hierarchy.
Reset cumulative rotation history data.
Reset log size written so far.
reset interval history counters.
reset interval history counters.
Update logTargets of children if any.
Update priority of children if any.
Update logTarget of this Logger.
Update priority of this Logger.
strategy for naming log files based on appending revolving suffix.
Creation of a new instane ofthe revolving file strategy.
Creation of a new instane ofthe revolving file strategy.
Strategy that checks condition under which file rotation is needed.
Rotation stragety based on SimpleDateFormat.
Creation of a new rotation strategy based on a date policy.
Creation of a new rotation strategy based on a date policy
using a supplied pattern.
Rotation strategy based on size written to log file.
rotation stragety based when log writting started.
Rotation stragety based on a specific time of day.
Rotate logs at specific time of day.
Rotate logs at specific time of day.
This is a basic Output log target that writes to rotating files.
Construct RotatingFileTarget object.
Construct RotatingFileTarget object.
A target that will open and close a file for each logevent.
Construct file target to write to a file with a formatter.
Retrieve logtarget array contained in logger.
Helper method to send the currently buffered message,
if existing.
Generic logging interface.
Make this logger additive.
Set the LogEvent category.
Set the ContextMap for this LogEvent.
Method to enable/disable debugging on the mail session.
Set the default log target for hierarchy.
Set the default log targets for this hierarchy.
Set the default priority for hierarchy.
Provide component with ErrorHandler.
Provide component with ErrorHandler.
Provide component with ErrorHandler.
Set the ErrorHandler associated with hierarchy.
Set the file for this target.
Sets the maximum time in seconds that this data source will wait
while attempting to connect to a database.
Set the log targets for this logger.
Set the message for LogEvent.
Sets the
Formatter
that will be used to produce the "NDC" (nested diagnostic
context) text on the GUI.
Set flag indicating whether it is valid to overwrite memory buffer.
Print out category field to log.
Print out context field to log.
Print out exception field to log.
Print out message field to log.
Print out priority field to log.
Print out relativeTime field to log.
Print out time field to log.
Set the priority of LogEvent.
Set the priority for this logger.
Set the throwable for LogEvent.
Set the absolute time of LogEvent.
Set ErrorHandlers of LogTargets if necessary.
Determine if LogEvent should initiate a push to target.
Logkit output target that logs data via SMTP.
SMTPOutputLogTarget constructor.
SMTPOutputLogTarget constructor.
SocketOutputTarget
Useful for writing the output to a TCP/IP client socket.
Creates output target with the end point specified by the address and port
Creates the output target with the end point specified by host and port
Adds a single object into statement.
Adds a single object into statement.
A set of utilities to inspect current stack frame.
Private constructor to block instantiation.
The maximum value used for TYPEs.
The maximum value used for TYPEs.
A basic target that writes to an OutputStream.
Constructor that writes to a stream and uses a particular formatter.
Constructor that writes to a stream and uses a particular formatter.
A formatter that serializes in the format originally
used by BSD syslog daemon.
Constructor that assumes FACILITY_USER.
Constructor so that you can associate facility with formatter.
Constructor allowing setting of facility and whether to show banner.
A problem or conflict has occurred but it may be recoverable, then
again it could be the start of the system failing.
Log a warn priority event.
Log a warn priority event.
Write a single byte of data to output stream.
Writes the output as a LogEvent without formatting.
Abstract method to write data.
Method to write output to datagram.
Do nothing output method.
Output the log message, and check if rotation is needed.
Logs message to servlet context log file
Method to write data to the log target.
Abstract method that will output event.
Concrete implementation of output that writes out to underlying writer.
Helper method to write out log head.
This target outputs to a writer.
Construct target with a specific writer and formatter.
Helper method to write out log tail.