Skip to content

Commit

Permalink
srv: Remove spammy debug log
Browse files Browse the repository at this point in the history
Fixes #40135

Signed-off-by: David Goulet <dgoulet@torproject.org>
  • Loading branch information
dgoulet-tor committed Sep 22, 2020
1 parent 8458c82 commit faf89ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changes/ticket40135
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 0 additions & 4 deletions src/feature/hs_common/shared_random_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit faf89ec

Please sign in to comment.