Re: Logging from extensions
| From: | Derick Rethans | Date: | Thu, 17 Mar 2005 10:59:24 +0000 |
| Subject: | Re: Logging from extensions | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2168@lists.php.net to get a copy of this message | ||
On Thu, 17 Mar 2005 Danne.Lundqvist@corp.vodafone.se wrote:
How does logging work from internals? I have the following in my PHP5 extension (loaded as a shared module): zend_error(E_WARNING, "The parameters were not recognized");[...]
I thought this would make "The parameters were not recognized" appear in the apache log file. However - this does not give me anything in the logs.It should work, but you should also use php_error_docref instead of zend_error() regards, Derick And please remove this crap when sending to a public mailinglist - it is definitely NOT confidential. I will refuse to read more mails from you with this attached.
______________________________________ This message and any files or documents attached are confidential and may also be legally privileged or protected by other legal rules. It is intended only for the individual or entity named. If you are not the named addressee or you have received this email in error, please inform the sender immediately, delete it from your system and do not copy or disclose it or its contents or use it for any purpose. Thank you. Please also note that transmission cannot be guaranteed to be secure or error-free.-- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org