Quantcast
Channel: How to prevent rsyslog from logging cron tasks to /var/log/syslog using additional config - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Romeo Ninov for How to prevent rsyslog from logging cron tasks to...

Line in you config:*.*;cron,auth,authpriv.none -/var/log/syslogmake it like this:*.*;cron.none,auth,authpriv.none -/var/log/syslogto stop cron from logging in syslogAnd also you can add dash (-) in...

View Article


How to prevent rsyslog from logging cron tasks to /var/log/syslog using...

I have a Docker image for cron tasks. Here is the Dockerfile:FROM php:8.0-fpmRUN apt-get updateRUN apt-get install -y cron rsyslogRUN touch /var/log/cron.logRUN chmod 0777 /var/log/cron.logCOPY ./app...

View Article
Browsing latest articles
Browse All 2 View Live