# pw endpoints logs

> Source: https://parallelworks.com/docs/cli/pw/endpoints/logs

## pw endpoints logs

Show the output of the command an endpoint runs

### Synopsis

The **pw endpoints logs** command prints the recent output of the command that
**pw endpoints run** wraps, read live from the machine running it. The platform
does not store this output, so it is available only while the endpoint is connected.

```
pw endpoints logs [-f] <name> [flags]
```

### Examples

```
  # Print an endpoint's recent output
  pw endpoints logs my_app
  
  # Keep streaming new output
  pw endpoints logs -f my_app
```

### Options

```
  -f, --follow   Keep streaming new output
  -h, --help     help for logs
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw endpoints](/docs/cli/pw/endpoints)	 - Create and serve self-registering endpoint sessions
