diff options
author | David Goulet <dgoulet@torproject.org> | 2017-09-11 16:10:18 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-09-11 16:10:18 -0400 |
commit | 84bb5cb1f1d71a8f5067e85fd19c43dcb2bb33c5 (patch) | |
tree | 8be5896bb8902632505441ad54c7a71832ad5e5b /src/or/circuitlist.c | |
parent | 59072d20277fe6250d0e9b6cf90bf41a75ad651c (diff) | |
download | tor-84bb5cb1f1d71a8f5067e85fd19c43dcb2bb33c5.tar.gz tor-84bb5cb1f1d71a8f5067e85fd19c43dcb2bb33c5.zip |
circuit: Add a log info when marking for close
Closes #23462
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r-- | src/or/circuitlist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index 774edc90b4..5cc6252325 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -1912,6 +1912,10 @@ circuit_mark_for_close_, (circuit_t *circ, int reason, int line, circuits_pending_close = smartlist_new(); smartlist_add(circuits_pending_close, circ); + + log_info(LD_GENERAL, "Circuit %u marked for close at %s:%d (orig reason: " + "%u, new reason: %u)", + circ->n_circ_id, file, line, orig_reason, reason); } /** Called immediately before freeing a marked circuit <b>circ</b> from |