Summary
As a user, you can download a session's device logs via our UI or REST API.
At the moment, the device log that gets downloaded is in JSON format which can be hard to read.
This is because JSON format is the default format for our device logs. Luckily there is a way to get these in plain text.
Workaround
You can add a header when downloading the logs via REST to get these in plain text.
The header is the Accept with a value of text/plain
So something like:
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request GET 'https://api.us-west-1.saucelabs.com/v1/rdc/jobs/404ea35a25064c2c9380c2830ac01f73/deviceLogs'
would turn into:
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" --location \
--request GET -H 'Accept: text/plain' 'https://api.us-west-1.saucelabs.com/v1/rdc/jobs/404ea35a25064c2c9380c2830ac01f73/deviceLogs'