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

Chris Cheshire (JIRA) noreply-jira at qos.ch
Fri Aug 20 00:00:16 CEST 2010


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: Logback dev list


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