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

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0-rc1, 2.1
    • None
    • Configurators

    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

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

              Dates

                Created:
                Updated: