1 # You can use this to rotate the /var/log/freeradius/* files, simply copy
2 # it to /etc/logrotate.d/radiusd
5 # Global options for all logfiles
17 /var/log/freeradius/radius.log {
22 # Session monitoring utilities
24 /var/log/freeradius/checkrad.log /var/log/freeradius/radwatch.log {
29 # Session database modules
31 /var/log/freeradius/radutmp /var/log/freeradius/radwtmp {
38 /var/log/freeradius/sqllog.sql {
42 # There are different detail-rotating strategies you can use. One is
43 # to write to a single detail file per IP and use the rotate config
44 # below. Another is to write to a daily detail file per IP with:
45 # detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail
46 # (or similar) in radiusd.conf, without rotation. If you go with the
47 # second technique, you will need another cron job that removes old
48 # detail files. You do not need to comment out the below for method #2.
49 /var/log/freeradius/radacct/*/detail {