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] [Created] (LOG4J2-1381) Documentation for LoggerNameLevelRewritePolicy is wrong
Date Mon, 09 May 2016 04:41:12 GMT
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

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

View raw message