srv: Remove spammy debug log

Fixes #40135

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
David Goulet 2020-09-22 11:06:34 -04:00
parent 8458c8211e
commit faf89ec6c2
2 changed files with 3 additions and 4 deletions

3
changes/ticket40135 Normal file
View File

@ -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.

View File

@ -255,10 +255,6 @@ sr_state_get_start_time_of_current_protocol_run(void)
protocol run */ protocol run */
time_t time_elapsed_since_start_of_run = curr_round_slot * voting_interval; 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; return beginning_of_curr_round - time_elapsed_since_start_of_run;
} }