From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en5oL-0004Lb-Re for guix-patches@gnu.org; Sat, 17 Feb 2018 11:58:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en5oI-0004WE-Pw for guix-patches@gnu.org; Sat, 17 Feb 2018 11:58:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40641) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1en5oI-0004W3-MX for guix-patches@gnu.org; Sat, 17 Feb 2018 11:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1en5oI-0000Pt-Cl for guix-patches@gnu.org; Sat, 17 Feb 2018 11:58:02 -0500 Subject: [bug#30464] shepherd logging Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <20180216215725.58607c8c@scratchpost.org> <20180216220737.0b5b7c0d@scratchpost.org> <87k1vbk2ho.fsf@gnu.org> <20180217174723.7a5daf84@scratchpost.org> Date: Sat, 17 Feb 2018 17:57:58 +0100 In-Reply-To: <20180217174723.7a5daf84@scratchpost.org> (Danny Milosavljevic's message of "Sat, 17 Feb 2018 17:47:23 +0100") Message-ID: <87efljk0yx.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 30464@debbugs.gnu.org Danny Milosavljevic skribis: >> https://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/startup/startup.c= #n731 >>=20 >> It=E2=80=99s comparable to /dev/kmsg, but it exists before file system s= ervers >> are brought up, which is why it doesn=E2=80=99t have an entry in the file >> system hierarchy. > > Huh, so it's just connected to stderr? That means it should work fine al= ready > with no changes in shepherd. Nice! Indeed! > Just to be sure, it is possible to read out these messages and log them t= o a > file later on, right? I think what goes to =E2=80=9Cconsole=E2=80=9D is printed and then forever = lost: https://git.savannah.gnu.org/cgit/hurd/gnumach.git/tree/device/cons.c That said, not much should go there since as soon as the root file system is up, processes can start using /dev/klog. Ludo=E2=80=99.