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

[tor-commits] [tor/release-0.2.2] Ticket #4063 - change circuit build timeout log entries from NOTICE to INFO



commit 5835acc6f910e2bb1e3908802717eeff4122a9b8
Author: Tom Lowenthal <me@xxxxxxxxxxxxxxxx>
Date:   Sat Sep 24 15:34:32 2011 -0700

    Ticket #4063 - change circuit build timeout log entries from NOTICE to INFO
---
 src/or/circuitbuild.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index c6be46d..888023d 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1381,7 +1381,7 @@ circuit_build_times_set_timeout_worker(circuit_build_times_t *cbt)
   cbt->close_ms = MAX(cbt->close_ms, circuit_build_times_initial_timeout());
 
   if (cbt->timeout_ms > max_time) {
-    log_notice(LD_CIRC,
+    log_info(LD_CIRC,
                "Circuit build timeout of %dms is beyond the maximum build "
                "time we have ever observed. Capping it to %dms.",
                (int)cbt->timeout_ms, max_time);
@@ -1429,7 +1429,7 @@ circuit_build_times_set_timeout(circuit_build_times_t *cbt)
   timeout_rate = circuit_build_times_timeout_rate(cbt);
 
   if (prev_timeout > tor_lround(cbt->timeout_ms/1000)) {
-    log_notice(LD_CIRC,
+    log_info(LD_CIRC,
                "Based on %d circuit times, it looks like we don't need to "
                "wait so long for circuits to finish. We will now assume a "
                "circuit is too slow to use after waiting %ld seconds.",
@@ -1440,7 +1440,7 @@ circuit_build_times_set_timeout(circuit_build_times_t *cbt)
              cbt->timeout_ms, cbt->close_ms, cbt->Xm, cbt->alpha,
              timeout_rate);
   } else if (prev_timeout < tor_lround(cbt->timeout_ms/1000)) {
-    log_notice(LD_CIRC,
+    log_info(LD_CIRC,
                "Based on %d circuit times, it looks like we need to wait "
                "longer for circuits to finish. We will now assume a "
                "circuit is too slow to use after waiting %ld seconds.",



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits