all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brenton Horne <brentonhorne77@gmail.com>
To: 27067@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <CANb+58JqyVBOB0U=1cBcXUm=Y6F+xHh0Yu_iDcbLzk0xpWhN7A@mail.gmail.com> (raw)
In-Reply-To: <87inkovgt7.fsf@elephly.net>

[-- Attachment #1: Type: text/plain, Size: 1619 bytes --]

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@elephly.net> wrote:

>
> Brenton Horne <brentonhorne77@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

[-- Attachment #2: Type: text/html, Size: 2309 bytes --]

  reply	other threads:[~2017-05-25 20:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-25  7:54 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 Brenton Horne
2017-05-25 16:41 ` Arun Isaac
2017-05-25 17:05 ` bug#27067: Reply to Arun Isaac's reply Brenton Horne
     [not found] ` <a7836b86.AEAAKjHnUF4AAAAAAAAAAAPE-g8AAAACwQwAAAAAAAW9WABZJwlc@mailjet.com>
     [not found]   ` <CANb+58K6AENjXCrPF=gE=ou+AKE=G+R9+qscPjj3vQjSE-eijQ@mail.gmail.com>
     [not found]     ` <3b96388e.AEAAKj4NjDIAAAAAAAAAAAPE-g8AAAACwQwAAAAAAAW9WABZJx4e@mailjet.com>
2017-05-25 18:25       ` 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 Brenton Horne
2017-05-25 20:10 ` Ricardo Wurmus
2017-05-25 20:33   ` Brenton Horne [this message]
2017-05-25 21:30     ` Ricardo Wurmus
2017-05-30 20:14 ` Ludovic Courtès
2018-12-17  9:30 ` swedebugia
2018-12-18 11:21   ` Ludovic Courtès

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='CANb+58JqyVBOB0U=1cBcXUm=Y6F+xHh0Yu_iDcbLzk0xpWhN7A@mail.gmail.com' \
    --to=brentonhorne77@gmail.com \
    --cc=27067@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.