# This config file is used to rotate the dingo.log # The rotate is daily and will result in one week of logs (7 rotations) # Maxsize is set 10 Megabyte, but is only checked daily. # To increase the checks, add this line to /etc/crontab : # 35 * * * * root logrotate /etc/logrotate.d/dingo-stack # This will do the checks hourly. # If any logs, should be uploaded somewhere, then activate and configure the upload script. /opt/GoIoT/DinGo/dingo.log { daily notifempty rotate 7 missingok copytruncate compress maxsize 10M lastaction # /opt/GoIoT/DinGo/bin/general/rn_upload_last_log.sh & endscript }