Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Alexander Færøy
tor
Commits
67e13dd3
Commit
67e13dd3
authored
Feb 27, 2018
by
Alexander Færøy
Browse files
Update tor.1.txt with the currently available log domains.
See:
https://bugs.torproject.org/25378
parent
54e25ab1
Pipeline
#18144487
passed with stage
in 7 minutes and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
doc/tor.1.txt
doc/tor.1.txt
+2
-1
src/common/log.c
src/common/log.c
+4
-1
No files found.
doc/tor.1.txt
View file @
67e13dd3
...
...
@@ -650,7 +650,8 @@ GENERAL OPTIONS
+
The currently recognized domains are: general, crypto, net, config, fs,
protocol, mm, http, app, control, circ, rend, bug, dir, dirserv, or, edge,
acct, hist, and handshake. Domain names are case-insensitive. +
acct, hist, handshake, heartbeat, channel, sched, guard, consdiff, and dos.
Domain names are case-insensitive. +
+
For example, "`Log [handshake]debug [~net,~mm]info notice stdout`" sends
to stdout: all handshake messages of any severity, all info-and-higher
...
...
src/common/log.c
View file @
67e13dd3
...
...
@@ -1258,7 +1258,10 @@ log_level_to_string(int level)
}
/** NULL-terminated array of names for log domains such that domain_list[dom]
* is a description of <b>dom</b>. */
* is a description of <b>dom</b>.
*
* Remember to update doc/tor.1.txt if you modify this list.
* */
static
const
char
*
domain_list
[]
=
{
"GENERAL"
,
"CRYPTO"
,
"NET"
,
"CONFIG"
,
"FS"
,
"PROTOCOL"
,
"MM"
,
"HTTP"
,
"APP"
,
"CONTROL"
,
"CIRC"
,
"REND"
,
"BUG"
,
"DIR"
,
"DIRSERV"
,
...
...
Write
Preview
Markdown
is supported
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