From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Several questions on Guix(SD) Date: Fri, 26 Aug 2016 19:23:11 -0400 Message-ID: <20160826232311.GB8782@jasmine> References: <20160822225350.32c08923@alma-ubu> <20160822214921.GA9557@jasmine> <20160825230332.1b861c11@alma-ubu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdQTB-0006rS-G2 for help-guix@gnu.org; Fri, 26 Aug 2016 19:23:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdQT5-0002sC-Hn for help-guix@gnu.org; Fri, 26 Aug 2016 19:23:28 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdQT3-0002oQ-8B for help-guix@gnu.org; Fri, 26 Aug 2016 19:23:23 -0400 Content-Disposition: inline In-Reply-To: <20160825230332.1b861c11@alma-ubu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: =?iso-8859-1?Q?Bj=F6rn_H=F6fling?= Cc: Guix-Help On Thu, Aug 25, 2016 at 11:03:32PM +0200, Björn Höfling wrote: > Leo, thank you for your answers. I would like some more clarifications: > > On Mon, 22 Aug 2016 17:49:21 -0400 > Leo Famulari wrote: > > The log output of the daemon goes wherever your daemons normally log > > to. On most recent versions of the major distros, this is handled by > > systemd / journald. > > My distro in that case is GuixSD, using shepherd. So I found information > about guix-daemon start and stop events in /var/log/shepherd.log. But I > want some more information about the daemon. Is guix-daemon so silent? > > I figured out that I can (modify-services %base-services ...) for > adding the "--debug" extra-options to guix-daemon. Still I see only > start/stop log entries in shepherd.log. What am I missing? Somebody else could answer this better than me, but I'll give it a shot. The guix-daemon is indeed laconic, even with --debug. Here, is what it prints when I start it manually and run `guix gc -d /gnu/store/...-hello`: --- # /root/.guix-profile/bin/guix-daemon --build-users-group=guixbuild --debug extra chroot directories: '' automatic deduplication set to 1 listening on `/var/guix/daemon-socket/socket' accepted connection from pid 9343, user leo 1 operations --- On GuixSD, it seems that the daemon just prints to the console. I have a non-graphical system and the daemon's output is rather annoying in the rare case that I am sitting at the machine. If you are looking for logs of package building, you can do `guix build foo --log-file`. You will often need to add `--no-grafts` to see the "real" build log instead of the log of the grafting operation. Does that help answer your question at all?