aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-09-22 13:47:08 -0400
committerDavid Goulet <dgoulet@torproject.org>2020-09-22 13:47:08 -0400
commitc374d49381aefdcacca7d3dc23cd09cedf25d3ba (patch)
tree704a9860a7228d2c5c5b2e2bd2d980e56db95b80
parent2b6faed7ba1f6a5da58ebf8f064b73ce4b088d6d (diff)
parentbeffad8529c9b603bcf6b6e720747f6210c5c25c (diff)
downloadtor-c374d49381aefdcacca7d3dc23cd09cedf25d3ba.tar.gz
tor-c374d49381aefdcacca7d3dc23cd09cedf25d3ba.zip
Merge branch 'maint-0.4.3' into release-0.4.3
-rw-r--r--changes/ticket401353
-rw-r--r--src/feature/hs_common/shared_random_client.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/changes/ticket40135 b/changes/ticket40135
new file mode 100644
index 0000000000..9b60b4f655
--- /dev/null
+++ b/changes/ticket40135
@@ -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.
diff --git a/src/feature/hs_common/shared_random_client.c b/src/feature/hs_common/shared_random_client.c
index a46666ab50..d6c1d8f155 100644
--- a/src/feature/hs_common/shared_random_client.c
+++ b/src/feature/hs_common/shared_random_client.c
@@ -254,10 +254,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;
}