Remko Popma created LOG4J2-1381:
-----------------------------------

             Summary: 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


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. (Or 
should the code be modified to match the docs instead?)
* property {{LevelPair}} (in the parameter table) should be {{KeyValuePair}} 
instead. The example configuration is correct here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to