Re: [Quickfix-developers] FileLog not getting created
Brought to you by:
orenmnero
From: <or...@qu...> - 2008-04-22 19:18:14
|
<html><body>You need to change to code a bit if you want to use the FileLog. If you look in those apps you will see that a ScreenLogFactory is passed into the initiator or acceptor. Passing a FileLogFactory in its place will get you file logs.<BR><BR> <BLOCKQUOTE style="PADDING-LEFT: 8px; MARGIN-LEFT: 8px; BORDER-LEFT: blue 2px solid" webmail="1">-------- Original Message --------<BR>Subject: [Quickfix-developers] FileLog not getting created<BR>From: lukas41 <mar...@gm...><BR>Date: Tue, April 22, 2008 1:23 pm<BR>To: <a href="mailto:qui...@li...">qui...@li...</a><BR><BR>QuickFIX Documentation: <A href="http://www.quickfixengine.org/quickfix/doc/html/index.html" target=_blank><a href="http://www.quickfixengine.org/quickfix/doc/html/index.html">http://www.quickfixengine.org/quickfix/doc/html/index.html</a></A><BR>QuickFIX Support: <A href="http://www.quickfixengine.org/services.html" target=_blank><a href="http://www.quickfixengine.org/services.html">http://www.quickfixengine.org/services.html</a></A><BR><BR><BR>Hi guys,<BR><BR>I'm new to quickfix. This forum had been very useful, and I would like to<BR>thank everyone in advance.<BR><BR>I was able to run quickfix's example applications, such as ordermatch and<BR>tradeclient. However, it doesn't seem like they are logging any outgoing<BR>messages. I understand that I should be using FileLog for this purpose. I<BR>see in the config file that I can specify a location for the log to go<BR>to...as in<BR>FileLogPath=store<BR><BR>However, nothing is getting logged there. The directory exists but it's<BR>empty after I run these apps.<BR><BR>I looked around the source code, and I see that the FileLog gets generated<BR>from a FileLogFactory. I put in some printout statements, and it seems like<BR>FileLogFactory.create never gets called. Instead, screenlogfactory gets<BR>created. What is the difference between screenlogfactory and filelogfactory?<BR>Will I be able to log messages to a file using screenlog?<BR><BR>thanks<BR><BR>lukas<BR>-- <BR>View this message in context: <A href="http://www.nabble.com/FileLog-not-getting-created-tp16825401p16825401.html" target=_blank><a href="http://www.nabble.com/FileLog-not-getting-created-tp16825401p16825401.html">http://www.nabble.com/FileLog-not-getting-created-tp16825401p16825401.html</a></A><BR>Sent from the QuickFIX - Dev mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<BR><BR><BR>-------------------------------------------------------------------------<BR>This <a href="http://SF.net">SF.net</a> email is sponsored by the 2008 JavaOne(SM) Conference <BR>Don't miss this year's exciting event. There's still time to save $100. <BR>Use priority code J8TL2D2. <BR><A href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" target=_blank><a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone</a></A><BR>_______________________________________________<BR>Quickfix-developers mailing list<BR><A onclick="Popup.composeWindow('pcompose.php?sendto=Quickfix-developers%40lists.sourceforge.net'); return false;" href="#Compose">Quickfix-developers<B></B>@lists.sourceforge.net</A><BR><A href="https://lists.sourceforge.net/lists/listinfo/quickfix-developers" target=_blank><a href="https://lists.sourceforge.net/lists/listinfo/quickfix-developers">https://lists.sourceforge.net/lists/listinfo/quickfix-developers</a></A><BR></BLOCKQUOTE></body></html> |