public class LogManager extends LogManager
LogManagerthat insures that the
Levels.HANDLEDfields, instances of
Level, have been initialized, and that can periodically check for changes to the logging configuration file and force it to be reread. Use this class as the value of the
java.util.logging.managersystem property to permit specifying the symbolic names for the
HANDLEDlogging levels in standard logging configuration files, or to allow changes to the logging configuration file to be noticed.
com.sun.jini.logging.interval logging property (obtained
LogManager.getProperty) specifies the time interval in milliseconds
between probes to see if the logging configuration file has changed;
periodic checking only takes place if the value is greater than zero. (If a
new logging configuration file is read, this property can be redefined.)
The logging configuration file is specified by the
java.util.logging.config.file system property (which is
sampled at every probe), if defined, otherwise it is the
logging.properties file in the
of the directory specified by the
java.home system property.
The file is read if the name of the file differs from that used in the
previous probe or if the file has a different modification time.
This implementation uses the
com.sun.jini.logging.LogManager to log information at the
following logging levels:
|if an exception occurs while rereading the logging configuration file|
|each time the logging configuration file is successfully reread|
|termination of probes because interval is less than or equal to zero|
|Constructor and Description|
Creates an instance of this class.
|Modifier and Type||Method and Description|
Reinitialize the logging properties and reread the logging configuration, and initiate probes if the probe interval is greater than zero.
addLogger, addPropertyChangeListener, checkAccess, getLogger, getLoggerNames, getLoggingMXBean, getLogManager, getProperty, readConfiguration, removePropertyChangeListener, reset
Copyright © GigaSpaces.