You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Lars Eilebrecht <La...@unix-ag.org> on 1998/01/21 21:43:37 UTC
[PATCH] Re: general/1555: excessive error log messages ...
-----Forwarded message <19...@hyperreal.org>-----
From: Dean Gaudet <dg...@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/