Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to filter logcat to remove irrelevant statements

I'm new to Android Studio, using latest version, and trying to code a basic calculator app.

For some reason, my logcat is full of 2021-01-11 14:38:35.288 6938-6938/? W/cmd: Can't find service car_service

This is really annoying for debugging.

How can I get rid of it ?

like image 824
SoaAlex Avatar asked Oct 31 '25 09:10

SoaAlex


1 Answers

I'll change my comment to an answer, seeing as though it actually helped:

click on logcat at the bottom of android studio, then (i'm assuming) yours will show no filters, change that dropdown to show only selected application. Not really much I can explain here, except for the fact that if you don't have it setup like this, logcat will print out things which are irrelevant to your app in addition to the logs from your own application

like image 62
a_local_nobody Avatar answered Nov 03 '25 02:11

a_local_nobody



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!