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

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



Title: Re: [CentOS] syslog.conf - how to redirect messages by a program name?

rsyslog can do this as well and has a great filtering feature that is available.  rsyslog will (should) be the default logging daemon in CentOS 6 (as it is for RHEL6).

 

 

From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Markus Falb
Sent: Sunday, March 20, 2011 10:00 AM
To: centos@xxxxxxxxxx
Subject: Re: [CentOS] syslog.conf - how to redirect messages by a program name?

 

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


No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1498/3518 - Release Date: 03/20/11

_______________________________________________
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