]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Revert "Log bootstrap tag names"
authorNick Mathewson <nickm@torproject.org>
Tue, 18 Dec 2018 13:09:43 +0000 (08:09 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 18 Dec 2018 13:09:43 +0000 (08:09 -0500)
This reverts commit 1b855af5e33189d70d74273af03a535c343b63a5.

changes/ticket28731 [deleted file]
src/feature/control/control.c

diff --git a/changes/ticket28731 b/changes/ticket28731
deleted file mode 100644 (file)
index f8b116c..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-  o Minor features (bootstrap):
-    - Add the bootstrap tag name to the log messages, so people
-      troubleshooting connection problems can look up a symbol instead
-      of a number.  Closes ticket 28731.
index 8208b80c23df72f8520610efcc92608aa09c17ed..795902e6f47fd31194d6690373b85c024c7c78e7 100644 (file)
@@ -7153,7 +7153,7 @@ control_event_bootstrap_core(int loglevel, bootstrap_status_t status,
     status = progress;
 
   tor_log(loglevel, LD_CONTROL,
-          "Bootstrapped %d%% (%s): %s", status, tag, summary);
+          "Bootstrapped %d%%: %s", status, summary);
   tor_snprintf(buf, sizeof(buf),
                "BOOTSTRAP PROGRESS=%d TAG=%s SUMMARY=\"%s\"",
                status, tag, summary);
@@ -7309,9 +7309,9 @@ control_event_bootstrap_problem(const char *warn, const char *reason,
     hostaddr = tor_strdup("?");
 
   log_fn(severity,
-         LD_CONTROL, "Problem bootstrapping. Stuck at %d%% (%s): %s. (%s; %s; "
+         LD_CONTROL, "Problem bootstrapping. Stuck at %d%%: %s. (%s; %s; "
          "count %d; recommendation %s; host %s at %s)",
-         status, tag, summary, warn, reason,
+         status, summary, warn, reason,
          bootstrap_problems, recommendation,
          or_id, hostaddr);