Skip to content
Dashboard

Improvements to command line logs

Damien Simonin Feugas, Julia Shi

Vercel CLI v35 introduces new commands to access of deployment and runtime logs:

  • vercel deploy --logs deploys and shows build logs

  • vercel inspect --logs shows build logs for an existing deployment

  • vercel logs now follows runtime logs of an existing deployment

You can now use the --json option to stream logs as JSON. This makes it easier to parse and filter logs using tools like jq.

vercel logs --json | jq 'select(.level == "warning")'

Using the Vercel CLI with jq to filter for warning logs

To use these features, update to the latest version of the Vercel CLI:

pnpm add -g vercel

Install the Vercel CLI globally using the pnpm package manager.

Reference Architecture

Choose a stack and work through the decisions behind it, with curated documentation, guides, templates, and courses to help you build.

  • Agent stack: Build and operate agents with models, tools, and durable workflows.
  • Web applications: Choose rendering, data, authentication, and caching approaches.
  • Backends: Choose a runtime, connect services, and run background work.

Browse all stacks

Build with prompts

Build an app, extend an agent, or improve your project with ready-to-use prompts for your coding agent.