Android OS Forum banner
1 - 11 of 11 Posts

·
Supporting Member
Joined
·
127 Posts
Discussion Starter · #1 ·
Ladies and Gentlemen,

One of the most helpful things you can do when posting a question / issue / bug is to post a logcat of the issue happening. Until recently, I had not been following this standard procedure because I was under the notion that providing a logcat was hard / you had to connect it to adb / whatever...

Turns out, It's actually ridiculously easy.

First run: you only need to do this once :grin:

Step one: verify you can replicate the issue and exactly how. (This will make it easier to narrow down the log to the specific incident...).

Step two: Download the following FREE applications:
aLogcat
(will show / record your phone's output and share it)

Pastebin for Android (a handy place to put it so you don't have to post 200 lines of code)

Step three: Open aLogcat, hit menu > preferences and set your desired Level. I like to set it to either "debug" or "information. This screens out info that probably has nothing to do with your problem, like every time the dalvic cache updates...
NOTE: I am not a dev, I do not know for sure how much info is needed, this just seems to show most everything without the clutter... please advise if wrong.


Getting your log

Step one: (optional) Restart your phone and open aLogcat to begin collecting data
(this will restart your logcat so you don't have hours of random stuff to sort through to find your problem) NOTE: If there's an easier way... well please let me know :wink2:

Step two: Replicate your problem!
(self explanatory)

Step three: Open aLogCat, hit Menu > Share > Paste to Pastebin


Step four: Once you're in the Pastebin app, hit menu > Paste

A box will pop up with a link to your pasted text, press / hold the link and copy.


There you go! Now you can paste this into your favorite forum (*ahem rootzwiki.com), IRC, or whatever...

Hope this helps!
 

·
Supporting Member
Joined
·
127 Posts
Discussion Starter · #2 ·
Just parking here
 

·
Supporting Member
Joined
·
431 Posts
Man, this would've saved me so much time a few months ago haha. Good writeup!

Sent from my DROIDX using RootzWiki Forums
 

·
Supporting Member
Joined
·
127 Posts
Discussion Starter · #8 ·
Thanks guys! Really appreciate the comments.
 

·
Supporting Member
Joined
·
127 Posts
Discussion Starter · #9 ·
Does anyone know if you can restart the logcat without restarting the phone? Also: devs, what verbosity should users use?
 

·
Supporting Member
Joined
·
127 Posts
Discussion Starter · #11 ·
Update: hitting menu>clear will restart your logcat. No word on verbosity. So I would pit it at debug or information.
 
1 - 11 of 11 Posts
Top