
Also, you can see that I’ve added 3 example tags separated by “|”, you can leave as many as you need or leave just one. The ‘!’ mark does the trick(makes those tags disappear from your logs list) but you can play with it and see what better fits your needs.

The output should be much cleaner now.īelow you can see a simple sample of regex for 3 tags and that one will filter out any of those encountered tags from the logcat output in Android Studio that starts with any of the enumerated tags. Make sure you also select the appropriate/desired “Log level” and then press ok and select your newly created log filter. How to add logs filters steps in Android Studio Create a new Logcat filter Dialog in Android Studioīased on what you need you can add Regex for tags, messages or package names (that compose a log output in logcat). In the “Create New Logcat Filter” window you can add a new filter depending on your needs in the respective sections (“Log Tag”, “Log Message” or “Package Name”)īelow you can see the steps in images (because for most of us those are 1000 times better than words 🙂 ).


There is a simple way to filter Android Studio logs by ignoring the ones you don’t need and that can be easily done and you can see how in the following lines. Those logs are helpful for some cases but might not be for yours. I’ve stumbled across a lot of logs noise in Android Studio throughout the time and it can be a pain when you need to debug a crash or just read some important logs of your app when your device/emulator prints lots of logs.
