2 # Sample logrotate file for FreeRADIUS
4 # You can use this to rotate the /var/log/radius/* files, simply copy it to /etc/logrotate.d/radiusd
8 # Global options for all files
20 /var/log/radius/radius.log {
25 # Session monitoring utilities
27 /var/log/radius/checkrad.log /var/log/radius/radwatch.log {
34 /var/log/radius/sqllog.sql {
38 # There are different detail-rotating strategies you can use. One is
39 # to write to a single detail file per IP and use the rotate config
40 # below. Another is to write to a daily detail file per IP with:
41 # detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail
42 # (or similar) in radiusd.conf, without rotation. If you go with the
43 # second technique, you will need another cron job that removes old
44 # detail files. You do not need to comment out the below for method #2.
45 /var/log/radius/radacct/*/detail {