Bug #78334 [Opn->Csd]: fpm log prefix message includes wrong stdout/stderr notation
| From: | bukka@php.net | Date: | Mon, 26 Aug 2019 17:06:03 +0000 |
| Subject: | Bug #78334 [Opn->Csd]: fpm log prefix message includes wrong stdout/stderr notation | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222425@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78334&edit=1
ID: 78334
Updated by: bukka@php.net
Reported by: sadapon2008 at gmail dot com
Summary: fpm log prefix message includes wrong stdout/stderr
notation
-Status: Open
+Status: Closed
Type: Bug
Package: FPM related
PHP Version: 7.3.7
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of sadapon2008@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ffcf57fa187f55b6e2cf3e6de43b03332cc750de
Log: Fix bug #78334 (fpm log prefix message includes wrong stdout/stderr notation)
Previous Comments:
------------------------------------------------------------------------
[2019-07-26 08:02:53] sadapon2008 at gmail dot com
The following pull request has been associated:
Patch Name: fix fpm log prefix message with wrong stdout/stderr notation
On GitHub: https://github.com/php/php-src/pull/4476
Patch: https://github.com/php/php-src/pull/4476.patch
------------------------------------------------------------------------
[2019-07-25 14:50:06] sadapon2008 at gmail dot com
Description:
------------
fpm log prefix message includes wrong stdout/stderr notation
Test script:
---------------
<?php
file_put_contents('php://stdout', "msg 1 - ");
usleep(1);
file_put_contents('php://stderr', "msg 2 - ");
usleep(1);
file_put_contents('php://stderr', "msg 3");
Expected result:
----------------
LOG LINE: [25-Jul-2019 23:34:52] WARNING: [pool unconfined] child 87539 said into stdout: "msg
1 - "
LOG LINE: [25-Jul-2019 23:34:52] WARNING: [pool unconfined] child 87539 said into stderr: "msg
2 - msg 3"
Actual result:
--------------
LOG LINE: [25-Jul-2019 23:34:52] WARNING: [pool unconfined] child 87539 said into stdout: "msg
1 - msg 2 - msg 3"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78334&edit=1