From 4791a4f1c9d2bab38654d7135811fc1d8d1ef787 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Fri, 29 Sep 2006 00:19:43 +0000 Subject: combine the cutoff log entries svn:r8524 --- src/or/dirserv.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src') 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)); -- cgit v1.2.3