Rotate mail daily, keep 30, and use date extension
[mirror/dsa-puppet.git] / files / etc / logrotate.d / syslog-ng
index 63c9e48..999785a 100644 (file)
 }
 
 /var/log/mail.err {
-   rotate 4
-   weekly
+   rotate 30
+   daily
+   dateext
    missingok
    notifempty
    compress
 }
 
 /var/log/mail.info {
-   rotate 4
-   weekly
+   rotate 30
+   daily
+   dateext
    missingok
    notifempty
    compress
 }
 
 /var/log/mail.log {
-   rotate 4
-   weekly
+   rotate 30
+   daily
+   dateext
    missingok
    notifempty
    compress
 }
 
 /var/log/mail.warn {
-   rotate 4
-   weekly
+   rotate 30
+   daily
+   dateext
    missingok
    notifempty
    compress