THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
public class LogLevelManager { /** * Create and register a JMX mBean called Log4jController in the specified domain * * @param domain domain of the mBean */ public static void registerLog4jController(String domain) { // implementation } } |
Example Usage
Dynamic Log Levels in Connect
During startup, An application (such as the Connect worker ) will use the LogLevelManager
utility to initialize dynamic logging as follows:
...