Package org.restheart.utils
Class LoggingInitializer
java.lang.Object
org.restheart.utils.LoggingInitializer
- Author:
- Andrea Di Cesare <[email protected]>
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyFullstacktraceOption
(boolean fullStacktrace) used to change the log pattern for console appenderstatic void
setLogLevel
(List<String> packages, ch.qos.logback.classic.Level level) static void
startFileLogging
(String logFilePath, boolean fullStacktrace) static void
static void
-
Method Details
-
setLogLevel
- Parameters:
level
-
-
applyFullstacktraceOption
public static void applyFullstacktraceOption(boolean fullStacktrace) used to change the log pattern for console appender- Parameters:
fullStacktrace
-
-
stopConsoleLogging
public static void stopConsoleLogging() -
startFileLogging
- Parameters:
logFilePath
-
-
stopLogging
public static void stopLogging()
-