tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 338dbdab93328e00b5e80934ce0352bebaf9ce25
parent 62482ea279d51768e5cd510d5e23808333709182
Author: Nick Mathewson <nickm@torproject.org>
Date:   Sat,  3 Mar 2018 11:59:27 -0500

Merge branch 'maint-0.3.3'

Diffstat:
Achanges/bug25378 | 4++++
Mdoc/tor.1.txt | 3++-
Msrc/common/log.c | 5++++-
3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/changes/bug25378 b/changes/bug25378 @@ -0,0 +1,4 @@ + o Documentation: + - Update the documentation for "Log" to include the current list + of logging domains. Closes ticket 25378. + diff --git a/doc/tor.1.txt b/doc/tor.1.txt @@ -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 diff --git a/src/common/log.c b/src/common/log.c @@ -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",