[syslog-ng] Question about unix-dgram destinations

Tom Morano tjm at sgi.com
Wed Feb 22 22:31:32 CET 2006


Hi all,

I have an application that I would like to send all syslog messages to via
an AF_UNIX/SOCK_DGRAM socket. I declared a unix-dgram destination in my
syslog-ng.conf file and have configured syslog-ng so that it logs all
messages to that destination. Everything works fine as long as my
application is running before syslog-ng starts up. If I try to start up
syslog-ng before my application, I get the following error message

Re-Staring syslog servicesError connecting to AF_UNIX(/tmp/.mysock): Bad
file descriptor

and syslog-ng exits with an error. 

Is there any way I can have syslog-ng start before my application with a
unix-dgram destination? Or am I just missing something obvious?

BTW, I am using syslog-ng-1.6.8

Thanks in advance for any help with this...

Tom 



More information about the syslog-ng mailing list