Adrien Guerard created LOG4J2-2689:
--------------------------------------

             Summary: Inaccuracy in the 'Additivity' section of the 
'Configuration' web page
                 Key: LOG4J2-2689
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2689
             Project: Log4j 2
          Issue Type: Documentation
          Components: Documentation
            Reporter: Adrien Guerard


[https://logging.apache.org/log4j/2.0/manual/configuration.html] In the 
"Additivity" section, there's a code example to demonstrate how duplicate log 
lines are added when an appender is referenced in both root and child logger 
configs. 

The example incorrectly points out that only the TRACE logs are duplicated, 
when in reality both ERROR and TRACE logs from 'com.foo.Bar' are duplicated. 
Both the prose and sample output are incorrect. It's confusing for readers who 
think they understand additivity (e.g. "why would the author go out of their 
way to point out only the TRACE logs are duplicated?")



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to