| java.lang.Object org.jboss.util.Log4jLoggerFactory
Log4jLoggerFactory | public class Log4jLoggerFactory implements LoggerFactory(Code) | | JacORB logger factory that creates named Avalon loggers with log4j
as the underlying log mechanism.
author: Francisco Reverbel version: $Revision: 57194 $ |
configure | public void configure(Configuration configuration) throws ConfigurationException(Code) | | |
getLoggingBackendName | final public String getLoggingBackendName()(Code) | | Gets the name of the logging back-end mechanism.
the string "log4j" |
getNamedLogger | public Logger getNamedLogger(String name)(Code) | | Gets an Avalon logger by name.
Parameters: name - the name of the logger an org.apache.avalon.framework.logger.Logger instance |
getNamedLogger | public Logger getNamedLogger(String name, String logFileName, long maxLogSize) throws java.io.IOException(Code) | | Creates a named Avalon logger with given logFileName
and maxLogSize parameters. This is a dummy implementation
that always return null.
Parameters: name - the name of the logger Parameters: logFileName - the name of the file to log to Parameters: maxLogSize - maximum size of the log file. the new logger (null in this implementation). |
getNamedRootLogger | public Logger getNamedRootLogger(String name)(Code) | | Gets an Avalon root logger by name.
Parameters: name - the name of the logger an org.apache.avalon.framework.logger.Logger instance |
setDefaultLogFile | public void setDefaultLogFile(String fileName, long maxLogSize) throws java.io.IOException(Code) | | set the file name and max file size for logging to a file
|
|
|