Title: vip dev-env logs
Published: August 3, 2026

---

 1. [VIP-CLI command reference](https://docs.wpvip.com/vip-cli/commands/)
 2. [vip dev-env](https://docs.wpvip.com/vip-cli/commands/dev-env/)
 3. vip dev-env logs

#  vip dev-env logs

Retrieve logs for a local environment.

## Usage

    ```wp-block-preformatted
    vip dev-env logs [options]
    ```

## Options

| Option | Description | 
|  `-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. |  
|  `-s`, `--slug` |  [value] A unique name for a local environment. Default is “vip-local”. |  
|  `-f`, `--follow` |  [value] Continually output logs as they are generated. –service [value] Restrict to a single service. |

## Examples

    ```wp-block-preformatted
    - Retrieve logs for all running services of the local environment named "example-site".$ vip dev-env logs --slug=example-site- Retrieve logs only for the "elasticsearch" service of the local environment named "example-site".$ vip dev-env logs --service=elasticsearch --slug=example-site- Retrieve and continually output logs for the "database" service of the local environment named "example-site".$ vip dev-env logs --service=database --follow --slug=example-site
    ```

Last updated: August 03, 2026