Tag Info

Hot answers tagged

2

You can use the pidof utility to check whether pretty much any program is running (if it gives out at least one pid, the program is running). If you are using syslog-ng, this would be pidof syslog-ng; if you are using syslogd, it would be pidof syslogd.


1

It seems that your log messages are sent to /var/log/debug.log because of this line : *.=debug /var/log/debug.log You can either : Use another priority for your tests (eg notice instead of debug) Change the order so that your lines are before the one referring to debug.log


1

Re: where to place '-c5' -- CentOS uses /etc/sysconfig/rsyslog as the configuration file for rsyslog's startup arguments, so you need to add '-c5' as the first argument to the SYSLOGD_OPTIONS= line, i.e. SYSLOGD_OPTIONS="-c5" Sorry for not answering all other questions you raised. I think it would have been much better if you asked them as separate, ...



Only top voted, non community-wiki answers of a minimum length are eligible