Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8
-
None
Description
Log4j2 currently accepts configurations with multiple <root> elements without errors or warnings. Based on multiple questions I've seen on StackOverflow, such configurations rarely work correctly.
During initialization, Log4j2 should detect this problem and fail with an ERROR (or FATAL) message.