diff options
author | Alexander Færøy <ahf@torproject.org> | 2018-02-27 22:57:30 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-03-03 11:58:14 -0500 |
commit | 59a7b00384a6e5fb905b064faed62c5b969ffebd (patch) | |
tree | 1843279dc9db1d616ebe11a9ed9c96bb783cedcc | |
parent | cc7de9ce1d0532d97623a74ed014e39c62a6a840 (diff) | |
download | tor-59a7b00384a6e5fb905b064faed62c5b969ffebd.tar.gz tor-59a7b00384a6e5fb905b064faed62c5b969ffebd.zip |
Update tor.1.txt with the currently available log domains.
See: https://bugs.torproject.org/25378
-rw-r--r-- | doc/tor.1.txt | 3 | ||||
-rw-r--r-- | src/common/log.c | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/tor.1.txt b/doc/tor.1.txt index a8e5de7b5e..9dbed2ef6c 100644 --- 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 index d59e5a4036..9f4a8b2bc2 100644 --- 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", |