tony2001 Mon, 14 Dec 2009 09:51:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292125
Log:
set log_level always (patch by Jerome Loyet)
Changed paths:
U php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_stdio.c
Modified: php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_stdio.c
===================================================================
--- php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_stdio.c 2009-12-14
09:47:41 UTC (rev 292124)
+++ php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fpm_stdio.c 2009-12-14
09:51:14 UTC (rev 292125)
@@ -41,6 +41,7 @@
int fpm_stdio_init_final() /* {{{ */
{
+ zlog_set_level(fpm_globals.log_level);
if (fpm_global_config.daemonize) {
if (fpm_globals.error_log_fd != STDERR_FILENO) {
/* there might be messages to stderr from libevent, we
need to log them all */
@@ -49,7 +50,6 @@
return -1;
}
}
- zlog_set_level(fpm_globals.log_level);
zlog_set_fd(fpm_globals.error_log_fd);
}
return 0;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php