php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68381 fpm_unix_init_main ignores log_level
Submitted: 2014-11-08 22:48 UTC Modified: 2014-11-18 16:49 UTC
From: dz at heroku dot com Assigned: remi (profile)
Status: Closed Package: FPM related
PHP Version: 5.6.2 OS: OS X 10.9.5
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dz at heroku dot com
New email:
PHP Version: OS:

 

 [2014-11-08 22:48 UTC] dz at heroku dot com
Description:
------------
The log level will be ignored throughout log events in `fpm_unix_init_main`, until
the very end when `zlog_set_level` is finally called.

In particular, `fpm_unix_conf_wp` may throw notices like this:

> [08-Nov-2014 17:13:36] NOTICE: [pool www] 'user' directive is ignored when…

Which will still appear even if `log_level` in php-fpm.conf is set to `warning`+

To reproduce, set "log_level" in `php-fpm.conf` to warning. On startup as non-root, these two notices will still appear:

> [08-Nov-2014 17:13:36] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
> [08-Nov-2014 17:13:36] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root



Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-11-18 16:46 UTC] [email protected]
-Status: Open +Status: Closed
 [2014-11-18 16:49 UTC] [email protected]
-Assigned To: +Assigned To: remi
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 08:01:31 2025 UTC