]> Frank Brehm's Git Trees - config/ns3/etc.git/commitdiff
daily autocommit
authorFrank Brehm <frank@brehm-online.com>
Mon, 28 Oct 2019 21:52:07 +0000 (22:52 +0100)
committerFrank Brehm <frank@brehm-online.com>
Mon, 28 Oct 2019 21:52:07 +0000 (22:52 +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..e2df517cbfeb4cca795ae5b09e81ebdbb4d78325 100644 (file)
@@ -3,5 +3,9 @@
     missingok
     monthly
     create 0660 root utmp
-    rotate 1
+    rotate 12
+    dateext
+    dateformat -%Y-%m-%d
+    size 4M
 }
+
index cc8a151e00befe3d6a4182e7f24705817facd631..733abd193b938f3c1ec93b8e670f65dbae708dda 100644 (file)
@@ -3,6 +3,8 @@
     missingok
     monthly
     create 0664 root utmp
-    minsize 1M
-    rotate 1
+    rotate 12
+    dateext
+    dateformat -%Y-%m-%d
+    size 4M
 }