Bug #61045 [Ana->Csd]: fpm don't send error log to fastcgi clients(nginx)

From: Date: Tue, 22 May 2012 07:05:32 +0000
Subject: Bug #61045 [Ana->Csd]: fpm don't send error log to fastcgi clients(nginx)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-170662@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
 Updated by:         fat@php.net
 Reported by:        lxlight at gmail dot com
 Summary:            fpm don't send error log to fastcgi clients(nginx)
-Status:             Analyzed
+Status:             Closed
 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:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2012-05-22 06:47:44] fat@php.net

Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=dce259099df6505bb82b63700e4d14832b74e8c1
Log: - Fixed bug #61045 (fpm don't send error log to fastcgi clients)

------------------------------------------------------------------------
[2012-05-22 06:43:08] fat@php.net

Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=dce259099df6505bb82b63700e4d14832b74e8c1
Log: - Fixed bug #61045 (fpm don't send error log to fastcgi clients)

------------------------------------------------------------------------
[2012-05-22 06:43:07] fat@php.net

Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=faca4e08b4dffbf00b1bc20fc5d4e310b3f99c13
Log: - Fixed bug #61045 (fpm don't send error log to fastcgi clients)

------------------------------------------------------------------------
[2012-05-06 02:13:27] arohter at gmail dot com

I applied the patch against 5.3.12, and it appears to be working.

------------------------------------------------------------------------
[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

------------------------------------------------------------------------


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


Thread (25 messages)

« previous php.bugs (#170662) next »