From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 55857@debbugs.gnu.org
Subject: bug#55857: Odd Shepherd message on 'guix system reconfigure': (map (# ?) ?)
Date: Tue, 14 Jun 2022 12:22:46 -0400 [thread overview]
Message-ID: <87v8t3dxk9.fsf@gmail.com> (raw)
In-Reply-To: <87o7z0xjxq.fsf@gnu.org> ("Ludovic Courtès"'s message of "Fri, 10 Jun 2022 23:55:29 +0200")
Hi Ludovic,
Ludovic Courtès <ludo@gnu.org> writes:
> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> The following message is shown when reconfiguring Guix System:
>>
>> shepherd: Evaluating user expression (and (defined? (quote transient?)) (map (# ?) ?)).
>>
>> It doesn't seem intended for end users to see; at least I have no clue
>> what it's supposed to tell me :-).
>
> The question marks are HORIZONTAL ELLIPSIS not being displayed properly
> because ‘guix’ is not running under a UTF-8 locale.
>
> The message is produced by shepherd as a response to an expression that
> ‘guix system reconfigure’ tells it to evaluate, in (gnu services herd).
> And all this happens as part of the live service upgrade mechanism.
>
> Admittedly, this particular message is not something one cares about as
> a user, but it seemed safer to print messages shepherd might send during
> that operation.
Perhaps what we need is a proper logging infrastructure? The above
message could be flagged as a 'debug' level message. stdout/stderr
would only get to see the 'info' or higher level messages, the rest
would be logged only to syslog, keeping the user interface clean. I
know such a logging mechanism exists in Guile-Lib, as the (logging
logger) module [0].
What do you think?
Thanks,
Maxim
[0] https://www.nongnu.org/guile-lib/doc/ref/logging.logger/
next prev parent reply other threads:[~2022-06-14 16:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-08 18:57 bug#55857: Odd Shepherd message on 'guix system reconfigure': (map (# ?) ?) Maxim Cournoyer
2022-06-10 21:55 ` Ludovic Courtès
2022-06-14 16:22 ` Maxim Cournoyer [this message]
2022-06-14 16:50 ` Maxime Devos
2022-06-15 9:54 ` Ludovic Courtès
2022-06-15 15:51 ` Maxim Cournoyer
2022-06-16 10:43 ` Ludovic Courtès
[not found] <87354lwj0d.fsf@gnu.org>
2023-05-19 3:33 ` Maxim Cournoyer
2023-05-24 13:48 ` 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v8t3dxk9.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=55857@debbugs.gnu.org \
--cc=ludo@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).