[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: services: rottlog: Keep important /var/log files for 16 weeks.
From: |
guix-commits |
Subject: |
02/07: services: rottlog: Keep important /var/log files for 16 weeks. |
Date: |
Sun, 31 Jul 2022 18:06:33 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e5a6900baf758a12024283171bf45f2fe90121ee
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Jul 31 18:32:13 2022 +0200
services: rottlog: Keep important /var/log files for 16 weeks.
The default "rotate" value is 1 as of rottlog 0.72.2, meaning that only
one rotated file would be kept in addition to the active file.
* gnu/services/admin.scm (%default-rotations): Add "rotate" option for
%ROTATED-FILES.
---
gnu/services/admin.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/services/admin.scm b/gnu/services/admin.scm
index 0b4ecaeb83..6951c7a9fd 100644
--- a/gnu/services/admin.scm
+++ b/gnu/services/admin.scm
@@ -93,7 +93,10 @@
(list (log-rotation ;syslog files
(files %rotated-files)
- (options '(;; Run post-rotate once per rotation
+ (frequency 'weekly)
+ (options '(;; These files are worth keeping for a few weeks.
+ "rotate 16"
+ ;; Run post-rotate once per rotation
"sharedscripts"
;; Append .gz to rotated files
"storefile @FILENAME.@COMP_EXT"))
- branch master updated (7c1010f326 -> ab59155c5a), guix-commits, 2022/07/31
- 01/07: services: tor: Do not write to /var/log/tor.log., guix-commits, 2022/07/31
- 03/07: gnu: rottlog: Remove input labels., guix-commits, 2022/07/31
- 04/07: home: Add 'home-generation-base'., guix-commits, 2022/07/31
- 02/07: services: rottlog: Keep important /var/log files for 16 weeks.,
guix-commits <=
- 05/07: guix gc: '--delete-generations' now deletes old Home generations., guix-commits, 2022/07/31
- 07/07: gnu: mtd-utils: Disable parallel tests., guix-commits, 2022/07/31
- 06/07: services: rottlog: More convenient default options for <log-rotation>., guix-commits, 2022/07/31