[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: services: cuirass: Also rotate the web log.
From: |
guix-commits |
Subject: |
02/03: services: cuirass: Also rotate the web log. |
Date: |
Thu, 17 Feb 2022 13:42:52 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit 12566aabe739e84e3475e21346499683406f1b03
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Feb 17 10:11:48 2022 -0500
services: cuirass: Also rotate the web log.
* gnu/services/cuirass.scm (cuirass-log-rotations): Add the web log to the
list of rotated files.
---
gnu/services/cuirass.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm
index 96f28a9670..d666d6243b 100644
--- a/gnu/services/cuirass.scm
+++ b/gnu/services/cuirass.scm
@@ -302,7 +302,8 @@
(define (cuirass-log-rotations config)
"Return the list of log rotations that corresponds to CONFIG."
(list (log-rotation
- (files (list (cuirass-configuration-log-file config)))
+ (files (list (cuirass-configuration-log-file config)
+ (cuirass-configuration-web-log-file config)))
(frequency 'weekly)
(options '("rotate 40"))))) ;worth keeping