Solved, thx!
I replaced ScreenLogFactory logFactory = new ScreenLogFactory(settings) with LogFactory logFactory = new FileLogFactory(settings);
Here is my code in full:
SessionSettings settings = new SessionSettings(_fixcfg);
FileStoreFactory storeFactory = new FileStoreFactory(settings);
LogFactory logFactory = new FileLogFactory(settings);
//ScreenLogFactory logFactory = new ScreenLogFactory(settings);
MessageFactory messageFactory = new DefaultMessageFactory();
initiator = new SocketInitiator(_instance, storeFactory, settings, logFactory, messageFactory)
initiator.start();
Thread.Sleep(3000);
System.Collections.ArrayList list = initiator.getSessions();
SessionID sessionID = (SessionID)list[0];
From: gbi...@co...
Date: Tue, 7 Feb 2012 13:48:58 -0600
Subject: Re: [Quickfix-developers] FileLogPath
To: pau...@ho...
CC: qui...@li...
When you created your Initiator/Acceptor, did you provide a LogFactory?
That config setting alone isn't enough.
On Tue, Feb 7, 2012 at 1:42 PM, beau_brummel <pau...@ho...> wrote:
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html
I have added a FileLogPath setting to my .cfg file, but nothing is being
saved there.
[DEFAULT]
FileLogPath=C:\inboundlogs
What am I missing ?
--
View this message in context: http://old.nabble.com/FileLogPath-tp33281190p33281190.html
Sent from the QuickFIX - Dev mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Quickfix-developers mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
--
Grant Birchmeier
Connamara Systems, LLC
Made-To-Measure Trading Solutions.Exactly what you need. No more. No less.
http://connamara.com
|