[tor-commits] [tor/master] Don't log about reloading the microdescriptor cache at startup

nickm at torproject.org nickm at torproject.org
Tue Sep 4 14:18:59 UTC 2012


commit 2131cc125bde702b30ad7655967f13ef9e4c8973
Author: Roger Dingledine <arma at torproject.org>
Date:   Mon Sep 3 18:50:27 2012 -0400

    Don't log about reloading the microdescriptor cache at startup
    
    Addresses bug 6759.
---
 changes/bug6759    |    6 ++++++
 src/or/microdesc.c |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/changes/bug6759 b/changes/bug6759
new file mode 100644
index 0000000..b0092d0
--- /dev/null
+++ b/changes/bug6759
@@ -0,0 +1,6 @@
+  o Minor bugfixes:
+    - Don't log about reloading the microdescriptor cache at startup. Our
+      bootstrap warnings are supposed to tell the user when there's a
+      problem, and our bootstrap notices say when there isn't. Fixes
+      bug 6759; bugfix on 0.2.2.6-alpha.
+
diff --git a/src/or/microdesc.c b/src/or/microdesc.c
index b4d22c1..3bda9cb 100644
--- a/src/or/microdesc.c
+++ b/src/or/microdesc.c
@@ -323,8 +323,8 @@ microdesc_cache_reload(microdesc_cache_t *cache)
     }
     tor_free(journal_content);
   }
-  log_notice(LD_DIR, "Reloaded microdescriptor cache.  Found %d descriptors.",
-             total);
+  log_info(LD_DIR, "Reloaded microdescriptor cache. Found %d descriptors.",
+           total);
 
   microdesc_cache_rebuild(cache, 0 /* don't force */);
 





More information about the tor-commits mailing list