You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Remko Popma (JIRA)" <ji...@apache.org> on 2017/06/25 01:31:02 UTC
[jira] [Created] (LOG4J2-1954) Configurations with multiple root
loggers should fail loudly
Remko Popma created LOG4J2-1954:
-----------------------------------
Summary: Configurations with multiple root loggers should fail loudly
Key: LOG4J2-1954
URL: https://issues.apache.org/jira/browse/LOG4J2-1954
Project: Log4j 2
Issue Type: Bug
Components: Configurators
Affects Versions: 2.8, 2.7, 2.6, 2.5, 2.4, 2.3, 2.2, 2.1, 2.0
Reporter: Remko Popma
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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)