diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-03-19 13:33:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-03-19 13:33:56 -0400 |
commit | 0229d5f81862e8ef6765c6e1e7e6cd78a5a2b4cc (patch) | |
tree | 6facdcd860586d3d33ce8421e964770ced87e366 /src/core | |
parent | 2dfa19a871d8f54a91881475820e82246ed66132 (diff) | |
download | tor-0229d5f81862e8ef6765c6e1e7e6cd78a5a2b4cc.tar.gz tor-0229d5f81862e8ef6765c6e1e7e6cd78a5a2b4cc.zip |
Add "Heartbeat" to the start of several heartbeat messages.
Closes #40322.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/or/dos.c | 3 | ||||
-rw-r--r-- | src/core/or/status.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/or/dos.c b/src/core/or/dos.c index a5ea53bb3e..e8652c901e 100644 --- a/src/core/or/dos.c +++ b/src/core/or/dos.c @@ -819,7 +819,8 @@ dos_log_heartbeat(void) char *msg = smartlist_join_strings(elems, ", ", 0, NULL); - log_notice(LD_HEARTBEAT, "DoS mitigation since startup: %s.", msg); + log_notice(LD_HEARTBEAT, + "Heartbeat: DoS mitigation since startup: %s.", msg); tor_free(msg); SMARTLIST_FOREACH(elems, char *, e, tor_free(e)); diff --git a/src/core/or/status.c b/src/core/or/status.c index df9577ada5..9e7ae70535 100644 --- a/src/core/or/status.c +++ b/src/core/or/status.c @@ -105,7 +105,7 @@ log_onion_service_stats(void) } log_notice(LD_HEARTBEAT, - "Our onion service%s received %u v3 INTRODUCE2 cells " + "Heartbeat: Our onion service%s received %u v3 INTRODUCE2 cells " "and attempted to launch %d rendezvous circuits.", num_services == 1 ? "" : "s", hs_stats_get_n_introduce2_v3_cells(), |