I have been using the SMTP appender for the past 3
months under heavy load. The appender is set up like
this to trigger on warnings:
<param name="BufferSize" value="100" />
<param name="Lossy" value="true" />
<evaluator type="log4net.spi.LevelEvaluator,log4net-net-
1.1">
<param name="Threshold" value="WARN"/>
</evaluator>
What ends up happening is that every time a warn (or
higher) is logged, the SMTP sends off an e-mail, but
occasionally, the included e-mail does include the
triggering log event.
I also have a RollingLogFileAppender set up. The file
does always include the triggering log event. It makes it
very difficult to use the SMTP appender stand-alone
because the triggering log event is missing from the e-
mail.