DietPi Logging

2 Questions on logging in DietPi:

  1. When switching Logging to “Full” I will have the two logfiles /var/log/Messages and /var/log/syslog.
    Is there any chance to get These two loggins also in DietPi-Ramlog#1 or DietPi-Ramlog#2?

  2. can I configure that results from cronjobs (e.g. has a cron Job been triggered for execution, has there been any Trouble with executing the cron Job, …) are being logged as well?


As to question 2 you can include a few lines of script to do the logging - here’s a simple example I use from a script in cron.daily.


Put your commands here

echo "*** $(date -R) ***" >> $LOG