forwardQuery   Table of ContentResourcesforward

TraceSwitch based logging is used.


Trace switch to control Session related tracing and debug output.

App.config trace switch name is OnixS.CmeStpHandler.


Trace switch to control tracing of FIXML messages.

App.config trace switch name is OnixS.CmeStpHandler.FIXML.

Handler trace switches can be configured using either App.config file or static properties of the Session class.

For example:

<?xml version="1.0" encoding="utf-8" ?>

      <!-- This switch controls general messages. In order to receive general trace messages change the value to the appropriate level.          
         "0" gives nothing
         "1" gives error messages, 
         "2" gives error and warning messages, 
         "3" gives error, warning and info messages, 
         "4" gives error, warning, info and verbose messages.
      <add name="OnixS.CmeStpHandler" value="3"/>
      <add name="OnixS.CmeStpHandler.FIXML" value="3"/>

        <remove name="Default" />
        <add name="textWriterTraceListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="TraceLog.txt" />



Session.TraceSwitch.Level = TraceLevel.Info;
Session.FixmlTraceSwitch = TraceLevel.Verbouse;