com.pega.pegarules.management
Class LoggingLevelSettings
java.lang.Object
MBeanHelper
com.pega.pegarules.management.LoggingLevelSettings
public class LoggingLevelSettings
- extends MBeanHelper
Method Summary |
java.lang.String |
getCategory()
|
java.lang.String |
GetCurrentLevel(java.lang.String aLoggerName)
This method displays the current log4j logging level for the specified logger. |
java.lang.String |
GetLoggers()
|
java.lang.String |
getMajorVersion()
|
java.lang.String |
getMinorVersion()
|
java.lang.String |
getName()
|
java.lang.String |
ResetAll()
This method resets all loggers to the default logging levels specified in the
prlogging.xml file. |
void |
setCategory(java.lang.String aCategory)
|
java.lang.String |
SetLevel(java.lang.String aLoggerName,
java.lang.String aLevel)
This method sets a new logging level for the specified logger. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
VERSION
public static final java.lang.String VERSION
LoggingLevelSettings
public LoggingLevelSettings()
getCategory
public java.lang.String getCategory()
setCategory
public void setCategory(java.lang.String aCategory)
getName
public java.lang.String getName()
getMajorVersion
public java.lang.String getMajorVersion()
getMinorVersion
public java.lang.String getMinorVersion()
SetLevel
public java.lang.String SetLevel(java.lang.String aLoggerName,
java.lang.String aLevel)
- This method sets a new logging level for the specified logger.
- Parameters:
aLoggerName
- The name of the logger. Logging can be set for a
specific Java class or for a rule (such as an activity, model, etc. –
either the rule type [Rule-Obj-Activity], or a specific instance of the rule
[DisplayStream]).aLevel
- The log4j priority levels of log messages are as follows,
in decreasing order of severity: FATAL, ERROR, ALERT, WARN, INFO, DEBUG- Since:
- PRPC v5.1
GetCurrentLevel
public java.lang.String GetCurrentLevel(java.lang.String aLoggerName)
- This method displays the current log4j logging level for the specified logger.
- Parameters:
aLoggerName
- The name of the logger. Logging can be set for a
specific Java class or for a rule (such as an activity, model, etc. –
either the rule type [Rule-Obj-Activity], or a specific instance of the rule
[DisplayStream]).- Since:
- PRPC v5.1
GetLoggers
public java.lang.String GetLoggers()
ResetAll
public java.lang.String ResetAll()
- This method resets all loggers to the default logging levels specified in the
prlogging.xml file.
- Since:
- PRPC v5.1