Prevent log4net to send duplicate issues via SMTP
Posted
by jrEwing
on Stack Overflow
See other posts from Stack Overflow
or by jrEwing
Published on 2010-03-09T13:58:02Z
Indexed on
2010/03/15
11:39 UTC
Read the original article
Hit count: 172
Hi,
we have bridged our log4net with Jira using SMTP.
Now we are worried that since the site is public what could happen to the Jira server if we get alot of issues in the production environment.
We have already filtered on Critical and Fatal, but we want to see either some acumulator service on log4net or a plain filter which identifies repeating issues and prevents them from being sent via Email. Preferably without having to change the error reporting code, so a config solution would be best.
I guess dumping the log into a db and then create a separate listener some smart code would be a (pricy) alternative.
© Stack Overflow or respective owner