Log rotation

Maarten Carels lists at carels.info
Fri Aug 31 16:15:05 CEST 2012

On 31 Aug 2012, at 14:17 , Fajar A. Nugraha wrote:

> On Fri, Aug 31, 2012 at 6:54 PM, Antonio Modesto
> <modesto at isimples.com.br> wrote:
>> 2012/8/29 Fajar A. Nugraha <list at fajar.net>
>>> On Wed, Aug 29, 2012 at 9:10 PM, Antonio Modesto
>>> <modesto at isimples.com.br> wrote:
>>>> Hi,
>>>> Today I'm rotating my log files with a script that runs every night, the
>>>> problem is that it must stop the radiusd process, rename the file,
>>>> create a
>>>> new one then start radiusd again. Is there a way to do that
>>>> transparently?
>>>> Via syslog or something else?
>>> Your OS should do that already via logrotate, HUP-ing the running FR
>>> process in the process. What OS/distro are you using, and what FR
>>> version?
>> Hi, I'm using FreeBSD 8.0-STABLE
> Sorry, I'm not familiar with freebsd.
> You should be able to install logrotate from freebsd ports (if not
> installed already), and configure it to rotate freeradius' logs. Or
> contact the maintainer of freeradius port on freebsd, just in case
> they do it already, or have plans to do it.
> ... or if you're feeling particularly lazy and just want something
> that can run FR and is already configured to do log rotate, switch to
> linux :)

FreeBSD sports something called newsyslog for logrotation. Part of the standard install


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120831/bd1ac2ee/attachment.pgp>

More information about the Freeradius-Users mailing list