jgroup.util.log
Class JdkLogManager
java.lang.Object
java.util.logging.LogManager
jgroup.util.log.JdkLogManager
public class JdkLogManager
- extends java.util.logging.LogManager
JDK LogManager with support for using system
property references.
E.g for setting the system property log.dir,
you can use ${log.dir} in the java logging.properties
file.
- Author:
- Rohnny Moland
Fields inherited from class java.util.logging.LogManager |
LOGGING_MXBEAN_NAME |
Method Summary |
java.lang.String |
getProperty(java.lang.String name)
Find all ${..} and replace with the system
property if exist. |
void |
readConfiguration(java.io.InputStream in)
Create the log directory if it does not
exist. |
Methods inherited from class java.util.logging.LogManager |
addLogger, addPropertyChangeListener, checkAccess, getLogger, getLoggerNames, getLoggingMXBean, getLogManager, readConfiguration, removePropertyChangeListener, reset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdkLogManager
public JdkLogManager()
getProperty
public java.lang.String getProperty(java.lang.String name)
- Find all ${..} and replace with the system
property if exist.
- Overrides:
getProperty
in class java.util.logging.LogManager
readConfiguration
public void readConfiguration(java.io.InputStream in)
throws java.io.IOException,
java.net.UnknownHostException
- Create the log directory if it does not
exist.
- Overrides:
readConfiguration
in class java.util.logging.LogManager
- Throws:
java.io.IOException
java.net.UnknownHostException
Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.