I recently upgraded to Android Studio 3.2.1/com.android.tools.build:gradle:3.2.1
, and noticed that when I run Instrumentation Tests there is a lot of new output that clogs up the logs I like to view. Here's a small preview:
07:38:28 V/InstrumentationResultParser: INSTRUMENTATION_STATUS_CODE: 1
07:38:28 V/InstrumentationResultParser: INSTRUMENTATION_STATUS: class=com.zach.testapp.ExampleInstrumentedTest
07:38:28 V/InstrumentationResultParser: INSTRUMENTATION_STATUS: current=1
07:38:28 V/InstrumentationResultParser: INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
07:38:28 V/InstrumentationResultParser: INSTRUMENTATION_STATUS: numtests=1
07:38:28 V/InstrumentationResultParser: INSTRUMENTATION_STATUS: stream=.
07:38:28 V/InstrumentationResultParser: INSTRUMENTATION_STATUS: test=useAppContext
07:38:28 V/InstrumentationResultParser: INSTRUMENTATION_STATUS_CODE: 0
07:38:28 V/InstrumentationResultParser: INSTRUMENTATION_RESULT: stream=
For a new project with a single Instrumentation test, over 50 lines of text are displayed as output. In my 'main' project I have several hundred Instrumentation tests, and this makes the output very difficult to read for meaningful information (like failures) because I have to scroll so much.
Is there a way to disable this logging?