[tor-commits] [tor] 03/05: Demote "Unexpected path length" log to info.

gitolite role git at cupani.torproject.org
Wed Jun 15 16:27:25 UTC 2022


This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

commit 84e31c00daa53b7af2bc4670b653b78eb8c5fc83
Author: Mike Perry <mikeperry-git at torproject.org>
AuthorDate: Wed Jun 15 14:42:37 2022 +0000

    Demote "Unexpected path length" log to info.
    
    You win Maze; we surrender.
---
 src/core/or/circuitbuild.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/core/or/circuitbuild.c b/src/core/or/circuitbuild.c
index 337bcfdd53..511df4112b 100644
--- a/src/core/or/circuitbuild.c
+++ b/src/core/or/circuitbuild.c
@@ -1289,8 +1289,7 @@ circuit_finish_handshake(origin_circuit_t *circ,
          * don't seem able to do it, so there is some magic way that hops can
          * still get added. Perhaps some cases of circuit pre-build that change
          * purpose? */
-        static ratelim_t cc_path_limit = RATELIM_INIT(600);
-        log_fn_ratelim(&cc_path_limit, LOG_NOTICE, LD_CIRC,
+        log_info(LD_CIRC,
                    "Unexpected path length %d for exit circuit %d, purpose %d",
                     circ_len, circ->global_identifier,
                     TO_CIRCUIT(circ)->purpose);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list