feat(logging): configure levels and structured runtime output (#144)

* feat(logging): configure levels and structured runtime output

* fix(logging): bound request-derived log fields

* fix(logging): retain malformed IATA source attributes safely

* test(logging): capture structured REST rate-limit records
This commit is contained in:
n30nex
2026-09-19 10:36:26 -04:00
committed by GitHub
parent 595ef4442b
commit dab228e9bb
36 changed files with 801 additions and 201 deletions
+4
View File
@@ -3,6 +3,10 @@ LISTEN_ADDR=:8080
# Optional admin bearer key. If set, overrides auth.api_key (even when empty).
# BEACON_API_KEY=
# Optional application logging overrides (defaults: info / text).
# LOG_LEVEL=info
# LOG_FORMAT=json
POSTGRES_DSN=postgres://beacon:beacon@localhost:5432/beacon?sslmode=disable
# Redis (optional — leave REDIS_ADDR unset to disable caching)