Bug #68381 [Opn->Csd]: fpm_unix_init_main ignores log_level

From: Date: Tue, 18 Nov 2014 16:46:27 +0000
Subject: Bug #68381 [Opn->Csd]: fpm_unix_init_main ignores log_level
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188658@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 Updated by: remi@php.net Reported by: dz at heroku dot com Summary: fpm_unix_init_main ignores log_level -Status: Open +Status: Closed 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: Automatic comment on behalf of dzuelke@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=03cf70ab1e35305443ac379ee5219d19aeeb6ba2 Log: Fixed bug #68381 Set FPM log level earlier during init Previous Comments: ------------------------------------------------------------------------ [2014-11-08 22:48:57] dz at heroku dot com https://github.com/php/php-src/pull/894 ------------------------------------------------------------------------ [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 (#188658) next »