Skip to content
Docs

inquir apps logs

Print recent logs of an application, release or image build, then follow new lines.

@inquir/compute-cliv0.4.1 · Node.js 22+

Usage#

inquir apps logsbash
inquir apps logs <app|release|build> [options]

Options#

OptionDescription
--tail <n>Initial container log lines; defaults to 200, at most 2000. Does not limit build logs.
--no-followPrint the last lines and exit instead of following (for scripts and agents).
--replica <name|index>Only the lines of one replica; see apps instances.
--jsonSend log lines to stderr so stdout stays available for machine-readable output.

Global flags, environments and CLI credentials ↗

Examples#

Example 1bash
inquir apps logs web --tail 100
Example 2bash
inquir apps logs web --tail 50 --no-follow
Example 3bash
inquir apps logs BUILD_ID

Behavior#

Press Ctrl+C to stop following, or pass --no-follow. Supplying a build ID selects build logs, not container output. apps logs <app> --history reads persisted history, like apps log-history.

Guides#