You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Matt Sicker (JIRA)" <ji...@apache.org> on 2017/04/23 18:00:05 UTC

[jira] [Assigned] (LOG4J2-1885) documentation error regarding additivity default value

     [ https://issues.apache.org/jira/browse/LOG4J2-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Sicker reassigned LOG4J2-1885:
-----------------------------------

    Assignee: Matt Sicker

> documentation error regarding additivity default value
> ------------------------------------------------------
>
>                 Key: LOG4J2-1885
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1885
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 2.8.2
>            Reporter: Hal Deadman
>            Assignee: Matt Sicker
>              Labels: documentation
>
> On this page: https://logging.apache.org/log4j/2.x/manual/configuration.html
> There is the following sentence:
> "The additivity attribute may be assigned a value of true or false. If the attribute is omitted the default value of false will be used."
> Additivity controls the inheritance of appenders from parent loggers, correct? There are examples in the documentation that say will you will get duplicate logging if you don't set additivity to false (if you are setting the same appender at the root and on the logger). That implies that the default additivity is true, which would be consistent with logback, log4j, etc. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)