Details
-
Documentation
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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?")