1ctl logs
1ctl logs retrieves and streams application logs from your deployments.
1ctl logs| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--deployment-id, -d |
string | No | — | Deployment ID to view logs for |
--app |
string | No | — | App name to resolve (alternative to –deployment-id) |
--config |
string | No | — | Config name or path (e.g. staging, satusky.staging.toml). Default: satusky.toml |
--tail, -n |
integer | No | 100 |
Number of lines to show (default: 100) |
--help, -h |
boolean | No | — | Show help |
Subcommands
Section titled “Subcommands”| Command | Description |
|---|---|
stream |
Stream live application logs |
Examples
Section titled “Examples”# View recent logs for a deployment1ctl logs --deployment-id dep_abc123
# View logs for an app by name1ctl logs --app my-app
# Stream live logs1ctl logs stream --deployment-id dep_abc123