:: Re: [DNG] Everyone OK for using the…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Didier Kryn
Fecha:  
A: dng@lists.dyne.org
Asunto: Re: [DNG] Everyone OK for using the logger program for runit logging?
Le 24/10/2018 à 13:34, Olaf Meeuwissen a écrit :
> Of these, rsyslog is installed by default, at least on ascii. If you
> could assume rsyslog is always installed, binding the daemon's stdout
> and stderr to /dev/log would work fine too.


    Not that simple. There's the risk of several processes writing
simultaneously to the same socket. It would mix and mess the messages.
You need the lock to synchronize writers. Plus the syslog daemon which
reads it expects a given format containing the log facility, the log
level, the application name, and properly made date/time format. This is
all wrapped in syslog().

    Didier