<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: ASP.Net Error Logging</title>
	<atom:link href="http://devsushi.com/2006/10/06/aspnet-error-logging/feed/" rel="self" type="application/rss+xml" />
	<link>http://devsushi.com/2006/10/06/aspnet-error-logging/</link>
	<description>Discussion on Development in Several Different Flavours</description>
	<pubDate>Thu, 20 Nov 2008 09:04:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Kevin</title>
		<link>http://devsushi.com/2006/10/06/aspnet-error-logging/#comment-850</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 20 Jan 2007 15:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://devsushi.com/2006/10/06/aspnet-error-logging/#comment-850</guid>
		<description>Never mind, the file I was testing had a compilation error. When it was a runtime error, the line number showed up (which is when I needed it).

Thanks anywway.</description>
		<content:encoded><![CDATA[<p>Never mind, the file I was testing had a compilation error. When it was a runtime error, the line number showed up (which is when I needed it).</p>
<p>Thanks anywway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://devsushi.com/2006/10/06/aspnet-error-logging/#comment-849</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 20 Jan 2007 15:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://devsushi.com/2006/10/06/aspnet-error-logging/#comment-849</guid>
		<description>I tried your code, but I'm still not getting a line number anywhere. I haven't found any other site that addressed this issue, so I thought I'd ask if you have any suggestions (yes, Debug is set to true)

Thanks</description>
		<content:encoded><![CDATA[<p>I tried your code, but I&#8217;m still not getting a line number anywhere. I haven&#8217;t found any other site that addressed this issue, so I thought I&#8217;d ask if you have any suggestions (yes, Debug is set to true)</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://devsushi.com/2006/10/06/aspnet-error-logging/#comment-11</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Fri, 06 Oct 2006 17:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://devsushi.com/2006/10/06/aspnet-error-logging/#comment-11</guid>
		<description>Thanks! 

I've updated the source in the post to include your suggestions. I instead chose to use Request.Url.AbsolutePath since I already have the query string on a separate line.</description>
		<content:encoded><![CDATA[<p>Thanks! </p>
<p>I&#8217;ve updated the source in the post to include your suggestions. I instead chose to use Request.Url.AbsolutePath since I already have the query string on a separate line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomas</title>
		<link>http://devsushi.com/2006/10/06/aspnet-error-logging/#comment-10</link>
		<dc:creator>Tomas</dc:creator>
		<pubDate>Fri, 06 Oct 2006 16:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://devsushi.com/2006/10/06/aspnet-error-logging/#comment-10</guid>
		<description>If suggest instead of using 

 ctx.Server.MapPath("errors.txt") 

use 

 Request.PhysicalApplicationPath &#38; "errors.txt"

This way all errors are logged in the same file in the application root folder. Also add:

 sw.WriteLine("URL: " &#38; ctx.Request.RawUrl)

So you know on what page error has occurred.</description>
		<content:encoded><![CDATA[<p>If suggest instead of using </p>
<p> ctx.Server.MapPath(&#8221;errors.txt&#8221;) </p>
<p>use </p>
<p> Request.PhysicalApplicationPath &amp; &#8220;errors.txt&#8221;</p>
<p>This way all errors are logged in the same file in the application root folder. Also add:</p>
<p> sw.WriteLine(&#8221;URL: &#8221; &amp; ctx.Request.RawUrl)</p>
<p>So you know on what page error has occurred.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
