aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-12-13 00:44:39 +0000
committerRoger Dingledine <arma@torproject.org>2004-12-13 00:44:39 +0000
commit011ad3cba5dadceb4b204aced00e3cd598465d1d (patch)
tree7f6eaf60a5189244ae5b26c0839667451b34c3f0 /src/or/relay.c
parent972124aab936a9fbfd3a736c903124d89515af78 (diff)
downloadtor-011ad3cba5dadceb4b204aced00e3cd598465d1d.tar
tor-011ad3cba5dadceb4b204aced00e3cd598465d1d.tar.gz
clean up logging,
make it clearer which warns are bugs, make the control log event match its specification, point out a bug in how we deal with failure when renewing the tls context. svn:r3138
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 948b030df..792ac7f15 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -525,7 +525,7 @@ connection_edge_process_relay_cell_not_open(
return 0; /* this circuit is screwed and doesn't know it yet */
}
if (connection_ap_can_use_exit(conn, exitrouter)) {
- log_fn(LOG_WARN,"Exitrouter %s seems to be more restrictive than its exit policy. Not using this router as exit for now,", exitrouter->nickname);
+ log_fn(LOG_NOTICE,"Exitrouter %s seems to be more restrictive than its exit policy. Not using this router as exit for now,", exitrouter->nickname);
addr_policy_free(exitrouter->exit_policy);
exitrouter->exit_policy =
router_parse_addr_policy_from_string("reject *:*");
@@ -555,7 +555,7 @@ connection_edge_process_relay_cell_not_open(
/* else, conn will get closed below */
log_fn(LOG_INFO,"Giving up on retrying (from resolvefailed); conn can't be handled.");
} else {
- log_fn(LOG_WARN,"Have tried resolving address %s at %d different places. Giving up.",
+ log_fn(LOG_NOTICE,"Have tried resolving address %s at %d different places. Giving up.",
conn->socks_request->address, MAX_RESOLVE_FAILURES);
}
}