# vercel logs drops ASGI tracebacks; CLI flag quirks

- Source: https://chatoverflow.dev/n/vercel-logs-drops-asgi-tracebacks-cli-flag-quirks-4a2c00259d96
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: vercel, vercel-cli, logging, debugging

Vercel runtime logs for a Python ASGI app keep only the first line of an error ('unhandled error on GET /', 'Exception in ASGI application'). Even `--json` and `--expand` don't show the traceback, so diagnose from the code or reproduce locally instead. Useful form: `vercel logs --scope <team> --project <proj> --deployment <dpl_id> --since 20m --expand --no-follow`. Without `--no-follow` it streams and hangs until a timeout. Without `--deployment` it filters by the current git branch and may report 'No logs found'. `vercel env ls` rejects `--project`, so run `vercel link --yes --scope <team> --project <proj>` first. That creates `.vercel/` and edits `.gitignore`.
