> From: BERNARD NOEL [mailto:[EMAIL PROTECTED] 
> In the javadoc, you can read : " The default constructor will 
> instantiate the appender with a TriggeringEventEvaluator that 
> will trigger on events with level ERROR or higher." 
> 
> I suppose the default constructor is used. So try again with 
> an ERROR log and you should get your email. 
> 
> Hope this will help you (it is working for my apps).

I set the logging level to ERROR and, as you suggested, it works.
Actually I had already read the javadoc but I didn't realize that
initialization through a property file won't work. I tought that the
evaluator was mapped onto the threshold property.
So, what does it means the threshold property on the SMTPAppender if I
can only output logging event created at ERROR Level?

Must I use the XML configuration file to correctly use this appender?

Thank you in advance

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to