Usage
Extended Usage
Show logs from the last hour:When
--follow is used without --since, the CLI defaults to showing logs from the last 10 minutes before polling
for new entries.--until cannot be used together with --follow.Options
| Flag | Short | Description | Default |
|---|---|---|---|
--environment-id | The ID of the environment | ||
--since | Show logs after this time (e.g. 1h, 30m, 2024-01-01T00:00:00Z) | ||
--until | Show logs before this time (e.g. 1h, 30m, 2024-01-01T00:00:00Z). Cannot be used with --follow | ||
--limit | -n | Maximum number of log entries to fetch (1–1000). Cannot be used with --follow | 1000 |
--follow | -f | Poll for new logs continuously | false |
--level | Filter by log level (INFO, ERROR, WARNING, DEBUG). Repeatable. | ||
--search | Filter logs by text or regex pattern | ||
--no-color | Disable colorized output and show log levels as text | false |