crontab logging
Florian Lohoff
flo at rfc822.org
Sun Jan 16 22:50:55 CET 2000
On Sun, Jan 16, 2000 at 06:50:51PM +0100, Ralf Heiringhoff wrote:
> On Sun, Jan 16, 2000 at 04:12:36PM +0100, Florian Lohoff wrote:
> > On Sun, Jan 16, 2000 at 03:57:48AM +0100, Ralf Heiringhoff wrote:
> >
> > * * * * * echo `date` `cat /proc/loadavg` >>/var/log/loadavg
> >
> > Oder so aehnlich ...
>
>
> jaja das ist so ein Eintrag aus der crontab nur im Syslog kommt dann halt jede
> Minute folgendes durch:
>
> ---schnipp---
>
> Jan 16 18:47:01 ice /USR/SBIN/CRON[19067]: (root) CMD
> (/usr/local/sbin/loadavg.sh)
> Jan 16 18:48:01 ice /USR/SBIN/CRON[19072]: (root) CMD
> (/usr/local/sbin/loadavg.sh)
>
> ---schnapp--
>
> und das moechte ich halt nicht mehr im Syslog haben ...
Dann bekomm raus mit welchem level und facility das gelogged wird
und editier deine syslog.conf entsprechend ...
z.b. bei debian hilft afaik folgendes ...
*.*,auth,authpriv.none -/var/log/syslog
in ...
*.*,cron.none,auth,authpriv.none -/var/log/syslog
verwandeln ...
Flo
--
Florian Lohoff flo at rfc822.org +49-5241-470566
... The failure can be random; however, when it does occur, it is
catastrophic and is repeatable ... Cisco Field Notice
More information about the Linux
mailing list