[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #32036 [Core Tor/Tor]: output debug logs to logcat as early as possible on Android
#32036: output debug logs to logcat as early as possible on Android
---------------------------------------------+-----------------------------
Reporter: eighthave | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor:
| 0.4.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tbb-mobile, Android, 043-should | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------------------------+-----------------------------
Comment (by eighthave):
The workings of both logcat and syslog are not really officially
documented anywhere, or at least I've never found it. So it seems source
code is the way. Android's libc is called Bionic, so that's where the
syslog calls come from: https://android.googlesource.com/platform/bionic
And typical Android, liblog and lgocat source code is somewhere else
entirely:
https://android.googlesource.com/platform/system/core
As far as I know, there is never a `syslogd` running on Android, so I
don't understand out the strings get from `syslog()` to logcat. I imagine
it is via `/dev/log/*` device or something similar.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32036#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs