httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Eilebrecht <Lars.Eilebre...@unix-ag.org>
Subject [PATCH] Re: general/1555: excessive error log messages ...
Date Wed, 21 Jan 1998 20:43:37 GMT

-----Forwarded message <19980120231000.24685.qmail@hyperreal.org>-----

From: Dean Gaudet <dgaudet@arctic.org>

 One questions why we even generate the error message.  It just causes
 people to worry and submit PRs. 
 
 Dean
 
 On 20 Jan 1998 marc@hyperreal.org wrote:
 
 > Synopsis: excessive  error log messages ... "send body lost connection to:
xxx.xxx.xxx.xxx : Broken pipe"
 > 
 > State-Changed-From-To: feedback-closed
 > State-Changed-By: marc
 > State-Changed-When: Tue Jan 20 14:38:59 PST 1998
 > State-Changed-Why:
 > See discussion in email; no reason to be concerned.
 

--------------End of forwarded message-------------------------

How about logging these errors at 'notice' level instead of 'warn'?

-snip-

Index: apachen/src/main/http_protocol.c
===================================================================
RCS file: /cvs/apachen/src/main/http_protocol.c,v
retrieving revision 1.173
diff -u -r1.173 http_protocol.c
--- http_protocol.c     1998/01/07 16:46:08     1.173
+++ http_protocol.c     1998/01/21 19:45:43
@@ -1653,7 +1653,7 @@
                 else if (errno == EAGAIN)
                     continue;
                 else {
-                    aplog_error(APLOG_MARK, APLOG_WARNING, r->server,
+                    aplog_error(APLOG_MARK, APLOG_NOTICE, r->server,
                                 "send body lost connection to %s",
                                 get_remote_host(r->connection,
                                                 r->per_dir_config,
@@ -1742,7 +1742,7 @@
                 else if (errno == EAGAIN)
                     continue;
                 else {
-                    aplog_error(APLOG_MARK, APLOG_WARNING, r->server,
+                    aplog_error(APLOG_MARK, APLOG_NOTICE, r->server,
                                 "send body lost connection to %s",
                                 get_remote_host(r->connection,
                                                 r->per_dir_config,
@@ -1810,7 +1810,7 @@
                 else if (errno == EAGAIN)
                     continue;
                 else {
-                    aplog_error(APLOG_MARK, APLOG_WARNING, r->server,
+                    aplog_error(APLOG_MARK, APLOG_NOTICE, r->server,
                                 "send mmap lost connection to %s",
                                 get_remote_host(r->connection,
                                                 r->per_dir_config,

-snap-


ciao...
-- 
Lars Eilebrecht                      - "Humans are communications junkies.
sfx@unix-ag.org                     - We just can't get enough." (Alan Kay)
http://www.si.unix-ag.org/~sfx/


Mime
View raw message