vip dev-env logs [options]
Retrieve a running local environment’s service logs.
Options
Argument | Description |
---|---|
-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 services) |
-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
Global Options
Argument | Description |
---|---|
-a , --app=<app> | Specify the app |
-d , --debug | Activate debug output |
-e , --env=<env> | Specify the environment |
-h , --help | Output the help for the (sub)command |
-v , --version | Output the version number |
-y , --yes | Run the command in production without a confirmation prompt |
Last updated: March 09, 2023