Skip to main content
Retrieves the build logs for a specific deployment or the latest deployment of an environment.

Usage

alpic deployment logs --deployment-id <deploymentId>
Prints the build logs for the specified deployment.

Extended Usage

Follow logs while the build is still running:
alpic deployment logs --deployment-id <deploymentId> --follow
Retrieve logs for the latest deployment of an environment:
alpic deployment logs --environment-id <environmentId>
Disable colorized output:
alpic deployment logs --deployment-id <deploymentId> --no-color

Options

FlagDescriptionDefault
--deployment-idThe ID of the deployment (e.g. dpl_xxx). Mutually exclusive with --environment-id.
--environment-idShow logs for the latest deployment of this environment. Mutually exclusive with --deployment-id.
-f, --followPoll for new logs while the build is still running.false
--no-colorDisable colorized output.false