WCF trace configuration: Non_SOAP/Non-JMS interface

For the Non_SOAP/Non-JMS interface, we can either configure trace through an environment variable or programmatically.

There are two ways of enabling trace for the Non-SOAP/Non-JMS interface:

  • By setting WMQ_TRACE_ON as the environment variable.
  • By adding the following section of code to the <system.diagnostics><sources> section in the app.config file
    <source name="IBM.WMQ.WCF" switchValue="Verbose, ActivityTracing"
    xmsTraceSpecification="*=all=enabled"
    xmsTraceFileSize="2000000" xmsTraceFileNumber="4"
    xmsTraceFormat="advanced">
    </source>
    

Parent topic: WCF trace configuration