[logback-dev] [JIRA] Updated: (LBCLASSIC-134) DuplicateMessageFilter should bypass checking msgCache for null formats

Darryl Smith (JIRA) noreply-jira at qos.ch
Mon Jun 15 22:56:11 CEST 2009


     [ http://jira.qos.ch/browse/LBCLASSIC-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl Smith updated LBCLASSIC-134:
-----------------------------------

    Attachment: LBCLASSIC-134.patch

fix / test

> DuplicateMessageFilter should bypass checking msgCache for null formats
> -----------------------------------------------------------------------
>
>                 Key: LBCLASSIC-134
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-134
>             Project: logback-classic
>          Issue Type: Bug
>    Affects Versions: 0.9.15
>            Reporter: Darryl Smith
>            Assignee: Logback dev list
>         Attachments: LBCLASSIC-134.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list