-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael B Allen wrote:
> On Wed, 12 Jul 2006 19:13:53 +0100
> Stut <[EMAIL PROTECTED]> 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.

- -Stut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtVfr2WdB7L+YMm4RAqEiAKCf/w6MIaT8e7r72uOjjaMgpF+JUACfauxm
u3AaddpReuPabSvWPxmHlms=
=PHUz
-----END PGP SIGNATURE-----

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

Reply via email to