Search code examples
androidloggingcrashlogbackacra

Android Logback - Store stack trace to the log file on application crash


I am using LogBack for Android to log into a file on the public external storage of the device.

When my application crashes, I want the log file to contain the Exception and the stack trace.

How do I configure this?

Thank you.


Solution

  • Just take a look at the following thread, I think that's exactly what you need: Need to handle uncaught exception and send log file