Package com.orientechnologies.common.log
Class ShutdownLogManager
java.lang.Object
java.util.logging.LogManager
com.orientechnologies.common.log.ShutdownLogManager
Inhibits the logs reset request which is typically done on shutdown. This allows to use JDK
logging from shutdown hooks.
-Djava.util.logging.manager=com.orientechnologies.common.log.ShutdownLogManager must be passed to
the JVM, to activate this log manager.
-
Field Summary
Fields inherited from class java.util.logging.LogManager
LOGGING_MXBEAN_NAME -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.logging.LogManager
addConfigurationListener, addLogger, checkAccess, getLogger, getLoggerNames, getLoggingMXBean, getLogManager, getProperty, readConfiguration, readConfiguration, removeConfigurationListener, updateConfiguration, updateConfiguration
-
Constructor Details
-
ShutdownLogManager
public ShutdownLogManager()
-
-
Method Details
-
reset
public void reset()- Overrides:
resetin classLogManager
-
shutdown
protected void shutdown()
-