[logback-dev] [JIRA] Resolved: (LBCLASSIC-221) SMTPAppender includes irrelevant logging events

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Tue Mar 6 18:47:26 CET 2012


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

Ceki Gulcu resolved LBCLASSIC-221.
----------------------------------

    Fix Version/s: 1.0.1
       Resolution: Fixed

This issue is solved in a recent commit [1] to be released in version 1.0.1.

Jacob, the issue you describe is quite distinct. Could you please file a separate bug report?

[1] https://github.com/ceki/logback/commit/26a0a37c

> SMTPAppender includes irrelevant logging events
> -----------------------------------------------
>
>                 Key: LBCLASSIC-221
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-221
>             Project: logback-classic
>          Issue Type: Bug
>          Components: appender
>    Affects Versions: 0.9.24
>         Environment: Java6, Tomcat6
>            Reporter: Chris Cheshire
>            Assignee: Ceki Gulcu
>             Fix For: 1.0.1
>
>         Attachments: smtp-appender-upgrade_to-v1.0.0.patch
>
>
> The BufferSize parameter to SMTPAppender has been removed with no replacement. When the SMTPAppender is triggered by an error event it also includes the previous 255 logging events, whether they were errors or not (now that the buffer size is fixed).
> By using BufferSize = 1, I was able to send a single error email every time an error occurred with just that error. Now I get completely irrelevant logging events, potentially days old with nothing to do with the error being logged and no simple way to change this.
> I'm not sure what version this was introduced - I just upgraded from 0.9.17 to 0.9.24.

-- 
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