ソースを参照

Quiet "Set buildtimeout to low val" warnings: make them info

Fix for #6251
Nick Mathewson 11 年 前
コミット
a7a4bbff47
2 ファイル変更7 行追加1 行削除
  1. 6 0
      changes/bug6251
  2. 1 1
      src/or/circuitbuild.c

+ 6 - 0
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.

+ 1 - 1
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) {