Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QuickFIX: log rotation feature

Tags:

quickfix

It seems QuickFIX has not log rotation feature. Is it possible to do it somehow?

like image 665
xyzt Avatar asked Sep 07 '25 09:09

xyzt


1 Answers

This post shows the rotation might have been released longtime ago. There mayn't be any config change to be made, maybe you need to implement it yourself as described in the post.

Here it explains that it isn't possible to rotate without shutting down your engine. Your engine would have the old hook to the logfile and when it sees that the log file doesn't exist, probably would crash. In the same post it explains that divide your multiple seesions for each day, 7 logs for 7 dys in the week. Should be a plausible method to do it, when you shouldn't be restarting your engine in the middle of a day.

like image 52
DumbCoder Avatar answered Sep 11 '25 03:09

DumbCoder