[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-cvs
Subject:    [PHP-CVS] com php-src: - Fixed bug #62947 (Unneccesary warnings on FPM): =?UTF-8?Q?sapi/fpm/fpm/fpm=
From:       Jérôme Loyet <fat () php ! net>
Date:       2012-09-27 23:09:31
Message-ID: php-mail-011771edabd61789bb7f2bfb127d857f623132884 () git ! php ! net
[Download RAW message or body]

Commit:    9ed421e3d7333bf68c0252000b98400cc6bc0cbf
Author:    Jerome Loyet <fat@php.net>         Fri, 28 Sep 2012 01:09:31 +0200
Parents:   c8b7ea0f57819e675fa2e8c1dfebabb8b3f62ca6
Branches:  master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=9ed421e3d7333bf68c0252000b98400cc6bc0cbf


Log:
- Fixed bug #62947 (Unneccesary warnings on FPM)

Bugs:
https://bugs.php.net/62947

Changed paths:
  M  sapi/fpm/fpm/fpm_unix.c


Diff:
diff --git a/sapi/fpm/fpm/fpm_unix.c b/sapi/fpm/fpm/fpm_unix.c
index 1a75944..48249e8 100644
--- a/sapi/fpm/fpm/fpm_unix.c
+++ b/sapi/fpm/fpm/fpm_unix.c
@@ -121,16 +121,16 @@ static int fpm_unix_conf_wp(struct fpm_worker_pool_s *wp) /* \
{{{ */  }
 	} else { /* not root */
 		if (wp->config->user && *wp->config->user) {
-			zlog(ZLOG_WARNING, "[pool %s] 'user' directive is ignored when FPM is not running \
as root", wp->config->name); +			zlog(ZLOG_NOTICE, "[pool %s] 'user' directive is \
ignored when FPM is not running as root", wp->config->name);  }
 		if (wp->config->group && *wp->config->group) {
-			zlog(ZLOG_WARNING, "[pool %s] 'group' directive is ignored when FPM is not \
running as root", wp->config->name); +			zlog(ZLOG_NOTICE, "[pool %s] 'group' \
directive is ignored when FPM is not running as root", wp->config->name);  }
 		if (wp->config->chroot && *wp->config->chroot) {
-			zlog(ZLOG_WARNING, "[pool %s] 'chroot' directive is ignored when FPM is not \
running as root", wp->config->name); +			zlog(ZLOG_NOTICE, "[pool %s] 'chroot' \
directive is ignored when FPM is not running as root", wp->config->name);  }
 		if (wp->config->process_priority != 64) {
-			zlog(ZLOG_WARNING, "[pool %s] 'process.priority' directive is ignored when FPM is \
not running as root", wp->config->name); +			zlog(ZLOG_NOTICE, "[pool %s] \
'process.priority' directive is ignored when FPM is not running as root", \
wp->config->name);  }
 
 		/* set up HOME and USER anyway */
@@ -350,7 +350,7 @@ int fpm_unix_init_main() /* {{{ */
 				return -1;
 			}
 		} else {
-			zlog(ZLOG_WARNING, "'process.priority' directive is ignored when FPM is not \
running as root"); +			zlog(ZLOG_NOTICE, "'process.priority' directive is ignored \
when FPM is not running as root");  }
 	}


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic