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

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Wed Jul 8 12:18:10 CEST 2009


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

Ceki Gulcu resolved LBCLASSIC-134.
----------------------------------

    Fix Version/s: 0.9.16
       Resolution: Fixed

Darryl, thank you very much for this bug report as well as the accompanying patch and test case. Issue fixed in revision 2324.

> 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: Ceki Gulcu
>             Fix For: 0.9.16
>
>         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