Thread: [Quickfix-developers] Logging message direction ie. received or sent
Brought to you by:
orenmnero
From: Matt P. <mat...@su...> - 2012-12-03 10:57:05
|
Hi, We're migrating from CameronFix to Quickfix. With Cameron, incoming messages in our logs are prepended with a '<' and outgoing with a '>'. Is there a way to mimic this behaviour with Quickfix, or to do something similar? The idea is to make it easier for us to be able to quickly see whether a message was sent by us or received from the exchange. Thanks for you help. Regards, Matthew www.sucdenfinancial.com Sucden Financial Limited, Plantation Place South, 60 Great Tower Street, London EC3R 5AZ Telephone +44 203 207 5000 Registered in England no. 1095841 VAT registration no. GB 446 9061 33 Authorised and Regulated by the Financial Services Authority (FSA) and entered in the FSA register under no. 114239 This email, including any files transmitted with it, is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you are not the intended recipient of this message, please notify pos...@su... immediately and delete it from your computer system. We believe, but do not warrant, that this email and its attachments are virus-free, but you should check. Sucden Financial Limited may monitor traffic data of both business and personal emails. By replying to this email, you consent to Sucden Financial 's monitoring the content of any emails you send to or receive from Sucden Financial . Sucden Financial is not liable for any opinions expressed by the sender where this is a non-business email. The contents of this e-mail do not constitute advice and should not be regarded as a recommendation to buy, sell or otherwise deal with any particular investment. This message has been scanned for viruses by Mimecast. |
From: Clebson D. <cde...@gm...> - 2012-12-03 11:09:25
|
Hey Matt, You can override Quickfix log factory to create yours: class MyLog : public FIX::Log { public: // ... }; class MyLogFactory : public FIX::LogFactory { public: // ... }; So you can use another log framework and put the >< by yourself (: Regards, Clebson On Mon, Dec 3, 2012 at 8:56 AM, Matt Pickering <mat...@su... > wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi, > > We're migrating from CameronFix to Quickfix. With Cameron, incoming > messages in our logs are prepended with a '<' and outgoing with a '>'. > Is there a way to mimic this behaviour with Quickfix, or to do something > similar? The idea is to make it easier for us to be able to quickly see > whether a message was sent by us or received from the exchange. > > Thanks for you help. > > Regards, > > Matthew > > <http://www.sucdenfinancial.com/>www.sucdenfinancial.com > > Sucden Financial Limited, ****Plantation Place South, 60 Great Tower > Street**, **London** **EC3R 5AZ**** > Telephone +44 203 207 5000 > > Registered in ****England**** no. 1095841 > VAT registration no. GB 446 9061 33 > > Authorised and Regulated by the Financial Services Authority (FSA) and > entered in the FSA register under no. 114239 > > This email, including any files transmitted with it, is confidential and > may be privileged. It may be read, copied and used only by the intended > recipient. If you are not the intended recipient of this message, please > notify *pos...@su...* immediately and delete it from your > computer system. > > We believe, but do not warrant, that this email and its attachments are > virus-free, but you should check. > > > > Sucden Financial Limited may monitor traffic data of both business and > personal emails. By replying to this email, you consent to Sucden Financial > 's monitoring the content of any emails you send to or receive from Sucden > Financial . Sucden Financial is not liable for any opinions expressed by > the sender where this is a non-business email. > > > > The contents of this e-mail do not constitute advice and should not be > regarded as a recommendation to buy, sell or otherwise deal with any > particular investment. > > > > This message has been scanned for viruses by Mimecast<http://www.mimecast.com/> > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > BUILD Helping you discover the best ways to construct your parallel > projects. > http://goparallel.sourceforge.net > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
From: Matt P. <mat...@su...> - 2012-12-03 11:12:38
|
Thanks Clebson we'll give this a try. Regards, Matt On 03/12/12 11:08, Clebson Derivan wrote: > Hey Matt, > > You can override Quickfix log factory to create yours: > > class MyLog : public FIX::Log > { > public: > // ... > }; > > class MyLogFactory : public FIX::LogFactory > { > public: > // ... > }; > > So you can use another log framework and put the >< by yourself (: > > Regards, > Clebson > > On Mon, Dec 3, 2012 at 8:56 AM, Matt Pickering > <mat...@su... ><mailto:mat...@su...>> > wrote: > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi, > > We're migrating from CameronFix to Quickfix. With Cameron, incoming > messages in our logs are prepended with a '<' and outgoing with a > '>'. > Is there a way to mimic this behaviour with Quickfix, or to do > something > similar? The idea is to make it easier for us to be able to > quickly see > whether a message was sent by us or received from the exchange. > > Thanks for you help. > > Regards, > > Matthew > > www.sucdenfinancial.com <http://www.sucdenfinancial.com/> > > Sucden Financial Limited, Plantation Place South, 60 Great Tower > Street, London EC3R 5AZ > Telephone +44 203 207 5000 <tel:%2B44%20203%20207%205000> > > Registered in England no. 1095841 > VAT registration no. GB 446 9061 33 > > Authorised and Regulated by the Financial Services Authority (FSA) > and entered in the FSA register under no. 114239 > > This email, including any files transmitted with it, is > confidential and may be privileged. It may be read, copied and > used only by the intended recipient. If you are not the intended > recipient of this message, please notify _po...@su... > <mailto:pos...@su...>_ immediately and delete it from > your computer system. > > We believe, but do not warrant, that this email and its > attachments are virus-free, but you should check. > > Sucden Financial Limited may monitor traffic data of both business > and personal emails. By replying to this email, you consent to > Sucden Financial 's monitoring the content of any emails you send > to or receive from Sucden Financial . Sucden Financial is not > liable for any opinions expressed by the sender where this is a > non-business email. > > The contents of this e-mail do not constitute advice and should > not be regarded as a recommendation to buy, sell or otherwise deal > with any particular investment. > > This message has been scanned for viruses by Mimecast > <http://www.mimecast.com/> > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > BUILD Helping you discover the best ways to construct your > parallel projects. > http://goparallel.sourceforge.net > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > <mailto:Qui...@li...> > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > www.sucdenfinancial.com Sucden Financial Limited, Plantation Place South, 60 Great Tower Street, London EC3R 5AZ Telephone +44 203 207 5000 Registered in England no. 1095841 VAT registration no. GB 446 9061 33 Authorised and Regulated by the Financial Services Authority (FSA) and entered in the FSA register under no. 114239 This email, including any files transmitted with it, is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you are not the intended recipient of this message, please notify pos...@su... immediately and delete it from your computer system. We believe, but do not warrant, that this email and its attachments are virus-free, but you should check. Sucden Financial Limited may monitor traffic data of both business and personal emails. By replying to this email, you consent to Sucden Financial 's monitoring the content of any emails you send to or receive from Sucden Financial . Sucden Financial is not liable for any opinions expressed by the sender where this is a non-business email. The contents of this e-mail do not constitute advice and should not be regarded as a recommendation to buy, sell or otherwise deal with any particular investment. This message has been scanned for viruses by Mimecast. |