[logback-dev] [JIRA] Commented: (LBCLASSIC-221) SMTPAppender includes irrelevant logging events
David J. M. Karlsen (JIRA)
noreply-jira at qos.ch
Thu Dec 8 21:25:12 CET 2011
[ http://jira.qos.ch/browse/LBCLASSIC-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12329#action_12329 ]
David J. M. Karlsen commented on LBCLASSIC-221:
-----------------------------------------------
I'm also seeing the same.
> 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