Hi Max,
AS for the Eventlog Healthmoniting provider, the "Type", "Source" ,
"Category" is fixed by the provider so as to indicate that the log entry is
producted by ASP.NET web event provider rather than any other custom code
(that write eventlog) in ASP.NET. BTW, one way is to create a custom web
event log provider, however that may require us to scrabble all the
eventlog code ourself.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Max2006" <al*******@newsgroup.nospam>
Subject: EventLogWebEventProvider: How to specify Category and Source?
Date: Wed, 24 Oct 2007 14:29:21 -0400
Hi,
We are using EventLogWebEventProvider. All events within the event log
viewer appear as :
Type=Warning
Source= ASP.NET 2.0.50727.0
Category= Web Event
Is there any way to customize above settings in web.config?
Thank you,
Max