# Detail files should not be rotated here. Instead in radiusd.conf set
#     detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail
# Which will cause the detail files to be automatically created every day.

/var/log/radius/radius.log {
    compress
    dateext
    maxage 365
    rotate 99
    size=+1024k
    notifempty
    missingok
    create 640 root root
}

/var/log/radius/radwatch.log {
    compress
    dateext
    maxage 365
    rotate 99
    size=+1024k
    notifempty
    missingok
    copytruncate
}

/var/log/radius/radwtmp {
    compress
    dateext
    maxage 365
    rotate 99
    size=+2048k
    notifempty
    missingok
    create 640 root root
}

