Re: Debugging Log
| From: | Michael B Allen | Date: | Wed, 12 Jul 2006 19:18:13 +0000 |
| Subject: | Re: Debugging Log | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239365@lists.php.net to get a copy of this message | ||
On Wed, 12 Jul 2006 19:13:53 +0100
Stut <stuttle@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Michael B Allen wrote:
> > What is the standard method of logging debug info? Should I just fopen
> > a file for append and write the message or is there a facility provided?
>
> http://php.net/syslog or use a file. There are also various
> JS-based
> solutions floating around.
I don't think I want to write boring CC failures to syslog. And error_log
doesn't write a timestamp. But I guess this isn't rocket surgery. I
think I can figure out how to maybe prefix error_log entries with a TS.
Thanks,
Mike
--
Michael B Allen
PHP Extension for SSO w/ Windows Group Authorization
http://www.ioplex.com/