You can set up automatic rotation of logfiles to avoid overfilling the disk space.
logrotate utility is a standard tool in Linux systems. It is run by
cron.daily once a day at 6:25 am (on Ubuntu systems).
To configure logfile rotation for shop logs, create a new configuration file in
1 2 3 4 5 6 7 8 9
If the logfiles grow very quickly, you can run
logrotate once per hour by putting it in
cron.hourly (it will run at 17 minutes past every hour):