[logback-user] smtpappender including INFO messages

Ceki Gulcu listid at qos.ch
Fri Nov 28 21:57:11 CET 2008


Hi Chris,

You can set the value of the BufferSize property to 1. See also 
http://logback.qos.ch/manual/appenders.html#SMTPAppender

HTH,

Chris Cheshire wrote:
> I have my logger configured (theoretically) to only send emails when
> error events are received, which seems to be working, except that the
> content of the email not only includes the ERROR event, but any INFO
> events leading up to that event. I don't want *anything* but the
> logged ERROR event in the email. How do I remove all of this?
> 
> Chris


-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the Logback-user mailing list