1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 13:40:36 +02:00

services: guix-publish: Keep fewer rotated logs.

* gnu/services/base.scm (%guix-publish-log-rotations): Add 'options'
field.
This commit is contained in:
Ludovic Courtès
2022-12-07 23:05:00 +01:00
parent ac682963a3
commit 9ccc94afb2

View File

@@ -2016,7 +2016,9 @@ raise a deprecation warning if the 'compression-level' field was used."
(define %guix-publish-log-rotations
(list (log-rotation
(files (list "/var/log/guix-publish.log")))))
(files (list "/var/log/guix-publish.log"))
(options `("rotate 4" ;don't keep too many of them
,@%default-log-rotation-options)))))
(define (guix-publish-activation config)
(let ((cache (guix-publish-configuration-cache config)))