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 (profile)
Status: Closed Package: FPM related
PHP Version: 5.4.15 OS: GNU/Linux
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: remi@php.net
New email:
PHP Version: OS:

 

 [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)

Pull Requests

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
 [2014-10-07 23:19 UTC] stas@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=9f6ca9bc6400fc9c8eaebf963f6eb048dde4b34f
Log: Fixed Bug #64915 (error_log ignored when daemonize=0)
 [2014-10-07 23:30 UTC] stas@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=9f6ca9bc6400fc9c8eaebf963f6eb048dde4b34f
Log: Fixed Bug #64915 (error_log ignored when daemonize=0)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC