StrataFrame Forum

Error logging to event log

http://forum.strataframe.net/Topic3155.aspx

By Keith Chisarik - 9/28/2006

I have added my own error logging routine to UnhandledExceptionFound, currently among other things it writes errors to the application log.



Is there a way to create an event log specific to my application to write errors to, or do I have to use one of the Windows default log types?



I have looked and didnt find anything and figured I would post here before I gave up because I would really like to segregate my applications errors to their own event log.



Thanks
By Keith Chisarik - 9/28/2006

application log should read "Windows Event Logs"



I am using



Dim objEventLog As New EventLog()

objEventLog.WriteEntry(Entry, EventType)


By StrataFrame Team - 9/28/2006

I believe there is only one Application event log, but you can specify the "source" for the entries that should allow you to separate your entries from other applications.
By Keith Chisarik - 9/28/2006

OK thanks Ben, that was my conclusion.
By StrataFrame Team - 9/28/2006

No problem Smile