Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1194

Documentation does not match parameters for LoggerNameLevelRewritePolicy

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.5
    • Component/s: Documentation
    • Labels:
      None

      Description

      I've been trying to configure the LoggerNameLevelRewriteFilter based on the documentation:
      https://logging.apache.org/log4j/2.x/manual/appenders.html

      but, the parameters in the doc, don't match the parameters in the JavaDoc:
      https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/appender/rewrite/LoggerNameLevelRewritePolicy.html

      Based on the error messages, it seems like the JavaDoc parameters are correct.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              abrin adam brin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: