<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang="EN-GB" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span style="mso-fareast-language:EN-US">Ok thanks, I’ll do some more work on it tomorrow. I remember reading somewhere that you have to use the threaded initiator option and have each class on it’s own thread. I’ll see where I get with it tomorrow.<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Quickfixn <quickfixn-bounces@lists.quickfixn.com> <b>On Behalf Of </b>Grant Birchmeier<br><b>Sent:</b> 09 February 2021 17:53<br><b>To:</b> Mailing list for QuickFIX/n <quickfixn@lists.quickfixn.com><br><b>Subject:</b> Re: {{Quickfixn}} Logging settings<o:p></o:p></span></p><p class="MsoNormal"><o:p> </o:p></p><div><div><div><p class="MsoNormal"><span style="font-size:12.0pt;color:black">In my opinion, you should split this up into two separate QuickFix.IApplication classes (within a single app is still ok), each with its own config file. Each will log (or not log) as separately configured, and each only implements the OnMessage callbacks that it uses.<o:p></o:p></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p></div><div><p class="MsoNormal"><span style="color:black">I'm just now realizing that it's been a *long* time since I've written a multiple-initiator app, and I don't think it was even with this particular QF port. But I think I'm advising you correctly.</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p></div></div></div><p class="MsoNormal"><o:p> </o:p></p><div><div><p class="MsoNormal">On Tue, Feb 9, 2021 at 11:31 AM <<a href="mailto:alancloughley@hotmail.com">alancloughley@hotmail.com</a>> wrote:<o:p></o:p></p></div><blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi Grant,<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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?<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">If I use a 2<sup>nd</sup> initiator would I also have to use 2 separate settings files, one for each initiator?<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">A<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Quickfixn <<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>> <b>On Behalf Of </b>Grant Birchmeier<br><b>Sent:</b> 09 February 2021 17:12<br><b>To:</b> Mailing list for QuickFIX/n <<a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a>><br><b>Subject:</b> Re: {{Quickfixn}} Logging settings</span><o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><div><div><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;color:black">You're creating one Initiator for each session, right?</span><o:p></o:p></p></div><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;color:black"> </span><o:p></o:p></p></div><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;color:black">In the data-feed Initiator, change the FileLogFactory to a NullLogFactory. (This factory will ignore the FileLogPath config setting.)</span><o:p></o:p></p></div></div></div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1D1C1D;background:white">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.</span><o:p></o:p></p></div></div><p class="MsoNormal">_______________________________________________<br>Quickfixn mailing list<br><a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><o:p></o:p></p></blockquote></div><p class="MsoNormal"><br clear="all"><o:p></o:p></p><div><p class="MsoNormal"><o:p> </o:p></p></div><p class="MsoNormal">-- <o:p></o:p></p><div><div><p class="MsoNormal"><span style="font-size:10.0pt;color:black;background:white">Grant Birchmeier</span><o:p></o:p></p></div><div><p class="MsoNormal"><b><span style="font-size:10.0pt;color:#3333FF;background:#FFCC00">Connamara Systems, LLC</span></b><o:p></o:p></p></div><div><p class="MsoNormal"><b><span style="font-size:10.0pt">Made-To-Measure Trading Solutions.</span></b><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt">Exactly what you need. No more. No less.</span><o:p></o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt"><a href="http://connamara.com" target="_blank">http://connamara.com</a></span><o:p></o:p></p></div></div><p class="MsoNormal"><br><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1D1C1D;background:white">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.</span><o:p></o:p></p></div></body></html>