@Deprecated public class LogManager extends LogManager
LogManager
to add
functionalities, such as adding our logger listening to DS changes, etc.LOGGING_MXBEAN_NAME
Constructor and Description |
---|
LogManager()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addLogger(Logger logger)
Deprecated.
Adds a logger to the Log Manager.
|
String[] |
getAllFields()
Deprecated.
Return the array of all LogRecord fields available for selection.
|
protected String |
getBackend()
Deprecated.
|
boolean |
getDidFirstReadConfig()
Deprecated.
|
boolean |
getLoggingStatusIsActive()
Deprecated.
|
Set |
getSelectedFieldSet()
Deprecated.
Return the LogRecord fields selected to be included.
|
protected boolean |
isDBLogging()
Deprecated.
|
boolean |
isSecure()
Deprecated.
Return whether secure logging is specified.
|
void |
logStopLogs()
Deprecated.
|
void |
readConfiguration()
Deprecated.
This method overrides the
readConfiguration method in
JDK LogManager class. |
void |
updateMonitConfigForLogService()
Deprecated.
This method is called from two places, from readConfiguration() and from
Logger.getLoggers().
|
addPropertyChangeListener, checkAccess, getLogger, getLoggerNames, getLoggingMXBean, getLogManager, getProperty, readConfiguration, removePropertyChangeListener, reset
public boolean addLogger(Logger logger)
addLogger
in class LogManager
logger
- Logger object to be added to the Log Manager.public final boolean isSecure()
securityStatus
public final String[] getAllFields()
allFields
public final Set getSelectedFieldSet()
selectedFieldSet
public final void readConfiguration() throws IOException, 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.readConfiguration
in class LogManager
IOException
- if there are IO problems reading the configuration.SecurityException
- if a security manager exists and if the caller
does not have LoggingPermission("control")
.public void updateMonitConfigForLogService()
public boolean getLoggingStatusIsActive()
protected String getBackend()
protected boolean isDBLogging()
public boolean getDidFirstReadConfig()
public void logStopLogs()
Copyright © 2010-2018, ForgeRock All Rights Reserved.