Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.common.logging
Class JavaUtilLoggingHelper

java.lang.Object
  extended by org.nuxeo.common.logging.JavaUtilLoggingHelper

public class JavaUtilLoggingHelper
extends Object

Helper that can redirect all java.util.logging messages to the Apache Commons Logging implementation.

Author:
Florent Guillaume

Nested Class Summary
static class JavaUtilLoggingHelper.LogHandler
           
 
Method Summary
static void redirectToApacheCommons()
          Redirects java.util.logging to Apache Commons Logging do not log below INFO level.
static void redirectToApacheCommons(Level threshold)
          Redirects java.util.logging to Apache Commons Logging do not log below the threshold level.
static void reset()
          Resets java.util.logging redirections.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

redirectToApacheCommons

public static void redirectToApacheCommons()
Redirects java.util.logging to Apache Commons Logging do not log below INFO level.


redirectToApacheCommons

public static void redirectToApacheCommons(Level threshold)
Redirects java.util.logging to Apache Commons Logging do not log below the threshold level.

Since:
5.4.2

reset

public static void reset()
Resets java.util.logging redirections.


Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.