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

Documentation does not match parameters for LoggerNameLevelRewritePolicy

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.5
    • Documentation
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment