Skip to content

vip dev-env logs

View logs from a local WordPress environment

Usage

vip dev-env-logs [options]

Options

OptionDescription
-d, --debug Activate debug output
-f, --follow Follow logs for a specific service in local dev environment
-h, --help Output the help for the (sub)command
-S, --service Show logs for a specific service in local dev environment. Defaults to all if none passed in.
-s, --slug Custom name of the dev environment
-v, --version Output the version number

Examples

- Return all logs from a local dev environment named "my_site"
$ vip dev-env logs --slug=my_site

- Return logs from the "elasticsearch" service from a local dev environment named "my_site"
$ vip dev-env logs --slug=my_site --service=elasticsearch

- Follow logs from the "elasticsearch" service from a local dev environment named "my_site"
$ vip dev-env logs --slug=my_site --service=elasticsearch -f

Last updated: April 08, 2024