Posted by Danny Lin on 03/26/05 22:31
I am using a virtual hosting site to develop a PHP application. I read the
PHP document and found a logger function so I wrote up some testing code at
the enterance of the first PHP code.
define_syslog_variables();
openlog("SingledoutLog", LOG_PID, LOG_LOCAL0);
syslog(LOG_DEBUG, "TESTING LOG - debug");
syslog(LOG_WARNING, "TESTING LOG - warning");
closelog();
There's no execution error when I call the script but I can't seem to find
the log file output. What else should I do? Where should I start to check if
I have the log capability? Thanks.
Danny
[Back to original message]
|