guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: services: guix-publish: Log to a file.


From: guix-commits
Subject: 01/02: services: guix-publish: Log to a file.
Date: Mon, 10 Jun 2019 02:58:27 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit b09793172f59403779b01796be16b385b19b3345
Author: Christopher Baines <address@hidden>
Date:   Sat May 18 21:58:40 2019 +0100

    services: guix-publish: Log to a file.
    
    This makes it easier to read the output, as it's recorded in a file.
    
    * gnu/services/base.scm (guix-publish-shepherd-service): Add #:log-file to
    make-forkexec-constructor.
---
 gnu/services/base.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index c88a6dd..5e46795 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1824,7 +1824,8 @@ raise a deprecation warning if the 'compression-level' 
field was used."
                      #:environment-variables
                      (list (string-append "GUIX_LOCPATH="
                                           #$glibc-utf8-locales "/lib/locale")
-                           "LC_ALL=en_US.utf8")))
+                           "LC_ALL=en_US.utf8")
+                     #:log-file "/var/log/guix-publish.log"))
            (stop #~(make-kill-destructor))))))
 
 (define %guix-publish-accounts



reply via email to

[Prev in Thread] Current Thread [Next in Thread]