Sdílet prostřednictvím


Biztalk default Text tracing

hi all,

If we need biztalk to capture our text diagnostics tracing as we do for a normal win or web app..

just add this to the btsntsvc.exe.config <configuration> section. Thats it no special coding reqd..

trace from anywhere within biztalk orchestration, functoid etc.. it gets captured. in the text file.. specified in initializeData attribute.

 

<system.diagnostics>

    <trace autoflush="true">

      <listeners>

        <add name="TextTracer"

                                                              type="System.Diagnostics.TextWriterTraceListener, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" initializeData="c:\Temp\BtsGameServiceTrace.log" />

      </listeners>

    </trace>

  </system.diagnostics>

Comments