From a686e267b5e735805572adc1c6f2205a56c3f3a6 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Thu, 8 Nov 2012 10:44:49 +0000 Subject: [PATCH] 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 --- server/vhost.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/vhost.c b/server/vhost.c index 302e4084a37..fd7c0ad646d 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; } -- 2.47.2