httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1137813 - in /httpd/httpd/trunk/server: mpm/event/event.c mpm/prefork/prefork.c mpm/worker/worker.c mpm_common.c
Date Mon, 20 Jun 2011 22:57:25 GMT
Author: sf
Date: Mon Jun 20 22:57:24 2011
New Revision: 1137813

URL: http://svn.apache.org/viewvc?rev=1137813&view=rev
Log:
Log the deprecation warning at level info, not warn

Modified:
    httpd/httpd/trunk/server/mpm/event/event.c
    httpd/httpd/trunk/server/mpm/prefork/prefork.c
    httpd/httpd/trunk/server/mpm/worker/worker.c
    httpd/httpd/trunk/server/mpm_common.c

Modified: httpd/httpd/trunk/server/mpm/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/event.c?rev=1137813&r1=1137812&r2=1137813&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/event/event.c Mon Jun 20 22:57:24 2011
@@ -3085,7 +3085,7 @@ static const char *set_max_workers(cmd_p
         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.");
     }

Modified: httpd/httpd/trunk/server/mpm/prefork/prefork.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/prefork/prefork.c?rev=1137813&r1=1137812&r2=1137813&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/prefork/prefork.c (original)
+++ httpd/httpd/trunk/server/mpm/prefork/prefork.c Mon Jun 20 22:57:24 2011
@@ -1479,7 +1479,7 @@ static const char *set_max_clients (cmd_
         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.");
     }

Modified: httpd/httpd/trunk/server/mpm/worker/worker.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/worker/worker.c?rev=1137813&r1=1137812&r2=1137813&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/worker/worker.c (original)
+++ httpd/httpd/trunk/server/mpm/worker/worker.c Mon Jun 20 22:57:24 2011
@@ -2312,7 +2312,7 @@ static const char *set_max_workers (cmd_
         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.");
     }

Modified: httpd/httpd/trunk/server/mpm_common.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm_common.c?rev=1137813&r1=1137812&r2=1137813&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm_common.c (original)
+++ httpd/httpd/trunk/server/mpm_common.c Mon Jun 20 22:57:24 2011
@@ -308,7 +308,7 @@ const char *ap_mpm_set_max_requests(cmd_
     }
 
     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.");
     }



Mime
View raw message