[MAGNOLIA-311] Logging configuration with paths relative to webapp root Created: 13/Mar/05  Updated: 20/Feb/15  Resolved: 13/Mar/05

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: Improvement Priority: Major
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

If Log4j configuration uses relative paths, they need to be relative to the webapp root, just like all the other configuration variables.



 Comments   
Comment by Fabrizio Giustina [ 13/Mar/05 ]

Added to svn trunk.
Servlet based initialization of Log4j has been reintroduced (was removed after 2.0 but an explicit initialization is required to set system properties). See info.magnolia.logging.Log4JConfigurer or web.xml for details.
Also converted log4j configuration to xml and added async (faster) appenders.

Generated at Mon Feb 12 03:16:10 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.