Skip to content

Instantly share code, notes, and snippets.

@christopherfujino
Created October 18, 2019 21:47
Show Gist options
  • Save christopherfujino/e8b99fbabd774e4553ddc4dabe68187f to your computer and use it in GitHub Desktop.
Save christopherfujino/e8b99fbabd774e4553ddc4dabe68187f to your computer and use it in GitHub Desktop.
curl Flutter devicelab logs to a file
  1. Open Chrome dev tools on the build dashboard -> Application -> Cookies -> "X-Flutter-IdToken" copy and paste the value into your terminal as export FLUTTER_DASHBOARD_COOKIE=''
  2. Copy and paste the URL of the specific task logs to your terminal as export LOGS_URL='https://logs.url/'
  3. Then curl the logs to a local file: curl "$LOGS_URL" -b "X-Flutter-IdToken=${FLUTTER_DASHBOARD_COOKIE}" | tee dashboard-logs.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment