Delet Log file in nextcloud 13.0.5

What is the easiest way to delete the log file?

1 Like

rm /var/www/nextcloud/data/nextcloud.log
If you have shell access and your data dir is /var/www/nextcloud.

You can control the maximum size of the logfile automatically via configuration (by default 100 MiB):

1 Like