著者: Didier Kryn 日付: To: dng 題目: Re: [DNG] Everyone OK for using the logger program for runit
logging?
Le 23/10/2018 à 11:21, Stephan Seitz a écrit : > On Di, Okt 23, 2018 at 11:06:52 +0200, Didier Kryn wrote:
>> syslog() is a member of the C library which allows any
>> application to send messages to the system logging facility, through
>> the socket /var/log/syslog and some lock mechanism (probably using a
>> semaphore) to
>
> I think you mean /dev/log.
> srw-rw-rw- 1 root root 0 Okt 11 16:52 /dev/log
>
> /var/log/syslog is a file written by the log daemon.
You're absolutely right. Thanks :-)
/var/log/syslog is exactly where the syslog daemon (eg rsyslog)
writes its own logs (in the default configuration).