Package org.yamcs.logging
Class YamcsLogManager
java.lang.Object
java.util.logging.LogManager
org.yamcs.logging.YamcsLogManager
Customized version of
LogManager
so that we can keep logging from within shutdown hooks.
This LogManager must be activated early via a JVM property java.util.logging.manager
-
Field Summary
Fields inherited from class java.util.logging.LogManager
LOGGING_MXBEAN_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
reset()
Does nothing.static LogManager
setup
(InputStream inputStream) static void
shutdown()
Reset the logging configurationMethods inherited from class java.util.logging.LogManager
addConfigurationListener, addLogger, checkAccess, getLogger, getLoggerNames, getLoggingMXBean, getLogManager, getProperty, readConfiguration, readConfiguration, removeConfigurationListener, updateConfiguration, updateConfiguration
-
Constructor Details
-
YamcsLogManager
public YamcsLogManager()
-
-
Method Details
-
reset
public void reset()Does nothing.- Overrides:
reset
in classLogManager
-
setup
- Throws:
IOException
-
shutdown
public static void shutdown()Reset the logging configuration
-