znq
znq

Reputation: 44963

Android: disable log output from 3rd party libraries

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?

Upvotes: 6

Views: 3934

Answers (1)

Christopher Orr
Christopher Orr

Reputation: 111555

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?

Upvotes: 1

Related Questions