Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Control what messages go into /var/spool/mail/root (http://www.linux-archive.org/centos/370212-control-what-messages-go-into-var-spool-mail-root.html)

Yungwei Chen 05-12-2010 05:59 PM

Control what messages go into /var/spool/mail/root
 
Hi,


*


I found some info messages below in /var/spool/mail/root.


To reduce the size of that file, I'm wondering if there's a
way to prevent those unimportant messages from entering /var/spool/mail/root. Thanks.


*


2010-05-10T10:32:27-05:00 <authpriv.info> se1 su:
pam_unix(su-l:session): session closed for user root


2010-05-10T10:01:28-05:00 <local1.info> se1
Keepalived_vrrp: VRRP_Instance(VI_1) Received lower prio advert, forcing new
election


2010-05-10T10:02:02-05:00 <syslog.info> se1
syslog-ng[12531]: Log statistics; dropped='tcp(……)=0', processed=…..







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

John R Pierce 05-12-2010 06:39 PM

Control what messages go into /var/spool/mail/root
 
Yungwei Chen wrote:
>
> Hi,
>
> I found some info messages below in /var/spool/mail/root.
>
> To reduce the size of that file, I'm wondering if there's a way to
> prevent those unimportant messages from entering /var/spool/mail/root.
> Thanks.
>
> 2010-05-10T10:32:27-05:00 <authpriv.info> se1 su:
> pam_unix(su-l:session): session closed for user root
>
> 2010-05-10T10:01:28-05:00 <local1.info> se1 Keepalived_vrrp:
> VRRP_Instance(VI_1) Received lower prio advert, forcing new election
>
> 2010-05-10T10:02:02-05:00 <syslog.info> se1 syslog-ng[12531]: Log
> statistics; dropped='tcp(……)=0', processed=…..
>


um, that looks like stuff I'd expect to see in /var/log not in
/var/spool/mail



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


All times are GMT. The time now is 07:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.