Closed honir closed 6 years ago
Rotating log files can be considered good practice. For long term deployments the logs can get very large. Particularly the debug push.log. This makes it harder to download the log files for inspection.
For infrequent data push (e.g. once an hour) this is less of an issue, but I am pushing every 5 minutes, so the push log grows at the rate of 2.5 MB per day.
If you wish to keep longer you could change
rotate 30
daily
to
rotate 30
weekly
to keep 6 months' worth of logs. (And which may be more appropriate with a 60 minute push regime?)
Currently live in my research deployments.
can you provide some background on this? why is it needed? Is the change well tested?