diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-12-11 13:12:25 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2017-12-11 13:22:39 +0000 |
commit | b0b8f7c30c8296344c77d06a24821f35b667e3dd (patch) | |
tree | ff08bbf8bf55a202760a61f197cf484c98875c63 /src/or/or.h | |
parent | 78a582ed880166a73be284ae799397e84fac36a3 (diff) | |
download | tor-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 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index b078022326..aff43f195b 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3639,6 +3639,7 @@ typedef struct { int TruncateLogFile; /**< Boolean: Should we truncate the log file before we start writing? */ char *SyslogIdentityTag; /**< Identity tag to add for syslog logging. */ + char *AndroidIdentityTag; /**< Identity tag to add for Android logging. */ char *DebugLogFile; /**< Where to send verbose log messages. */ char *DataDirectory_option; /**< Where to store long-term data, as |