Open ilkayorhanlar opened 6 months ago
I guess, in mod_logfile.c file and in "load_profile" method" method suffix variable is equaled to 1. I guess after freeswitch restart, be called "load_profile" method in "mod_logfile.c"
But my opinion; If suffix of my oldest log file is 90, suffix variable should be 90.
In this way, the rotation logic doesnt effect restart operation.
If you agree with me, I can open pull request.
I know this problem. I have been living too for a long time. It would be nice if there is a solution and it is fixed.
Can you help with the solution?
Thanks. I hope they merge it into the main repo quickly.
Hi,
Is there any progress? Can you review and merge my PR. This is important for me.
Hi,
We have been having this problem for a long time. I'm waiting for the solution to merge with the main repo.
I set maximum-rotate with 500 in logfile.conf but I did'nt see 500 files in log path. I see 91 log files. My expectation is that I can see 500 log file in log path. But I guess that freeswitch removes log files.
Notes: I restart freeswitch each early morning. I run this command with cron for each 6 hours to rotate logs (systemctl kill -s HUP freeswitch)
FreeSWITCH Version 1.10.9-release.15~64bit (-release.15 64bit) CentOS Linux release 7.9.2009 (Core)