<?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 : Intercepting messages being written to DebugLog.xml in BOS</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Intercepting messages being written to DebugLog.xml in BOS</description>
  <pubDate>Thu, 11 Jun 2026 03:06:23 -700</pubDate>
  <lastBuildDate>Wed, 11 Jun 2008 07:47:14 -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=835</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>Intercepting messages being written to DebugLog.xml in BOS : You can directly create an instance...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=835&amp;PID=3060#3060</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 835<br /><strong>Posted:</strong> 11-Jun-2008 at 7:47am<br /><br />You can directly create an instance of IdeaBlade.Util.TraceSubscriber, and then subscribe to its Publish event.&nbsp; We have two concrete implementations of the TraceSubscriber based on the communications technology choice:&nbsp; Remoting or WCF.&nbsp; We use the TraceSubscriber in both the TraceViewer and the debug log, so you'd effectively be doing the same thing we are.&nbsp; <DIV>&nbsp;</DIV><DIV>I'm not sure how well we've documented all this, so here's a little bit to get you started:</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>// Creates either WCF or Remoting instance based on IdeaBladeConfig.</FONT></DIV><DIV><FONT size=2>// Overloads are available, or construct the concrete class directly.</FONT></DIV><DIV><FONT size=2>_traceSubscriber = </FONT><FONT color=#2b91af size=2>TraceSubscriber</FONT><FONT size=2>.CreateInstance();&nbsp;&nbsp; </FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>// The publish handler will be where you take the trace message and log to your own logs.</FONT></DIV><DIV><FONT size=2>_traceSubscriber.Publish += PublishHandler;</FONT></DIV><DIV><FONT size=2>_traceSubscriber.SubscriptionError += SubscriptionErrorHandler;</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>// This is overloaded - I'm not sure which you'd need.</FONT></DIV><DIV><FONT size=2><FONT size=2>_traceSubscriber.StartSubscription(url);</FONT></FONT></DIV><DIV><FONT size=2><FONT size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT size=2>// You can issue this when done.</FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT size=2>_traceSubscriber.StopSubscription();</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT size=2></FONT></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT size=2><FONT size=2>&nbsp;</DIV></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 11 Jun 2008 07:47:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=835&amp;PID=3060#3060</guid>
  </item> 
  <item>
   <title>Intercepting messages being written to DebugLog.xml in BOS : We&amp;#039;ve implementing the Enterprise...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=835&amp;PID=3056#3056</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=153" rel="nofollow">pnschofield</a><br /><strong>Subject:</strong> 835<br /><strong>Posted:</strong> 10-Jun-2008 at 1:49pm<br /><br />We've implementing the Enterprise Library Logging Application Block in our PersistenceManager implementation so that we can perform server-side logging.&nbsp; We'd like to be able to log messages that the IdeaBlade framework is currently writing to the DebugLog.xml file to our own logs.&nbsp; I've seen the documentation on the TracePublisher/Subscriber classes, but they seem to be designed for passing trace messages from the server to a client; we just need to see the trace messages on the server as they happen.<br><br>Any suggestions?<br>]]>
   </description>
   <pubDate>Tue, 10 Jun 2008 13:49:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=835&amp;PID=3056#3056</guid>
  </item> 
 </channel>
</rss>