-
Notifications
You must be signed in to change notification settings - Fork 0
LoggingErrors
#Recording a debug log
K-9 Mail has controllable debug logging. Users can activate logging to help diagnosing problems and errors.
At the accounts screen of K-9 Mail press the menu button and choose "Preferences". Under the heading "Debugging" check the "Enable debug logging?" checkbox. Hit the back button to save the changes.
If K-9 is crashing, don't worry about about enabling debug logs.
Do whatever causes the problem/error.
To fetch the debug log you can either attach the device to your PC and use the tool adb
from the Android SDK or you can use the application aLogcat
to display the debug log on the device.
-
Using
adb
(Android SDK) 0. Install the Android SDK if not already installed. Follow these installation instructions. Step 3 (Installing the ADT Plugin for Eclipse) and above can be skipped. 0. Change to the directory:/<path to android sdk>/tools/
0. Attach your device via USB or fire up the emulator using the commandemulator
. If you're using a hardware device you have to enable USB debugging. Go into "Settings", "Applications", "Development", and enable the "USB debugging" option. 0. To show the debug log enter the command:adb logcat k9:V *:S AndroidRuntime:E
0. Press Ctrl-C to exitadb
-
Using
aLogcat
(from Android Market) 0. Install the application aLogcat via the Android Market. 0. In aLogcat press the menu button and select "Filter". Enterk9
and press "Okay". Note: If K-9 Mail crashes ("Force close" dialog) do NOT use a filter! 0. Make sure that "Level" is set to "Verbose" (default setting)
To be able to fix your problem we need to know about it. Please create a new issue in our bug tracker. Attach a copy of the debug log you just created.
It's ok to remove your password from the debug log. Other than that, please give us as much of the log as you possibly can.
Important: Include the exact version number of your installed K-9 Mail in the bug report. Read GetVersionNumber if you need help on finding out which version of K-9 you're running.