| org.apache.catalina.logger.TomcatMonologFileLogger
TomcatMonologFileLogger | public class TomcatMonologFileLogger extends LoggerBase (Code) | | Implementation of Logger that appends log messages to a file
named {prefix}.{date}.{suffix} in a configured directory, with an
optional preceding timestamp.
author: Igor Smirnov version: $Revision: v1.0 |
Method Summary | |
public synchronized void | configure(String monologConfFile) | public synchronized void | configure() | public void | configure(Config logConfig) | public void | log(String msg) Writes the specified message to a servlet log file, usually an event
log. | public void | start() | public void | stop() Gracefully terminate the active use of the public methods of this
component. |
info | final protected static String info(Code) | | The descriptive information about this implementation.
|
configure | public void configure(Config logConfig) throws ConfigException(Code) | | Configure Logger with given config section
Parameters: logConfig - containing parameters for configuring logger |
log | public void log(String msg)(Code) | | Writes the specified message to a servlet log file, usually an event
log. The name and type of the servlet log is specific to the
servlet container.
Parameters: msg - A String specifying the message to be writtento the log file |
start | public void start() throws LifecycleException(Code) | | |
stop | public void stop() throws LifecycleException(Code) | | Gracefully terminate the active use of the public methods of this
component. This method should be the last one called on a given
instance of this component.
exception: LifecycleException - if this component detects a fatal errorthat needs to be reported |
|
|