FileLogBackupPath does not backup the log file

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

FileLogBackupPath does not backup the log file

ukarick
This post has NOT been accepted by the mailing list yet.
Hello developers,

I am developing the fix client in python. After configuring the FileLogBackupPath parameter, it seems like the client does not backup the log file. Do you guys have any python example demonstrating how this parameter works?

Best regards,
Ukarick
Reply | Threaded
Open this post in threaded view
|

Re: FileLogBackupPath does not backup the log file

Viktor Pogrebnyak
Hi, ukarick.

It looks like "FileLogBackupPath" parameter has no effect. You have to explicitly provide a backup path in FileStoreFactory object constructor.

Also, I can't find a place in the code where log backup is actually called - SessionState::backup() method is never invoked. This might explain troubles you have with log file backup.

P.S. There are test cases that verify that FileLog::backup() method actually works though. But in reality it is never invoked by framework.

Regards,
Viktor