5

I own a Lenovo tablet that's constantly flooding the log with system (Android) debug messages, which complicates testing software on it.

Is there a way to disable all of androids debug log messages?

2
  • You should refer to this link: stackoverflow.com/questions/5553146/… Commented Feb 17, 2016 at 12:59
  • Thank you for sharing the link, unfortunately it's unrelated, as I'm looking to completely disable any of the system logs. Commented Feb 17, 2016 at 14:02

2 Answers 2

1

you can filter log messages. In Android Studio: top-right of Android-Monitor "Show only selected apps" and left to it select the app you want to debug in the dropdown

Sign up to request clarification or add additional context in comments.

2 Comments

Can you please accept the answer if it solved your problem?
Hello Björn, again, thank you for your advise. Unfortunately it does not solve the problem. Lenovo's Android build just floods the logs with messages causing messages from my apps to get lost. So what I'm actually looking for is a way to pipe all system messages to /dev/null - or something similar. By now, I've worked around the issue by avoiding the device for development, which, so far, seems to be the only solution. Again, thank you.
0

When running the application, in the Android bottom panel--> Show Only selected Apps--> Choose your package-name

Also, since most of the device logs are of information level, set the log level to errors, to see if any error happens in your application.

1 Comment

Thank you for the advise. The problem is, that the logging is so extensive that messages show up in logcat seconds after they have been output. Sometimes messages even get lost - i.e. don't show up at logcat at all. So unfortunately, filtering the messages is not an option.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.