diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-24 19:39:45 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-24 19:39:45 +0000 |
commit | f9b0be526e2d08a93728ae92b450e92a09aadf82 (patch) | |
tree | 8fa99a4ba1b4ca2790f761337e8b50b04696ad94 /src/or/circuituse.c | |
parent | fa338d85db52e665012ffe40aba676ccb220b016 (diff) | |
download | tor-f9b0be526e2d08a93728ae92b450e92a09aadf82.tar tor-f9b0be526e2d08a93728ae92b450e92a09aadf82.tar.gz |
Use LD_BUG as appropriate; convert rend* and router* to new logging interface; use new circ_log_path interface
svn:r5302
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 69723d64c..98f5febd5 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -248,7 +248,7 @@ circuit_expire_building(time_t now) else log_fn(LOG_INFO,"Abandoning circ %d (state %d:%s, purpose %d)", victim->n_circ_id, victim->state, circuit_state_to_string(victim->state), victim->purpose); - circuit_log_path(LOG_INFO,victim); + circuit_log_path(LOG_INFO,LD_CIRC,victim); circuit_mark_for_close(victim); } } @@ -1123,7 +1123,7 @@ connection_ap_handshake_attach_circuit(connection_t *conn) log_fn(LOG_DEBUG,"Attaching apconn to circ %d (stream %d sec old).", circ->n_circ_id, conn_age); /* here, print the circ's path. so people can figure out which circs are sucking. */ - circuit_log_path(LOG_INFO,circ); + circuit_log_path(LOG_INFO,LD_APP,circ); /* We have found a suitable circuit for our conn. Hurray. */ return connection_ap_handshake_attach_chosen_circuit(conn, circ); |