]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/core/freeradius/logrotate/freeradius
Remove legacy build system.
[people/ms/ipfire-3.x.git] / pkgs / core / freeradius / logrotate / freeradius
1 # You can use this to rotate the /var/log/radius/* files, simply copy
2 # it to /etc/logrotate.d/radiusd
3
4 # There are different detail-rotating strategies you can use. One is
5 # to write to a single detail file per IP and use the rotate config
6 # below. Another is to write to a daily detail file per IP with:
7 # detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail
8 # (or similar) in radiusd.conf, without rotation. If you go with the
9 # second technique, you will need another cron job that removes old
10 # detail files. You do not need to comment out the below for method #2.
11 /var/log/radius/radacct/*/detail {
12 monthly
13 rotate 4
14 nocreate
15 missingok
16 compress
17 }
18
19 /var/log/radius/checkrad.log {
20 monthly
21 rotate 4
22 create
23 missingok
24 compress
25 }
26
27 /var/log/radius/radius.log {
28 monthly
29 rotate 4
30 create
31 missingok
32 compress
33 }
34
35 /var/log/radius/radutmp {
36 monthly
37 rotate 4
38 create
39 compress
40 missingok
41 }
42
43 /var/log/radius/radwtmp {
44 monthly
45 rotate 4
46 create
47 compress
48 missingok
49 }
50 /var/log/radius/sqltrace.sql {
51 monthly
52 rotate 4
53 create
54 compress
55 missingok
56 }