move shutdown calls into check for ssn->ssl. Found by PVS-Studio
[freeradius.git] / redhat / freeradius-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 logfiles
6 #
7 monthly
8 rotate 4
9 missingok
10 compress
11 delaycompress
12
13 #
14 #  The main server log
15 #
16 /var/log/radius/radius.log {
17         copytruncate
18 }
19
20 #
21 #  Session monitoring utilities
22 #
23 /var/log/radius/checkrad.log /var/log/radius/radwatch.log {
24         nocreate
25 }
26
27 #
28 #  SQL log files
29 #
30 /var/log/radius/sqllog.sql {
31         nocreate
32 }
33
34 # There are different detail-rotating strategies you can use.  One is
35 # to write to a single detail file per IP and use the rotate config
36 # below.  Another is to write to a daily detail file per IP with:
37 #     detailfile = ${radacctdir}/%{Client-IP-Address}/%Y%m%d-detail
38 # (or similar) in radiusd.conf, without rotation.  If you go with the
39 # second technique, you will need another cron job that removes old
40 # detail files.  You do not need to comment out the below for method #2.
41 /var/log/radius/radacct/*/detail {
42         nocreate
43 }