[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r8524: combine the cutoff log entries (tor/trunk/src/or)



Author: arma
Date: 2006-09-28 20:19:43 -0400 (Thu, 28 Sep 2006)
New Revision: 8524

Modified:
   tor/trunk/src/or/dirserv.c
Log:
combine the cutoff log entries


Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c	2006-09-28 23:57:59 UTC (rev 8523)
+++ tor/trunk/src/or/dirserv.c	2006-09-29 00:19:43 UTC (rev 8524)
@@ -1309,12 +1309,11 @@
                                                 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));