Usage
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-s, --service | string | — | Stream logs from a specific service |
-f, --follow | bool | false | Follow mode — keep streaming new logs |
--tail | string | 50 | Number of recent lines to show |
--since | string | — | Show logs since a duration (e.g., 5m, 1h) |
--timestamps | bool | false | Show timestamps on each log line |
Description
Retrieves and optionally streams logs from running service containers. When multiple services are running and no--service filter is set, logs from all services are interleaved and prefixed with the service name.