How to change the name of log files every day
Geoffrey Francis
geoffrey.francis at comms365.com
Tue Dec 3 09:58:14 UTC 2024
Hi,
We are using version 3 for freeradius
When we try to use the following statement in radiusd.conf "log" section
requests = ${logdir}/radiusd-%{%{Virtual-Server}:-DEFAULT}-%Y%m%d.log
we get
Cannot use deprecated configuration item "requests"
>From radiusd -C
We want to have this old functionality of rotating the log file each day and keeping the log name in the following format, as follows
radiusd-default-20241124.log.gz
radiusd-default-20241125.log.gz
radiusd-default-20241126.log.gz
what can we put in the radiusd.conf "log" section to do this?
Or how can we accomplish this please?
Geoffrey
More information about the Freeradius-Users
mailing list