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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic voidRedirectsjava.util.loggingto Apache Log4j do not log below INFO level.static voidredirectToLog4j(Level threshold) Redirectsjava.util.loggingto Apache Log4j do not log below the threshold level.static voidreset()Resetsjava.util.loggingredirections.
-
Method Details
-
redirectToLog4j
public static void redirectToLog4j()Redirectsjava.util.loggingto Apache Log4j do not log below INFO level. -
redirectToLog4j
Redirectsjava.util.loggingto Apache Log4j do not log below the threshold level.- Since:
- 5.4.2
-
reset
public static void reset()Resetsjava.util.loggingredirections.
-