Public Member Functions | |
void | reset () throws SecurityException |
void | resetReally () throws SecurityException |
Private Member Functions | |
boolean | isShuttingDown () |
Private Attributes | |
final Thread | dummyHook = new DummyHook() |
java.util.logging.manager
property. Currently only differs from standard JDK LogManager in that it dodges the mean effects of the shutdown hook which calls LogManager#reset() too early. It thus allows the Java container (and the Java manager and potentially other users of acsjlog) to send remote log messages until the end.
Since ACS 7.0 the ClientLogManager no longer delegates logger requests to this class. It is just kept around until we know how to support the JVM logger introspection via java.util.logging.LoggingMXBean} and if we could implement that interface somewhere else.
|
Checks if the JVM is shutting down. Exploits the fact that adding a shutdown hook causes an IllegalStateException while shutting down. Better techniques are welcome!
|
|
Normal base class impl during normal operation, but no-op implementation during shutdown. This serves as a workaround to escape from resetting all loggers during a Ctrl-C shutdown, as triggered by To actually get the reset functionality (probably never needed in ALMA/ACS), call resetReally().
|
|
|
|
|