Add structured production logging (#105, #107) (#141)

* Update README.md

* Add structured JSON production logging (#105)

* Log requests and background failures (#107)

* Document production logging and the VPS runbook
This commit is contained in:
2026-11-10 22:00:05 +01:00
committed by GitHub
parent f8897fa5ae
commit 202b9b1f6a
20 changed files with 1380 additions and 15 deletions
+8
View File
@@ -28,6 +28,14 @@ restart the service; the value is read at boot.
See [docs/tablebases.md](docs/tablebases.md) for the full reference — dev vs
VPS paths, `mix tablebase.check`, and boot logging.
## Logging
Production logs are one JSON object per line so they can be filtered with
`journalctl` and `jq`; development and test keep the readable formatter. See
[docs/logging.md](docs/logging.md) for the line shape, redaction rules and the
background-work audit, and [`deploy/README.md`](deploy/README.md) for the VPS
runbook.
## Learn more
* Official website: https://www.phoenixframework.org/