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

Best practice: move log4j2.xml in test resources

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 6.1
    • None
    • None
    • None

    Description

      While working on SRE-394 I stumbled upon main's log4j2.xml, which isn't used in Magnolia webapps, because the empty webapp's log4j2.xml has precedence over it.

      It is therefore a bad practice to ship this file in our JARs, the only thing this could possibly be leading to is confusion as to which file is being actually picked up in the end.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              mmichel Maxime Michel
              mmichel Maxime Michel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR