<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Trouble with Programmatic Configuration</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Trouble with Programmatic Configuration</description>
  <pubDate>Sun, 12 Apr 2026 09:27:13 -700</pubDate>
  <lastBuildDate>Fri, 26 Aug 2011 13:08:04 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2928</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Trouble with Programmatic Configuration : Many thanks for the quick response.I...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11550#11550</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1181" rel="nofollow">jradxl</a><br /><strong>Subject:</strong> 2928<br /><strong>Posted:</strong> 26-Aug-2011 at 1:08pm<br /><br />Many thanks for the quick response.<br>I now have logging redirected via NLog<br><br>But I think your documentation is missleading.<br>It describes how the IdeaBlade.Instance can be used to set the configuration, if done early enough before any Entity is requested. And, there does not need to be a setter on LogFile if it can never be set.<br><br>thanks<br>John<br><br><br>http://drc.ideablade.com/xwiki/bin/view/Documentation/deploy-configuration<br>Section: Configuration contents and defaults, Logging in table<br><br>]]>
   </description>
   <pubDate>Fri, 26 Aug 2011 13:08:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11550#11550</guid>
  </item> 
  <item>
   <title>Trouble with Programmatic Configuration : Yeah, it&amp;#039;s as I thought......</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11547#11547</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2928<br /><strong>Posted:</strong> 26-Aug-2011 at 10:36am<br /><br />Yeah, it's as I thought... by the time IdeaBlade.Instance is constructed, logging has already started. In your case, it sounds like you may want to implement your own custom logger, instead of using this default logger on the client side. You can find information on doing this in the DRC, at <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/custom-logger" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/custom-logger</A>.<DIV>&nbsp;</DIV><DIV>-- Robert</DIV>]]>
   </description>
   <pubDate>Fri, 26 Aug 2011 10:36:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11547#11547</guid>
  </item> 
  <item>
   <title>Trouble with Programmatic Configuration : Hi,Mainly because I&amp;#039;m 2-tier...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11546#11546</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1181" rel="nofollow">jradxl</a><br /><strong>Subject:</strong> 2928<br /><strong>Posted:</strong> 26-Aug-2011 at 10:31am<br /><br />Hi,<br>Mainly because I'm 2-tier and I don't want the user to fiddle with the *.exe.config.<br>Probably I can compromise with an embedded App.config, but that still means I cannot turn it off.<br>I did role back to 6.1.0.0 but it has the same symptoms.<br><br>I'm convinced that your documentation suggests this is a feature.<br><br><br>thanks<br>John<br><br>]]>
   </description>
   <pubDate>Fri, 26 Aug 2011 10:31:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11546#11546</guid>
  </item> 
  <item>
   <title>Trouble with Programmatic Configuration : John,  I&amp;#039;ll look into this....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11545#11545</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2928<br /><strong>Posted:</strong> 26-Aug-2011 at 9:42am<br /><br />John,<DIV>&nbsp;</DIV><DIV>I'll look into this. I'm not sure if it's a bug, or just an infelicity based on design limitation. Is there a reason you can't make the change in the App.config?</DIV><DIV>&nbsp;</DIV><DIV>Yours,</DIV><DIV>Robert</DIV>]]>
   </description>
   <pubDate>Fri, 26 Aug 2011 09:42:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11545#11545</guid>
  </item> 
  <item>
   <title>Trouble with Programmatic Configuration : Hi,I think this is a bug! (Not...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11543#11543</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1181" rel="nofollow">jradxl</a><br /><strong>Subject:</strong> 2928<br /><strong>Posted:</strong> 26-Aug-2011 at 4:32am<br /><br />Hi,<br>I think this is a bug! (Not responding to a programmatic change to LogFile)<br>Since ShouldLogSqlQueries and EdmKeys work fine, why does LogFile do nothing?<br><pre style="font-family:C&#111;nsolas;font-size:13;color:black;:white;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">var</span>&nbsp;config&nbsp;=&nbsp;IdeaBlade.Core.<span style="color:#2b91af;">IdeaBladeConfig</span>.Instance;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;config.Logging.LogFile&nbsp;=&nbsp;<span style="color:#a31515;">@".\MyLogFile.xml"</span>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;config.Logging.ShouldLogSqlQueries&nbsp;=&nbsp;<span style="color:blue;">true</span>;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">var</span>&nbsp;keys&nbsp;=&nbsp;config.EdmKeys;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keys.Add(...);</pre>thanks<br>John<br><br>]]>
   </description>
   <pubDate>Fri, 26 Aug 2011 04:32:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11543#11543</guid>
  </item> 
  <item>
   <title>Trouble with Programmatic Configuration : Hi,I&amp;#039;ve got a problem with...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11531#11531</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1181" rel="nofollow">jradxl</a><br /><strong>Subject:</strong> 2928<br /><strong>Posted:</strong> 25-Aug-2011 at 4:47pm<br /><br />Hi,<br>I've got a problem with basic programmatic configuration.<br>I've gone back to a Console App, and set the LogFile property to "", but it doesn't turnoff the Logfile.<br>Setting it to some filename doesn't work either.<br><br><pre style="font-family:C&#111;nsolas;font-size:13;color:black;:white;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;<span style="color:blue;">static</span>&nbsp;<span style="color:blue;">void</span>&nbsp;Main(<span style="color:blue;">string</span>&#091;&#093;&nbsp;args)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">var</span>&nbsp;config =&nbsp;IdeaBlade.Core.<span style="color:#2b91af;">IdeaBladeConfig</span>.Instance;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;config.Logging.LogFile&nbsp;=&nbsp;<span style="color:#a31515;">""</span>;&nbsp;<span style="color:green;">//&nbsp;@"MyLogFile.xml";</span><br>Any suggestions?<br>thanks<br>John<br><br></pre>]]>
   </description>
   <pubDate>Thu, 25 Aug 2011 16:47:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2928&amp;PID=11531#11531</guid>
  </item> 
 </channel>
</rss>