On 20.3.2011 14:55, Alexander Farber wrote:
the "man syslog.conf" explains how to filter syslog messages by facility (auth, authpriv, cron, daemon, kern, ... ) or by priority (debug, info, notice, warning, ...).
But how could I redirect messages by a program name, like "drupal" or "php"? For example I have in /var/log/messages:
Classic syslog can not do this. But there are alternative syslogs available. syslog-ng can filter by program name. I am not sure about rsyslog.