forwardHandler Events   Table of ContentSecure Logonforward
Logging

TraceSwitch based logging is used. There are two trace switches to make logging flexible.

Onixs.CmeDropCopyHandler

Trace switch controls Handler-related tracing and debug output. App.config trace switch name is Onixs.CmeDropCopyHandler.

Onixs.CmeDropCopyHandler.FixMessages

Traces received FIX messages at info level. App.config trace switch name is Onixs.CmeDropCopyHandler.FixMessages.

Handler trace switches can be configured using App.config file.

For example:

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

  <system.diagnostics>
    <switches>
      <!-- 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.CmeDropCopyHandler" value="4"/>
      <add name="Onixs.CmeDropCopyHandler.FixMessages" value="4"/>
    </switches>

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

</configuration>