GNU bug report logs - #27067
Feature request: please allow for either automatic logging of all output of every guix commands or add an option to each guix command to allow it for all to be logged

Previous Next

Package: guix;

Reported by: Brenton Horne <brentonhorne77 <at> gmail.com>

Date: Thu, 25 May 2017 15:32:02 UTC

Severity: wishlist

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 27067 <at> debbugs.gnu.org (full text, mbox):

From: Brenton Horne <brentonhorne77 <at> gmail.com>
To: 27067 <at> debbugs.gnu.org
Subject: Re: bug#27067: Feature request: please allow for either automatic
 logging of all output of every guix commands or add an option to each guix
 command to allow it for all to be logged
Date: Fri, 26 May 2017 06:33:32 +1000
[Message part 1 (text/plain, inline)]
This feature request isn't specific to guix build (it was low priority to
me as I knew it at least had the ability to log, thanks for telling me it
automatically does but it doesn't really change this feature request), it's
asking for all guix commands with substantial output to automatically log.
I have never run guix build, but I know that some guix commands run for a
very long time and if they fail and do not log it, it can be quite
irritating to have to re-run it and use tee to log its output. For example,
`guix pull && guix package -u` has taken up to 12 hours to run for me
before, so if it fails and doesn't log it can be quite an irritating waste
of time and deter people from filing invaluable bug reports about issues
they've experienced with guix.

On 26 May 2017 at 06:10, Ricardo Wurmus <rekado <at> elephly.net> wrote:

>
> Brenton Horne <brentonhorne77 <at> gmail.com> writes:
>
> > As I understand it only the guix build command has an option to log
> output
> > to a file.
>
> Actually, the output of “guix build” is indeed stored by default.
> You can get it by asking for the logs for a given derivation.
>
> For example:
>
>     # build something, please
>     guix build --no-substitutes samtools
>     …
>     # show me the derivation
>     guix build -d samtools
>     # show me the location of the matching log
>     guix build --log-file $(guix build -d samtools)
>
> Does this solve the feature request?
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
>
>


-- 
Thanks for your time,
Brenton
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.