Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1371

Provide API for programmatic JMXConfigurator registration

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: logback-classic
    • Labels:

      Description

      There's an ongoing PR in Spring Boot that aims to provide better integration between Spring Boot's logging system and Logback's JMX configurator (see spring-projects/spring-boot#4486).

      As a part of this effort, we're subclassing Logback's JMXConfigurator in order to hook reload operations with Boot's logging system facilities and registering this customized JMXConfigurator programatically. Doing so, we're duplicating some of the code involved to registration of JMXConfigurator from ConfigurationDelegate#jmxConfigurator.

      To avoid this duplication, it would be nice if Logback could provide an API for programmatic JMXConfigurator registration.

        Attachments

          Activity

            People

            • Assignee:
              logback-dev Logback dev list
              Reporter:
              vpavic Vedran Pavic
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: