[logback-user] SMTPAppender with multiple filters

romeara fortycoats at gmail.com
Fri Apr 12 16:47:20 CEST 2013

Hi there,

I'm having an issue with using multiple filters as you had outlined in a
previous post:

         <filter class="ch.qos.logback.classic.filter.LevelFilter">
             <transactionDelayText>running time

The first filter is looking for any log entry marked as [WARN ] and the
second checks this message for my own user defined value and whether or not
the email needs to be sent. However, though the second filter code is being
accessed, the email is not passed from an ACCEPT filterReply.

I've also read somewhere that apparently the SMTPAppender wont send an email
unless its catching an ERROR message. If so, how can I alter this?

Your thoughts appreciated,


View this message in context: http://logback.10977.n7.nabble.com/SMTPAppender-with-multiple-filters-tp11860.html
Sent from the Users mailing list archive at Nabble.com.

More information about the Logback-user mailing list