Logs

Tail build and container logs with peak logs.

peak logs shows build logs for a deployment, switching automatically to container logs once the deployment is live.

peak logs
peak logs <deployment-id>
peak logs --follow

Resolving which deployment

Without a <deployment-id> argument, Peak resolves the most relevant deployment for the current directory's linked project (see Deploying) -- the same resolution peak status uses.

Following logs live

peak logs --follow
# or
peak logs -f

--follow re-polls every 2 seconds and prints only new output since the last poll -- logs aren't streamed over a persistent connection (no SSE or WebSocket), just short-interval polling.