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

The AsyncAppender example has a bug

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.1
    • None
    • None
    • appenders manual

    Description

      On the page: http://logging.apache.org/log4j/2.x/manual/appenders.html

      If you look at the AsyncAppender example it has a lower case 'p' in the closing "Pattern"
      <Pattern>%d %p %c

      {1.} [%t] %m%n</pattern>

      Should be:
      <Pattern>%d %p %c{1.}

      [%t] %m%n</Pattern>

      Attachments

        Activity

          People

            rpopma Remko Popma
            bpritzker Ben Pritzker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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