org.apache.hivemind.management.log4j
Interface LogManagement
- All Known Implementing Classes:
- LogManagementMBean
public interface LogManagement
Interface of the LogManagementMBean service This is not the mbean management interface. *
- Since:
- 1.1
- Author:
- Achim Huegen
Method Summary |
void |
addLoggerMBean(java.lang.String loggerPattern)
Adds a MBean for a logger or a group of loggers that matches a pattern. |
addLoggerMBean
void addLoggerMBean(java.lang.String loggerPattern)
- Adds a MBean for a logger or a group of loggers that matches a pattern. The pattern kann
contain '*' as wildcard character. If no wildcard is used the logger is created if it doesn't
exist. This is useful, since most loggers are not created before the defining class is
loaded. And this may be long after this MBean is registered. If a wildcard is used, only
loggers that already exist. Example: addLoggerMBean( "hivemind.*" )
- Parameters:
loggerPattern
- Name of the logger