AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20090727133930.771ff57c@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:mail.onstor.net
NSV:
SSH:
R:<maxim.kozlovsky@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@exch1.onstor.net/INBOX	0	2779531E7C760D4491C96305019FEEB52AD70408C1@exch1.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Mon, 27 Jul 2009 13:39:55 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Maxim Kozlovsky <maxim.kozlovsky@onstor.com>
Subject: Re: how to get rid of messages
Message-ID: <20090727133955.1bc4072f@ripper.onstor.net>
In-Reply-To: <2779531E7C760D4491C96305019FEEB52AD70408C1@exch1.onstor.net>
References: <2779531E7C760D4491C96305019FEEB52AD70408C1@exch1.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Mon, 27 Jul 2009 11:49:46 -0700 Maxim Kozlovsky
<maxim.kozlovsky@onstor.com> wrote:

> Hello,
> 
> Is there any way to get rid of these messages in the logs?
> 
> Jul 27 11:00:01 g11r203 /USR/SBIN/CRON[12988]: (root) CMD
> (/onstor/bin/emrscron -g h_res_stats) Jul 27 11:03:01
> g11r203 /USR/SBIN/CRON[13532]: (root) CMD (/onstor/bin/emrscron -g
> h_res_stats) Jul 27 11:06:01 g11r203 /USR/SBIN/CRON[14069]: (root)
> CMD (/onstor/bin/emrscron -g h_res_stats)
> 
> Max
> 

Well, one thing you could do is disable that job from running ~:^)  I
think that one is in the crontab itself.  You could make it run less
often or comment it out all together.

You would probably prefer something like 

cron.*				/var/log/cron.log

to your /etc/syslog.conf file.  Or make it /dev/null or whatever.

I haven't tested that, but something like that should work.  And remove
the cron entry for /var/log/messages.

Let me know if that works.


