Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you clear the Android Studio Logcat console log?

I would like to clear the contents of the Android Studio Logcat console log.

How do you clear the current contents of the log?

like image 771
pkamb Avatar asked Feb 10 '15 22:02

pkamb


People also ask

How do I clear all logs on Android?

Open the phone dialer, dial *#9900# and select the 2nd option “Delete dumpstate/logcat” in the prompted menu. Select ok to 'Delete Dump' and hit exit. This will restore heaps of storage space by deleting all the log files in the device memory.

How do I restart Logcat?

Solution 1: Restarting Logcat You need to press Alt + 6 twice to restart the Logcat. Restarting logcat often helps when it becomes irresponsive.

Where is the Logcat in Android Studio?

View your app logs To display the log messages for an app: Build and run your app on a device. Click View > Tool Windows > Logcat (or click Logcat in the tool window bar).


2 Answers

The Clear Logcat "trash" button is located to the left of the Logcat console.

I find that in Android Studio version 1.0.1 you must then additionally click the Reset button. Otherwise, the console stops logging after Clear Logcat is pressed. I am not sure if this is intended behavior.

Clear and then Reset Logcat

like image 106
pkamb Avatar answered Sep 28 '22 22:09

pkamb


If you cannot see the toolbar, right-click on the logcat screen and click Show Toolbar After that you may click trash-bin icon on top of it.

like image 23
Alp Altunel Avatar answered Sep 29 '22 22:09

Alp Altunel