]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/etc/logrotate.conf
logrotate: Rotate wtmp files monthly, and keep them for a year
[ipfire-2.x.git] / config / etc / logrotate.conf
index 0b6b485737a653e658bd45f9c0a12026f3701e39..c5f9883c7f1e0f665e3f31a330d146b19652ca85 100644 (file)
@@ -15,9 +15,9 @@ include /etc/logrotate.d
 
 # wtmp
 /var/log/wtmp {
-    weekly
+    monthly
     create 0664 root utmp
-    rotate 1
+    rotate 12
 }
 
 /var/log/httpd/access_log /var/log/httpd/error_log /var/log/httpd/ssl_request_log /var/log/httpd/ssl_engine_log {