{{Quickfixn}} Stopping file logging on QuickFix/n 1.5.0.0

Wayne Graham wrgraham.sa at gmail.com
Thu Aug 16 12:39:49 PDT 2018


Thanks Jie

 

From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of
Jie Zhu
Sent: Thursday, August 16, 2018 4:13 PM
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} Stopping file logging on QuickFix/n 1.5.0.0

 

In quickfix there is NullLog class. Basically it just does nothing for the
incoming and outgoing messages. 

 

You can create a NullLogFactory, implement the create method to return a
NullLog class.

 

Jie

 

From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of
Wayne Graham
Sent: Thursday, August 16, 2018 2:28 AM
To: 'Mailing list for QuickFIX/n'
Subject: Re: {{Quickfixn}} Stopping file logging on QuickFix/n 1.5.0.0

 

Hi Andrew

 

Thanks for your help, I came right.

 

Regards,

Wayne

 

From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com]
<mailto:[mailto:quickfixn-bounces at lists.quickfixn.com]>  On Behalf Of
Culross, Andrew x38249
Sent: Wednesday, August 15, 2018 9:29 PM
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com
<mailto:quickfixn at lists.quickfixn.com> >
Subject: Re: {{Quickfixn}} Stopping file logging on QuickFix/n 1.5.0.0

 

At some point you are going to create a SocketInitiator - it takes a
logFactory (which is probably now a QuickFix.FileLogFactory(settings)) - I
think you can pass null here and shut off logging - or implement the
interface and replace the FileLogFactory with your own object.

 

Andrew Culross | Lead Technical Consultant | Broadridge FX & Liquidity
Solutions
10 Bank Street | White Plains, NY 10606 | USA | p +1 914 288 8249

 <http://www.broadridge.com/> broadridge.com

 

From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of
Wayne Graham
Sent: Wednesday, August 15, 2018 2:52 PM
To: 'Mailing list for QuickFIX/n' <quickfixn at lists.quickfixn.com
<mailto:quickfixn at lists.quickfixn.com> >
Subject: Re: {{Quickfixn}} Stopping file logging on QuickFix/n 1.5.0.0

 


EXTERNAL EMAIL 

 


 

Hi Andrew

 

Thanks for replying - sorry this is all new to me. Do you mean setting the
FileLogPath=NULL in the config file ?

 

Thanks for your help.

 

Regards,
Wayne

 

From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of
Culross, Andrew x38249
Sent: Wednesday, August 15, 2018 7:53 PM
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com
<mailto:quickfixn at lists.quickfixn.com> >
Subject: Re: {{Quickfixn}} Stopping file logging on QuickFix/n 1.5.0.0

 

Check out the constructor - I believe it take a logging object - pass null
instead (or your own new object)

 

Andrew Culross | Lead Technical Consultant | Broadridge FX & Liquidity
Solutions
10 Bank Street | White Plains, NY 10606 | USA | p +1 914 288 8249

 <http://www.broadridge.com/> broadridge.com

 

From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of
Wayne Graham
Sent: Wednesday, August 15, 2018 10:03 AM
To: quickfixn at lists.quickfixn.com <mailto:quickfixn at lists.quickfixn.com> 
Subject: {{Quickfixn}} Stopping file logging on QuickFix/n 1.5.0.0

 


EXTERNAL EMAIL 

 


 

Hi

 

Is it possible to disable file logging on QuickFix/n 1.5.0.0 - I would like
to manage the file logging from within my application.

 

I have searched the configuration documentation and see nothing that lets me
disable it.

 

Thanks.

Wayne


This message and any attachments are intended only for the use of the
addressee and may contain information that is privileged and confidential.
If the reader of the message is not the intended recipient or an authorized
representative of the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited. If you have
received this communication in error, please notify us immediately by e-mail
and delete the message and any attachments from your system.


This message and any attachments are intended only for the use of the
addressee and may contain information that is privileged and confidential.
If the reader of the message is not the intended recipient or an authorized
representative of the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited. If you have
received this communication in error, please notify us immediately by e-mail
and delete the message and any attachments from your system.

This email and any attached files are confidential and may be legally
privileged. If you are not the intended recipient, any disclosure,
reproduction, copying, distribution, or other dissemination or use of this
communication is strictly prohibited. If you have received this transmission
in error please notify the sender immediately and then delete this email.
Email transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore is in no way liable for
any errors or omissions in the contents of this message which may arise as a
result of email transmission. If verification is required please request a
hard copy.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20180816/0bd2dd2a/attachment.htm>


More information about the Quickfixn mailing list