summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-29 22:33:40 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-29 22:33:40 +0000
commit7d366f61cb1b2b9965b02479c751a6987f328b76 (patch)
treed65fbad59801acc40f9098aef1470a53ce0af426 /src/or/directory.c
parent8308a379086a82126f685f3d8668e48b0453880d (diff)
downloadtor-7d366f61cb1b2b9965b02479c751a6987f328b76.tar.gz
tor-7d366f61cb1b2b9965b02479c751a6987f328b76.zip
r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400
Differentiate more duplicated log entries svn:r8542
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 7f5f7d78a1..a922d81ade 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -968,7 +968,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
(int)body_len, conn->_base.address, conn->_base.port);
if (status_code != 200) {
log_warn(LD_DIR,"Received http status code %d (%s) from server "
- "'%s:%d'. I'll try again soon.",
+ "'%s:%d' while fetching directory. I'll try again soon.",
status_code, escaped(reason), conn->_base.address,
conn->_base.port);
tor_free(body); tor_free(headers); tor_free(reason);
@@ -986,7 +986,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
log_info(LD_DIR,"Received running-routers list (size %d)", (int)body_len);
if (status_code != 200) {
log_warn(LD_DIR,"Received http status code %d (%s) from server "
- "'%s:%d'. I'll try again soon.",
+ "'%s:%d' while fetching running-routers. I'll try again soon.",
status_code, escaped(reason), conn->_base.address,
conn->_base.port);
tor_free(body); tor_free(headers); tor_free(reason);
@@ -1157,7 +1157,8 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
break;
default:
log_warn(LD_GENERAL,
- "http status %d (%s) reason unexpected (server '%s:%d').",
+ "http status %d (%s) reason unexpected while uploding "
+ "descriptor to server '%s:%d').",
status_code, escaped(reason), conn->_base.address,
conn->_base.port);
break;
@@ -1192,7 +1193,8 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
"rendezvous query?", escaped(reason));
break;
default:
- log_warn(LD_REND,"http status %d (%s) response unexpected (server "
+ log_warn(LD_REND,"http status %d (%s) response unexpected while "
+ "fetching hidden service descriptor (server "
"'%s:%d').",
status_code, escaped(reason), conn->_base.address,
conn->_base.port);