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




_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to