|
From: Ajit G. <aji...@gm...> - 2021-06-07 11:00:53
|
Hi Chris, Thanks for your reply. I was talking about the quickfix log file at FileLogPath. The message log file which logs all the FIX transactions. FileStorePath will be untouched as it contains session level details. Regards Ajit Gautam On Mon, Jun 7, 2021 at 4:21 PM Christoph John <chr...@ma...> wrote: > Hi Ajit, > > I thought I gave the answer to this some days ago already. Implement your > own quickfix.Log interface and replace the fields on the fly as messages > come in or go out. > > As far as I am aware there is no lock on the log files but I think this is > OS-dependent. > > When you talk about "logs" you mean the log file, right? So the file where > INFO, DEBUG, WARN messages etc are printed along with the FIX messages that > are sent out. > Why should the content of the FIX messages change because you change a > text file? > Or do you mean the real message store? These are files that are stored in > the directory that is pointed to in the config "FileStorePath". If you > change something in there, then this will change the FIX messages in case > of a resend. I strongly advise to NOT touch these files. > > Cheers, > Chris. > > > On 07.06.21 09:44, Ajit Gautam wrote: > > Hi Chris, > > I am logging my own logs as well as quickfix logs which are automatically > generated. > Since quickfix logs are logging passwords as well, I was wondering about > an approach at application level to run a cron which can replace the > password field with xxxx. > > But there were two points which I was not sure whether they would get > impacted or not. > Firstly, is there any locking mechanism on quickfix log or I can change it > runtime? > Secondly, if I change the log, does in the resend request, xxxx will be > sent in serving recovery request? > > > Regards > Ajit Gautam > > > On Sat, May 29, 2021 at 2:53 AM Christoph John <chr...@ma...> > wrote: > >> You could implement your own quickfix.Log and obfuscate the unwanted tags >> in the onIncoming/onOutgoing callbacks. >> >> Chris. >> >> >> On 28.05.21 13:38, Ajit Gautam wrote: >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> >> >> Hi, >> >> I have a Quickfix acceptor and a custom message for user logon and >> response. >> I am using Quickfix libraries and logging the messages. In the quickfix >> message log, user name and password are getting logged. But, I don't want >> to log the password field >> Is there a way or work around that avoids logging only the password field >> on a user logon request message? >> >> >> >> Regards >> Ajit Gautam >> >> >> _______________________________________________ >> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> >> -- >> Christoph John >> Software Engineering >> T +49 241 557...@ma... >> >> MACD GmbH >> Oppenhoffallee 103 >> 52066 Aachen, Germanywww.macd.com >> >> Amtsgericht Aachen: HRB 8151 >> Ust.-Id: DE 813021663 >> Geschäftsführer: George Macdonald >> >> > -- > Christoph John > Software Engineering > T +49 241 557...@ma... > > MACD GmbH > Oppenhoffallee 103 > 52066 Aachen, Germanywww.macd.com > > Amtsgericht Aachen: HRB 8151 > Ust.-Id: DE 813021663 > Geschäftsführer: George Macdonald > > |