[wsf-c-dev] [php] Call log from PHP Scripts

Dimuthu Gamage dimuthu at wso2.com
Fri Apr 4 03:53:26 PDT 2008


Hi samisa,

I think error_log function is a standard function which write logs in to 
the apache server log (error.log), If we use that , for a trouble of a 
user, he need to attach all 3 files to figure out the error. That's why 
I suggested to limit to those 2, wsf_php_client.log and wsf_php_server.log

Thanks
Dimuthu

Samisa Abeysinghe wrote:
> Dimuthu Gamage wrote:
>> Hi,
>> Currently we don't have proper way of logging from PHP Scripts. 
>> Currently We are using error_log function which write logs in apache. 
>> but we should write log to wsf_php_server.log and wsf_php_client.log 
>> so users are not confused.
>>
>> Shall we  implement wrapper for axis2_log_write function for use in PHP?
> 
> What is the standard way of looging stuff in PHP? If there is a standard 
> way, we should rather find a way to use that, becuase, to me, 
> wsf_php_server.log and wsf_php_client.log are C logs, but rather PHP 
> scripts should write to PHPish logs.
> 
> Samisa...
> 
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
> 




More information about the Wsf-c-dev mailing list