Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: clarify how Connect will use this feature

...

Code Block
languagejava
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:

...