logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4J2-1381) Documentation for LoggerNameLevelRewritePolicy is wrong
Date Thu, 06 Oct 2016 05:27:20 GMT

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

Remko Popma updated LOG4J2-1381:
--------------------------------
    Fix Version/s:     (was: 2.7)
                   2.8

> 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
>
>
> 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.4#6332)

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


Mime
View raw message