Restoring Session State from Logs | Table of Content | FIX Engine Threading Models |
Customizing Logging |
To disable logging of incoming messages completely, the LogInboundMessages property should be used.
InboundMessageLogFilter exposes the ability to filter out incoming messages of the specified types from the log file.
session.InboundMessageLogFilter = new string[] { "0", "W", "X" };
session.InboundMessageLogFilter = New String() { "0", "W", "X" }
To disable logging of outgoing messages completely, the LogOutboundMessages property should be used.
OutboundMessageLogFilter exposes the ability to filter out outgoing messages of the specified types from the log file.
session.OutboundMessageLogFilter = new string[] { "0", "W", "X" };
session.OutboundMessageLogFilter = New String() { "0", "W", "X" }
By default, the FIX Engine uses the UTC time in log files, but if you need to use the local time then you can set the LocalTimeUsage property to true.