Package com.arcadedb.server
Class ServerLogManager
- java.lang.Object
-
- java.util.logging.LogManager
-
- com.arcadedb.server.ServerLogManager
-
public class ServerLogManager extends LogManager
Delay the reset after the server completed the shutdown. Credits: Peter Lawrey (https://stackoverflow.com/questions/13825403/java-how-to-get-logger-to-work-in-shutdown-hook)- Author:
- Luca Garulli ([email protected])
-
-
Field Summary
-
Fields inherited from class java.util.logging.LogManager
LOGGING_MXBEAN_NAME
-
-
Constructor Summary
Constructors Constructor Description ServerLogManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
enableReset(boolean value)
void
reset()
static void
resetFinally()
-
Methods inherited from class java.util.logging.LogManager
addConfigurationListener, addLogger, checkAccess, getLogger, getLoggerNames, getLoggingMXBean, getLogManager, getProperty, readConfiguration, readConfiguration, removeConfigurationListener, updateConfiguration, updateConfiguration
-
-
-
-
Method Detail
-
enableReset
public static void enableReset(boolean value)
-
reset
public void reset()
- Overrides:
reset
in classLogManager
-
resetFinally
public static void resetFinally()
-
-