randy 97/09/03 14:51:03
Modified: src/main http_main.c http_protocol.c
Log:
More logging tweaks.
Revision Changes Path
1.215 +3 -3 apachen/src/main/http_main.c
Index: http_main.c
===================================================================
RCS file: /export/home/cvs/apachen/src/main/http_main.c,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -r1.214 -r1.215
--- http_main.c 1997/09/03 04:54:48 1.214
+++ http_main.c 1997/09/03 21:50:54 1.215
@@ -699,7 +699,7 @@
}
if (!current_conn->keptalive)
- aplog_error(APLOG_MARK, APLOG_WARNING, current_conn->server, errstr);
+ aplog_error(APLOG_MARK, APLOG_DEBUG, current_conn->server, errstr);
if (timeout_req) {
/* Someone has asked for this transaction to just be aborted
@@ -3049,14 +3049,14 @@
static int reported = 0;
if (!reported) {
- aplog_error(APLOG_MARK, APLOG_WARNING, server_conf,
+ aplog_error(APLOG_MARK, APLOG_ERR, server_conf,
"server reached MaxClients setting, consider"
" raising the MaxClients setting");
reported = 1;
}
} else {
if (idle_spawn_rate >= 4) {
- aplog_error(APLOG_MARK, APLOG_WARNING, server_conf,
+ aplog_error(APLOG_MARK, APLOG_ERR, server_conf,
"server seems busy, spawning %d children (you may
need "
"to increase StartServers, or Min/MaxSpareServers)",
idle_spawn_rate);
1.159 +3 -3 apachen/src/main/http_protocol.c
Index: http_protocol.c
===================================================================
RCS file: /export/home/cvs/apachen/src/main/http_protocol.c,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -r1.158 -r1.159
--- http_protocol.c 1997/09/03 04:54:52 1.158
+++ http_protocol.c 1997/09/03 21:50:57 1.159
@@ -1671,7 +1671,7 @@
else if (errno == EAGAIN)
continue;
else {
- aplog_error(APLOG_MARK, APLOG_WARNING, r->server,
+ aplog_error(APLOG_MARK, APLOG_DEBUG, r->server,
"send body lost connection to %s",
get_remote_host(r->connection,
r->per_dir_config,
REMOTE_NAME));
@@ -1750,7 +1750,7 @@
else if (errno == EAGAIN)
continue;
else {
- aplog_error(APLOG_MARK, APLOG_WARNING, r->server,
+ aplog_error(APLOG_MARK, APLOG_DEBUG, r->server,
"send body lost connection to %s",
get_remote_host(r->connection,
r->per_dir_config,
REMOTE_NAME));
@@ -1812,7 +1812,7 @@
else if (errno == EAGAIN)
continue;
else {
- aplog_error(APLOG_MARK, APLOG_WARNING, r->server,
+ aplog_error(APLOG_MARK, APLOG_DEBUG, r->server,
"send mmap lost connection to %s",
get_remote_host(r->connection,
r->per_dir_config,
REMOTE_NAME));