[tor-commits] [tor/master] Silence some spammy log messages.

nickm at torproject.org nickm at torproject.org
Thu Aug 24 19:13:52 UTC 2017


commit dc0264f6593116da413dc5ca6c424dcff36fbbd2
Author: George Kadianakis <desnacked at riseup.net>
Date:   Thu Aug 24 19:09:25 2017 +0300

    Silence some spammy log messages.
---
 src/or/hs_service.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/or/hs_service.c b/src/or/hs_service.c
index 31776c8b5..ae98e92f5 100644
--- a/src/or/hs_service.c
+++ b/src/or/hs_service.c
@@ -2722,10 +2722,10 @@ service_desc_hsdirs_changed(const hs_service_t *service,
 
   /* Check whether the set of HSDirs changed */
   if (!smartlist_strings_eq(b64_responsible_dirs, desc->previous_hsdirs)) {
-    log_warn(LD_GENERAL, "Received new dirinfo and set of hsdirs changed!");
+    log_info(LD_GENERAL, "Received new dirinfo and set of hsdirs changed!");
     retval = 1;
   } else {
-    log_warn(LD_GENERAL, "No change in hsdir set!");
+    log_debug(LD_GENERAL, "No change in hsdir set!");
   }
 
  done:
@@ -2759,7 +2759,7 @@ hs_hsdir_set_changed_consider_reupload(void)
     return;
   }
 
-  log_info(LD_GENERAL, "Received new descriptors. Set of HSdirs changed.");
+  log_info(LD_GENERAL, "Received new dirinfo: Checking hash ring for changes");
 
   /* Go over all descriptors and check if the set of HSDirs changed for any of
    * them. Schedule reupload if so. */





More information about the tor-commits mailing list