]> Frank Brehm's Git Trees - config/ns2/etc.git/commitdiff
daily autocommit
authorFrank Brehm <frank@brehm-online.com>
Mon, 28 Oct 2019 21:44:27 +0000 (22:44 +0100)
committerFrank Brehm <frank@brehm-online.com>
Mon, 28 Oct 2019 21:44:27 +0000 (22:44 +0100)
logrotate.conf
logrotate.d/btmp
logrotate.d/wtmp

index 4eb82857866aa7c0310be0b67f5437c8649283cf..93870432e04c7f99b8d51ecb064f0eff823473b2 100644 (file)
@@ -15,25 +15,4 @@ delaycompress
 # packages drop log rotation information into this directory
 include /etc/logrotate.d
 
-# no packages own wtmp, or btmp -- we'll rotate them here
-/var/log/wtmp {
-    missingok
-    monthly
-    create 0664 root utmp
-    rotate 12
-    dateext
-    dateformat -%Y-%m-%d
-    size 4M
-}
-
-/var/log/btmp {
-    missingok
-    monthly
-    create 0660 root utmp
-    rotate 12
-    dateext
-    dateformat -%Y-%m-%d
-    size 4M
-}
-
 # system-specific logs may be configured here
index 0aa1ae1ade1842b8fb36182292e96a13a553a661..28fd11868bebaf802bbafe978a78653a0d8b8515 100644 (file)
@@ -3,5 +3,8 @@
     missingok
     monthly
     create 0660 root utmp
-    rotate 1
+    rotate 12
+    dateext
+    dateformat -%Y-%m-%d
+    size 4M
 }
index cc8a151e00befe3d6a4182e7f24705817facd631..fc1e23b38c957f0d9a77879cc1f85cc1f93a70ce 100644 (file)
@@ -3,6 +3,9 @@
     missingok
     monthly
     create 0664 root utmp
-    minsize 1M
-    rotate 1
+    rotate 12
+    dateext
+    dateformat -%Y-%m-%d
+    size 4M
 }
+