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 02:19:00 UTC
[jira] [Updated] (LOG4J2-1954) Configurations with multiple root
loggers should fail loudly
[ https://issues.apache.org/jira/browse/LOG4J2-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Remko Popma updated LOG4J2-1954:
--------------------------------
Attachment: prevent-multiple-roots.png
> 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.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8
> Reporter: Remko Popma
> Attachments: prevent-multiple-roots.png
>
>
> 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)