Skip to main content

Truncate Logs

I don't programmatically clear my NC logs, I do it manually with this command:

truncate -s 0 /opt/ncdata/data/nextcloud.log

I run this from the LXC console.