mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
services: rottlog: Keep fewer "guix-daemon.log" files.
* gnu/services/admin.scm (%default-rotations): For "guix-daemon.log", add 'options' field.
This commit is contained in:
@@ -102,7 +102,9 @@
|
||||
read)))
|
||||
(kill pid SIGHUP))))
|
||||
(log-rotation
|
||||
(files '("/var/log/guix-daemon.log")))))
|
||||
(files '("/var/log/guix-daemon.log"))
|
||||
(options '("rotate 4" ;don't keep too many of them
|
||||
"storefile @FILENAME.@COMP_EXT")))))
|
||||
|
||||
(define (log-rotation->config rotation)
|
||||
"Return a string-valued gexp representing the rottlog configuration snippet
|
||||
|
||||
Reference in New Issue
Block a user