Can I disable bug report generation on Android?

I’m wondering if there’s a way to disable the bug report function that appium does everytime a test fails, as this can be very time-consuming and I find myself just waiting for the report to generate on a failure when I don’t even need it

sample from appium logs:

2018-07-20 15:29:31:770 - [HTTP]
{“type”:“bugreport”,“sessionId”:“337b3e20-17d1-4b9d-a564-4107fbd6cd52”}
2018-07-20 15:29:31:770 - [debug] [W3C] Calling AppiumDriver.getLog() with args: [“bugreport”,“337b3e20-17d1-4b9d-a564-4107fbd6cd52”]
2018-07-20 15:29:31:771 - [debug] [BaseDriver] Retrieving ‘bugreport’ logs
2018-07-20 15:29:31:771 - [debug] [BaseDriver] Retrieving supported log types
2018-07-20 15:29:31:771 - [debug] [ADB] Running ‘/usr/local/share/android-sdk/platform-tools/adb -P 5037 -s 04db2741df5621fc bugreport’

Checking in Android Developer tools on multiple device versions I’ve found no option to turn this feature off, there is a ‘Take bug report’ option which does not seem to be what I’m looking for. Thanks in advance for the help.

Is anyone able to help with this?

Bumping this post because it should be an obvious answer on what? Version 20something of Appium?

There is nothing like that in the server code. Consider checking your client framework regarding such calls.

1 Like

Got it, thank you :pray:t5:

Hi
Did you manage to disable the debug log?

It was an implementation done by the previous QA. It seemed to have gotten stuck trying to generate images so I just commented out that part.