Answer the question
In order to leave comments, you need to log in
How to enable cron logs in Ubuntu 18.04?
Good day.
I can't enable cron logging
, googling says I need to edit the file: etc/rsyslog.d/50-default.conf
There is no such file in the system.
Creating a file and writing a line to it:
cron. * /var/log/cron.log
does nothing.
Feeling that in general logging on all topics is disabled.
Answer the question
In order to leave comments, you need to log in
Creating a file and writing a line to it:
cron. * /var/log/cron.log
does nothing
sudo systemctl restart rsyslog.service
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question