public interface LogManagerMXBean
An MBean with name ECE Logging:type=Configuration will be registered on each node to manage the node's logging levels.
Note that this MBean does not allow cluster-wide logging management, which is not supported at runtime by ECE. Cluster-wide logging management can only be configured offline via the config/log4j2.xml. This file must be synchronized (using the 'sync' ECC command) across all the ECE nodes in order for the settings to be in effect when the cluster is started or restarted.
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getFunctionalDomains()
Get all the functional domains
|
java.util.Map<java.lang.String,java.lang.String> |
getLoggerLevels()
Get all loggers' level on this node
|
void |
setGridLogLevel(java.lang.String loggerName,
java.lang.String levelString)
Set the log level in all nodes in Grid.
|
void |
setGridLogLevelForFunctionalDomain(java.lang.String functionalDomain,
java.lang.String levelString)
Set the log level for a specific functional domain in all nodes of Grid.
|
void |
setLogLevel(java.lang.String loggerName,
java.lang.String levelString)
Set the log level in local node
|
void |
setLogLevelForFunctionalDomain(java.lang.String functionalDomain,
java.lang.String levelString)
Set the log level for a specific functional domain in local node
|
void |
updateSubscriberTraceConfiguration()
Update subscriber trace configuration from configuration file
|
void setGridLogLevel(java.lang.String loggerName, java.lang.String levelString)
loggerName
- logger namelevelString
- log level as string. see org.apache.logging.log4j.Level
void setGridLogLevelForFunctionalDomain(java.lang.String functionalDomain, java.lang.String levelString)
functionalDomain
- the domain for which log level should be setlevelString
- log level as string. see org.apache.logging.log4j.Level
void setLogLevel(java.lang.String loggerName, java.lang.String levelString)
loggerName
- logger namelevelString
- log level as string. see org.apache.logging.log4j.Level
void setLogLevelForFunctionalDomain(java.lang.String functionalDomain, java.lang.String levelString)
functionalDomain
- the domain for which log level should be setlevelString
- log level as string. see org.apache.logging.log4j.Level
java.util.Map<java.lang.String,java.lang.String> getLoggerLevels()
java.util.Set<java.lang.String> getFunctionalDomains()
void updateSubscriberTraceConfiguration()