many thanks for your report. That’s all as expected. The directory /root/logfile_storage will be created on the first hourly clean up. Usually this happen at the 17th minuteof a hour.
after a few hours the logfile_storage dir still wasn’t being created.
i went ahead and manually ran “/boot/dietpi/func/dietpi-logclear 0” and of course it created the dir and copied the files there and cleared the files in /var/log.
i’ll check later tonite and see if corn.hourly ran and called dietpi-logclear.
basically the log switch is triggered from following file /etc/cron.hourly/dietpi. Depending on the setting in config file /boot/dietpi/.installed, log switch will be initiated. LOGGING should be set to -2 in your case and can be verified like this
the script, /etc/cron.hourly/dietpi still isn’t being executed every hour.
cron service is running.
this line is in crontab: 17 * * * * root cd / && run-parts --report /etc/cron.hourly
seems it isn’t being executed, thus /etc/cron.hourly/dietpi isn’t run. i don’t have any cron*.logs either. i put a couple [echo “$date-$time text” > file.txt] lines to see if cron.hourly/dietpi file executed. i will only see file.txt written to if i manually execute cron.hourly/dietpi and not via cron service.