I have enabled the Full Log System (syslogd + logrotate).
I see the log files in /var/log in the disk (correct):
[…]
-rwxrwxr-x 1 root adm 153804 Nov 12 18:29 auth.log
-rwxrwxr-x 1 root adm 0 Nov 10 11:21 auth.log.1
-rwxrwxr-x 1 root adm 0 Nov 10 11:21 auth.log.2.gz
[…]
But when I reboot the DietPi deletes the using recent log and logrotate create example.log.1 0 Kb … I think this is not useful in Full Log System.
How can I change this option to not delete log files on reboot?
The only time DietPi will automatically delete log file contents is with the hourly cron job. This will only run if you have selected a DietPi-Ramlog mode 1/2. I’ll need to see some settings.