You could use eZ publish's logging functionality! Here is a snippet to get you started
include_once('lib/ezfile/classes/ezlog.php');
/*!
\public
Writes a message $message to a given file name $name and directory $dir for logging
*/
$l = new eZLog();
$message='test';
$I->write( $message, $logName = 'common.log', $dir = 'var/log' );
Thanks to you both for your suggestions. I think I will use both of them in this case.
Also, I have now created a script to run the soap-functions locally as the main problem with calling nusoap-methods is that on the client-side of things, there is only a reply, or maybee a soap fault code. No way to examine debug messages or logs from php there.
Now things are working fine so, again, thanks for your help!
Best regards, /Nicklas
Nicklas Lundgren, Managing Director
Novitell AB, Sweden
You must be logged in to post messages in this topic!