when i restart bandwidthd at midnight, the logs dont rotate. is this a known issue? is this an easy fix?
i wrote a quick and dirty php script to run at midnight and kill the process, rotate the log files and restart it. seems to work, but we will see after a few days.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually you "HUP" it to rotate logs, not kill it. After a HUP it will rotate the logs in a few minutes, but it only rotates the daily logs. The new version in CVS rotates all logs, but it only rotaes the weekly logs every few days, monthly every few weeks, and yearly every few months.
Thankyou for using bandwidthd,
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when i restart bandwidthd at midnight, the logs dont rotate. is this a known issue? is this an easy fix?
i wrote a quick and dirty php script to run at midnight and kill the process, rotate the log files and restart it. seems to work, but we will see after a few days.
Actually you "HUP" it to rotate logs, not kill it. After a HUP it will rotate the logs in a few minutes, but it only rotates the daily logs. The new version in CVS rotates all logs, but it only rotaes the weekly logs every few days, monthly every few weeks, and yearly every few months.
Thankyou for using bandwidthd,
David
I'd like to know this too - I was watching the logs while it passed through midnight, and it was still logging to the same day :(
Last edit: mstudio 2022-09-24