<?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: Writing An Appender For log4net</title>
	<atom:link href="http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/</link>
	<description>Software by Design</description>
	<lastBuildDate>Wed, 01 Sep 2010 07:49:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Rob Prouse</title>
		<link>http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/comment-page-1/#comment-8798</link>
		<dc:creator>Rob Prouse</dc:creator>
		<pubDate>Fri, 23 Jul 2010 13:26:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/#comment-8798</guid>
		<description>Rambhopal,

I expect that you either haven&#039;t set up logging in your application, or your configuration is incorrect.

1. If you change your configuration to log to a file, does that work? If not, then you need to set up logging in your application. You either have to add an XmlConfigurator attribute to your assembly, or call XmlConfigurator.ConfigureAndWatch( ConfigFile ); See the log4net docs on getting started, or my presentation example code at http://www.alteridem.net/2008/02/29/log4net-slides-and-example-code/

2. If logging to file is working, then you probably have it configured wrong. Make sure the first part of type in the appender tag matches your appender name and make sure the second part matches the DLL or EXE name that the appender is in. Check this line;



Let me know if you have problems.

Rob</description>
		<content:encoded><![CDATA[<p>Rambhopal,</p>
<p>I expect that you either haven&#8217;t set up logging in your application, or your configuration is incorrect.</p>
<p>1. If you change your configuration to log to a file, does that work? If not, then you need to set up logging in your application. You either have to add an XmlConfigurator attribute to your assembly, or call XmlConfigurator.ConfigureAndWatch( ConfigFile ); See the log4net docs on getting started, or my presentation example code at <a href="http://www.alteridem.net/2008/02/29/log4net-slides-and-example-code/" rel="nofollow">http://www.alteridem.net/2008/02/29/log4net-slides-and-example-code/</a></p>
<p>2. If logging to file is working, then you probably have it configured wrong. Make sure the first part of type in the appender tag matches your appender name and make sure the second part matches the DLL or EXE name that the appender is in. Check this line;</p>
<p>Let me know if you have problems.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rambhopal Reddy E</title>
		<link>http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/comment-page-1/#comment-8795</link>
		<dc:creator>Rambhopal Reddy E</dc:creator>
		<pubDate>Fri, 23 Jul 2010 09:00:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/#comment-8795</guid>
		<description>it is usefull article.

but how to use that in windows forms..

logger.error(&quot;&quot;);

it is not displaying the messagebox.

can you please how to call in form1.cs</description>
		<content:encoded><![CDATA[<p>it is usefull article.</p>
<p>but how to use that in windows forms..</p>
<p>logger.error(&#8220;&#8221;);</p>
<p>it is not displaying the messagebox.</p>
<p>can you please how to call in form1.cs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yossharel</title>
		<link>http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/comment-page-1/#comment-8786</link>
		<dc:creator>yossharel</dc:creator>
		<pubDate>Wed, 21 Jul 2010 13:51:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/#comment-8786</guid>
		<description>It&#039;s very helpful to me. I didn&#039;t think it&#039;s so easy to do. I used this as I wrote appender to Wcf. Thank you!</description>
		<content:encoded><![CDATA[<p>It&#8217;s very helpful to me. I didn&#8217;t think it&#8217;s so easy to do. I used this as I wrote appender to Wcf. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Logging SQL Statements generated by NHibernate &#171; devioblog</title>
		<link>http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/comment-page-1/#comment-8172</link>
		<dc:creator>Logging SQL Statements generated by NHibernate &#171; devioblog</dc:creator>
		<pubDate>Wed, 14 Apr 2010 15:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/#comment-8172</guid>
		<description>[...] and where I saved every SQL statement to a separate file. To accomplish this, one would need to implement their own log4net appender, I [...]</description>
		<content:encoded><![CDATA[<p>[...] and where I saved every SQL statement to a separate file. To accomplish this, one would need to implement their own log4net appender, I [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/comment-page-1/#comment-2128</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Thu, 10 Jul 2008 16:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/#comment-2128</guid>
		<description>Thank you very much!</description>
		<content:encoded><![CDATA[<p>Thank you very much!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
