org.apache.avalon.excalibur.logger
Class Log4JConfLoggerManager
java.lang.Object
|
+--org.apache.avalon.excalibur.logger.AbstractLoggerManager
|
+--org.apache.avalon.excalibur.logger.Log4JLoggerManager
|
+--org.apache.avalon.excalibur.logger.Log4JConfLoggerManager
- All Implemented Interfaces:
- Configurable, LogEnabled, LoggerManager
- public class Log4JConfLoggerManager
- extends Log4JLoggerManager
- implements Configurable
A LoggerManager for Log4j that will configure the Log4j subsystem
using specified configuration.
- Version:
- $Revision: 1.4 $ $Date: 2004/02/28 11:47:33 $
- Author:
- Avalon Development Team
Fields inherited from interface org.apache.avalon.excalibur.logger.LoggerManager |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4JConfLoggerManager
public Log4JConfLoggerManager(String prefix,
String switchToCategory)
Log4JConfLoggerManager
public Log4JConfLoggerManager()
newInstance
public static Log4JConfLoggerManager newInstance(String prefix,
String switchToCategory)
- Work around a weird compilation problem. Can not call
the constructor from fortress/ContextManager, get a
file org\apache\log4j\spi\LoggerRepository.class not found
new Log4JConfLoggerManager( lmDefaultLoggerName, lmLoggerName );
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
ConfigurationException
Copyright © 1997-2004 The Apache Software Foundation. All Rights Reserved.