Bug #64915 [PATCH]: error_log ignored when daemonize=0
| From: | remi@php.net | Date: | Fri, 24 May 2013 09:50:53 +0000 |
| Subject: | Bug #64915 [PATCH]: error_log ignored when daemonize=0 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-179113@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64915&edit=1
ID: 64915
Patch added by: remi@php.net
Reported by: remi@php.net
Summary: error_log ignored when daemonize=0
Status: Assigned
Type: Bug
Package: FPM related
Operating System: GNU/Linux
PHP Version: 5.4.15
Assigned To: remi
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: php-5.5.0-bug64915.patch
Revision: 1369389053
URL: https://bugs.php.net/patch-display.php?bug=64915&patch=php-5.5.0-bug64915.patch&revision=1369389053
Previous Comments:
------------------------------------------------------------------------
[2013-05-24 09:23:22] remi@php.net
The following patch has been added/updated:
Patch Name: php-5.5.0-bug64915.patch
Revision: 1369387402
URL: https://bugs.php.net/patch-display.php?bug=64915&patch=php-5.5.0-bug64915.patch&revision=1369387402
------------------------------------------------------------------------
[2013-05-24 08:41:31] remi@php.net
Description:
------------
error_log is only used when daemonize=1.
This make sense to display message during an interactive / debug run.
Launching php-fpm using systemd (with type=simple of new type=notify), --nodaemonize option is used.
So error_log directive is ignored and all messages goes to stdout (catched by systemd and redirected
to system log).
Proposal : use error_log configured file if daemonize OR !interactive (using isatty test)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64915&edit=1