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

DuplicateMessageFilter should bypass checking msgCache for null formats

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.15
    • Fix Version/s: 0.9.16
    • Component/s: None
    • Labels:
      None

      Description

      Calls to isXXXEnabled translate to a call to Logger.callTurboFilters which invokes DuplicateMessageFilter with a null format

      DuplicateMessageFilter usage of LRUMessageCache will group together all null formats under msgCount.

      e.g.

      msgCache.getMessageCount(null) = msgCount 1
      msgCache.getMessageCount(null) = msgCount 2
      msgCache.getMessageCount(null) = msgCount 3

        Attachments

          Activity

            People

            • Assignee:
              ceki Ceki Gülcü
              Reporter:
              dwsmith75 Darryl Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: