# Logs hosts

Local Evlog capture supports Nitro 3, in Vite and in Nuxt 5, and registers `evlog/nitro/v3`. Import the request logger from `evlog/nitro/v3`.

## Cloudflare

ViteHub turns on native Worker observability in the generated Cloudflare config. Your own observability settings win. Native capture gives the Console no query adapter.

## Vercel and other hosts

Keep the host's logging and Evlog export. Connect a `LogSource` to its query API for Console and CLI access. That backend sets retention, permissions, and what you can query.

Production builds reject local `observability: { logs: true }` capture. Use a source module in production, or turn Logs off for the build. The playground turns off local capture in builds and sets up no backend.

An Evlog drain can send to a platform that ViteHub still cannot read. This is also true for OpenTelemetry collectors and PostHog.

<!-- vitehub-docs:section-links -->
## In this section

- [Overview](https://vitehub.dev/raw/docs/logs.md)
- [Get started](https://vitehub.dev/raw/docs/logs/get-started.md)
- [Configure](https://vitehub.dev/raw/docs/logs/configure.md)
- [Server API](https://vitehub.dev/raw/docs/logs/server-api.md)
- [Hosts](https://vitehub.dev/raw/docs/logs/hosts.md) (this page)
- [Limits and errors](https://vitehub.dev/raw/docs/logs/limits-and-errors.md)

Next: [Limits and errors](https://vitehub.dev/raw/docs/logs/limits-and-errors.md)

All pages: [llms.txt](https://vitehub.dev/llms.txt)
