EventLogWebEventProvider: How to specify Category and Source?

M

Max2006

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
 
S

Steven Cheng[MSFT]

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.


--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top