note 55106 added to function.error-log
| From: | php at kennel17 dot NOSPAM dot co dot uk | Date: | Mon, 25 Jul 2005 21:04:24 +0000 |
| Subject: | note 55106 added to function.error-log | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-92429@lists.php.net to get a copy of this message | ||
It appears that the system log = stderr if you are running PHP from the command line, and that often
stderr = stdout. This means that if you are using a custom error to both display the error and log
it to syslog, then a command-line user will see the same error reported twice.
----
Manual Page -- http://www.php.net/manual/en/function.error-log.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+55106
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55106&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55106&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55106&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55106&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55106&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55106&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+55106&report=yes
Search -- http://master.php.net/manage/user-notes.php