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

The AsyncAppender example has a bug

    Details

    • Type: Documentation
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      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

            • Assignee:
              remkop@yahoo.com Remko Popma
              Reporter:
              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