From 5dbf99d9ff59e69c064acda31495486635f8b844 Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Wed, 16 Jun 2010 18:13:27 -0700 Subject: [PATCH] Mention the purpose field for leaked circuits. --- src/or/circuituse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 0187448aaa..c1b39b18e7 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -733,9 +733,10 @@ circuit_expire_old_circuits_clientside(time_t now) } else if (!TO_ORIGIN_CIRCUIT(circ)->is_ancient) { log_notice(LD_CIRC, "Ancient non-dirty circuit %d is still around after " - "%ld seconds.", + "%ld seconds. Purpose: %d", TO_ORIGIN_CIRCUIT(circ)->global_identifier, - now - circ->timestamp_created); + now - circ->timestamp_created, + circ->purpose); TO_ORIGIN_CIRCUIT(circ)->is_ancient = 1; } }