Page:
Obtain logs for debug
2
Obtain logs for debug
H. Lehmann edited this page 2020-09-05 10:03:01 +02:00
This wiki contains the developer documentation for AntennaPod. If you are a user and you are looking for help, have a look at our [website](https://antennapod.org/faq)!
Prerequisites: Android SDK is installed on your computer. Specifically, adb
is available.
On command line:
- Find out the process ID (
PID
) of AntennaPod. e.g., usingps
. It is 21638 in the following example
# In a terminal on your computer with Android SDK
$ adb shell
perry_f:/ $ ps | grep de.danoeh.antennapod
u0_a432 23771 681 992528 32408 SyS_epoll_ 00000000 S de.danoeh.antennapod
perry_f:/ $ exit
- Use
adb logcat
to dump the output to a file, e.g.
$ adb logcat --pid=23771 -d > logcat.log
Notes:
- See Logcat documentation for tweaking the outputs. Some useful ones include:
-t '<time>'
: show logs only since the specified time (to reduce output)-e <expr>
: filter output by regular expression
- sometimes you might all the logs. (no
--pid
argument), as some fatal error will cause Android runtime to indicate errors in the log (that might be helpful) that are out of AntennaPod's process.
Contributor info
- The stuff we need help with most (project board)
- Issue labels & their categories
- Getting accredited on the Contributors page
- Version on F-Droid not up to date
- Getting test builds
- Code style
- Obtain logs for debug
- Proposal for sorting criteria
- Infrastructure documentation