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

Provide API for programmatic JMXConfigurator registration

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • logback-classic

    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

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

            Dates

              Created:
              Updated: