From 59c3601574e6e629604420da7f1012152dbc4ff5 Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Wed, 6 Feb 2002 02:29:54 +0000 Subject: [PATCH] Tone down the logging levels for these two messages from ERROR to NOTICE. It's something to note, but it isn't an error worthy of logging by default. (Also always log any status values in read_request_line() - incl. timeouts.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93271 13f79535-47bb-0310-9956-ffa450edef68 --- server/protocol.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/server/protocol.c b/server/protocol.c index d0e1ae26f4f..6fe19668db5 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -597,13 +597,7 @@ static int read_request_line(request_rec *r) &len, r, 0); if (rv != APR_SUCCESS) { - /* We could get TIMEUP, EOF, or CONNRESET on socket timeouts, - * so those are common errors that we don't want to log. - */ - if (!APR_STATUS_IS_TIMEUP(rv) && !APR_STATUS_IS_EOF(rv) && - !APR_STATUS_IS_ECONNRESET(rv)) { - ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, "read_request_line() failed"); - } + ap_log_rerror(APLOG_MARK, APLOG_NOTICE, rv, r, "read_request_line() failed"); r->request_time = apr_time_now(); return 0; } @@ -710,7 +704,7 @@ static void get_mime_headers(request_rec *r) } if (rv != APR_SUCCESS) { - ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, "get_mime_headers() failed"); + ap_log_rerror(APLOG_MARK, APLOG_NOTICE, rv, r, "get_mime_headers() failed"); return; } -- 2.47.3