emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#35794: closed ([PATCH] services: guix-publish: Log


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#35794: closed ([PATCH] services: guix-publish: Log to a file.)
Date: Mon, 10 Jun 2019 07:01:02 +0000

Your message dated Mon, 10 Jun 2019 08:00:31 +0100
with message-id <address@hidden>
and subject line Re: [bug#35794] [PATCH] services: guix-publish: Configure log 
rotation.
has caused the debbugs.gnu.org bug report #35794,
regarding [PATCH] services: guix-publish: Log to a file.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
35794: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35794
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] services: guix-publish: Log to a file. Date: Sat, 18 May 2019 22:36:03 +0100
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 f709ca5519..4593ac202f 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1793,7 +1793,8 @@ archive' public keys, with GUIX."
                       #: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
-- 
2.21.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#35794] [PATCH] services: guix-publish: Configure log rotation. Date: Mon, 10 Jun 2019 08:00:31 +0100 User-agent: mu4e 1.2.0; emacs 26.2
Ludovic Courtès <address@hidden> writes:

> Christopher Baines <address@hidden> skribis:
>
>> * gnu/services/base.scm (%guix-publish-log-rotations): New variable.
>> (guix-publish-service-type): Extend the rottlog-service-type.
>
> LGTM!

Great, I've pushed these patches now :)

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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