From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:48083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hS7BT-0006cD-9J for guix-patches@gnu.org; Sat, 18 May 2019 17:48:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hS7BS-0004f0-C7 for guix-patches@gnu.org; Sat, 18 May 2019 17:48:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47797) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hS7BS-0004er-94 for guix-patches@gnu.org; Sat, 18 May 2019 17:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hS7BS-0001nw-5R for guix-patches@gnu.org; Sat, 18 May 2019 17:48:02 -0400 Subject: [bug#35794] [PATCH] services: guix-publish: Log to a file. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:47530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hS7Ai-0005oH-Es for guix-patches@gnu.org; Sat, 18 May 2019 17:47:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hS6zv-0004sF-Db for guix-patches@gnu.org; Sat, 18 May 2019 17:36:08 -0400 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:53820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hS6zv-0004qm-87 for guix-patches@gnu.org; Sat, 18 May 2019 17:36:07 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 0C9C517025 for ; Sat, 18 May 2019 22:36:04 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 27765874 for ; Sat, 18 May 2019 21:36:03 +0000 (UTC) From: Christopher Baines Date: Sat, 18 May 2019 22:36:03 +0100 Message-Id: <20190518213603.31145-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35794@debbugs.gnu.org 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 t= o 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=3D" #$glibc-utf8-locales "/lib/lo= cale") - "LC_ALL=3Den_US.utf8"))) + "LC_ALL=3Den_US.utf8") + #:log-file "/var/log/guix-publish.log")) (stop #~(make-kill-destructor))))))) =20 (define %guix-publish-accounts --=20 2.21.0