Bug #61045 [Com]: fpm don't send error log to fastcgi clients(nginx)
| From: | arohter at gmail dot com | Date: | Sun, 06 May 2012 02:13:28 +0000 |
| Subject: | Bug #61045 [Com]: fpm don't send error log to fastcgi clients(nginx) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-170243@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61045&edit=1
ID: 61045
Comment by: arohter at gmail dot com
Reported by: lxlight at gmail dot com
Summary: fpm don't send error log to fastcgi clients(nginx)
Status: Analyzed
Type: Bug
Package: FPM related
Operating System: Linux
PHP Version: 5.3.10
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
I applied the patch against 5.3.12, and it appears to be working.
Previous Comments:
------------------------------------------------------------------------
[2012-05-05 15:56:19] fat@php.net
I've released 2 patches (for 5.3 and 5.4) .
Can you please test them and validate them on your side so that I can push them
?
I've enhanced the zlog sublibrary to add the possibility to set an "external
logger". In our case, the new function sapi_cgi_log_fastcgi() in fpm_main.c will
send any messages (PHP and FPM) back to the fastcgi client no matter what the
debug level is.
thx
------------------------------------------------------------------------
[2012-05-05 15:53:15] fat@php.net
The following patch has been added/updated:
Patch Name: bug61045-5.4.patch
Revision: 1336233195
URL: https://bugs.php.net/patch-display.php?bug=61045&patch=bug61045-5.4.patch&revision=1336233195
------------------------------------------------------------------------
[2012-05-05 15:53:02] fat@php.net
The following patch has been added/updated:
Patch Name: bug61045-5.3.patch
Revision: 1336233182
URL: https://bugs.php.net/patch-display.php?bug=61045&patch=bug61045-5.3.patch&revision=1336233182
------------------------------------------------------------------------
[2012-05-05 01:00:40] arohter at gmail dot com
This is a showstopper for us; we've had to revert back to 5.3.8 so that we can
trace and debug our application in both production and development.
------------------------------------------------------------------------
[2012-04-23 19:29:19] silvio dot ventres at gmail dot com
The link to the patch got mangled:
http://git.php.net/?p=php-
src.git;a=commitdiff;h=7fc36a5210e3066ad9b1ddff2e142e7a971ae1e9
http://goo.gl/11Whb
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=61045
--
Edit this bug report at https://bugs.php.net/bug.php?id=61045&edit=1