[CentOS] syslog.conf - how to redirect messages by a program name?
markus.falb at fasel.at
Sun Mar 20 14:00:13 UTC 2011
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
Best Regards, Markus Falb
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 267 bytes
Desc: OpenPGP digital signature
More information about the CentOS