You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2017/03/03 19:11:47 UTC

[jira] [Updated] (LOG4J2-1381) Documentation for LoggerNameLevelRewritePolicy is wrong

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

Ralph Goers updated LOG4J2-1381:
--------------------------------
    Fix Version/s:     (was: 2.8.1)
                   2.8.2

> Documentation for LoggerNameLevelRewritePolicy is wrong
> -------------------------------------------------------
>
>                 Key: LOG4J2-1381
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1381
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 2.5
>            Reporter: Remko Popma
>             Fix For: 2.8.2
>
>
> The docs for [LoggerNameLevelRewritePolicy |http://logging.apache.org/log4j/2.x/manual/appenders.html#RewriteAppender] are wrong:
> * property {{loggerName}} (both in the parameter table and in the example configuration): looking at the code, this should be {{logger}} instead.
> * property {{LevelPair}} (in the parameter table) should be {{KeyValuePair}} instead. The example configuration is correct here.
>  (Or should the code be modified to match the docs instead?)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org