New build path variable
[freeradius.git] / suse / radiusd-logrotate
1 # There are different detail-rotating strategies you can use.  One is
2 # to write to a single detail file per IP and use the rotate config
3 # below.  Another is to write to a daily detail file per IP with:
4 #     detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail
5 # (or similar) in radiusd.conf, without rotation.  If you go with the
6 # second technique, you will need another cron job that removes old
7 # detail files.  You do not need to comment out the below for method #2.
8 /var/log/radius/radacct/*/detail {
9     compress
10     dateext
11     maxage 365
12     rotate 99
13     size=+1024k
14     notifempty
15     missingok
16 }
17
18 /var/log/radius/radius.log {
19     compress
20     dateext
21     maxage 365
22     rotate 99
23     size=+1024k
24     notifempty
25     missingok
26     create
27 }
28
29 /var/log/radius/radwatch.log {
30     compress
31     dateext
32     maxage 365
33     rotate 99
34     size=+1024k
35     notifempty
36     missingok
37     copytruncate
38 }
39
40 /var/log/radius/radwtmp {
41     compress
42     dateext
43     maxage 365
44     rotate 99
45     size=+2048k
46     notifempty
47     missingok
48     create
49 }
50
51 /var/log/radius/sqltrace.sql {
52     compress
53     dateext
54     maxage 365
55     rotate 99
56     size=+2048k
57     notifempty
58     missingok
59     create
60 }