Re: Debugging Log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 12 Jul 2006 21:13:31 +0100
Stut <stuttle@xxxxxxxxx> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Michael B Allen wrote:
> > On Wed, 12 Jul 2006 19:13:53 +0100
> > Stut <stuttle@xxxxxxxxx> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux