Class JulProvider

java.lang.Object
io.helidon.logging.jul.JulProvider
All Implemented Interfaces:
LoggingProvider

public class JulProvider extends Object implements LoggingProvider
JUL Logging provider. You do not need to explicitly configure Java Util logging as long as a file logging.properties is on the classpath or in the current directory, or you configure logging explicitly using System properties. Both "java.util.logging.config.class" and "java.util.logging.config.file" are honored. If you wish to configure the logging system differently, just do not include the file and/or system properties, or set system property "io.helidon.logging.config.disabled" to true.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor required by ServiceLoader.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This is executed at static initialization, such as when building GraalVM native image or when starting the application.
    void
    Runtime configuration, called when the application starts in GraalVM native image (not called when running on hotspot).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JulProvider

      public JulProvider()
      Default constructor required by ServiceLoader.
  • Method Details

    • initialization

      public void initialization()
      Description copied from interface: LoggingProvider
      This is executed at static initialization, such as when building GraalVM native image or when starting the application.
      Specified by:
      initialization in interface LoggingProvider
    • runTime

      public void runTime()
      Description copied from interface: LoggingProvider
      Runtime configuration, called when the application starts in GraalVM native image (not called when running on hotspot).
      Specified by:
      runTime in interface LoggingProvider