php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64915 error_log ignored when daemonize=0
Submitted: 2013-05-24 08:41 UTC Modified: 2013-05-24 08:41 UTC
From: remi@php.net Assigned: remi
Status: Closed Package: FPM related
PHP Version: 5.4.15 OS: GNU/Linux
Private report: No CVE-ID:
 [2013-05-24 08:41 UTC] 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)


Patches

php-5.5.0-bug64915.patch (last revision 2013-05-24 09:50 UTC) by remi@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-24 08:41 UTC] remi@php.net
-Assigned To: +Assigned To: remi
 [2013-05-24 09:23 UTC] 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 09:50 UTC] remi@php.net
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
 [2013-05-24 10:11 UTC] remi@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9f6ca9bc6400fc9c8eaebf963f6eb048dde4b34f
Log: Fixed Bug #64915 (error_log ignored when daemonize=0)
 [2013-05-24 10:11 UTC] remi@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sun Apr 20 21:01:56 2014 UTC