# Logs and recovery

Canonical: https://auggy.dev/docs/logs-and-recovery
Status: Published
Package: auggy 0.5.0

Use **Auggy** and **Railway** diagnostics to recover from deploy, boot, route, and runtime failures.

## Commands

**Diagnostics**

```bash
auggy doctor
auggy logs
auggy deploy
auggy deploy --yes
```

`auggy doctor` checks the local project configuration and environment. `auggy logs` reads the saved **Railway** cloud record, links a temporary **Railway** workspace to the saved project/service, and streams **Railway** logs.

## When to use logs

- Deploy health verification times out.
- **Railway** reports a crash loop.
- A route is failing after a schema, auth, or env change.
- An augment fails boot validation.
- You changed .env or agent.yaml and need startup diagnostics.

## Related

- [Deploy and verify](https://auggy.dev/docs/deploy/markdown)
- [Console](https://auggy.dev/docs/console/markdown)