FR-GV-301 - handle malformed WiMAX attributes
[freeradius.git] / suse / radiusd-logrotate
1 # You can use this to rotate the /var/log/radius/* files, simply copy
2 # it to /etc/logrotate.d/radiusd
3
4 #
5 #    Global options for all files
6 #
7 dateext
8 maxage 365
9 rotate 99
10 missingok
11 compress
12 delaycompress
13 notifempty
14
15 #
16 #  The main server log
17 #
18 /var/log/radius/radius.log {
19         copytruncate
20 }
21
22 #
23 #  Session monitoring utilities
24 #
25 /var/log/radius/checkrad.log /var/log/radius/radwatch.log {
26         nocreate
27         size=+1024k
28 }
29
30 #
31 #  SQL log files
32 #
33 /var/log/radius/sqllog.sql {
34         nocreate
35         size=+2048k
36 }
37
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 {
46         nocreate
47 }
48