﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » Error logging to event log</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 15:39:09 GMT</lastBuildDate><ttl>20</ttl><item><title>Error logging to event log</title><link>http://forum.strataframe.net/FindPost3155.aspx</link><description>I have added my own error logging routine to UnhandledExceptionFound, currently among other things it writes errors to the application log.&lt;br&gt;
&lt;br&gt;
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?&lt;br&gt;
&lt;br&gt;
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.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;</description><pubDate>Thu, 28 Sep 2006 13:49:07 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Error logging to event log</title><link>http://forum.strataframe.net/FindPost3168.aspx</link><description>No problem :)</description><pubDate>Thu, 28 Sep 2006 13:49:07 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Error logging to event log</title><link>http://forum.strataframe.net/FindPost3161.aspx</link><description>OK thanks Ben, that was my conclusion.</description><pubDate>Thu, 28 Sep 2006 09:57:47 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Error logging to event log</title><link>http://forum.strataframe.net/FindPost3160.aspx</link><description>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.</description><pubDate>Thu, 28 Sep 2006 09:55:49 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Error logging to event log</title><link>http://forum.strataframe.net/FindPost3157.aspx</link><description>application log should read "Windows Event Logs"&lt;br&gt;
&lt;br&gt;
I am using &lt;br&gt;
&lt;br&gt;
Dim objEventLog As New EventLog()&lt;br&gt;
objEventLog.WriteEntry(Entry, EventType)&lt;br&gt;
&lt;br&gt;</description><pubDate>Thu, 28 Sep 2006 09:46:55 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item></channel></rss>