Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
94a79981
Commit
94a79981
authored
Dec 13, 2018
by
Nick Mathewson
👁
Browse files
Merge remote-tracking branch 'tlyu-github/ticket28731-035' into maint-0.3.5
parents
a3fe0816
1b855af5
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/ticket28731
0 → 100644
View file @
94a79981
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.
src/feature/control/control.c
View file @
94a79981
...
...
@@ -7153,7 +7153,7 @@ control_event_bootstrap_core(int loglevel, bootstrap_status_t status,
status
=
progress
;
tor_log
(
loglevel
,
LD_CONTROL
,
"Bootstrapped %d%%: %s"
,
status
,
summary
);
"Bootstrapped %d%%
(%s)
: %s"
,
status
,
tag
,
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; "
LD_CONTROL
,
"Problem bootstrapping. Stuck at %d%%
(%s)
: %s. (%s; %s; "
"count %d; recommendation %s; host %s at %s)"
,
status
,
summary
,
warn
,
reason
,
status
,
tag
,
summary
,
warn
,
reason
,
bootstrap_problems
,
recommendation
,
or_id
,
hostaddr
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment