]> granicus.if.org Git - apache/commitdiff
Set the notice when hostname is too long for legacy proxy modules to info level.
authorGraham Leggett <minfrin@apache.org>
Fri, 16 Feb 2018 13:52:47 +0000 (13:52 +0000)
committerGraham Leggett <minfrin@apache.org>
Fri, 16 Feb 2018 13:52:47 +0000 (13:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1824482 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index 3c81c8b65e89c8ebd1999f5b80265569db2de0dd..f2ea34d8af72b9643dafa91b7fccc73f78c082af 100644 (file)
@@ -1731,7 +1731,7 @@ PROXY_DECLARE(char *) ap_proxy_define_worker(apr_pool_t *p,
         return apr_psprintf(p, "worker hostname (%s) too long", uri.hostname);
     }
     if (PROXY_STRNCPY(wshared->hostname, uri.hostname) != APR_SUCCESS) {
-        ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, ap_server_conf, APLOGNO(010118)
+        ap_log_error(APLOG_MARK, APLOG_INFO, 0, ap_server_conf, APLOGNO(010118)
         "worker hostname (%s) too long; truncated for legacy modules that do not use "
         "proxy_worker_shared->hostname_ex: %s", uri.hostname, wshared->hostname);
     }