Re: Debugging Log
| From: | Michael B Allen | Date: | Wed, 12 Jul 2006 21:05:36 +0000 |
| Subject: | Re: Debugging Log | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239375@lists.php.net to get a copy of this message | ||
On Wed, 12 Jul 2006 21:13:31 +0100
Stut <stuttle@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Michael B Allen wrote:
> > On Wed, 12 Jul 2006 19:13:53 +0100
> > Stut <stuttle@gmail.com> wrote:
> >> 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.
>
> So polluting the PHP error log is better than directing it to a log file
> via the syslog facility? Your choice, but remember that syslog is much
> more than just one log. If that's a revelation to you I suggest some
> RTFM is needed before dismissing the option.
Thanks for the tip dipshit.
--
Michael B Allen
PHP Extension for SSO w/ Windows Group Authorization
http://www.ioplex.com/