Reply to syslog(), where to start?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация