remove some extra-verbose logs

svn:r3361
This commit is contained in:
Roger Dingledine 2005-01-17 18:49:13 +00:00
parent d2400a5afd
commit ea24dc31bc
2 changed files with 4 additions and 1 deletions

View File

@ -1147,7 +1147,8 @@ circuit_append_new_hop(circuit_t *circ, char *nickname, const char *exit_digest)
memcpy(circ->build_state->chosen_exit_digest, exit_digest, DIGEST_LEN);
++circ->build_state->desired_path_len;
if (circuit_send_next_onion_skin(circ)<0) {
log_fn(LOG_WARN, "Couldn't extend circuit to new point '%s'.", circ->build_state->chosen_exit_name);
log_fn(LOG_WARN, "Couldn't extend circuit to new point '%s'.",
circ->build_state->chosen_exit_name);
circuit_mark_for_close(circ);
return -1;
}

View File

@ -198,6 +198,7 @@ void circuit_expire_building(time_t now) {
if (victim->timestamp_created + MIN_SECONDS_BEFORE_EXPIRING_CIRC > now)
continue; /* it's young still, don't mess with it */
#if 0
/* some debug logs, to help track bugs */
if (victim->purpose >= CIRCUIT_PURPOSE_C_INTRODUCING &&
victim->purpose <= CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED) {
@ -213,6 +214,7 @@ void circuit_expire_building(time_t now) {
victim->n_circ_id,
(int)(now - victim->timestamp_dirty));
}
#endif
/* if circ is !open, or if it's open but purpose is a non-finished
* intro or rend, then mark it for close */