<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<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>
	<lastBuildDate>Fri, 23 Jul 2010 11:05:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Kevin</title>
		<link>http://devsushi.com/2006/10/06/aspnet-error-logging/comment-page-1/#comment-37</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 20 Jan 2007 15:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://adamhewgill.com/devsushi/2006/10/06/aspnet-error-logging/#comment-37</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-page-1/#comment-36</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 20 Jan 2007 15:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://adamhewgill.com/devsushi/2006/10/06/aspnet-error-logging/#comment-36</guid>
		<description>I tried your code, but I&#039;m still not getting a line number anywhere. I haven&#039;t found any other site that addressed this issue, so I thought I&#039;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-page-1/#comment-35</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Fri, 06 Oct 2006 17:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://adamhewgill.com/devsushi/2006/10/06/aspnet-error-logging/#comment-35</guid>
		<description>Thanks!

I&#039;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-page-1/#comment-34</link>
		<dc:creator>Tomas</dc:creator>
		<pubDate>Fri, 06 Oct 2006 16:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://adamhewgill.com/devsushi/2006/10/06/aspnet-error-logging/#comment-34</guid>
		<description>If suggest instead of using

 ctx.Server.MapPath(&quot;errors.txt&quot;)

use

 Request.PhysicalApplicationPath &amp; &quot;errors.txt&quot;

This way all errors are logged in the same file in the application root folder. Also add:

 sw.WriteLine(&quot;URL: &quot; &amp; 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(&#8220;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(&#8220;URL: &#8221; &amp; ctx.Request.RawUrl)</p>
<p>So you know on what page error has occurred.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
