Nextcloud 20.0.4, Ubuntu 18.04LTS, PHP 7.4
I have been struggling with Nextcloud log files - they are BIG and writing or opening them begins to consume all system resources at some point.
I have tried ‘log_rotate_size’ => in various forms, but it immediately causes server error. Con somebody show me an example that works?
Can you please show what you put there exactly and what the errors were?
I tried this:
‘log_rotate_size’ => 100 * 1024 * 1024,
and Nextcloud stopped serving - I had to remove the line before I could look at a log file.
Using nearly the same settings like you and it works good.
What other log parameters does your config.php contain?