all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Disable progress in stdout
@ 2020-12-15 10:51 Phil
  0 siblings, 0 replies; only message in thread
From: Phil @ 2020-12-15 10:51 UTC (permalink / raw)
  To: help-guix

Hi all,

When running guix from a script the stdout contains various things that
should be disabled unless running interactively - you end up with a log
of stdout containing visual noise.

The -v0 switch doesn't seem to completely quell interactive feedback,
and my aim is not for silence, just for appropriate feedback when not
running manually from the console (i.e. automated via script).

Some other command-line tools have a --progress flag or similar to
disable this - is there an equivalent in Guix?


Examples of unhelpful logging when redirecting to file:

[K100% [#########################################################################]
[K100% [#########################################################################]
[K100% [#########################################################################]

substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'...   0.0%
substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'...  12.5%
substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'...  25.0%
substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'...  37.5%
substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'...  50.0%
substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'...  62.5%
substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'...  75.0%
substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'...  87.5%
substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0%


Thanks,
Phil.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-15 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 10:51 Disable progress in stdout Phil

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.