Commit 67e13dd3 authored by Alexander Færøy's avatar 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
...@@ -650,7 +650,8 @@ GENERAL OPTIONS ...@@ -650,7 +650,8 @@ GENERAL OPTIONS
+ +
The currently recognized domains are: general, crypto, net, config, fs, The currently recognized domains are: general, crypto, net, config, fs,
protocol, mm, http, app, control, circ, rend, bug, dir, dirserv, or, edge, 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 For example, "`Log [handshake]debug [~net,~mm]info notice stdout`" sends
to stdout: all handshake messages of any severity, all info-and-higher to stdout: all handshake messages of any severity, all info-and-higher
......
...@@ -1258,7 +1258,10 @@ log_level_to_string(int level) ...@@ -1258,7 +1258,10 @@ log_level_to_string(int level)
} }
/** NULL-terminated array of names for log domains such that domain_list[dom] /** 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[] = { static const char *domain_list[] = {
"GENERAL", "CRYPTO", "NET", "CONFIG", "FS", "PROTOCOL", "MM", "GENERAL", "CRYPTO", "NET", "CONFIG", "FS", "PROTOCOL", "MM",
"HTTP", "APP", "CONTROL", "CIRC", "REND", "BUG", "DIR", "DIRSERV", "HTTP", "APP", "CONTROL", "CIRC", "REND", "BUG", "DIR", "DIRSERV",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment