aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-03-22 11:18:26 +0100
committerLudovic Courtès <ludo@gnu.org>2018-03-22 11:43:29 +0100
commit7fe1432a2ec2b8a7dfbfe882044dadadccd2e2c8 (patch)
treef2edda16163d27c7f10d13f2b5707775445d0df2
parent4d7c5f6d7e50f9a675b0f9fec39a7a4ac00421f9 (diff)
downloadguix-7fe1432a2ec2b8a7dfbfe882044dadadccd2e2c8.tar.gz
guix-7fe1432a2ec2b8a7dfbfe882044dadadccd2e2c8.zip
services: rottlog: Add /var/log/debug to '%default-rotations'.
* gnu/services/admin.scm (%rotated-files): Add "/var/log/debug".
-rw-r--r--gnu/services/admin.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/services/admin.scm b/gnu/services/admin.scm
index 64d7ae723c..95d055f83d 100644
--- a/gnu/services/admin.scm
+++ b/gnu/services/admin.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
-;;; Copyright © 2016, 2017 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -92,7 +92,8 @@
(define %rotated-files
;; Syslog files subject to rotation.
- '("/var/log/messages" "/var/log/secure" "/var/log/maillog"))
+ '("/var/log/messages" "/var/log/secure" "/var/log/debug"
+ "/var/log/maillog"))
(define %default-rotations
(list (log-rotation ;syslog files