Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: disable log output from 3rd party libraries

Tags:

android

logcat

How can I disable the logcat output of 3rd party libraries, such as AdWhirl and AdMob?

Sometimes they provide a method to disable the log output, sometimes they don't. For those who don't is there a application wide setting where I can suppress either any log output or log output from certain classes or tags?

like image 235
znq Avatar asked Nov 14 '22 04:11

znq


1 Answers

You could look at using ProGuard to remove the Log.* calls from the bytecode of the libraries.

See this answer: Remove all debug logging calls before publishing: are there tools to do this?

like image 198
Christopher Orr Avatar answered Dec 09 '22 18:12

Christopher Orr