1

Strange enough problem...

Okay, here's my situation. In my Android application I'm using 3rd party component which generates a lot of Logcat logs. I don't have sources of those component :(

For some security reason I need to find way to somehow intercept those logs before they appearing in Logcat.

Is it possible? Any ideas?

kmonsoor
  • 7,600
  • 7
  • 41
  • 55
Barmaley
  • 16,638
  • 18
  • 73
  • 146
  • http://stackoverflow.com/questions/5553146/disable-logcat-output-completely-in-release-android-app – Yury Dec 30 '11 at 07:41

1 Answers1

1

You can use ProGuard on the 3rd party library to strip it of all calls to the Log class as per this answer to a similar question: https://stackoverflow.com/a/2019002/1122135

If the source code is available for the library, I would recommend building your own version of the library without the debug output.

Community
  • 1
  • 1
Robert Rouhani
  • 14,512
  • 6
  • 44
  • 59