Bug #78334 [PATCH]: fpm log prefix message includes wrong stdout/stderr notation

From: Date: Fri, 26 Jul 2019 08:02:53 +0000
Subject: Bug #78334 [PATCH]: fpm log prefix message includes wrong stdout/stderr notation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221942@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 Patch added by: sadapon2008@gmail.com Reported by: sadapon2008 at gmail dot com Summary: fpm log prefix message includes wrong stdout/stderr notation Status: Open Type: Bug Package: FPM related PHP Version: 7.3.7 Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#221942) next »