Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-586

Capability to merge LoggerContexts or dynamically add an additional ConfigurationSource to a context.

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-rc1, 2.1
    • Fix Version/s: None
    • Component/s: Configurators
    • Labels:

      Description

      Looking to use log4j2 in a spring application that uses profiles, which historically used the DOMConfigurator to pull in profile specific log4j.xml's. Ask is for a similar feature (not xinclude) that could be issued at runtime. Not looking to reconfigure any loggers, just create a logger context from the additional file and then merge it into the root (or any) logger context.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jahutton James Hutton
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: