]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
sr: Log voting schedule at debug level
authorDavid Goulet <dgoulet@torproject.org>
Wed, 9 Aug 2017 15:25:53 +0000 (11:25 -0400)
committerGeorge Kadianakis <desnacked@riseup.net>
Sat, 19 Aug 2017 13:20:07 +0000 (16:20 +0300)
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@torproject.org>
src/or/shared_random_state.c

index d7ae05e8951282287d342e0fd53a760658e8fbfc..5fcf88cc4af0548fca5b0f6bf7adb13d54c75d1a 100644 (file)
@@ -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 */