[MAGNOLIA-7460] Best practice: move log4j2.xml in test resources Created: 07/Feb/19  Updated: 16/Apr/19  Resolved: 01/Mar/19

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1

Type: Task Priority: Neutral
Reporter: Maxime Michel Assignee: Maxime Michel
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 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.


Generated at Mon Feb 12 04:23:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.