<?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: C# &#8211; Change log4net Log Path and Level Programmatically</title>
	<atom:link href="http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically/feed" rel="self" type="application/rss+xml" />
	<link>http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
	<description>A very lazy but meticulous blogger</description>
	<lastBuildDate>Fri, 27 Jan 2012 20:00:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: alex</title>
		<link>http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-59019</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Fri, 12 Aug 2011 10:08:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-59019</guid>
		<description>how to use it ?</description>
		<content:encoded><![CDATA[<p>how to use it ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: msiles</title>
		<link>http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-56118</link>
		<dc:creator>msiles</dc:creator>
		<pubDate>Mon, 27 Jun 2011 19:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-56118</guid>
		<description>Hi, 

Nice Post, Looks very interesting but could you post how we should instance the class to create the log file.... 

I put something like this 

ILog errorLogger = LogManager.GetLogger(&quot;MyRollingFileAppender&quot;);
errorLogger.Debug(&quot;First  Test&quot;);

But nothing happens, I&#039;m not sure if I&#039;m missing something thanks!</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Nice Post, Looks very interesting but could you post how we should instance the class to create the log file&#8230;. </p>
<p>I put something like this </p>
<p>ILog errorLogger = LogManager.GetLogger(&#8220;MyRollingFileAppender&#8221;);<br />
errorLogger.Debug(&#8220;First  Test&#8221;);</p>
<p>But nothing happens, I&#8217;m not sure if I&#8217;m missing something thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-42149</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Thu, 08 Jul 2010 14:58:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-42149</guid>
		<description>This is great, exactly what I was looking for.

Only thing I&#039;m not sure of is how to actually use it, haha.

How do I go about actually writing out log data? Ideally, I would like to have the log files written relative to a specified path by the user via text box.

Thank you!

- Jeff</description>
		<content:encoded><![CDATA[<p>This is great, exactly what I was looking for.</p>
<p>Only thing I&#8217;m not sure of is how to actually use it, haha.</p>
<p>How do I go about actually writing out log data? Ideally, I would like to have the log files written relative to a specified path by the user via text box.</p>
<p>Thank you!</p>
<p>- Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Birzhan</title>
		<link>http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-40968</link>
		<dc:creator>Birzhan</dc:creator>
		<pubDate>Thu, 29 Apr 2010 10:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-40968</guid>
		<description>&lt;a href=&quot;#comment-39899&quot; rel=&quot;nofollow&quot;&gt;@Zuhaib&lt;/a&gt;, 
what if you need to create a new log file every day?
Will you create multiple configurations for next couple of hundred yours?</description>
		<content:encoded><![CDATA[<p><a href="#comment-39899" rel="nofollow">@Zuhaib</a>,<br />
what if you need to create a new log file every day?<br />
Will you create multiple configurations for next couple of hundred yours?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zuhaib</title>
		<link>http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-39899</link>
		<dc:creator>Zuhaib</dc:creator>
		<pubDate>Sun, 21 Feb 2010 15:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-39899</guid>
		<description>You can have multiple appenders that append to different log files.

You can get a specific appender like this.

ILog errorLogger = LogManager.GetLogger(&quot;MyErrorLogFileAppender&quot;);

&lt;strong&gt;What do you mean by categorize the fields?&lt;/strong&gt;

The Header and Footer param specified in the Appender&#039;s Layout would be printed everytime you application starts and ends.</description>
		<content:encoded><![CDATA[<p>You can have multiple appenders that append to different log files.</p>
<p>You can get a specific appender like this.</p>
<p>ILog errorLogger = LogManager.GetLogger(&#8220;MyErrorLogFileAppender&#8221;);</p>
<p><strong>What do you mean by categorize the fields?</strong></p>
<p>The Header and Footer param specified in the Appender&#8217;s Layout would be printed everytime you application starts and ends.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nash</title>
		<link>http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-39880</link>
		<dc:creator>Nash</dc:creator>
		<pubDate>Thu, 18 Feb 2010 21:36:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdpad.com/how-to/c-change-log4net-log-path-and-level-programmatically#comment-39880</guid>
		<description>How do i split up the log entry and categorize the fields? And what if there are some additional patterns like header and footers?

I know how to read a file but only concern is splitting the entry and categorize the fields.

Any code snippet will help a lot?

Regards,
Nash</description>
		<content:encoded><![CDATA[<p>How do i split up the log entry and categorize the fields? And what if there are some additional patterns like header and footers?</p>
<p>I know how to read a file but only concern is splitting the entry and categorize the fields.</p>
<p>Any code snippet will help a lot?</p>
<p>Regards,<br />
Nash</p>
]]></content:encoded>
	</item>
</channel>
</rss>

