# atmos emulator logs

Use this command to stream the emulator container's logs, useful for debugging emulator startup or watching requests as your components interact with the local cloud API. The container is discovered by label.

> ⚠️ Experimental

## Usage

```shell
atmos emulator logs <component> --stack <stack> [flags]
```

## Examples

```shell
# Stream the aws emulator's logs in the plat-ue2-dev stack
atmos emulator logs aws --stack=plat-ue2-dev

# Using the emu alias
atmos emu logs aws --stack=plat-ue2-dev
```

## Arguments

- **`component`**
  **Required.**
   The emulator component whose logs are streamed (for example, 
  `aws`
  ).

## Flags

- **`-s, --stack`**
  **Required.**
   The stack the emulator component belongs to (for example, 
  `plat-ue2-dev`
  ).

## See Also

- [`atmos emulator ps`](/cli/commands/emulator/ps) — List running emulators in the stack
- [`atmos emulator exec`](/cli/commands/emulator/exec) — Run a command in the emulator container
