StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
Error logging to event log
Error logging to event log
Post Reply
Like
0
Error logging to event log
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Keith Chisarik
Keith Chisarik
posted 18 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 939,
Visits: 40K
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
Keith Chisarik
Sigma Data Systems
Reply
Like
0
Keith Chisarik
Keith Chisarik
posted 18 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 939,
Visits: 40K
application log should read "Windows Event Logs"
I am using
Dim objEventLog As New EventLog()
objEventLog.WriteEntry(Entry, EventType)
Keith Chisarik
Sigma Data Systems
Reply
Like
0
StrataFrame Team
S
StrataFrame Team
posted 18 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
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.
Reply
Like
0
Keith Chisarik
Keith Chisarik
posted 18 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 939,
Visits: 40K
OK thanks Ben, that was my conclusion.
Keith Chisarik
Sigma Data Systems
Reply
Like
0
StrataFrame Team
S
StrataFrame Team
posted 18 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
No problem
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search