all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 35794@debbugs.gnu.org
Subject: [bug#35794] [PATCH] services: guix-publish: Log to a file.
Date: Sat, 18 May 2019 22:36:03 +0100	[thread overview]
Message-ID: <20190518213603.31145-1-mail@cbaines.net> (raw)

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

             reply	other threads:[~2019-05-18 21:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-18 21:36 Christopher Baines [this message]
2019-05-20 20:58 ` [bug#35794] [PATCH] services: guix-publish: Log to a file Ludovic Courtès
2019-05-20 20:59 ` Ludovic Courtès
2019-05-31 17:28   ` [bug#35794] [PATCH] services: guix-publish: Configure log rotation Christopher Baines
2019-06-07  7:45     ` Ludovic Courtès
2019-06-10  7:00       ` bug#35794: " Christopher Baines
2019-05-31 17:35   ` [bug#35794] [PATCH] services: guix-publish: Log to a file Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190518213603.31145-1-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=35794@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.