On one of my NC servers that I maintain the logs file [NC-DIR]/data/nextcloud.log has reached to almost 6GB. Is there a way to set Nextcloud to automatically delete logs older than X days?
You can try using the
log_rotate_size, described here.
Thanks. I’ll have a look at that.