{{Quickfixn}} Logging settings

alancloughley at hotmail.com alancloughley at hotmail.com
Tue Feb 9 09:31:31 PST 2021


Hi Grant,

 

No I was just running them both from one initiator. The cfg file has 2 sessions on it so I guess the initiator runs two initiations?  At the OnCreate() stage I am initiating 2 separate sessionID’s based on the settings  SessionQualifier, so I would have a _sessionIDTrader and _sessionIDData. It works fine and I get two separate log files for each session type(trader and data). I just wanted to turn the data logs off completely and let the trader session keep on logging. Is there any way I can manage that without starting a separate initiator or is that the only way to do it?

 

If I use a 2nd initiator would I also have to use 2 separate settings files, one for each initiator?

 

Thanks

 

A

 

From: Quickfixn <quickfixn-bounces at lists.quickfixn.com> On Behalf Of Grant Birchmeier
Sent: 09 February 2021 17:12
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} Logging settings

 

You're creating one Initiator for each session, right?

 

In the data-feed Initiator, change the FileLogFactory to a NullLogFactory.  (This factory will ignore the FileLogPath config setting.)


This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20210209/8b6dc191/attachment.htm>


More information about the Quickfixn mailing list