]> granicus.if.org Git - apache/commitdiff
log client error at level debug, log broken Host header value
authorStefan Fritsch <sf@apache.org>
Thu, 8 Nov 2012 10:44:49 +0000 (10:44 +0000)
committerStefan Fritsch <sf@apache.org>
Thu, 8 Nov 2012 10:44:49 +0000 (10:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1407006 13f79535-47bb-0310-9956-ffa450edef68

server/vhost.c

index 302e4084a374b1bc4c4c40f16a07af941c1f78f9..fd7c0ad646d8097a5d9cc34bc731621f78f7a068 100644 (file)
@@ -754,8 +754,9 @@ static void fix_hostname(request_rec *r)
 
 bad:
     r->status = HTTP_BAD_REQUEST;
-    ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(00550)
-                  "Client sent malformed Host header");
+    ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(00550)
+                  "Client sent malformed Host header: %s",
+                  r->hostname);
     return;
 }