[tor-commits] [tor/master] minor logging improvement

arma at torproject.org arma at torproject.org
Sun Sep 9 19:56:24 UTC 2012


commit 67abdcd8d9870c05f5f7da05075b2375aa48ef04
Author: Roger Dingledine <arma at torproject.org>
Date:   Sun Sep 9 15:54:59 2012 -0400

    minor logging improvement
---
 src/or/routerlist.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 3aea606..b3167c5 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -4965,7 +4965,8 @@ count_usable_descriptors(int *num_present, int *num_usable,
      }
   SMARTLIST_FOREACH_END(rs);
 
-  log_debug(LD_DIR, "%d usable, %d present.", *num_usable, *num_present);
+  log_debug(LD_DIR, "%d usable, %d present (%s).", *num_usable, *num_present,
+            md ? "microdescs" : "descs");
 }
 
 /** We just fetched a new set of descriptors. Compute how far through



More information about the tor-commits mailing list