Re: [Quickfix-developers] FileLog not getting created
Brought to you by:
orenmnero
From: Dale W. <wil...@oc...> - 2008-04-22 20:52:35
|
Hi Lu;kas, lukas41 wrote: > I was able to run quickfix's example applications, such as ordermatch and > tradeclient. However, it doesn't seem like they are logging any outgoing > messages. I These applications "log" the messages to the screen. For example in .../examples/ordermatch/ordermatch.cpp you'll see code that looks like: FIX::FileStoreFactory storeFactory( settings ); FIX::ScreenLogFactory logFactory( true, true, true ); FIX::SocketAcceptor acceptor( application, storeFactory, settings, logFactory ); If you replace ScreenLogFactory(...) with FileLogFactory (settings) the logs will be written to a file rather than to the screen. Dale |