Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

EventLogWebEventProvider: How to specify Category and Source?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Max2006 - 24 Oct 2007 19:29 GMT
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
Steven Cheng[MSFT] - 25 Oct 2007 07:46 GMT
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" <alanalan1@newsgroup.nospam>
>Subject: EventLogWebEventProvider: How to specify Category and Source?
[quoted text clipped - 12 lines]
>Thank you,
>Max

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.