<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">I don't know what that file is.  It looks corrupted (why all the weird spaces?).  It's not a FIX message log.  I think you must have created it with console-prints or a separate logger or something.</div>

<div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(0,0,0)">When you create your Initiator, did you pass it a FileLogFactory like I suggested?</div>

<div class="gmail_default" style="font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default"><font color="#000000">The FileLogPath setting will tell QF/n where to put logs.  </font>I'm pretty sure "c:Log" is not a valid Windows path.  Just do "FileLogPath=log/" for now, and it will create a dir "log" in the same location as your exe.  It'll put message logs and event logs there.  The good logs are the ones that end in ".message.log".</div>

<div class="gmail_default"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Nov 17, 2013 at 11:40 PM, Nirjhar Jain <span dir="ltr"><<a href="mailto:nirjhar.jain@commdel.net" target="_blank">nirjhar.jain@commdel.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Sir,<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Are you talking about the log file made on the path we have mentioned in config file as:<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">“FileLogPath=c:Log” or “FileStorePath=c:fixfiles”<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If you are taking about File in FileLogPath, then Please check the attached log file.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If there is some other file you are talking about, Please tell me where to check its path and how to log all events inside that file.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Please check the attached file and help me in understanding the issue.<u></u><u></u></span></p><div class="im">

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1f497d">Thanks & Regards,</span><b><span lang="EN-IN" style="font-size:11.0pt;font-family:"Century Gothic","sans-serif";color:#1f497d"><u></u><u></u></span></b></p>

<p class="MsoNormal"><b><span lang="EN-IN" style="font-size:11.0pt;font-family:"Century Gothic","sans-serif";color:#0f243e">Nirjhar Jain</span></b><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0f243e"><u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1f497d">Software Engineer<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif""><br>

</span><b><span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#006699">COMMDEL</span></b><span lang="EN-IN" style="font-size:10.0pt;font-family:"Century Gothic","sans-serif""><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1f497d">Commdel Consulting Services P Ltd, <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif"">H-134, Sector-63, Noida - U.P. (India)</span><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1f497d">   <u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif"">    </span><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#1f497d">           </span><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif""><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://www.commdel.net/" target="_blank"><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif"">www.commdel.net</span></a></span><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif";color:#0070c0">   <u></u><u></u></span></p>

<p class="MsoNormal"><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif"">A n   </span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699">I S O     9 0 0 1 : 2 0 0 8</span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif"">      C e r t i f i e d     C o m p a n y<u></u><u></u></span></b></p>

<p class="MsoNormal"><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#1f497d">Payment</span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif"">           </span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#0070c0">Enterprise</span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699">            </span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#ffc000">Mobility</span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699">            </span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#a6a6a6">Internet</span></b><b><span lang="EN-IN" style="font-size:8.0pt;font-family:"Century Gothic","sans-serif";color:#006699"> </span></b><span lang="EN-IN" style="font-size:9.0pt;font-family:"Century Gothic","sans-serif""> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p></div><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a> [mailto:<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> Friday, November 15, 2013 9:34 PM</span></p><div><div class="h5"><br><b>To:</b> Mailing list for QuickFIX/n<br><b>Subject:</b> Re: {{Quickfixn}} Please help in Market Data Request message format.<u></u><u></u></div>

</div><p></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal"><span style>I said that wrong.  Let me start over:<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style><u></u> <u></u></span></p>

</div><div><p class="MsoNormal"><span style>Those "logs" you posted aren't message logs.  Are those just console prints from ToApp and ToAdmin?  They are useless.  You need to see what you are receiving, too.<u></u><u></u></span></p>

</div><div><p class="MsoNormal"><span style><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style>When you create your application, create a FileLogFactory and pass that in as a parameter.  See example code near the bottom of this page:<u></u><u></u></span></p>

</div><div><p class="MsoNormal"><span style><a href="http://www.quickfixn.org/tutorial/creating-an-application" target="_blank">http://www.quickfixn.org/tutorial/creating-an-application</a></span><u></u><u></u></p></div>
<div>
<p class="MsoNormal"><span style>A FileLogFactory will cause QF/n to create a log file that contains all messaging send and received.  It's just a file full of the raw fix communication.</span><u></u><u></u></p></div>

<div><p class="MsoNormal"><span style><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style>In your earlier email, you pasted a ToApp and ToAdmin print statement.  Sounds like you think they are related.  They are not.  The first is a message you sent; I think it sent fine.  The second is a rejection that you are sending.  In between, your counterparty sent you a message that was rejected, but you aren't looking at real message logs so you didn't see their message.<u></u><u></u></span></p>

</div><div><p class="MsoNormal"><span style><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style>Here's the reject that you are sending:<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style><u></u> <u></u></span></p>

</div><p class="MsoNormal">8=FIX.4.4|9=127|35=3|34=3|49=KRISQLSSTR|50=KRIS|52=20131115-14:20:46.515|56=HSBCAPFIX|<span style="background:#ffd966">45=2|58=Tag appears more than once|371=9063|372=W|373=13</span>|10=197<u></u><u></u></p>

<div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">There's a lot of good information in the fields I highlighted.  45 tells you the seqno of the message that was rejected.  371 tells you which field is the problem.  372 tells you the message type of the rejected message.  373 is the error cause (which 58 helpfully spells out).  </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#cc0000">You rejected a W message with SeqNo=2 because it had multiple 9063 fields that your engine doesn't know how to handle.</span><u></u><u></u></p>

</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I suspect you have not updated your DD xml file for the various message and field customizations that your counterparty requires.  They have added custom field 9063 to their messages, but your engine does not know about it.  (Every counterparty does this kind of thing.)</span><u></u><u></u></p>

</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">You need to fix your DD.  Get your counterparty's specs to know what changes you need to make.  Then read this page for instructions:</span><u></u><u></u></p>

</div><div><p class="MsoNormal"><a href="http://www.quickfixn.org/tutorial/custom-fields-groups-and-messages" target="_blank"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">http://www.quickfixn.org/tutorial/custom-fields-groups-and-messages</span></a><u></u><u></u></p>

</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Also, bookmark FIXimate.  I use this site all the freakin' time.</span><u></u><u></u></p>

</div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif""><a href="http://www.fixtradingcommunity.org/FIXimate/FIXimate3.0/" target="_blank">http://www.fixtradingcommunity.org/FIXimate/FIXimate3.0/</a></span><u></u><u></u></p>

</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">-Grant</span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>

</div><div><p class="MsoNormal"><br><u></u></p></div></div></div></div></div></div></blockquote></div><div><br></div>-- <br><div><font><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font><font color="#3333ff"><br>

</font></font></div><div><font><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br>

</div><div><font><b>Made-To-Measure Trading Solutions.</b></font></div><div><font>Exactly what you need. No more. No less.</font><font><b><font color="#3333ff"><br></font></b></font></div><div><font><a href="http://connamara.com" target="_blank">http://connamara.com</a><br>

</font></div>
</div></div>