Skip to main content
1 of 2
alessandro
  • 203
  • 2
  • 8

rsyslog conf file problem

I'm running Fedora (F19) and my /var/log/messages is filled with info coming from avahi-daemon: stuff like:

Jan 21 14:13:42 localhost avahi-daemon[554]: Invalid response packet from host 10.10.22.3. 

from my local network

since I read somewhere that it's harmless, but I dont have time at the moment to debug it, I thought about disabling the reporting by modifying /etc/rsyslog.conf.

I modified this line:

*.info;mail.none;authpriv.none;cron.none /var/log/messages 

to this line

*.info;mail.none;authpriv.none;cron.none;avahi-daemon.none /var/log/messages 

but with the new line rsyslog doesnt work anymore!

systemctl restart rsyslog reports it as running, but nothing gets ever written in messages - doing stuff that normally gets reported, as stopping&restarting some process (e.g. systemctl restart cups), nothing gets reported.

If I restore the rsyslog.conf line as before, the restart of cups gets reported.

There is some problem in the way I modified that line?

alessandro
  • 203
  • 2
  • 8