You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Javier Gonzalez <ja...@gmail.com> on 2006/04/12 22:50:50 UTC

Only one error message for SMTPAppender?

Hi,

I've got a big app running with log4j. There is, among a bunch of others, a
SMTPAppender for emailing support when something goes wrong. The problem is
that some errors repeat a lot of times in some situations (i.e. a connection
to another server dropping makes a bunch of actions directed to that server
to fail with the same error), which sometimes buries the support mailbox
with hundreds of emails.

Is it possible that an error be logged only once on an appender?

Thanks in advance,

--
Javier González Nicolini