CLI
Query request logs
Query and follow request logs for Easel projects from the CLI.
Show recent request logs for the linked project, optionally filtered to a deployment.
Basic usage
Log command options
| Option | Description |
|---|---|
-f, --follow | Poll for new request logs |
-x, --expand | Print function log lines for each request |
--project | Project slug or ID (defaults to the linked project) |
--deployment | Deployment ID or URL filter |
-e, --environment | production or preview |
--status-code | Status code or family (for example 500, 5xx) |
--level | Console log level (warning, error, fatal) |
-q, --query | Filter query (for example path:"/api" method:GET) |
--request-id | Show logs for a specific request ID |
--since / --until | Time bounds (1h, 30m, or ISO 8601) |
--limit | Maximum number of requests to return |
--timeout | How long --follow should run (default 5m) |
Follow live traffic
Follow live traffic and expand function output: