| java.lang.Object org.jacorb.config.LogKitLoggerFactory
LogKitLoggerFactory | public class LogKitLoggerFactory implements LoggerFactory(Code) | | JacORB logger factory that creates named Avalon loggers with logkit
as the underlying log mechanism. The semantics here is that any
names logger retrieved using the logkit naming conventions for
nested loggers will inherit its parent loggers log target e.g., a
logger retrieved for jacorb.naming
inherits the root logger's target (ie. System.err , or
a file.
Log priorities for new loggers are also inherited from the parent
logger. If no parent logger is available the priority defaults to the
value of this factory's defaultPriority field. The
priorities for loggers can be set via
configuration properties that have the same name as the requested
logger, plus a suffix of .log.verbosity .
The priority for all loggers that do not have a specific .log.verbosity
prop defined will be set to the value of the jacorb.log.default.verbosity
property, if it's set. If not, the default is 0.
author: Gerald Brose version: $Id: LogKitLoggerFactory.java,v 1.6 2006/07/17 09:05:30 alphonse.bendt Exp $ since: JacORB 2.0 beta 3 |
configure | public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException(Code) | | |
getLoggingBackendName | final public String getLoggingBackendName()(Code) | | the name of the actual, underlying logging mechanism,here "logkit" |
getNamedLogger | public Logger getNamedLogger(String name)(Code) | | Parameters: name - the name of the logger, which also functionsas a log category a Logger for a given name |
getNamedLogger | public Logger getNamedLogger(String name, String logFileName, long maxLogSize) throws IOException(Code) | | Parameters: name - - the name of the logger, which also functionsas a log category Parameters: logFileName - - the name of the file to log to Parameters: maxLogSize - - maximum size of the log file. When this size is reachedthe log file will be rotated and a new log file created. A value of 0means the log file size is unlimited. the new logger. |
getNamedRootLogger | public Logger getNamedRootLogger(String name)(Code) | | Parameters: name - - the name of the logger, which also functionsas a log category a root console logger for a logger name hierarchy |
|
|