[or-cvs] [tor/master] More detail for some log msgs.
arma at seul.org
arma at seul.org
Thu Sep 17 01:46:24 UTC 2009
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Tue, 1 Sep 2009 21:12:47 -0700
Subject: More detail for some log msgs.
Commit: 8210336182b9f78fc5ca616280c2ce8e78cf6620
---
src/or/circuitbuild.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index b1c377a..0f2972f 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -583,9 +583,9 @@ circuit_build_times_check_too_many_timeouts(circuit_build_times_t *cbt)
cbt->timeout = lround(timeout/1000.0);
log_notice(LD_CIRC,
- "Reset circuit build timeout to %d (Xm: %d a: %lf) based on "
- "%d recent circuit times", cbt->timeout, cbt->Xm, cbt->alpha,
- RECENT_CIRCUITS);
+ "Reset circuit build timeout to %d (%lf, Xm: %d, a: %lf) based on "
+ "%d recent circuit times", cbt->timeout, timeout, cbt->Xm,
+ cbt->alpha, RECENT_CIRCUITS);
reset:
@@ -643,9 +643,8 @@ circuit_build_times_set_timeout(circuit_build_times_t *cbt)
cbt->timeout = lround(timeout/1000.0);
log_info(LD_CIRC,
- "Set circuit build timeout to %d (Xm: %d a: %lf) based on "
- "%d circuit times",
- cbt->timeout, cbt->Xm, cbt->alpha,
+ "Set circuit build timeout to %d (%lf, Xm: %d, a: %lf) based on "
+ "%d circuit times", cbt->timeout, timeout, cbt->Xm, cbt->alpha,
cbt->total_build_times);
}
--
1.5.6.5
More information about the tor-commits
mailing list