me
/
guix
Archived
1
0
Fork 0

services: guix-publish: Keep fewer rotated logs.

* gnu/services/base.scm (%guix-publish-log-rotations): Add 'options'
field.
Ludovic Courtès 2022-12-07 23:05:00 +01:00
parent ac682963a3
commit 9ccc94afb2
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

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)))