Azure / azure-sdk-for-php

Microsoft Azure SDK for PHP
http://azure.microsoft.com/en-us/develop/php/
Apache License 2.0
415 stars 276 forks source link

Does anyone know how to logging with this php-sdk? #978

Open YingChen-dci opened 6 years ago

YingChen-dci commented 6 years ago

I need to output log to integrate it to our system, then I tried to use "echo", "print_r", and also php "error_log" to output log from like " src/MediaServices/MediaServicesRestProxy.php ". But it didn't work.

As php error_log, I set the configuration in php.ini, then restart httpd, and using "error_log" to output log. But couldn't being logged. display_errors = ON error_log = "my php error log path" error_reporting = E_ALL | E_STRICT

Anyone has thoughts about that?

Thanks in advance, Ying