Suppress to log/email duplicated errors

Topics: Exception Handling Application Block, Logging Application Block
Aug 17, 2007 at 3:10 PM
Let's say there is a process performing some actions every minute. If any error occurs during the processing the email is sent to the support team. Let's assume that the important resource like database or web service is unavailbale. This causes email flood as well as overload in the error logs.
I wonder if there is a way to email/log the first error only and suppress all other errors of the same error having the same error message?
Aug 17, 2007 at 3:22 PM
Hi,

You would probably use a management tool like System Center Operations Manager to aggregate the notifications.
I am not aware of a trace listener with this functionality built in.

Regards,
Fernando