woensdag 8 februari 2012

Tracing and Logging

In case something unexpected happens with BPM, it can be handy to have a log file, so you have better options to find out what went wrong.
With BizTalk Processing Monitor there are 2 methods to set the different levels of tracing/logging:
·        In the Options screen
·        In the BPM.exe.config file
In both ways you can set the following levels of tracing/logging:

0 - Disabled
1 - Gives error messages
2 - Gives errors and warnings
3 - Gives more detailed information
4 - Gives verbose trace information

The Options screen

Navigate to the Options screen by selecting the Tools menu and then Options... The following screen appears:


Simply choose a value from the dropdown box and BPM will start writing to a log file.

BPM.exe.config

The folder which contains BPM.exe also contains a configuration file. This file contains the following section:
  <system.diagnostics>
    <switches>
      <!-- 0 - Disabled 1 - Gives error messages 2 - Gives errors and warnings 3 - Gives more detailed information 4 - Gives verbose trace information -->
      <add name="TraceSwitch" value="0" />
    </switches>
  </system.diagnostics>

You can set the level of tracing/logging by entering a value in the field ‘value’ of the TraceSwitch key. This can especially be helpful when BPM does not start up and you need more information about what’s going on.


Geen opmerkingen:

Een reactie plaatsen