Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2001 11:31:10 -0400
From:      "Jonathan Fortin" <jfortin@akalink.com>
To:        "Michael Lucas" <mwlucas@blackhelicopters.org>
Cc:        <questions@freebsd.org>
Subject:   Re: syslog.conf && executing programs
Message-ID:  <004f01c0da2f$680eeaa0$020a10ac@node00>
References:  <20010511110227.A27757@blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hum
syslogd doesnt have logfile rotation functionality.

it's called newsyslog that has it and you can use it in any instance to trim
files.


----- Original Message -----
From: "Michael Lucas" <mwlucas@blackhelicopters.org>
To: <questions@freebsd.org>
Sent: Friday, May 11, 2001 11:02 AM
Subject: syslog.conf && executing programs


> Hello,
>
> I'd like to use syslogd to mail me upon certain events.
>
> local3.*                           | /usr/bin/mail -s alert mwlucas
>
> (I was using swatch, but it gives me trouble with logfile rotation.
> Since syslogd has the functionality, why not use it?)
>
>
> The first time something is appended to the log, I get a mail.
>
> The second time, I get a hang:
>
> loghost/etc;ps -ax | grep mail
> 25711  ??  Is     0:00.00 sh -c  /usr/bin/mail -s alert mwlucas
> 25712  ??  I      0:00.00 /usr/bin/mail -s alert mwlucas
> loghost/etc;
>
>
> Any suggestions?
>
>
> --
> Michael Lucas
> mwlucas@blackhelicopters.org
> http://www.blackhelicopters.org/~mwlucas/
> Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004f01c0da2f$680eeaa0$020a10ac>