Okay, I appear to have solved this problem.
When you create the SocketInitiator, you need to use the version of the
constructor that takes a LogFactory as the 4th argument. I believe the
documentation is incorrect. The constructors in the html don't mention the
5th argument, the MessageFactory.
There is no need to explicitly create a log, or hook logging into messages.
Regards, Rick
Rick H. wrote:
>
> QuickFIX Documentation:
> http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
>
> Gentlepeople:
>
> I have changed ScreenLogFactory logFactory to FileLogFactory logFactory,
> and I have changed logFactory = new ScreenLogFactory(settings) to
> logFactory = new FileLogFactory(settings). I have added the line:
> FileLogPath=Z:/Rick/IOIViewer_logs/actual_logs_not_state/IOIServer_logs to
> my IOISession.ini file. I know that I am changed the correct ini file,
> because when I hide it, the application won’t start. My application is a
> lightly-modified tradeclient example.
>
> No x.incoming, x.outgoing, or x.event files appear in the designated
> directory. Do I need to supply an implementation for OnIncoming and
> similar methods? What is the piece I am missing?
>
>
> Regards,
>
> Rick
>
>
> ______________________________________________
>
> See http://www.peak6.com/email_disclaimer.php
> for terms and conditions related to this email
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Quickfix-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-users
>
>
--
View this message in context: http://old.nabble.com/Have-FileLogFactory.--Need-to-specify-OnIncoming%2C-et-alii---tp26521598p26576742.html
Sent from the QuickFIX - User mailing list archive at Nabble.com.
|