Hi,
On my system, Rsyslogd sometimes stops logging to files. It's random and happens maybe every other week. It doesn't coincide with any changes or updates.
I found a diagnostic that told me to run the following command:
/usr/sbin/rsyslogd -f/etc/rsyslog.d/50-default.conf -N1
The output is:
rsyslogd: version 5.8.6, config validation run (level 1), master config /etc/rsyslog.d/50-default.conf
rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically generated config directives may interfer with your rsyslog.conf settings. We suggest upgrading your config and adding -c5 as the first rsyslogd option.
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock
rsyslogd: End of config validation run. Bye.
So, it looks like I have to add -c5 as the first syslogd option.
The problem is, I have absolutely no idea how to do this. Can anyone help please?