[wsf-c-dev] [php] Call log from PHP Scripts
Samisa Abeysinghe
samisa at wso2.com
Fri Apr 4 03:59:29 PDT 2008
Dimuthu Gamage wrote:
> 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
Ok, I understand your concern. However, my question is, PHP users are
used to use error_log. If we come up with a new function, it is adding
additional burden, meaning, it adds complications in terms of PHP user,
inst it?
Samisa...
>
> 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
>>
>
>
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>
>
--
Samisa Abeysinghe
Software Architect; WSO2 Inc.
http://www.wso2.com/ - "Oxygenating the Web Service Platform."
More information about the Wsf-c-dev
mailing list