Add support for Android's logging subsystem.
commitb0b8f7c30c8296344c77d06a24821f35b667e3dd
authorAlexander Færøy <ahf@torproject.org>
Mon, 11 Dec 2017 13:12:25 +0000 (11 13:12 +0000)
committerAlexander Færøy <ahf@torproject.org>
Mon, 11 Dec 2017 13:22:39 +0000 (11 13:22 +0000)
treeff08bbf8bf55a202760a61f197cf484c98875c63
parent78a582ed880166a73be284ae799397e84fac36a3
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
changes/bug24362 [new file with mode: 0644]
configure.ac
doc/tor.1.txt
src/common/log.c
src/common/torlog.h
src/or/config.c
src/or/or.h