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

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



commit 67abdcd8d9870c05f5f7da05075b2375aa48ef04
Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits