DietPi Logging

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Posts: 84
Joined: Thu Mar 16, 2017 9:33 am

DietPi Logging

Post by dietpiOK »

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?

User avatar
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: DietPi Logging

Post by johnvick »

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.

Code: Select all


Put your commands here

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