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

Documentation for LoggerNameLevelRewritePolicy is wrong

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None

      Description

      The docs for LoggerNameLevelRewritePolicy 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?)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rpopma Remko Popma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: