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"

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-beta9
    • 2.0-rc1
    • Appenders

    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

            rpopma Remko Popma
            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