[logback-user] smtpappender including INFO messages

Chris Cheshire cheshirator at gmail.com
Fri Nov 28 22:38:44 CET 2008


I tried this (and zero too), and it still includes 1 INFO message
prior to the ERROR.

On Fri, Nov 28, 2008 at 12:57 PM, Ceki Gulcu <listid at qos.ch> wrote:
>
> 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
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>


More information about the Logback-user mailing list