CLICommand referencelogs

logs

Commands, arguments, and options for openship logs.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

openship logs

View or stream a deployment's logs

openship logs [options] [deploymentId]
ArgumentMeaning
deploymentIdDeployment ID (defaults to the latest deployment of the linked project)
OptionMeaning
-f, --followStream live logs via SSE until the deployment finishes
--tail <n>Show only the last N log lines (snapshot mode)

On this page