How to activate cron.log on Debian

Category: Cloud servers

Cron Debian Linux Logging setup

A default Debian installation will log all messages from the cron daemon in the syslog log file ( it can be found in /var/log/syslog ).

Logging crontab entries to cron.log on Debian

The location of the cron log entries can be changed. This means you will have to edit the /etc/rsyslog.conf file.
vi /etc/rsyslog.conf

In the file, you will find the following line:

#cron.* -/var/log/cron

Uncomment the line (remove the #) and save the rsyslog..conf file.
Next you will have to restart the rsyslog daemon:

service rsyslog restart

After restarting the rsyslog daemon, crontab log entries will appear in the /var/log/cron.log file.


Related articles

How to choose a good domain name?

Practical tips, pitfalls and a little common sense: discover golden tips for choosing a good domain name here.

Read more

What is the address of FTP server for the Kinamo shared hosting platform?

The Kinamo shared hosting platform is a multi-server platform. Those who want to publish their websites can do so via...

Read more

Connecting to the Kinamo web hosting platform via FTP/TLS (FTP-S)

The Kinamo web hosting platform supports secure FTP connections so that your files are sent over an encrypted connection to...

Read more

Need extra help?

Were not all your questions answered?
Don't worry, we will be happy to help you via a support request!

Kinamo

Select your language