]
James Perkins updated LOGMGR-227:
---------------------------------
Git Pull Request:
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
Priority: Major
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}}.