Re: shepherd logging; console-agetty-service

2018-02-17 Thread Danny Milosavljevic
Hi Ludo, On Sat, 17 Feb 2018 17:20:06 +0100 l...@gnu.org (Ludovic Courtès) wrote: > Actually, could [shepherd] use syslog(3), which writes to /dev/log? As far as I understand the meaning overload in Linux, there's these: * syslog(2) - accesses the kernel log ringbuffer directly. glibc (rightly)

Re: shepherd logging

2018-02-16 Thread Danny Milosavljevic
Aaand it works on Linux - shepherd messages show up on the console and eventually end up in syslog (I checked). Integration is surprisingly easy and safe (shepherd already does line buffering manually): diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index ccf62a6e2..168495c14 1006