Logrotate tool

yagizozen yagizozen at yahoo.com
Mon May 14 16:15:49 CEST 2012

Hello everyone,

As you know, FR has a radius.log file under /var/log/radius  directory. I
noticed that inside the logrorate file, radius.log is set to rotate every
month.  Like this : 

 /var/log/radius/radius.log {
	 rotate 100

This is by default. I changed this to "daily" but the problem is, I need to
restart radius everytime when the new day comes in order to write to NEW
radius.log file. If I do not restart, it tries to point the compress version
of the old radius.log.

Why is that? 

I also can not do this inside an external script. When I rename the file
inside the script, it still writes to the new renamed radius.log file. Any
suggestions or any place for me to read?

Thanks You in advance.

View this message in context: http://freeradius.1045715.n5.nabble.com/Logrotate-tool-tp5709081.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.

More information about the Freeradius-Users mailing list