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

The attribute of Route to refer to an appender is "ref" not "AppenderRef"

    Details

    • Type: Documentation
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta9
    • Fix Version/s: 2.0-rc1
    • Component/s: Appenders
    • Labels:

      Description

      First of all, thanks for so much enhancements on log4j2. : )
      Just a small problem of the manual. The example of Routes(http://logging.apache.org/log4j/2.x/manual/appenders.html#RoutingAppender) uses attribute "AppenderRef" to reference an appender, which is not correct. I've searched the source code, find the attribute should be "ref".

        Attachments

          Activity

            People

            • Assignee:
              remkop@yahoo.com Remko Popma
              Reporter:
              ryanHD Hongdi Ren
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified