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

From: Ricardo Wurmus <[email-masked]>
Date: Thu, 25 May 2017 22:10:12 +0200

Brenton Horne <[email-masked]> 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