Class LoggingInitializer


  • public class LoggingInitializer
    extends java.lang.Object
    Configures the logging based on logback-{logIdentifier}.xml specified. This file would be copied to work directory and then logging would be configured based on that The log file is configured for auto scan so any change made while oak-run is in progress would be picked up
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggingInitializer​(java.io.File workDir, java.lang.String logIdentifier)  
      LoggingInitializer​(java.io.File workDir, java.lang.String logIdentifier, boolean reset)  
    • Constructor Detail

      • LoggingInitializer

        public LoggingInitializer​(java.io.File workDir,
                                  java.lang.String logIdentifier)
      • LoggingInitializer

        public LoggingInitializer​(java.io.File workDir,
                                  java.lang.String logIdentifier,
                                  boolean reset)
    • Method Detail

      • init

        public void init()
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • shutdownLogging

        public static void shutdownLogging()