Syntax
vercel logs [deployment-url or id]Options
Available flags and parameters for this command
--json / -jOutput as JSON for programmatic parsing
Examples
Common usage examples
vercel logs my-deployment.vercel.appvercel logs dpl_abc123 --json | jq 'select(.level == "warning")'Use Cases
When to use this command
- •Debug runtime errors
- •Monitor function execution
- •Analyze middleware logs
- •Real-time log streaming