[Quickfix-users] Debug logging.....
Brought to you by:
orenmnero
From: Amir F. <ami...@ya...> - 2007-01-25 16:38:25
|
Is there a way to turn on lots of debug logging in QuickFIX? specifically, session level logging that might show me why my "acceptor" application generates an unsolicited logout. thanks --- Oren Miller <or...@qu...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: > http://www.quickfixengine.org/services.html > > > Are you sure that the serializer isn't throwing an > exception? > > --oren > > > Constructing an XmlSerializer object inside an > onMessage() callback > > causes QuickFIX to generate a logout. > > > > > > > > Here is C# example code: > > > > > > > > class OrderSession : MessageCracker, Application > > > > { > > > > public void onCreate(SessionID sessID) {} > .. onLogon(), > > toAdmin(), etc, etc. > > > > > > > > public override void > onMessage(QuickFix42.NewOrderSingle > > fixOrder, SessionID session) > > > > { > > > > Object myobject = new Object(); > > > > XmlSerializer x = new > XmlSerializer(typeof(Object)); // > > causes logout > > > > } > > > > } > > > > > > > > Anyone else experienced this problem? > > > > > > > > Thanks, > > > > > > > > Amir > > > > > > > > > > > > > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- > > > +-+-+-+- > > This message is for the named person's use only. > This communication > > is for > > informational purposes only and has been obtained > from sources > > believed to > > be reliable, but it is not necessarily complete > and its accuracy > > cannot be > > guaranteed. It is not intended as an offer or > solicitation for the > > purchase > > or sale of any financial instrument or as an > official confirmation > > of any > > transaction. Moreover, this material should not be > construed to > > contain any > > recommendation regarding, or opinion concerning, > any security. It may > > contain confidential, proprietary or legally > privileged > > information. No > > confidentiality or privilege is waived or lost by > any > > mistransmission. If > > you receive this message in error, please > immediately delete it and > > all > > copies of it from your system, destroy any hard > copies of it and > > notify the > > sender. You must not, directly or indirectly, use, > disclose, > > distribute, > > print, or copy any part of this message if you are > not the intended > > recipient. Any views expressed in this message > are those of the > > individual > > sender, except where the message states otherwise > and the sender is > > authorized to state them to be the views of any > such entity. > > > > Securities products and services provided to > Canadian investors are > > offered > > by ITG Canada Corp. (member CIPF and IDA), an > affiliate of Investment > > Technology Group, Inc. > > > > ITG Inc. and/or its affiliates reserves the right > to monitor and > > archive > > all electronic communications through its network. > > > > ITG Inc. Member NASD, SIPC > > > -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- > > > +-+-+-+- > > > ---------------------------------------------------------------------- > > > --- > > Take Surveys. Earn Cash. Influence the Future of > IT > > Join SourceForge.net's Techsay panel and you'll > get the chance to > > share your > > opinions on IT & business topics through brief > surveys - and earn cash > > http://www.techsay.com/default.php? > > > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > > > _______________ > > Quickfix-users mailing list > > Qui...@li... > > > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > ____________________________________________________________________________________ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather |