diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-16 11:48:03 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-16 11:48:03 +0000 |
commit | a0a6ed85d1f669cfc85dc021e6828c56b1bb152d (patch) | |
tree | 02ecd22fad32e7e84590631bf9fb6588c871edec /src/or/rendclient.c | |
parent | acf2215946eeee22c1fe48f6655986cc7f490900 (diff) | |
download | tor-a0a6ed85d1f669cfc85dc021e6828c56b1bb152d.tar tor-a0a6ed85d1f669cfc85dc021e6828c56b1bb152d.tar.gz |
more useful logging for rend services and clients
svn:r1641
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 1a1a33b00..aaa9e4bed 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -208,13 +208,13 @@ rend_client_introduction_acked(circuit_t *circ, nickname = rend_client_get_random_intro(circ->rend_query); assert(nickname); if (!router_get_by_nickname(nickname)) { - log_fn(LOG_WARN, "Advertised intro point '%s' is not known. Closing.", - nickname); + log_fn(LOG_WARN, "Advertised intro point '%s' for %s is not known. Closing.", + nickname, circ->rend_query); circuit_mark_for_close(circ); return -1; } - log_fn(LOG_INFO, "Chose new intro point %s for %s (circ %d)", - nickname, circ->rend_query, circ->n_circ_id); + log_fn(LOG_INFO, "Chose new intro point %s for %s (circ %d, %d choices left)", + nickname, circ->rend_query, circ->n_circ_id, ent->parsed->n_intro_points); circ->state = CIRCUIT_STATE_BUILDING; tor_free(circ->build_state->chosen_exit); circ->build_state->chosen_exit = tor_strdup(nickname); |