:: Re: [DNG] Everyone OK for using the…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Didier Kryn
日付:  
To: dng@lists.dyne.org
題目: 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