Logrotate for FreeRadius 3.0.8
Simon Flood
S.M.Flood at uis.cam.ac.uk
Tue Jun 23 11:16:14 CEST 2015
On 22/06/2015 19:51, Sunil Kulkarni -X (sunikulk - PERSISTENT SYSTEMS
INC at Cisco) wrote:
> I am using FreeRadius 3.0.8. To setup the log rollover, I did the following steps.
Which flavour and version of Linux are you using?
> 1. Copy the attached radius file into /etc/logrotate.d/radius
>
> 2. Attached radius file contains information about the log. I am expected logrotate will create a log file on daily basis, because global setting in radiusd file is daily.
>
> But log file is not created on daily basic.
Which log file? radius.log?
> When I have executed radiusd forcefully using logrotate -v -f /etc/logrotate.d/radiusd command. It is created compressed file and create a new log for logging.
>
> Am I missing anything in configuration?
Ignoring any log rotation efforts, does your radius.log file get written
to /usr/local/var/log/radius/? That's where logrotate is looking to
process it.
HTH,
Simon
--
Simon Flood, Senior Systems Specialist,
University Information Services, University of Cambridge
More information about the Freeradius-Users
mailing list