This is an automated email from the git hooks/post-receive script.
dgoulet pushed a commit to branch main in repository tor.
commit 4e55f28220b53041b0655ef1363cedf930d4c8e3 Author: Roger Dingledine arma@torproject.org AuthorDate: Thu Jun 30 17:55:22 2022 -0400
bump up some log messages for easier debugging --- src/feature/hs/hs_circuit.c | 10 +++++----- src/feature/hs/hs_pow.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/feature/hs/hs_circuit.c b/src/feature/hs/hs_circuit.c index 26163b5ca7..719e19eded 100644 --- a/src/feature/hs/hs_circuit.c +++ b/src/feature/hs/hs_circuit.c @@ -713,13 +713,13 @@ handle_rend_pqueue_cb(mainloop_event_t *ev, void *arg) compare_rend_request_by_effort_, offsetof(pending_rend_t, idx));
- log_info(LD_REND, "Dequeued pending rendezvous request with effort: %u. " + log_notice(LD_REND, "Dequeued pending rendezvous request with effort: %u. " "Remaining requests: %u", req->rdv_data.pow_effort, smartlist_len(pow_state->rend_request_pqueue));
if (queued_rend_request_is_too_old(req, now)) { - log_info(LD_REND, "Top rend request has been pending for too long; " + log_notice(LD_REND, "Top rend request has been pending for too long; " "discarding and moving to the next one."); free_pending_rend(req); continue; /* do not increment count, this one's free */ @@ -778,8 +778,8 @@ enqueue_rend_request(const hs_service_t *service, hs_service_intro_point_t *ip, compare_rend_request_by_effort_, offsetof(pending_rend_t, idx), req);
- log_info(LD_REND, "Enqueued rendezvous request with effort: %u. " - "Remaining requests: %u", + log_notice(LD_REND, "Enqueued rendezvous request with effort: %u. " + "Queued requests: %u", req->rdv_data.pow_effort, smartlist_len(pow_state->rend_request_pqueue));
@@ -1251,7 +1251,7 @@ hs_circ_handle_introduce2(const hs_service_t *service, /* Add the rendezvous request to the priority queue if PoW defenses are * enabled, otherwise rendezvous as usual. */ if (service->config.has_pow_defenses_enabled) { - log_debug(LD_REND, "Adding introduction request to pqueue with effort: %u", + log_notice(LD_REND, "Adding introduction request to pqueue with effort: %u", data.rdv_data.pow_effort); if (enqueue_rend_request(service, ip, &data, now) < 0) { goto done; diff --git a/src/feature/hs/hs_pow.c b/src/feature/hs/hs_pow.c index c24ea5e351..7507072813 100644 --- a/src/feature/hs/hs_pow.c +++ b/src/feature/hs/hs_pow.c @@ -144,7 +144,7 @@ hs_pow_solve(const hs_pow_desc_params_t *pow_params,
/* We'll do a maximum of the nonce size iterations here which is the maximum * number of nonce we can try in an attempt to find a valid solution. */ - log_debug(LD_REND, "Solving proof of work"); + log_notice(LD_REND, "Solving proof of work"); for (uint64_t i = 0; i < UINT64_MAX; i++) { /* Calculate S = equix_solve(C || N || E) */ if (!equix_solve(ctx, challenge, HS_POW_CHALLENGE_LEN, solution)) {