From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,2b98c58917e47f64,start X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews1.google.com!not-for-mail From: jeroen.derwael@gmail.com (Jeroen) Newsgroups: comp.unix.tru64 Subject: Automatically reconnect to syslog Date: 11 Oct 2004 04:42:18 -0700 Organization: http://groups.google.com Message-ID: <857f7aa6.0410110342.171cc990@posting.google.com> NNTP-Posting-Host: 195.109.155.71 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1097494939 4995 127.0.0.1 (11 Oct 2004 11:42:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 11 Oct 2004 11:42:19 +0000 (UTC) Xref: g2news1.google.com comp.unix.tru64:338 Hi all, I am having a problem with one of my programs running on Compaq Tru64 UNIX V5.1A. The program is continuously loggin to syslog (this works fine) but when syslog is stopped and restarted, my prog does not log to syslog anymore. Once I have restarted the prog, logging is again directed to syslog. I use the standard syslog commands: openlog() => when starting the prog and closlog() => when stopping the prog. Does somebody have any idea on how to set it up so that the logging will automatically be resent to syslog once the syslog has been restarted? Regards, Jeroen