---
sidebar_position: 19
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lium.io/llms.txt
> Use this file to discover all available pages before exploring further.

# `lium logs`

Stream or tail pod logs.

```bash
lium logs POD_ID [OPTIONS]
```

## Arguments

- `POD_ID` — Pod name or index from [`lium ps`](./ps.md).

## Options

| Flag | Effect |
|------|--------|
| `-n, --tail N` | Number of lines to show from the end (default: `100`) |
| `-f, --follow` | Follow log output (like `tail -f`) |

## Examples

```bash
lium logs my-pod                  # Last 100 lines
lium logs 1 --tail 500            # Last 500 lines
lium logs my-pod -f               # Stream live
lium logs my-pod -n 50 -f         # Tail and follow
```

## See also

- [`lium exec`](./exec.md) — run an ad-hoc command on a pod
- [`lium ssh`](./ssh.md) — open an interactive shell
