Logcat allows filtering logs but it works like that: You define filters and logcat only displays messages which matches filters. But is there a way to display all logs EXCEPT some TAGs defined by filters?
Logcat allows filtering logs but it works like that: You define filters and logcat
Share
If you are using
adb logcatyou could pipe it through grep and use it’s inverted matching:From the grep manpage:
For example:
You can extend this by using regular expressions.
Here is an example of such an expression:
This one would check for either of the given to occur, grep would then not list them.