Class 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 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.