Red Cricket
Red Cricket

Reputation: 10460

What's wrong with my `adb logcat ...` command?

I just want to see logcat output for MyTag that my app outputs. I thought this would be the command to run ...

$ adb logcat MyTag:*

... but nothing gets filtered and the output is the same as if I had executed:

$ adb logcat

What am I doing wrong?

Thanks

Upvotes: 2

Views: 1067

Answers (1)

Swayam
Swayam

Reputation: 16354

This works fine for me :

adb logcat -s MyTag

EDIT :

The format that you are trying is more like

adb logcat *:s MyTag

Upvotes: 3

Related Questions