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

> On Fri, Aug 31, 2012 at 6:54 PM, Antonio Modesto
> <[email protected]> wrote:
>> 
>> 
>> 2012/8/29 Fajar A. Nugraha <[email protected]>
>> 
>>> On Wed, Aug 29, 2012 at 9:10 PM, Antonio Modesto
>>> <[email protected]> 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

--maarten

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to