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.loggingmessages to the Apache Commons Logging implementation.- Author:
 - Florent Guillaume
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJavaUtilLoggingHelper.LogHandler 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidredirectToApacheCommons()Redirectsjava.util.loggingto Apache Commons Logging do not log below INFO level.static voidredirectToApacheCommons(Level threshold)Redirectsjava.util.loggingto Apache Commons Logging do not log below the threshold level.static voidreset()Resetsjava.util.loggingredirections. 
 - 
 
- 
- 
Method Detail
- 
redirectToApacheCommons
public static void redirectToApacheCommons()
Redirectsjava.util.loggingto Apache Commons Logging do not log below INFO level. 
- 
redirectToApacheCommons
public static void redirectToApacheCommons(Level threshold)
Redirectsjava.util.loggingto Apache Commons Logging do not log below the threshold level.- Since:
 - 5.4.2
 
 
- 
reset
public static void reset()
Resetsjava.util.loggingredirections. 
 - 
 
 -