Skip to content

vip logs

Retrieve Runtime Logs from an environment.

Usage

vip-logs [options]

Options

OptionDescription
-a, --app [value] Target an application. Accepts a string value for the application name or an integer for the application ID.
-e, --env [value] Target an environment. Accepts a string value for the environment type.
-h, --help Retrieve a description, examples, and available options for a (sub)command. (default: false)
-v, --version Retrieve the version number of VIP-CLI currently installed on the local machine. (default: false)
-d, --debug [value] Generate verbose output during command execution to help identify or fix errors or bugs.
-t, --type [value] Specify the type of Runtime Logs to retrieve. Accepts “batch” (only valid for WordPress environments).
-l, --limit [value] The maximum number of entries to return. Accepts an integer value between 1 and 5000 (defaults to 500).
-f, --follow [value] Output new entries as they are generated. –format [value] Render output in a particular format. Accepts “table“ (default), “csv“, “json“, and “text”.

Examples

- Retrieve up to 500 of the most recent entries of application Runtime Logs from web containers.
$ vip @example-app.production logs

- Retrieve up to 500 of the most recent entries generated by cron tasks or WP-CLI commands from batch containers.
$ vip @example-app.production logs --type=batch

- Retrieve up to 100 of the most recent entries of application logs.
$ vip @example-app.production logs --limit=100

- Retrieve up to 800 of the most recent entries of batch logs and output them in CSV format.
$ vip @example-app.production logs --type=batch --limit=800 --format=csv

Last updated: July 07, 2026