[Hw4mdl-devel] Error logging
Brought to you by:
jhlinder,
trollinger
From: Ashley H. <as...@ne...> - 2008-04-21 02:33:34
|
Hi all, I tried enabling VTAPI_DEBUG to help debug a Voice Tools integration which is failing with the error "Moodle cannot connect to the Voice Board server". This is happening on a load-balanced installation of Moodle. When connecting directly to the Moodle nodes, the VT module works fine, however when connecting through the load balance it comes up with that error. I enabled the API debugging to try to get some more information from voicetools_api_create_resource(), however the error_log calls are not correct so no messages are getting logged. eg. error_log (__FUNCTION__ ." : Resource not created because ".$resource->error_message, TRUE); should be: error_log (__FUNCTION__ ." : Resource not created because ".$resource->error_message, 0); Documentation at http://au2.php.net/error_log Regards Ashley. -- Ashley Holman Software Engineer NetSpot Pty Ltd 183 Melbourne Street, North Adelaide, 5006 Ph: +618 8361 6800, Fax: +618 8361 6811 |