In order to get logging from my cgi I proceeded as shown
below.  Is this correct?  It did not seem to be working
all of the time, but I am not sure.

In syslog.conf:
   local0.*           /var/log/httpd/cgi

In c++ cgi:
   openlog("cgi",LOG_PID|LOG_NDELAY|LOG_NOWAIT,LOG_LOCAL0);
   syslog(LOG_INFO,"entered");
   closelog();

Thanks,
Mike.
--
Michael D. Berger
[EMAIL PROTECTED] 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to