13.2 Logging¶
Sprint: Sprint 13 - Observability and Resilience
Feature ID: 13.2
Subtasks: 13.2.1
Objective¶
Deliver "Logging" within Sprint 13 - Observability and Resilience.
Dependencies¶
Aggregated from the subtasks below (prerequisite task IDs and enablers):
- 3.2.7
- Sprints 04-12
Subtasks¶
13.2.1 Structured JSON logging to Loki across services¶
- ID: 13.2.1
- Title: Confirm structured JSON logs ship to Loki for all services
- Description: Ensure every service uses the shared logback JSON config (3.2.7) and that logs are collected into Loki with service/trace labels; PII masking is active everywhere (NFR-08, ADR-021).
- Business Purpose: Centralized, queryable, PII-safe logs (NFR-08).
- Inputs: ADR-012, ADR-021, 3.2.7.
- Outputs: Verified Loki ingestion + masking.
- Acceptance Criteria:
- Loki shows JSON logs from every service labeled by service and traceId; a known PII value never appears unmasked in any service's logs.
- Dependencies: 3.2.7, Sprints 04-12
- Complexity: M
Acceptance Criteria¶
Each subtask above carries its own objective, testable acceptance criteria. This feature is complete when every subtask's acceptance criteria are met.
Deliverables¶
- Verified Loki ingestion + masking.
Definition of Done¶
- All subtasks (13.2.1) completed and their acceptance criteria verified.
- All listed dependencies satisfied.
- Build and tests green per the global conventions in ../README.md (Section 3).