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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreset()Does nothing.static LogManagersetup(InputStream inputStream) static voidshutdown()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:
resetin classLogManager
-
setup
- Throws:
IOException
-
shutdown
public static void shutdown()Reset the logging configuration
-