• Version 1.16.0
Show / Hide Table of Contents

Customizing Message Logging

Disabling Logging of Inbound Messages

To disable the logging of incoming messages completely, use the LogInboundMessages property.

Filtering Inbound Messages

InboundMessageLogFilter allows to filter out incoming messages of the specified types from the log records.

For example:

session.InboundMessageLogFilter = new string[] { "0", "W", "X" };

Disabling Logging of Outbound Messages

To disable the logging of outgoing messages completely, use the LogOutboundMessages property.

Filtering Outbound Messages

OutboundMessageLogFilter allows to filter out outgoing messages of the specified types from the log records.

For example:

session.OutboundMessageLogFilter = new string[] { "0", "W", "X" };

Local Time Usage

By default, the FIX Engine uses UTC for logging records, but if you need to use the local time, then you can set the LocalTimeUsage property to true.

In this article
Back to top Copyright © Onix Solutions.
Generated by DocFX