Hi,

On Wed, 2006-09-20 at 23:44 +0200, Marco d'Itri wrote:
>
> I do not understand. Datagram sockets are connectionless, and our
> default syslog daemon appears to cope with them.

Not exactly.

If you use only the syslog(3) function, you are right, but if you open a
connection to syslog with openlog(3) in the begining of your application
then you will be in trouble when syslog-ng listen in unix-dgram and have
been reloaded. At least with the version 1.6.X of syslog-ng.

It's possible that in version 2.0 the syslog-ng could keep unix-dgram
connections between reload, but I'm too conservative to change it. (If
you read the Changelog you could recognize the time when I
changes /dev/log from unix-stream to unix-dgram. And the funny thins
_is_ that because of this change I have to restart every daemon which
send log messages. Because the running daemons couldn't recognize that
unix-dgram /dev/log is no more.

So, the thruth is that I'm not too brave to do this change. (I have to
test a lot of daemons, before I could accept this change back.)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to