Bug #68381 [Com]: fpm_unix_init_main ignores log_level

From: Date: Sat, 08 Nov 2014 22:48:57 +0000
Subject: Bug #68381 [Com]: fpm_unix_init_main ignores log_level
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188521@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68381&edit=1 ID: 68381 Comment by: dz at heroku dot com Reported by: dz at heroku dot com Summary: fpm_unix_init_main ignores log_level Status: Open Type: Bug Package: FPM related Operating System: OS X 10.9.5 PHP Version: 5.6.2 Block user comment: N Private report: N New Comment: https://github.com/php/php-src/pull/894 Previous Comments: ------------------------------------------------------------------------ [2014-11-08 22:48:09] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68381&edit=1

« previous php.bugs (#188521) next »