Edit report at https://bugs.php.net/bug.php?id=64915&edit=1

 ID:                 64915
 Patch added by:     r...@php.net
 Reported by:        r...@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] r...@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] r...@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

Reply via email to