Log rotation

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Aug 29 16:41:26 CEST 2012


On 29 Aug 2012, at 15:10, 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?
> 

Yes, FreeRADIUS can log via syslog. Or if you enable the control server you can do radmin -e 'hup' in your logrotate script or  just a straight kill -HUP `cat pid`.

-Arran


More information about the Freeradius-Users mailing list