Appium logs

Appium logs are generated by the Appium server and contain detailed record of your Appium test session execution. They can help you troubleshoot any errors if your test session failed. Appium logs are enabled by default. To disable appium logs, use the browserstack.appiumLogs capability.

Capability Description Value
browserstack.appiumLogs Capture raw Appium logs for your test. true/false
Default: true

Example :

DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability("browserstack.appiumLogs", "false");
var capabilities = {
	'browserstack.appiumLogs': 'false',
}
DesiredCapabilities capability = new DesiredCapabilities();
capability.SetCapability("browserstack.appiumLogs", "false");
$capabilities = new DesiredCapabilities();
$capabilities->setCapability("browserstack.appiumLogs", "false");
desired_cap = {
	'browserstack.appiumLogs': 'false'
}
desired_caps = {
    'browserstack.appiumLogs': 'false'
}

Access Appium logs from the dashboard:

The Appium server logs can be viewed from the test sessions details page on the App Automate Dashboard. You can download the Appium logs using View Raw Appium Logs link.

Appium Logs on Dashboard

Sample Appium logs for a test session :

Appium Logs for a sample test session

Access Appium logs using REST API:

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" -X GET "https://api-cloud.browserstack.com/app-automate/builds/<build-id>/sessions/<session-id>/appiumlogs"

We're sorry to hear that. Please share your feedback so we can do better







Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better







Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Talk to an Expert