From: Stefan Fritsch Date: Mon, 20 Jun 2011 22:57:24 +0000 (+0000) Subject: Log the deprecation warning at level info, not warn X-Git-Tag: 2.3.13~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b3f0aaf96ba2ff914ee326866d6e3ae41a5efaa;p=thirdparty%2Fapache%2Fhttpd.git Log the deprecation warning at level info, not warn git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1137813 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 63bf639a2e5..760f25ea2d8 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -3085,7 +3085,7 @@ static const char *set_max_workers(cmd_parms * cmd, void *dummy, return err; } if (!strcasecmp(cmd->cmd->name, "MaxClients")) { - ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL, + ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "MaxClients is deprecated, use MaxRequestWorkers " "instead."); } diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 19dacf56827..b7396b672e2 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -1479,7 +1479,7 @@ static const char *set_max_clients (cmd_parms *cmd, void *dummy, const char *arg return err; } if (!strcasecmp(cmd->cmd->name, "MaxClients")) { - ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL, + ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "MaxClients is deprecated, use MaxRequestWorkers " "instead."); } diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index e137d159563..7380f681431 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -2312,7 +2312,7 @@ static const char *set_max_workers (cmd_parms *cmd, void *dummy, return err; } if (!strcasecmp(cmd->cmd->name, "MaxClients")) { - ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL, + ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "MaxClients is deprecated, use MaxRequestWorkers " "instead."); } diff --git a/server/mpm_common.c b/server/mpm_common.c index aed388bb24d..0f87e67b47e 100644 --- a/server/mpm_common.c +++ b/server/mpm_common.c @@ -308,7 +308,7 @@ const char *ap_mpm_set_max_requests(cmd_parms *cmd, void *dummy, } if (!strcasecmp(cmd->cmd->name, "MaxRequestsPerChild")) { - ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL, + ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "MaxRequestsPerChild is deprecated, use " "MaxConnectionsPerChild instead."); }