vibepg logs
Synopsis
bash
vibepg logs <name> [--follow] [--tail <n|all>] [--since <duration>]Description
Print or stream container logs. Thin wrapper around docker logs, with the same flag semantics.
Arguments
| Name | Required | Description |
|---|---|---|
name | yes | Instance name |
Options
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--follow | -f | bool | false | Stream logs until interrupted (Ctrl-C) |
--tail | string | 100 | Lines from the end of the log. Positive integer or all. | |
--since | string | (none) | Only show logs after this duration (e.g. 10m, 1h, 2024-01-01T00:00:00) |
Examples
bash
# Last 100 lines
vibepg logs demo
# Stream until Ctrl-C
vibepg logs demo --follow
# Last 50 lines
vibepg logs demo --tail 50
# Everything
vibepg logs demo --tail all
# Since 1 hour ago
vibepg logs demo --since 1h
# Combined
vibepg logs demo --since 10m --followNotes
--sinceaccepts any durationdocker logsunderstands.- For long-running streams,
--followblocks until you Ctrl-C.