Collecting application logs with possible sensitive data

Hi everyone!

I want to get more insights on how implementors are approaching collecting application logs from the release version of the application.

For eg. I’ve used crashlytics in the past. If you’re using any other tools or implemented a custom solution would love to learn more/ discuss on it!

Thanks Parth. @dubdabasoduba are you able to share any insights from the OpenSRP 2 app?

1 Like

@parthfloyd we use sentry to collect logs. We are mostly just looking at the errors on the app. Here is the configuration fhircore/android/quest/src/main/java/org/smartregister/fhircore/quest/QuestApplication.kt at 1542bb7c4752e469f0f59378106a472cee90f017 · opensrp/fhircore · GitHub

2 Likes

Thank you so much @dubdabasoduba I’ll explore this option. Currently I implemented a rolling file to track the logs & an UncaughtExceptionHandled to also log the crash exceptions to the file: Refactored logging to fix the application diagnostics. by parthfloyd · Pull Request #147 · icrc/openmrs-android-fhir · GitHub
Let me know if you’ve any feedback on this! (or your experience with sentry so far?)