From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: Re: Several questions on Guix(SD) Date: Mon, 29 Aug 2016 11:36:18 +0200 Message-ID: <20160829113618.63e36824@alma-ubu> References: <20160822225350.32c08923@alma-ubu> <20160822214921.GA9557@jasmine> <20160825230332.1b861c11@alma-ubu> <20160826232311.GB8782@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beIzW-0002uZ-An for help-guix@gnu.org; Mon, 29 Aug 2016 05:36:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beIzR-00019X-7M for help-guix@gnu.org; Mon, 29 Aug 2016 05:36:29 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:58842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beIzR-00019C-0B for help-guix@gnu.org; Mon, 29 Aug 2016 05:36:25 -0400 Received: from alma-ubu (p5B352F19.dip0.t-ipconnect.de [91.53.47.25]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by m4s11.vlinux.de (Postfix) with ESMTPSA id 0E5973EB2 for ; Mon, 29 Aug 2016 09:30:53 +0000 (UTC) In-Reply-To: <20160826232311.GB8782@jasmine> 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: Guix-Help Hi Leo, On Fri, 26 Aug 2016 19:23:11 -0400 Leo Famulari wrote: > On Thu, Aug 25, 2016 at 11:03:32PM +0200, Bj=C3=B6rn H=C3=B6fling wrote: > > Leo, thank you for your answers. I would like some more > > clarifications: > >=20 > > 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. > >=20 > > 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? > >=20 > > 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? >=20 > 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`: >=20 > --- > # /root/.guix-profile/bin/guix-daemon --build-users-group=3Dguixbuild > --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 > --- >=20 > 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. >=20 > 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. >=20 > Does that help answer your question at all? I also noticed that it prints to the console. I hoped that it would print a bit more output to some logfile. But that's fine for now, that answers my question. Thank you. Bj=C3=B6rn