Answer the question
In order to leave comments, you need to log in
How to disable logging of root cron jobs to /var/log/syslog (or anywhere else) in ubuntu 14.04 lts 64 minimal?
Tried almost everything that googled.
Changing the config /etc/rsyslog.d/* and /etc/init.d/rsyslog force-reload did not help.
Changes in cron -L logging level from 1 to 4 too.
It was possible to remove duplication from the auth log, and send mail to the root. It writes to syslog, even if you crack (.
Forcibly intercepting the process with redirection to / dev / null, as some advised, I don’t want to do it at all.
Well, 14.04 again, of course, pleased me with the transfer of all configs, what you will find in memory.
Answer the question
In order to leave comments, you need to log in
solution:
*.*;auth,authpriv.none - /var/log/syslog
*.*;auth,authpriv.none; cron.none -/var/log/syslog
service rsyslog restart
Well, let him log. Never steamed. Set up the rotation so that the place does not eat up, and that's it
. If anything, syslog writes to files asynchronously, so it almost does not affect performance
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question