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

Fix for #6251
This commit is contained in:
Nick Mathewson 2012-08-27 16:37:09 -04:00
parent d98f2996b0
commit a7a4bbff47
2 changed files with 7 additions and 1 deletions

6
changes/bug6251 Normal file
View File

@ -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.

View File

@ -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) {