forwardRestoring Session State from Logs   Table of ContentFIX Engine Threading Modelsforward
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.

Example
C#
session.InboundMessageLogFilter = new string[] { "0", "W", "X" };
VB
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.

Example
C#
session.OutboundMessageLogFilter = new string[] { "0", "W", "X" };
VB
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.