[tor-commits] [tor/master] Quiet "Set buildtimeout to low val" warnings: make them info

nickm at torproject.org nickm at torproject.org
Mon Aug 27 20:39:32 UTC 2012


commit a7a4bbff47c92aa4df0a932492867d1601834118
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Aug 27 16:37:09 2012 -0400

    Quiet "Set buildtimeout to low val" warnings: make them info
    
    Fix for #6251
---
 changes/bug6251       |    6 ++++++
 src/or/circuitbuild.c |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/changes/bug6251 b/changes/bug6251
new file mode 100644
index 0000000..c782a93
--- /dev/null
+++ b/changes/bug6251
@@ -0,0 +1,6 @@
+  o Minor bugfixes:
+    - Downgrade "set buildtimeout to low value" messages to INFO
+      severity; they were never an actual problem, there was never
+      anything reasonable to do about them, and they tended to spam
+      logs from time to time. Fix for bug 6251; bugfix on
+      0.2.2.2-alpha.
\ No newline at end of file
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index fcd13dc..e557601 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1627,7 +1627,7 @@ circuit_build_times_set_timeout(circuit_build_times_t *cbt)
     return;
 
   if (cbt->timeout_ms < circuit_build_times_min_timeout()) {
-    log_warn(LD_CIRC, "Set buildtimeout to low value %fms. Setting to %dms",
+    log_info(LD_CIRC, "Set buildtimeout to low value %fms. Setting to %dms",
              cbt->timeout_ms, circuit_build_times_min_timeout());
     cbt->timeout_ms = circuit_build_times_min_timeout();
     if (cbt->close_ms < cbt->timeout_ms) {





More information about the tor-commits mailing list