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

Make it easier to swtich log4j configuration files

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.12.0
    • Component/s: None
    • Labels:
      None

      Description

      Our app needs to have log4j switch to a different xml configuration after application startup.
      The code currently does:
      ((org.apache.logging.log4j.core.LoggerContext) LogManager.getContext(false)).reconfigure();
      [~ralph.goers@dslextreme.com] suggested
      That could certainly be added to the Configurator class as
      Configurator.reconfigure();

        Attachments

          Activity

            People

            • Assignee:
              rgoers Ralph Goers
              Reporter:
              CasaDelGato John Lussmyer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: