Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-907

AsyncAppender appears to default discardingThreshold to 51; document suggests it should be 20.

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 1.0.13
    • None
    • None
    • Windows 7, Tomcat 7

    Description

      In a web application under Tomcat with AsyncAppender in use, StatusPrinter reports "Setting discardingThreshold to 51". The AsyncAppender is purely default; no discardingThreshold value has been set. The documentation at http://logback.qos.ch/manual/appenders.html indicates that events will be dropped when the blocking queue has 20% capacity remaining. Although it never explicitly says, I take this to mean that the default value should be 20, not 51.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            mmonette Mike Monette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: