org.jboss.logging.jdk
Class JDKLogManager
java.lang.Object
java.util.logging.LogManager
org.jboss.logging.jdk.JDKLogManager
public class JDKLogManager
- extends LogManager
- Version:
- $Revision: 1.1 $
- Author:
- Scott.Stark@jboss.org
Method Summary |
void |
doReset()
Invokes the LogManager.reset() method. |
void |
readConfiguration()
Overriden to attempt to load the java.util.logging.config.file property value
as a classpath resource before treating this as a file as is done by the
standard jdk LogManager. |
void |
reset()
Ignore the reset operation because the default behavior by the jdk LogManager
is to close all handlers. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDKLogManager
public JDKLogManager()
readConfiguration
public void readConfiguration()
throws IOException,
SecurityException
- Overriden to attempt to load the java.util.logging.config.file property value
as a classpath resource before treating this as a file as is done by the
standard jdk LogManager.
In additional, if the resource ends in a .xml suffix, the
org.jboss.logging.jdk.xml.DOMConfigurator is used to parse a logging
configuration that is similar to the 1.2 log4j.xml format.
- Overrides:
readConfiguration
in class LogManager
- Throws:
IOException
SecurityException
reset
public void reset()
- Ignore the reset operation because the default behavior by the jdk LogManager
is to close all handlers. This results in loss of logging information during
the jdk shutdown. The jboss kernel can call doReset to cause a reset of the
logging layer as the last step in shutdown.
- Overrides:
reset
in class LogManager
- See Also:
to force a reset
doReset
public void doReset()
- Invokes the LogManager.reset() method.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.