  | |  | syslog from cgi | syslog from cgi 2005-06-18 - By Michael D. Berger
Back 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 m.d.berger@(protected)
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |