summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2015-09-30 17:54:56 +0200
committerNick Mathewson <nickm@torproject.org>2015-09-30 18:34:15 +0200
commit1cf0d82280973a52403c160fa47a4fb06dfca6c3 (patch)
treec22b791c38b3cb06d7abe7186d5839bc7fabf792 /doc
parent0d43a54d1c9c1be24c33eed79029d1bd44a6a28a (diff)
downloadtor-1cf0d82280973a52403c160fa47a4fb06dfca6c3.tar.gz
tor-1cf0d82280973a52403c160fa47a4fb06dfca6c3.zip
Add SyslogIdentityTag
When logging to syslog, allow a tag to be added to the syslog identity ("Tor"), i.e. the string prepended to every log message. The tag can be configured by setting SyslogIdentityTag and defaults to none. Setting it to "foo" will cause logs to be tagged as "Tor-foo". Closes: #17194.
Diffstat (limited to 'doc')
-rw-r--r--doc/tor.1.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 954c8fa243..b04d57b0d1 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -580,6 +580,10 @@ GENERAL OPTIONS
If 1, Tor will overwrite logs at startup and in response to a HUP signal,
instead of appending to them. (Default: 0)
+[[SyslogIdentityTag]] **SyslogIdentityTag** __tag__::
+ When logging to syslog, adds a tag to the syslog identity such that
+ log entries are marked with "Tor-__tag__". (Default: none)
+
[[SafeLogging]] **SafeLogging** **0**|**1**|**relay**::
Tor can scrub potentially sensitive strings from log messages (e.g.
addresses) by replacing them with the string [scrubbed]. This way logs can