[logback-user] SMTPAppender+Evaluator+Discriminator. ¿what buffer is send?

Pepe Caballero jose.caballero at tecnova.es
Mon Jan 23 12:57:47 CET 2012

I solved. The buffer sended is the buffer that the descriminator define. 


Pepe Caballero wrote:
> I am trying to send specifing error generated for some hours of day. So I
> decided to extends some class
> 1. First i implements Evaluator do decide when to send de email. It works
> correctly.
> 2. Second, i implement Discriminator interface to generate 2 buffers, One
> for the messaged generated on the hours that must not sended and another
> one for the messaged that must be sended by email.
> My problems is how SMTPAppender decide what buffer must be sended. Always
> looks to be sended the first called. 
> ¿any idea?
> Thanks too much

View this message in context: http://old.nabble.com/SMTPAppender%2BEvaluator%2BDiscriminator.-%C2%BFwhat-buffer-is-send--tp33179531p33187572.html
Sent from the Logback User mailing list archive at Nabble.com.

More information about the Logback-user mailing list