Disable Eventlogging for some events using Healthmonitoring
        Posted  
        
            by Rody van Sambeek
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Rody van Sambeek
        
        
        
        Published on 2010-04-09T11:01:48Z
        Indexed on 
            2010/04/09
            11:03 UTC
        
        
        Read the original article
        Hit count: 330
        
I'm using basic healthmonitoring in an ASP.Net website. I'd like to prevent one event with a specific eventcode to appear in the eventlog. All other errors should be logged accordingly.
I'd like to accomplish this using plain web.config settings. However I am unable to get it to work.
Besides that, using IIS 5 on Windows XP does not write any events to the event log. I can't seem to find out what's wrong, on Windows 2003 it correctly logs the errors.
Does anybody have an idea?
© Stack Overflow or respective owner