<?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: Using Apache log4net in .Net Compact Framework projects</title>
	<atom:link href="http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/</link>
	<description>Technology, mobility and software development</description>
	<lastBuildDate>Wed, 08 Feb 2012 04:34:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Per Ola Sæther</title>
		<link>http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/comment-page-1/#comment-43767</link>
		<dc:creator>Per Ola Sæther</dc:creator>
		<pubDate>Mon, 14 Nov 2011 16:15:08 +0000</pubDate>
		<guid isPermaLink="false">http://breathingtech.com/?p=1093#comment-43767</guid>
		<description>Hi Jim,

That it takes 50 seconds to return sounds quite strange... I&#039;m afraid I have no tips for you now, it&#039;s over 2 years since I wrote this post and I don&#039;t have the project to test the behavior. I&#039;m sure that it did not take that much time in the project I used it.

You can try to post your issue to stackoverflow.com and see if you get lucky there.

Cheers,
Per Ola</description>
		<content:encoded><![CDATA[<p>Hi Jim,</p>
<p>That it takes 50 seconds to return sounds quite strange&#8230; I&#8217;m afraid I have no tips for you now, it&#8217;s over 2 years since I wrote this post and I don&#8217;t have the project to test the behavior. I&#8217;m sure that it did not take that much time in the project I used it.</p>
<p>You can try to post your issue to stackoverflow.com and see if you get lucky there.</p>
<p>Cheers,<br />
Per Ola</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/comment-page-1/#comment-43234</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Mon, 07 Nov 2011 16:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://breathingtech.com/?p=1093#comment-43234</guid>
		<description>Per:

I am incorporating log4net into a project using Win CE 6.00 and .NET compact framework 3.5.  I have the following code in Program.cs

            string path = Path.GetDirectoryName(
            Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName);

            string configFile = path + @&quot;\LoggingConfiguration.xml&quot;;

            if (File.Exists(configFile)) {
                XmlConfigurator.Configure(new FileInfo(configFile));
            }

The call to  XmlConfigurator.Configure(new FileInfo(configFile)); takes about 50 seconds to return.  A subsequent call to:

            log.Info(status);

takes about 25 seconds to complete.  Do you have any idea (or even a guess) as to why this would occur?

Thanks!

Jim</description>
		<content:encoded><![CDATA[<p>Per:</p>
<p>I am incorporating log4net into a project using Win CE 6.00 and .NET compact framework 3.5.  I have the following code in Program.cs</p>
<p>            string path = Path.GetDirectoryName(<br />
            Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName);</p>
<p>            string configFile = path + @&#8221;\LoggingConfiguration.xml&#8221;;</p>
<p>            if (File.Exists(configFile)) {<br />
                XmlConfigurator.Configure(new FileInfo(configFile));<br />
            }</p>
<p>The call to  XmlConfigurator.Configure(new FileInfo(configFile)); takes about 50 seconds to return.  A subsequent call to:</p>
<p>            log.Info(status);</p>
<p>takes about 25 seconds to complete.  Do you have any idea (or even a guess) as to why this would occur?</p>
<p>Thanks!</p>
<p>Jim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/comment-page-1/#comment-33098</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Thu, 09 Jun 2011 09:14:39 +0000</pubDate>
		<guid isPermaLink="false">http://breathingtech.com/?p=1093#comment-33098</guid>
		<description>Great work man.
Thanks</description>
		<content:encoded><![CDATA[<p>Great work man.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2011-04-18 - Craig&#039;s Blog</title>
		<link>http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/comment-page-1/#comment-30212</link>
		<dc:creator>links for 2011-04-18 - Craig&#039;s Blog</dc:creator>
		<pubDate>Mon, 18 Apr 2011 18:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://breathingtech.com/?p=1093#comment-30212</guid>
		<description>[...] for 2011-04-18   Using Apache log4net in .Net Compact Framework projects (tags: .net logging log4net c# windowsmobile)       Published Mon, Apr 18 2011 1:13 PM by [...]</description>
		<content:encoded><![CDATA[<p>[...] for 2011-04-18   Using Apache log4net in .Net Compact Framework projects (tags: .net logging log4net c# windowsmobile)       Published Mon, Apr 18 2011 1:13 PM by [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Per Ola Sæther</title>
		<link>http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/comment-page-1/#comment-28591</link>
		<dc:creator>Per Ola Sæther</dc:creator>
		<pubDate>Fri, 25 Mar 2011 10:42:16 +0000</pubDate>
		<guid isPermaLink="false">http://breathingtech.com/?p=1093#comment-28591</guid>
		<description>Hi Axel,
I have not been using InternalDebugging on mobile devices, but it should be possible to send the message to an attached debugger (f.ex. a file).

Have a look at Apache log4net FAQ: http://logging.apache.org/log4net/release/faq.html
Look a the section: How do I enable log4net internal debugging?

I hope that will point you in the right direction.</description>
		<content:encoded><![CDATA[<p>Hi Axel,<br />
I have not been using InternalDebugging on mobile devices, but it should be possible to send the message to an attached debugger (f.ex. a file).</p>
<p>Have a look at Apache log4net FAQ: <a href="http://logging.apache.org/log4net/release/faq.html" rel="nofollow">http://logging.apache.org/log4net/release/faq.html</a><br />
Look a the section: How do I enable log4net internal debugging?</p>
<p>I hope that will point you in the right direction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel</title>
		<link>http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/comment-page-1/#comment-28574</link>
		<dc:creator>Axel</dc:creator>
		<pubDate>Fri, 25 Mar 2011 06:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://breathingtech.com/?p=1093#comment-28574</guid>
		<description>Hi Per,

everything works fine - thank you.
I want also to use internal logging by

log4net.Util.LogLog.InternalDebugging = true;

It works, but the output go in the mobile apps to the explorer, which is visible to the user.
Do you have any idea how to avoid that?

Best regards
Axel</description>
		<content:encoded><![CDATA[<p>Hi Per,</p>
<p>everything works fine &#8211; thank you.<br />
I want also to use internal logging by</p>
<p>log4net.Util.LogLog.InternalDebugging = true;</p>
<p>It works, but the output go in the mobile apps to the explorer, which is visible to the user.<br />
Do you have any idea how to avoid that?</p>
<p>Best regards<br />
Axel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Per Ola Sæther</title>
		<link>http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/comment-page-1/#comment-28019</link>
		<dc:creator>Per Ola Sæther</dc:creator>
		<pubDate>Wed, 16 Mar 2011 11:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://breathingtech.com/?p=1093#comment-28019</guid>
		<description>Hi anurag,
You can use the dll for CF 1.0</description>
		<content:encoded><![CDATA[<p>Hi anurag,<br />
You can use the dll for CF 1.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anurag</title>
		<link>http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/comment-page-1/#comment-28017</link>
		<dc:creator>anurag</dc:creator>
		<pubDate>Wed, 16 Mar 2011 09:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://breathingtech.com/?p=1093#comment-28017</guid>
		<description>I have Downloaded log4net but it doesn&#039;t have any dll for compact framework 3.5.All it has is a dll for CF 1.0.so,Could you please tell me hoe you used log4net for compact framework 3.5.Thanx.</description>
		<content:encoded><![CDATA[<p>I have Downloaded log4net but it doesn&#8217;t have any dll for compact framework 3.5.All it has is a dll for CF 1.0.so,Could you please tell me hoe you used log4net for compact framework 3.5.Thanx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Per Ola Sæther</title>
		<link>http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/comment-page-1/#comment-1596</link>
		<dc:creator>Per Ola Sæther</dc:creator>
		<pubDate>Thu, 22 Oct 2009 09:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://breathingtech.com/?p=1093#comment-1596</guid>
		<description>I have added &quot;using log4net.Config;&quot; at the top of my class so I can access XmlConfigurator directly without prefixing it with the namespace.
I forgot to mention that in the code example.
Thanx :)</description>
		<content:encoded><![CDATA[<p>I have added &#8220;using log4net.Config;&#8221; at the top of my class so I can access XmlConfigurator directly without prefixing it with the namespace.<br />
I forgot to mention that in the code example.<br />
Thanx <img src='http://breathingtech.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay</title>
		<link>http://breathingtech.com/2009/using-apache-log4net-in-net-compact-framework-projects/comment-page-1/#comment-1594</link>
		<dc:creator>Vijay</dc:creator>
		<pubDate>Thu, 22 Oct 2009 03:28:22 +0000</pubDate>
		<guid isPermaLink="false">http://breathingtech.com/?p=1093#comment-1594</guid>
		<description>Log4Net Configuration Loading has to be corrected to 

log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo(path));</description>
		<content:encoded><![CDATA[<p>Log4Net Configuration Loading has to be corrected to </p>
<p>log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo(path));</p>
]]></content:encoded>
	</item>
</channel>
</rss>

