<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Hi Grant,</span></div><div><span><br></span></div><div><span>Thanks for your quick response.</span></div><div><span><br></span></div><div>I do not need to manipulate this files while my app is running. <br></div><div><br></div><div>The problem is that sometimes i need to stop fix engine connections and start again(every time when i start fix engine connections(SocketInitiator.Start()), i create newly objects(SocketInitiator, LogFactory etc.) instead of using old objects). But that time QuickFIX/n says these files are used by another process.</div><div><br></div><div>thanks,<br></div><div>Mehmet.</div><div><br></div><div><br></div>  <div style="font-size: 10pt; font-family: verdana, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font
 size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Grant Birchmeier <gbirchmeier@connamara.com><br> <b><span style="font-weight: bold;">To:</span></b> Mehmet Karabiberoglu <karabiberoglu@yahoo.com>; Mailing list for QuickFIX/n <quickfixn@lists.quickfixn.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, March 6, 2012 12:01 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: {{Quickfixn}} file log dispose issue<br> </font> </div> <br>
<div id="yiv1490443866"><div><font color="#000000"><font>That might be an engine bug.  I've created an issue for it:<br></font></font></div><div><a rel="nofollow" target="_blank" href="https://github.com/connamara/quickfixn/issues/48">https://github.com/connamara/quickfixn/issues/48</a><font color="#000000"><font><br>


</font></font></div><div><br></div><div>Not to sidestep the issue, but do you need to manipulating this file while your app is still running?  As a workaround, if you just need to read it, is it possible you can open it in read-only mode?</div>

<div><br></div><div><br></div><div class="yiv1490443866gmail_quote">On Mon, Mar 5, 2012 at 5:57 AM, Mehmet Karabiberoglu <span dir="ltr"><<a rel="nofollow" ymailto="mailto:karabiberoglu@yahoo.com" target="_blank" href="mailto:karabiberoglu@yahoo.com">karabiberoglu@yahoo.com</a>></span> wrote:<br>


<blockquote class="yiv1490443866gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size: 10pt; font-family: verdana, helvetica, sans-serif; "><div>Hi all,</div><div><br></div><div>we are using FileLogFactory for logging. </div>


<div><br></div><div>when we call SocketInitiator.Stop() method, it can not release all resources. </div><div><br></div><div>[SessionInfo].event.current.log and [SessionInfo].messages.current.log files are not closed. FileLog.Dispose() method is not called.<br>


</div><div><br></div><div>how can we pass this issue?</div><span><font color="#888888"><div><br></div><div>Mehmet.</div></font></span></div></div><br>_______________________________________________<br>
Quickfixn mailing list<br>
<a rel="nofollow" ymailto="mailto:Quickfixn@lists.quickfixn.com" target="_blank" href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com<br>
<br></blockquote></div><br><br clear="all"><br>-- <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>http://connamara.com<br>


</font></div><br>
</div><br><br> </div> </div>  </div></body></html>