|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.logging.LogManager com.sun.identity.log.LogManager
This class keeps track of all the logger objects and does all the
book-keeping work. It is extended from JDK's LogManager
to add
functionalities like adding our logger listening to DS changes etc.
Field Summary | |
static java.lang.String |
FORMATTER
The formatter which depends on the log settings |
static java.lang.String |
HANDLER
The handler which will be added to each logger object |
static boolean |
isLocal
Is the Log Service running locally or remotely |
Constructor Summary | |
LogManager()
|
Method Summary | |
boolean |
addLogger(java.util.logging.Logger logger)
Adds a logger to the Log Manager. |
void |
readConfiguration()
This method overrides the readConfiguration method in
JDK LogManager class. |
Methods inherited from class java.util.logging.LogManager |
addPropertyChangeListener, checkAccess, getLogger, getLoggerNames, getLogManager, getProperty, readConfiguration, removePropertyChangeListener, reset |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean isLocal
public static java.lang.String HANDLER
public static java.lang.String FORMATTER
Constructor Detail |
public LogManager()
Method Detail |
public boolean addLogger(java.util.logging.Logger logger)
logger
- Logger object to be added to the Log Manager.
public void readConfiguration() throws java.io.IOException, java.lang.SecurityException
readConfiguration
method in
JDK LogManager
class.
The base class method resets the loggers in memory. This method
must add handlers to the loggers in memory according to the
new configuration.
java.io.IOException
- if there are IO problems reading the configuration.
java.lang.SecurityException
- if a security manager exists and if the caller
does not have LoggingPermission("control")
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |