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

Misleading Value In Properties Example

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: Documentation
    • Labels:
      None

      Description

      The parameter in the properties example is misleading:

      logger.rolling.name = org.apache.logging.log4j.core.appender.rolling

      The value here is actually the logger package name, but since it is given as log4j package, one tends not to change it. It should be something like com.foo.Bar as in the other examples. It actually took 2 hours for me to figure this out.

        Attachments

          Activity

            People

            • Assignee:
              garydgregory Gary Gregory
              Reporter:
              bahri.gencsoy Bahri Gencsoy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified