[tor-commits] [tor/release-0.2.4] Clarify liveness log message and lower it to notice.
arma at torproject.org
arma at torproject.org
Thu Apr 11 05:29:52 UTC 2013
commit 87d50d0617d89290ca263aa6f415e45a0c37a11a
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Wed Mar 27 16:22:43 2013 -0700
Clarify liveness log message and lower it to notice.
It could just be due to small clock jumps, after all.
---
src/or/circuitstats.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/or/circuitstats.c b/src/or/circuitstats.c
index fe9c80d..1d7812b 100644
--- a/src/or/circuitstats.c
+++ b/src/or/circuitstats.c
@@ -1232,11 +1232,11 @@ circuit_build_times_network_close(circuit_build_times_t *cbt,
format_local_iso_time(last_live_buf, cbt->liveness.network_last_live);
format_local_iso_time(start_time_buf, start_time);
format_local_iso_time(now_buf, now);
- log_warn(LD_BUG,
- "Circuit somehow completed a hop while the network was "
- "not live. Network was last live at %s, but circuit launched "
- "at %s. It's now %s.", last_live_buf, start_time_buf,
- now_buf);
+ log_notice(LD_CIRC,
+ "A circuit somehow completed a hop while the network was "
+ "not live. The network was last live at %s, but the circuit "
+ "launched at %s. It's now %s. This could mean your clock "
+ "changed.", last_live_buf, start_time_buf, now_buf);
}
cbt->liveness.nonlive_timeouts++;
if (cbt->liveness.nonlive_timeouts == 1) {
More information about the tor-commits
mailing list