diff options
-rw-r--r-- | gnu/services/base.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 370696a55e..ba59e46155 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -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))) |