org.apache.logging.julbridge
Class JULBridgeLogManager
java.lang.Object
java.util.logging.LogManager
org.apache.logging.julbridge.JULBridgeLogManager
public class JULBridgeLogManager
- extends java.util.logging.LogManager
Another way to bridge JUL->log4j is be configure custom JUL LogManager class by configuring the java.util.logging.manager system property, so
by specifing this classname as the value for that property you can immediately transfel all JUL events straight into log4j.
Just add this to your command-line JVM arguments:
-Djava.util.logging.manager=org.apache.logging.julbridge.JULBridgeLogManager
- Author:
- Brett Randall
| Fields inherited from class java.util.logging.LogManager |
LOGGING_MXBEAN_NAME |
| Methods inherited from class java.util.logging.LogManager |
addLogger, addPropertyChangeListener, checkAccess, getLogger, getLoggerNames, getLoggingMXBean, getLogManager, getProperty, readConfiguration, removePropertyChangeListener, reset |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JULBridgeLogManager
public JULBridgeLogManager()
readConfiguration
public void readConfiguration()
throws java.io.IOException,
java.lang.SecurityException
- Overrides:
readConfiguration in class java.util.logging.LogManager
- Throws:
java.io.IOException
java.lang.SecurityException
Copyright © 2007-2008 Apache Software Foundation. All Rights Reserved.