Browse Source

combine the cutoff log entries

svn:r8524
Roger Dingledine 19 years ago
parent
commit
4791a4f1c9
1 changed files with 5 additions and 6 deletions
  1. 5 6
      src/or/dirserv.c

+ 5 - 6
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));