]> Frank Brehm's Git Trees - salt/states.git/commitdiff
Bugfixing in basic/files/rsyslog.logrotate.conf
authorFrank Brehm <frank@brehm-online.com>
Wed, 30 Mar 2016 11:57:22 +0000 (13:57 +0200)
committerFrank Brehm <frank@brehm-online.com>
Wed, 30 Mar 2016 11:57:22 +0000 (13:57 +0200)
basic/files/rsyslog.logrotate.conf

index 814421acf0ad9354242c72ed58aed4e1b9cd5958..e74fa837c06d478a2bd76fc6090a787a74eea22a 100644 (file)
@@ -5,14 +5,16 @@
        notifempty
        compress
        delaycompress
-    dateext
-    size 4M
-    olddir /var/log/.old
+       dateext
+       size 4M
+       olddir /var/log/.old
+       sharedscripts
        postrotate
                invoke-rc.d rsyslog rotate > /dev/null
        endscript
 }
 
+/var/log/all.log
 /var/log/mail.info
 /var/log/mail.warn
 /var/log/mail.err
@@ -24,6 +26,7 @@
 /var/log/lpr.log
 /var/log/cron.log
 /var/log/debug
+/var/log/debug.log
 {
        rotate 4
        weekly
@@ -31,9 +34,9 @@
        notifempty
        compress
        delaycompress
-    dateext
-    size 4M
-    olddir /var/log/.old
+       dateext
+       size 4M
+       olddir /var/log/.old
        sharedscripts
        postrotate
                invoke-rc.d rsyslog rotate > /dev/null
 }
 
 /var/log/syslog.d/*.log {
-    rotate 10
-    weekly
-    missingok
-    notifempty
-    size 4M
-    delaycompress
-    dateext
-    compress
-    olddir /var/log/syslog.d/.old
-    sharedscripts
-    postrotate
+       rotate 10
+       weekly
+       missingok
+       notifempty
+       size 4M
+       delaycompress
+       dateext
+       compress
+       olddir /var/log/syslog.d/.old
+       sharedscripts
+       postrotate
                invoke-rc.d rsyslog rotate > /dev/null
-    endscript
+       endscript
 }
 
 # vim: ts=4 filetype=conf et