[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/master] More detail for some log msgs.



Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
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