Skip to content

Commit e31553c

Browse files
author
Jerome Loyet
committed
- Fixed bug #62947 (Unneccesary warnings on FPM)
1 parent 2259a8f commit e31553c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ PHP NEWS
1919
. Fixed bug #62954 (startup problems fpm / php-fpm). (fat)
2020
. Fixed bug #62886 (PHP-FPM may segfault/hang on startup). (fat)
2121
. Fixed bug #63085 (Systemd integration and daemonize). (remi, fat)
22+
. Fixed bug #62947 (Unneccesary warnings on FPM). (fat)
2223

2324
- Intl:
2425
. Fix bug #62915 (defective cloning in several intl classes). (Gustavo)

sapi/fpm/fpm/fpm_unix.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,16 +121,16 @@ static int fpm_unix_conf_wp(struct fpm_worker_pool_s *wp) /* {{{ */
121121
}
122122
} else { /* not root */
123123
if (wp->config->user && *wp->config->user) {
124-
zlog(ZLOG_WARNING, "[pool %s] 'user' directive is ignored when FPM is not running as root", wp->config->name);
124+
zlog(ZLOG_NOTICE, "[pool %s] 'user' directive is ignored when FPM is not running as root", wp->config->name);
125125
}
126126
if (wp->config->group && *wp->config->group) {
127-
zlog(ZLOG_WARNING, "[pool %s] 'group' directive is ignored when FPM is not running as root", wp->config->name);
127+
zlog(ZLOG_NOTICE, "[pool %s] 'group' directive is ignored when FPM is not running as root", wp->config->name);
128128
}
129129
if (wp->config->chroot && *wp->config->chroot) {
130-
zlog(ZLOG_WARNING, "[pool %s] 'chroot' directive is ignored when FPM is not running as root", wp->config->name);
130+
zlog(ZLOG_NOTICE, "[pool %s] 'chroot' directive is ignored when FPM is not running as root", wp->config->name);
131131
}
132132
if (wp->config->process_priority != 64) {
133-
zlog(ZLOG_WARNING, "[pool %s] 'process.priority' directive is ignored when FPM is not running as root", wp->config->name);
133+
zlog(ZLOG_NOTICE, "[pool %s] 'process.priority' directive is ignored when FPM is not running as root", wp->config->name);
134134
}
135135

136136
/* set up HOME and USER anyway */
@@ -350,7 +350,7 @@ int fpm_unix_init_main() /* {{{ */
350350
return -1;
351351
}
352352
} else {
353-
zlog(ZLOG_WARNING, "'process.priority' directive is ignored when FPM is not running as root");
353+
zlog(ZLOG_NOTICE, "'process.priority' directive is ignored when FPM is not running as root");
354354
}
355355
}
356356

0 commit comments

Comments
 (0)