diff options
author | Stefan Fritsch <sf@apache.org> | 2011-06-21 00:57:24 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-06-21 00:57:24 +0200 |
commit | 4b3f0aaf96ba2ff914ee326866d6e3ae41a5efaa (patch) | |
tree | 49a1f71233252a82d0ceb8c735a25d665a8840cd | |
parent | Fix search'n'replace error: Actually warn if MaxClients is used (diff) | |
download | apache2-4b3f0aaf96ba2ff914ee326866d6e3ae41a5efaa.tar.xz apache2-4b3f0aaf96ba2ff914ee326866d6e3ae41a5efaa.zip |
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
-rw-r--r-- | server/mpm/event/event.c | 2 | ||||
-rw-r--r-- | server/mpm/prefork/prefork.c | 2 | ||||
-rw-r--r-- | server/mpm/worker/worker.c | 2 | ||||
-rw-r--r-- | server/mpm_common.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 63bf639a2e..760f25ea2d 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 19dacf5682..b7396b672e 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 e137d15956..7380f68143 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 aed388bb24..0f87e67b47 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."); } |