mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
srv: Remove spammy debug log
Fixes #40135 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
8458c8211e
commit
faf89ec6c2
3
changes/ticket40135
Normal file
3
changes/ticket40135
Normal 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.
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user