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

Documentation for LoggerNameLevelRewritePolicy is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.5
    • None
    • Documentation
    • 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

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

            Dates

              Created:
              Updated: