aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuituse.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/circuituse.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/circuituse.c')
-rw-r--r--src/or/circuituse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 775af1d96..dcd92af8b 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -721,7 +721,7 @@ circuit_get_open_circ_or_launch(connection_t *conn,
if (!is_resolve && !connection_edge_is_rendezvous_stream(conn)) {
addr = client_dns_lookup_entry(conn->socks_request->address);
if (router_exit_policy_all_routers_reject(addr, conn->socks_request->port)) {
- log_fn(LOG_WARN,"No Tor server exists that allows exit to %s:%d. Rejecting.",
+ log_fn(LOG_NOTICE,"No Tor server exists that allows exit to %s:%d. Rejecting.",
conn->socks_request->address, conn->socks_request->port);
return -1;
}
@@ -824,7 +824,7 @@ int connection_ap_handshake_attach_circuit(connection_t *conn) {
conn_age = time(NULL) - conn->timestamp_created;
if (conn_age > CONN_AP_MAX_ATTACH_DELAY) {
- log_fn(LOG_WARN,"Giving up on unattached conn (%d sec old).", conn_age);
+ log_fn(LOG_NOTICE,"Giving up on unattached conn (%d sec old).", conn_age);
return -1;
}