<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-953800050047047319.post5356564956571961431..comments</id><updated>2009-09-21T12:13:07.403+01:00</updated><title type='text'>Comments on neil kilbride's blog: Configure log4net only once</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://neilkilbride.blogspot.com/feeds/5356564956571961431/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953800050047047319/5356564956571961431/comments/default'/><link rel='alternate' type='text/html' href='http://neilkilbride.blogspot.com/2008/04/configure-log4net-only-once.html'/><author><name>Neil kilbride</name><uri>http://www.blogger.com/profile/11689141460411902032</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-953800050047047319.post-7526763798310455789</id><published>2008-05-22T17:23:00.000+01:00</published><updated>2008-05-22T17:23:00.000+01:00</updated><title type='text'>Please do. :-)</title><content type='html'>Please do. :-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953800050047047319/5356564956571961431/comments/default/7526763798310455789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953800050047047319/5356564956571961431/comments/default/7526763798310455789'/><link rel='alternate' type='text/html' href='http://neilkilbride.blogspot.com/2008/04/configure-log4net-only-once.html?showComment=1211473380000#c7526763798310455789' title=''/><author><name>bryan</name><uri>http://www.blogger.com/profile/01332614158223702009</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://neilkilbride.blogspot.com/2008/04/configure-log4net-only-once.html' ref='tag:blogger.com,1999:blog-953800050047047319.post-5356564956571961431' source='http://www.blogger.com/feeds/953800050047047319/posts/default/5356564956571961431' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-953800050047047319.post-7103611234607991814</id><published>2008-05-22T09:21:00.000+01:00</published><updated>2008-05-22T09:21:00.000+01:00</updated><title type='text'>But I do like what you've done Bryan, I may even m...</title><content type='html'>But I do like what you've done Bryan, I may even make a blog post referencing your post for reference if you don't mind?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953800050047047319/5356564956571961431/comments/default/7103611234607991814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953800050047047319/5356564956571961431/comments/default/7103611234607991814'/><link rel='alternate' type='text/html' href='http://neilkilbride.blogspot.com/2008/04/configure-log4net-only-once.html?showComment=1211444460000#c7103611234607991814' title=''/><author><name>Neil kilbride</name><uri>http://www.blogger.com/profile/11689141460411902032</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='14409776620923219554'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://neilkilbride.blogspot.com/2008/04/configure-log4net-only-once.html' ref='tag:blogger.com,1999:blog-953800050047047319.post-5356564956571961431' source='http://www.blogger.com/feeds/953800050047047319/posts/default/5356564956571961431' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-953800050047047319.post-2325854403423170590</id><published>2008-05-22T09:20:00.000+01:00</published><updated>2008-05-22T09:20:00.000+01:00</updated><title type='text'>Bryan,As far as I can tell your method works for l...</title><content type='html'>Bryan,&lt;BR/&gt;&lt;BR/&gt;As far as I can tell your method works for log4net if the config is in an expected location.&lt;BR/&gt;&lt;BR/&gt;For the work this relates to, a master configuration file is used that is shared across numerous web apps, services, com+ components. So I think I still need to load up the configuration XML and .Configure log4net:&lt;BR/&gt;// Log4NetConfig is XmlElement with configuration details&lt;BR/&gt;if (!log4net.LogManager.GetRepository().Configured)&lt;BR/&gt;                {&lt;BR/&gt;                    log4net.Config.XmlConfigurator.Configure(Log4NetConfig);&lt;BR/&gt;                }</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953800050047047319/5356564956571961431/comments/default/2325854403423170590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953800050047047319/5356564956571961431/comments/default/2325854403423170590'/><link rel='alternate' type='text/html' href='http://neilkilbride.blogspot.com/2008/04/configure-log4net-only-once.html?showComment=1211444400000#c2325854403423170590' title=''/><author><name>Neil kilbride</name><uri>http://www.blogger.com/profile/11689141460411902032</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='14409776620923219554'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://neilkilbride.blogspot.com/2008/04/configure-log4net-only-once.html' ref='tag:blogger.com,1999:blog-953800050047047319.post-5356564956571961431' source='http://www.blogger.com/feeds/953800050047047319/posts/default/5356564956571961431' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-953800050047047319.post-1484068568087341685</id><published>2008-05-22T05:15:00.000+01:00</published><updated>2008-05-22T05:15:00.000+01:00</updated><title type='text'>Hey Neil,Interesting that you're checking to see i...</title><content type='html'>Hey Neil,&lt;BR/&gt;&lt;BR/&gt;Interesting that you're checking to see if the repository has been configured already. However, if you're using configuration attributes, the call to XmlConfigurator.Configure() is &lt;A HREF="http://stupiddumbguy.blogspot.com/2008/05/log4net-configuration-made-simple.html" REL="nofollow"&gt;completely unnecessary.&lt;/A&gt;&lt;BR/&gt;&lt;BR/&gt;p.s. sorry about the add/remove comments, had to fix a typo.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953800050047047319/5356564956571961431/comments/default/1484068568087341685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953800050047047319/5356564956571961431/comments/default/1484068568087341685'/><link rel='alternate' type='text/html' href='http://neilkilbride.blogspot.com/2008/04/configure-log4net-only-once.html?showComment=1211429700000#c1484068568087341685' title=''/><author><name>bryan</name><uri>http://www.blogger.com/profile/01332614158223702009</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://neilkilbride.blogspot.com/2008/04/configure-log4net-only-once.html' ref='tag:blogger.com,1999:blog-953800050047047319.post-5356564956571961431' source='http://www.blogger.com/feeds/953800050047047319/posts/default/5356564956571961431' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-953800050047047319.post-3044957902760225965</id><published>2008-04-09T21:37:00.000+01:00</published><updated>2008-04-09T21:37:00.000+01:00</updated><title type='text'>until i figured out how to "Configure log4net only...</title><content type='html'>until i figured out how to "Configure log4net only once" my life was empty. thats for enriching it neil :) XXX</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/953800050047047319/5356564956571961431/comments/default/3044957902760225965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/953800050047047319/5356564956571961431/comments/default/3044957902760225965'/><link rel='alternate' type='text/html' href='http://neilkilbride.blogspot.com/2008/04/configure-log4net-only-once.html?showComment=1207773420000#c3044957902760225965' title=''/><author><name>neilsgroupie</name><uri>http://www.blogger.com/profile/03162757096336127785</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://neilkilbride.blogspot.com/2008/04/configure-log4net-only-once.html' ref='tag:blogger.com,1999:blog-953800050047047319.post-5356564956571961431' source='http://www.blogger.com/feeds/953800050047047319/posts/default/5356564956571961431' type='text/html'/></entry></feed>