logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4J2-1381) Documentation for LoggerNameLevelRewritePolicy is wrong
Date Sun, 29 May 2016 16:44:13 GMT

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

Gary Gregory updated LOG4J2-1381:
---------------------------------
    Fix Version/s:     (was: 2.6)
                   2.6.1

> 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.6.1
>
>
> 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