Re: syslog.conf - how to redirect messages by a program name?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

-- 
Best Regards, Markus Falb

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux