[jboss-jira] [JBoss JIRA] (LOGMGR-227) Introduce a ConfigurationFactory with a priority to indicate which LogContextConfigurator to use

James Perkins (Jira) issues at jboss.org
Thu Dec 6 22:18:00 EST 2018


James Perkins created LOGMGR-227:
------------------------------------

             Summary: Introduce a ConfigurationFactory with a priority to indicate which LogContextConfigurator to use
                 Key: LOGMGR-227
                 URL: https://issues.jboss.org/browse/LOGMGR-227
             Project: JBoss Log Manager
          Issue Type: Enhancement
          Components: core
            Reporter: James Perkins
            Assignee: James Perkins


In LOGMGR-212 a {{LogContextConfigurator}} was introduced to allow a log context to be configured. This originally just grabbed the first in {{LogContextConfigurator}} from the service loader and used that. However it is desirable to have a priority so a {{LogContextConfigurator}} can be overridden by a higher priority configurator.

The best way to deal with this would be to introduce a {{ConfiguratorFactory}} that has a priority and is responsible for creating a {{LogContextConfigurator}}.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list