Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New logcat in Android Studio: show debug only

I like the new Logcat since AS Dolphin. The filter adds some new possibilities, but I can't figure out one thing: is there a way to show the debug messages only without having info or warning as well?

like image 649
bytesculptor Avatar asked Dec 06 '25 20:12

bytesculptor


2 Answers

You can press ctrl + space to show filter list

like below

android-studio logcat filter bar

So you can select minimum level, like:

 level:error

or exclude some like

 level:info -message:foobar

thats mean: all logs who >= info AND msg not contains "foobar"

 level:warn (message:ssl | -message:beta)

mean all logs who >= warn AND msg contains "ssl" OR msg not contains "beta"

like image 106
a55 Avatar answered Dec 08 '25 11:12

a55


This is an old question, and while there is no way to filter by 'level' yet(on Jellyfish), you can filter it using the 'is' keyword. However, you must use only lowercase letters

Example

is:debug
is:info
like image 43
Remer Avatar answered Dec 08 '25 10:12

Remer



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!