]> granicus.if.org Git - apache/commitdiff
Log the deprecation warning at level info, not warn
authorStefan Fritsch <sf@apache.org>
Mon, 20 Jun 2011 22:57:24 +0000 (22:57 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 20 Jun 2011 22:57:24 +0000 (22:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1137813 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/event.c
server/mpm/prefork/prefork.c
server/mpm/worker/worker.c
server/mpm_common.c

index 63bf639a2e574fd0aff6708ed543fc567e60f766..760f25ea2d8d4208f0c71da291e90769dd053c84 100644 (file)
@@ -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.");
     }
index 19dacf568277bcd498449bf455ed14b5f2f3147c..b7396b672e286da985ce2fa07e870a010d6b0bb0 100644 (file)
@@ -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.");
     }
index e137d159563c4df7108cf108ebda68252dc67a12..7380f681431239d30507c38c866c5e4a66ce9310 100644 (file)
@@ -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.");
     }
index aed388bb24dbf8c29220be898bed76c560dde6d6..0f87e67b47ef850d0472cc6ca35d64b67ce6982e 100644 (file)
@@ -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.");
     }