Package org.nuxeo.common.logging
Class JavaUtilLoggingHelper
java.lang.Object
org.nuxeo.common.logging.JavaUtilLoggingHelper
Helper that can redirect all
java.util.logging
messages to the Apache Commons Logging implementation.- Author:
- Florent Guillaume
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Redirectsjava.util.logging
to Apache Log4j do not log below INFO level.static void
redirectToLog4j
(Level threshold) Redirectsjava.util.logging
to Apache Log4j do not log below the threshold level.static void
reset()
Resetsjava.util.logging
redirections.
-
Method Details
-
redirectToLog4j
public static void redirectToLog4j()Redirectsjava.util.logging
to Apache Log4j do not log below INFO level. -
redirectToLog4j
Redirectsjava.util.logging
to Apache Log4j do not log below the threshold level.- Since:
- 5.4.2
-
reset
public static void reset()Resetsjava.util.logging
redirections.
-