# Logs & monitoring

## Logs

Reach the application logs through Docker Compose:

```bash
# All services
docker compose logs -f

# Web application only
docker compose logs -f web
```

For production, a central log collector that ingests the container logs and makes them
searchable is recommended.

## Health check

Lalabase exposes a health endpoint that a reverse proxy or external monitor can poll:

```bash
curl -f https://your-instance.example.com/up
```

If the endpoint responds with `200`, the application and database are reachable.

## What to watch

- **Database size** — the `vector` indexes in particular grow with AI data
- **Storage usage** — uploaded files fill the `storage` volume
- **Worker backlog** — see [background jobs](https://lalabase.com/docs/en/self-hosting/operation/background-jobs)

<div class="docs-callout docs-callout--tip">
  <div class="docs-callout__title">Tip</div>
  <p>Wire the health check into your uptime monitor so you learn about outages before your users do.</p>
</div>
