How to change the name of log files every day
Geoffrey Francis
geoffrey.francis at comms365.com
Tue Dec 3 14:49:17 UTC 2024
Will try it...thanks very much
Geoffrey
On Dec 3, 2024, at 4:58 AM, Geoffrey Francis via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> 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?
Configure it via logrotate. Every day move the current file to a new name, zip it, and HUP the server.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list