Logs¶
IronRoot uses structured JSON logs. Logs include trace correlation fields when a span is active:
timestamplevelmsgtrace_idspan_idcomponentoperationhostnameserialrequest_id
Logs should help security auditing without exposing secrets. IronRoot must not log private keys, bootstrap token values, passphrases, or sensitive environment values.
Use logs with traces:
- Open a failed trace in Tempo or another tracing backend.
- Copy the
trace_id. - Search logs in Loki for that
trace_id. - Review API, CA, DB, and audit events around the failure.
Example Loki query:
{app="ironroot"} | json | trace_id="TRACE_ID"