source: trunk/server/fedora/config/etc/logrotate.d/httpd

Last change on this file was 2764, checked in by adehnert, 6 years ago
Log scripts/~username accesses (Scripts-#391)
File size: 852 bytes
Line 
1/home/logview/*log {
2    rotate 0
3    daily
4    missingok
5    notifempty
6    create 640 root logview
7    sharedscripts
8    postrotate
9        /bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
10    endscript
11}
12
13/var/log/httpd/suexec_log {
14    rotate 0
15    daily
16    missingok
17    notifempty
18    create 600 root root
19    # No HUP, because suexec doesn't open this log persistently.
20}
21
22/var/log/httpd/statistics_log {
23    rotate 14
24    daily
25    missingok
26    notifempty
27    sharedscripts
28    postrotate
29        /bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
30    endscript
31}
32
33/var/log/httpd/tilde_log {
34    rotate 3
35    daily
36    missingok
37    notifempty
38    create 600 root root
39    sharedscripts
40    postrotate
41        /bin/kill -HUP `cat /var/run/httpd/httpd.pid 2>/dev/null` 2> /dev/null || true
42    endscript
43}
Note: See TracBrowser for help on using the repository browser.