[logback-user] SMTPAppender with level WARN?

Ceki Gulcu ceki at qos.ch
Wed Oct 22 00:05:08 CEST 2008



Joop Vriend wrote:
> 
> You were right: the output contained an ERROR: 'Mandatory "name" 
> attribute not set for <evaluator>'.
> 
> The name-attribute is *not* mentioned in your CounterBasedEvaluator 
> example in your Appender documentation:
> 
> http://logback.qos.ch/manual/appenders.html#SMTPAppender

I'll correct that.

> And I couldn't find a XSD- or a DTD-file for the logback configuration.

There is no XSD or DTD for the config files.

> Now I added the name-attribute, but I get a different ERROR:
> 
> Evaluator of type [packagename.AlwaysTrueEvaluator] is not of the 
> desired type

Is 'packagename' really the appropriate package name?

> Again, I based my code on your CounterBasedEvaluator example. Any ideas?
> 
> Thanks again, Joop.


-- 
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