04-24-2020, 09:49 PM
I'm new to Moode (very impressed overall btw), using it on a RPi 3A+. I was having a few issues with the bluetooth connection dropping out, but while I was investigating those I noticed the chkMaintenance function in worker.php which, as far as I can see, truncates a whole bunch of log files and deletes the rotated versions of those logs that have been created by logrotate, every 3hrs (maint_interval, which seems to default to 10800sec).
Can someone explain the reason for this? Throwing away a load of useful logs every three hours seems a strange thing to do given that those logs are going to be useful for debugging problems. I'm guessing it has something do with preserving storage space, but I'd expect to be able to rely on logrotate for that purpose.
I'm probably missing something here.
Thanks in advance for your help
Can someone explain the reason for this? Throwing away a load of useful logs every three hours seems a strange thing to do given that those logs are going to be useful for debugging problems. I'm guessing it has something do with preserving storage space, but I'd expect to be able to rely on logrotate for that purpose.
I'm probably missing something here.
Thanks in advance for your help