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
14 /var/log/freeradius/*.log {
22 service freeradius reload > /dev/null
30 #/var/log/freeradius/radius.log {
35 # Session monitoring utilities
37 #/var/log/freeradius/checkrad.log /var/log/freeradius/radwatch.log {
42 # Session database modules
44 #/var/log/freeradius/radutmp /var/log/freeradius/radwtmp {
51 #/var/log/freeradius/sqllog.sql {
55 # There are different detail-rotating strategies you can use. One is
56 # to write to a single detail file per IP and use the rotate config
57 # below. Another is to write to a daily detail file per IP with:
58 # detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail
59 # (or similar) in radiusd.conf, without rotation. If you go with the
60 # second technique, you will need another cron job that removes old
61 # detail files. You do not need to comment out the below for method #2.
62 #/var/log/freeradius/radacct/*/detail {