pimpimmi / LibreAlarm

https://plus.google.com/communities/118306966582165178782
GNU General Public License v3.0
53 stars 48 forks source link

Debugging or log file #28

Open reginekr opened 7 years ago

reginekr commented 7 years ago

Hello, thank you very much for this app, it improved the quality of our life! Still there are some issues we face regularly with this app. Is there any log file stored on phone folder or is there any possibility to debug the coding? I could help to find the reason for the issues, but I need some advice as Java/android environment is new to me (I am SAP consultant ;-))

SimonPhilpott commented 7 years ago

The app has some logging integrated into it, if you get a logcat viewer app for your phone (I recommend Matlog) and set up a filter for 'Glucose' for the readings logging or 'GLUCOSE::' for the connection logging.

For me at least, there seems to be an issue in resuming the service when wear connection is lost and re-established. I captured this in a logcat the other day, although it would be better to have more than one example of this.

logcat.txt

I find the best method of walking the construction of the app, and reviewing the logic is via android studio.