|
@@ -1411,16 +1411,18 @@ pathbias_check_close(origin_circuit_t *ocirc, int reason)
|
|
|
// state.. Can we use that? Does optimistic data change this?
|
|
|
|
|
|
log_info(LD_CIRC,
|
|
|
- "Circuit closed without successful use for reason %d. "
|
|
|
+ "Circuit %d closed without successful use for reason %d. "
|
|
|
"Circuit purpose %d currently %s.",
|
|
|
+ ocirc->global_identifier,
|
|
|
reason, circ->purpose, circuit_state_to_string(circ->state));
|
|
|
pathbias_count_unusable(ocirc);
|
|
|
} else {
|
|
|
if (reason & END_CIRC_REASON_FLAG_REMOTE) {
|
|
|
/* Unused remote circ close reasons all could be bias */
|
|
|
log_info(LD_CIRC,
|
|
|
- "Circuit remote-closed without successful use for reason %d. "
|
|
|
+ "Circuit %d remote-closed without successful use for reason %d. "
|
|
|
"Circuit purpose %d currently %s.",
|
|
|
+ ocirc->global_identifier,
|
|
|
reason, circ->purpose, circuit_state_to_string(circ->state));
|
|
|
pathbias_count_collapse(ocirc);
|
|
|
} else if ((reason & ~END_CIRC_REASON_FLAG_REMOTE)
|
|
@@ -1432,8 +1434,9 @@ pathbias_check_close(origin_circuit_t *ocirc, int reason)
|
|
|
/* FIXME: Only count bias if the network is live?
|
|
|
* What about clock jumps/suspends? */
|
|
|
log_info(LD_CIRC,
|
|
|
- "Circuit's channel closed without successful use for reason %d, "
|
|
|
+ "Circuit %d's channel closed without successful use for reason %d, "
|
|
|
"channel reason %d. Circuit purpose %d currently %s.",
|
|
|
+ ocirc->global_identifier,
|
|
|
reason, circ->n_chan->reason_for_closing,
|
|
|
circ->purpose, circuit_state_to_string(circ->state));
|
|
|
pathbias_count_collapse(ocirc);
|