Class JavaUtilLoggingHelper

java.lang.Object
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
  • Method Details

    • redirectToLog4j

      public static void redirectToLog4j()
      Redirects java.util.logging to Apache Log4j do not log below INFO level.
    • redirectToLog4j

      public static void redirectToLog4j(Level threshold)
      Redirects java.util.logging to Apache Log4j do not log below the threshold level.
      Since:
      5.4.2
    • reset

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