Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3738

Watch Log4j configuration for live changes

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • None
    • 4.4.4
    • core

    Description

      info.magnolia.logging.Log4jConfigurer uses DOMConfigurator.configure(Element element) and PropertyConfigurator.configure(Properties properties), so the Log4j configuration is read once, but when we want to change the configuration, for instance to debug a problem on a production instance, we need to restart our Magnolia instances.

      If would be nice if the configureAndWatch(String configFilename) methods could be used instead, so changes to the Log4j configuration do not require restarting Magnolia.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              breun Nils Breunese
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD