kosa8 logs
Fetch the logs of a container (-f to follow them live)
Usage#
kosa8 logs CONTAINER
Options#
| Flag | Type | What it does | Default |
|---|---|---|---|
-f, --follow | bool | keep printing new output until the container exits | — |
-n, --tail | string | only the last N lines | all |
-t, --timestamps | bool | prefix each line with its time | — |
Example#
kosa8 logs web kosa8 logs -f web # follow until it exits (Ctrl-C to stop) kosa8 logs --tail 50 -t web # the last 50 lines, with timestamps