]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
srv: Remove spammy debug log
authorDavid Goulet <dgoulet@torproject.org>
Tue, 22 Sep 2020 15:06:34 +0000 (11:06 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Tue, 22 Sep 2020 15:06:34 +0000 (11:06 -0400)
Fixes #40135

Signed-off-by: David Goulet <dgoulet@torproject.org>
changes/ticket40135 [new file with mode: 0644]
src/feature/hs_common/shared_random_client.c

diff --git a/changes/ticket40135 b/changes/ticket40135
new file mode 100644 (file)
index 0000000..9b60b4f
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfix (logging):
+    - Remove a debug logging statement that uselessly spam the logs. Fixes bug
+      40135; bugfix on 0.3.5.0-alpha.
index 5772034c6dc55edf30ceac2c6ef83ec85e292488..3d6be9408068fd0b8331ee51f65f153e6b19f171 100644 (file)
@@ -255,10 +255,6 @@ sr_state_get_start_time_of_current_protocol_run(void)
      protocol run */
   time_t time_elapsed_since_start_of_run = curr_round_slot * voting_interval;
 
-  log_debug(LD_GENERAL, "Current SRV proto run: Start of current round: %u. "
-            "Time elapsed: %u (%d)", (unsigned) beginning_of_curr_round,
-            (unsigned) time_elapsed_since_start_of_run, voting_interval);
-
   return beginning_of_curr_round - time_elapsed_since_start_of_run;
 }