Skip to content

vip dev-env logs [options]

Retrieve a running local environment’s service logs.

Options

ArgumentDescription
-d, --debugActivate debug output
-f, --followFollow logs for a specific service in local dev environment
-h, --helpOutput the help for the (sub)command
-S, --serviceShow logs for a specific service in local dev environment (defaults to all services)
-s, --slugCustom name of the dev environment
-v, --versionOutput 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

ArgumentDescription
-a, --app=<app>Specify the app
-d, --debugActivate debug output
-e, --env=<env>Specify the environment
-h, --helpOutput the help for the (sub)command
-v, --versionOutput the version number
-y, --yesRun the command in production without a confirmation prompt

Last updated: March 09, 2023