Package org.nuxeo.common.logging
Class JavaUtilLoggingHelper
- java.lang.Object
-
- org.nuxeo.common.logging.JavaUtilLoggingHelper
-
public class JavaUtilLoggingHelper extends Object
Helper that can redirect alljava.util.logging
messages to the Apache Commons Logging implementation.- Author:
- Florent Guillaume
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JavaUtilLoggingHelper.LogHandler
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
redirectToApacheCommons()
Redirectsjava.util.logging
to Apache Commons Logging do not log below INFO level.static void
redirectToApacheCommons(Level threshold)
Redirectsjava.util.logging
to Apache Commons Logging do not log below the threshold level.static void
reset()
Resetsjava.util.logging
redirections.
-
-
-
Method Detail
-
redirectToApacheCommons
public static void redirectToApacheCommons()
Redirectsjava.util.logging
to Apache Commons Logging do not log below INFO level.
-
redirectToApacheCommons
public static void redirectToApacheCommons(Level threshold)
Redirectsjava.util.logging
to Apache Commons Logging do not log below the threshold level.- Since:
- 5.4.2
-
reset
public static void reset()
Resetsjava.util.logging
redirections.
-
-