Our event viewer shows two information-level messages that we want to omit from the event logs:
Researching how to exclude these types of messages has led me to understand that if I include the following in my web.config file, these messages won't show up. When I test this, I see that is indeed the case.
<healthMonitoring>
<rules>
<clear />
<add name="All Errors Default" eventName="All Errors" provider="EventLogProvider" profile="Default" minInstances="1" maxLimit="Infinite" minInterval="00:01:00" custom=""/>
</rules>
</healthMonitoring>
In other words, I omit this from the default web.config:
<add name="Failure Audits Default" eventName="Failure Audits" provider="EventLogProvider" profile="Default" minInstances="1" maxLimit="Infinite" minInterval="00:01:00" custom=""/>
My question is: what else could I potentially be excluding the event log by removing this node? And if there are other potential repercussions, is there another or a better way to exclude just those two types of error logs that I mentioned above?
Thanks in advance!
I really wish I could comment! Have you tried setting startEventCode and endEventCode params in your event mappings for "Failure Audits" event;
P.N: I haven't had a chance to test this this myself, but hope this could be of some help to you
Reference: https://msdn.microsoft.com/en-us/library/yc5yk01w(v=vs.85).aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With