com.sun.identity.log
クラス LogManager

java.lang.Object
  上位を拡張 java.util.logging.LogManager
      上位を拡張 com.sun.identity.log.LogManager

public class LogManager
extends LogManager

This class keeps track of all the logger objects and does all the bookkeeping work. It is extended from JDK's LogManager to add functionalities, such as adding our logger listening to DS changes, etc.


フィールドの概要
static String FORMATTER
          The formatter which depends on the log settings
static String HANDLER
          The handler which will be added to each logger object
static boolean isLocal
          Is the Log Service running locally or remotely
protected  Level loggingLevel
           
static boolean setMonitoringStatus
          Indicator for having set Monitoring Status
 
コンストラクタの概要
LogManager()
           
 
メソッドの概要
 boolean addLogger(Logger logger)
          Adds a logger to the Log Manager.
 String[] getAllFields()
          Return the array of all LogRecord fields available for selection.
 Set getSelectedFieldSet()
          Return the LogRecord fields selected to be included.
 boolean isSecure()
          Return whether secure logging is specified.
 void readConfiguration()
          This method overrides the readConfiguration method in JDK LogManager class.
 

フィールドの詳細

isLocal

public static boolean isLocal
Is the Log Service running locally or remotely


HANDLER

public static String HANDLER
The handler which will be added to each logger object


FORMATTER

public static String FORMATTER
The formatter which depends on the log settings


setMonitoringStatus

public static boolean setMonitoringStatus
Indicator for having set Monitoring Status


loggingLevel

protected Level loggingLevel
コンストラクタの詳細

LogManager

public LogManager()
メソッドの詳細

addLogger

public boolean addLogger(Logger logger)
Adds a logger to the Log Manager.

オーバーライド:
クラス LogManager 内の addLogger
パラメータ:
logger - Logger object to be added to the Log Manager.
戻り値:
true if the logger is added.

isSecure

public final boolean isSecure()
Return whether secure logging is specified.

戻り値:
securityStatus

getAllFields

public final String[] getAllFields()
Return the array of all LogRecord fields available for selection.

戻り値:
allFields

getSelectedFieldSet

public final Set getSelectedFieldSet()
Return the LogRecord fields selected to be included.

戻り値:
selectedFieldSet

readConfiguration

public final void readConfiguration()
This method overrides the 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.

オーバーライド:
クラス LogManager 内の readConfiguration
例外:
IOException - if there are IO problems reading the configuration.
SecurityException - if a security manager exists and if the caller does not have LoggingPermission("control").