Skip to content

Instantly share code, notes, and snippets.

@JTBrinkmann
Created January 31, 2020 15:07
Show Gist options
  • Save JTBrinkmann/d2184f3fc43e8c76a3aaddecc966ce72 to your computer and use it in GitHub Desktop.
Save JTBrinkmann/d2184f3fc43e8c76a3aaddecc966ce72 to your computer and use it in GitHub Desktop.
small script to disable log messages with specified tags; gets reset on reboot
adb shell "for tag in libpersona Zygote SELinux; do setprop log.tag.$tag ASSERT; done; for tag in ViewRootImpl InputTransport zygote InputMethodManager MDO Proxy InstantRun OpenGLRenderer Surface libGLESv1 mali_winsys vndksupport AssistStructure TimaKeyStoreProvider ActivityThread InputEventReceiver chatty AbsListView chatty; do setprop log.tag.$tag WARN; done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment