miroir/docs
jedarden cfc4eb3300 feat(logging): add structured JSON logging tests and docs (plan §10, P7.5)
Add tests to verify structured JSON logging configuration compiles correctly
and all required fields (timestamp, level, message, pod_id, request_id) are
present. Also add documentation explaining the implementation.

The JSON logging infrastructure was already in place in main.rs and
middleware.rs. This change adds:
- Tests to verify the JSON layer configuration
- Documentation of the log format and PII audit
- Verification that no API keys, document content, or user queries are logged

Acceptance criteria met:
- jq parses every log line (JSON layer configured)
- request_id appears in logs (span field with with_current_span(true))
- No PII in logs (audit verified)
- Log volume < 1 entry per client request at INFO level

Closes: miroir-afh.5
2026-05-24 10:00:21 -04:00
..
benchmarks miroir-zc2.3: Validate 2× transient load caveat for online resharding (P12.OP3) 2026-05-20 07:24:22 -04:00
dump-import miroir-zc2.5: Fix dump import compatibility matrix enhancement bead refs 2026-05-20 07:16:06 -04:00
horizontal-scaling P6.11: Add single-pod oversized mode support (§14.10 vertical scaling escape valve) 2026-05-20 07:29:39 -04:00
notes Phase 3 (miroir-r3j): Task Registry + Persistence — Verification complete 2026-05-09 05:40:08 -04:00
onboarding bf-1p4v: Verify compile error already fixed 2026-05-20 06:49:04 -04:00
operations P3.3.d: Fix compilation - add missing local_search_ui_rate_limiter field 2026-04-26 11:18:02 -04:00
plan feat(logging): add structured JSON logging tests and docs (plan §10, P7.5) 2026-05-24 10:00:21 -04:00
research Merge remote-tracking branch 'origin/master' 2026-05-24 05:21:32 -04:00
runbooks P10.2: nodeMasterKey zero-downtime rotation flow 2026-04-19 15:49:40 -04:00
arm64-support.md OP#6: Add ARM64 (aarch64-unknown-linux-musl) target support 2026-05-08 15:25:12 -04:00
chaos_testing_report.md P12.OP1: Shard migration write safety - chaos testing 2026-05-08 15:29:48 -04:00
migration_runbook.md P12.OP1: Shard migration write safety - chaos testing 2026-05-08 15:29:48 -04:00
redis-memory-accounting.md Phase 3 (miroir-r3j): Task Registry + Persistence — Complete 2026-05-09 02:29:38 -04:00
redis-memory.md P3: Complete Phase 3 — Task Registry + Persistence (SQLite + Redis) 2026-05-02 16:52:25 -04:00
trade-offs.md OP#3: Document S-change (resharding) vs N-change (node scaling) trade-offs 2026-05-08 15:25:53 -04:00
versioning-policy.md bf-35t4: Commit current main state before merge 2026-05-19 22:52:18 -04:00