From: Stefan Fritsch Date: Thu, 8 Nov 2012 10:44:49 +0000 (+0000) Subject: log client error at level debug, log broken Host header value X-Git-Tag: 2.5.0-alpha~6146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a686e267b5e735805572adc1c6f2205a56c3f3a6;p=apache log client error at level debug, log broken Host header value git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1407006 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/vhost.c b/server/vhost.c index 302e4084a3..fd7c0ad646 100644 --- a/server/vhost.c +++ b/server/vhost.c @@ -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; }