php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78334 fpm log prefix message includes wrong stdout/stderr notation
Submitted: 2019-07-25 14:50 UTC Modified: -
From: sadapon2008 at gmail dot com Assigned:
Status: Closed Package: FPM related
PHP Version: 7.3.7 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sadapon2008 at gmail dot com
New email:
PHP Version: OS:

 

 [2019-07-25 14:50 UTC] 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"


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-07-26 08:02 UTC] 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-08-26 17:06 UTC] bukka@php.net
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)
 [2019-08-26 17:06 UTC] bukka@php.net
-Status: Open +Status: Closed
 [2019-08-26 17:11 UTC] bukka@php.net
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)
 [2019-08-26 17:12 UTC] bukka@php.net
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)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC