Class LoggingInitializer
- java.lang.Object
-
- org.apache.jackrabbit.oak.run.commons.LoggingInitializer
-
public class LoggingInitializer extends 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(File workDir, String logIdentifier)
LoggingInitializer(File workDir, String logIdentifier, boolean reset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
static void
shutdownLogging()
-
-
-
Method Detail
-
init
public void init() throws IOException
- Throws:
IOException
-
shutdownLogging
public static void shutdownLogging()
-
-