public class UnresettableLogManager extends LogManager
reset(). This is useful to avoid missing
log statements that occur during vm shutdown. The standard LogManager installs a
shutdown hook that disables logging and this subclass
nullifies that shutdown hook by disabling any reset of the LogManager by default.| Modifier and Type | Field and Description |
|---|---|
static String |
LOGGING_MANAGER
The system property that controls which LogManager the java.util.logging subsystem should load.
|
LOGGING_MXBEAN_NAME| Constructor and Description |
|---|
UnresettableLogManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
reset() |
addLogger, addPropertyChangeListener, checkAccess, getLogger, getLoggerNames, getLoggingMXBean, getLogManager, getProperty, readConfiguration, readConfiguration, removePropertyChangeListenerpublic static final String LOGGING_MANAGER
public void reset()
throws SecurityException
reset in class LogManagerSecurityException