summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-12-11 13:12:25 +0000
committerAlexander Færøy <ahf@torproject.org>2017-12-11 13:22:39 +0000
commitb0b8f7c30c8296344c77d06a24821f35b667e3dd (patch)
treeff08bbf8bf55a202760a61f197cf484c98875c63 /doc
parent78a582ed880166a73be284ae799397e84fac36a3 (diff)
downloadtor-b0b8f7c30c8296344c77d06a24821f35b667e3dd.tar.gz
tor-b0b8f7c30c8296344c77d06a24821f35b667e3dd.zip
Add support for Android's logging subsystem.
This patch adds support for Android's logging subsystem in Tor. When debugging Android applications it is useful to be able to collect information about the application running on the platform via the various system services that is available on the platform. This patch allows you to add "Log notice android" to your torrc and have Tor send everything above and including the notice severity to Android's ring buffer which can be inspected using the 'adb logcat' program. See: https://bugs.torproject.org/24362
Diffstat (limited to 'doc')
-rw-r--r--doc/tor.1.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 1814b8292a..b2218e33cc 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -727,6 +727,11 @@ GENERAL OPTIONS
log entries are marked with "Tor-__tag__". Can not be changed while tor is
running. (Default: none)
+[[AndroidIdentityTag]] **AndroidIdentityTag** __tag__::
+ When logging to Android's logging subsystem, adds a tag to the log identity
+ such that log entries are marked with "Tor-__tag__". Can not be changed while
+ tor is running. (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