feat: switch logging to pino

Closes HP-279
This commit is contained in:
Aarnav Tale
2026-06-17 15:58:48 -04:00
parent 57c8046f99
commit 3252482e0b
8 changed files with 292 additions and 27 deletions
+4
View File
@@ -82,6 +82,10 @@ The path-based secret loading mechanism also works with environment variables. F
## Debugging
Headplane writes server logs as newline-delimited JSON using Pino. Each entry
includes a timestamp, level, component, and message (`msg`) so log aggregation
tools can filter and index it directly.
To enable debug logging, set the **`HEADPLANE_DEBUG_LOG=true`** environment variable.
This will enable all debug logs for Headplane, which could fill up log space very quickly.
This is not recommended in production environments.