hariom
hariom

Reputation: 121

Prevent Logcat from automatically clearing

I am using Android Studio 1.2.2 and Logcat sometimes automatically clears itsself after my app crashes.

How can I prevent this behaviour?

Upvotes: 7

Views: 1946

Answers (2)

Azim Ansari
Azim Ansari

Reputation: 1378

yes, Because it filters Log of our application. And when app crashes LogCat has no app to filter.

Also remember that LogCat has previous messages that we can get again by setting NO FILTER to LogCat.No Filter

Just select No Filters. It will give your messages again :-)

Upvotes: 10

Renjith
Renjith

Reputation: 3274

Edit Filter Configuration ->Add your package name

enter image description here

Upvotes: 6

Related Questions