Bug #68381 [NEW]: fpm_unix_init_main ignores log_level
| From: | dz at heroku dot com | Date: | Sat, 08 Nov 2014 22:48:10 +0000 |
| Subject: | Bug #68381 [NEW]: fpm_unix_init_main ignores log_level | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-188520@lists.php.net to get a copy of this message | ||
From: dz at heroku dot com
Operating system: OS X 10.9.5
PHP version: 5.6.2
Package: FPM related
Bug Type: Bug
Bug description:fpm_unix_init_main ignores log_level
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
--
Edit bug report at https://bugs.php.net/bug.php?id=68381&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68381&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68381&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68381&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68381&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68381&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68381&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68381&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68381&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68381&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68381&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68381&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68381&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68381&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68381&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68381&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68381&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68381&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68381&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68381&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68381&r=mysqlcfg