Re: [Quickfix-users] Hide the Messages from Console
Brought to you by:
orenmnero
From: David G. <Dav...@ig...> - 2007-06-22 17:41:07
|
Coincidentally I just worked through the same question. Here's the answer I posted back a couple of days ago, hope it helps.... I found enough of the answer in this posting,=20 http://www.nabble.com/QF-J-message-and-event-logs-t3688701.html=20 In your code select the SLF4J logger, =2E.. LogFactory logFactory =3D new SLF4JLogFactory(settings); this.initiator =3D new SocketInitiator(this, messageStoreFactory, settings, logFactory, messageFactory); ... It seems you need to specify the logging category directives in the config file, the defaults did not seem to work but that could be my mistake. =2E.. [session] =2E.. "SLF4JLogIncomingMessageCategory=3Dquickfixj.msg.incoming" "SLF4JLogOutgoingMessageCategory=3Dquickfixj.msg.outgoing" =2E.. Your Log4J configuration will now be used. =2E.. <category name=3D"quickfixj.msg"> <priority value=3D"info" /> <appender-ref ref=3D"FIX_MSG_LOG" /> </category> =2E.. Hope this helps any others with the same question. Dave =20 -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Naveed Ali Sent: 22 June 2007 15:46 To: qui...@li...; qui...@li... Subject: [Quickfix-users] Hide the Messages from Console QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Hello All FIXians, Though I have not received the reply on my previous message but I am confident of receiving the reply on this one... I want to hide/remove the messages that appear on the Console of Application when it is opened. I don't want to show the messages to my client what are outgoing / incoming message in the application. Is there any way to do this...? With regards -Naveed ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Quickfix-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-users The information contained in this email is strictly confidential and for = the use of the addressee only, unless otherwise indicated. If you are not= the intended recipient, please do not read, copy, use or disclose to oth= ers this message or any attachment. Please also notify the sender by repl= ying to this email or by telephone +44 (0)20 7896 0011 and then delete th= e email and any copies of it. Opinions, conclusions (etc.) that do not re= late to the official business of this company shall be understood as neit= her given nor endorsed by it. IG Markets Limited and IG Index Plc are aut= horised and regulated by the Financial Services Authority and, in Austral= ia, by the Australian Securities and Investments Commission. |