aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-09-29 00:19:43 +0000
committerRoger Dingledine <arma@torproject.org>2006-09-29 00:19:43 +0000
commit4791a4f1c9d2bab38654d7135811fc1d8d1ef787 (patch)
tree17a56053aa3fe540d2f5114bfcb0293bad2db5cb /src
parent907fc6c73ec7797361e53286e91c1bf21efa11d2 (diff)
downloadtor-4791a4f1c9d2bab38654d7135811fc1d8d1ef787.tar
tor-4791a4f1c9d2bab38654d7135811fc1d8d1ef787.tar.gz
combine the cutoff log entries
svn:r8524
Diffstat (limited to 'src')
-rw-r--r--src/or/dirserv.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 18d44199f..0c8e08032 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1309,12 +1309,11 @@ dirserv_compute_performance_thresholds(routerlist_t *rl)
smartlist_len(bandwidths)/2);
}
- log_info(LD_DIRSERV, "Uptime cutoff is %lu seconds.",
- (unsigned long)stable_uptime);
- log_info(LD_DIRSERV, "Bandwidth cutoff is %lu bytes/second.",
- (unsigned long)fast_bandwidth);
- log_info(LD_DIRSERV, "Guard bandwidth cutoff is %lu bytes/second.",
- (unsigned long)guard_bandwidth);
+ log(LOG_INFO, LD_DIRSERV,
+ "Cutoffs: %lus uptime, %lu b/s fast, %lu b/s guard.",
+ (unsigned long)stable_uptime,
+ (unsigned long)fast_bandwidth,
+ (unsigned long)guard_bandwidth);
SMARTLIST_FOREACH(uptimes, uint32_t *, up, tor_free(up));
SMARTLIST_FOREACH(bandwidths, uint32_t *, bw, tor_free(bw));