[tor-commits] [tor/master] sr: Log voting schedule at debug level

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


commit 5750f18bc7efacc2405918d08bc3f47e4c6a7ae9
Author: David Goulet <dgoulet at torproject.org>
Date:   Wed Aug 9 11:25:53 2017 -0400

    sr: Log voting schedule at debug level
    
    Because the HS subsystem calls it every second, change the log level to debug
    so it doesn't spam the info log.
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 src/or/shared_random_state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/shared_random_state.c b/src/or/shared_random_state.c
index d7ae05e89..5fcf88cc4 100644
--- a/src/or/shared_random_state.c
+++ b/src/or/shared_random_state.c
@@ -139,7 +139,7 @@ get_start_time_of_current_round(time_t now)
   const or_options_t *options = get_options();
   int voting_interval = get_voting_interval();
   voting_schedule_t *new_voting_schedule =
-    get_voting_schedule(options, now, LOG_INFO);
+    get_voting_schedule(options, now, LOG_DEBUG);
   tor_assert(new_voting_schedule);
 
   /* First, get the start time of the next round */





More information about the tor-commits mailing list