True Care SystemTrue Care SystemDocumentation
Return to Website

OBSERVABILITY AND AUDIT

Logging Standards

Separate operational diagnostics from immutable business and HIPAA audit evidence.

Production stability and security notice

Development changes must preserve working functionality, Provider isolation, role-based access, HIPAA auditability, released Mobile compatibility, and integration stability. Never deploy AI-generated or unreviewed code directly to production.

Log Categories

TopicStandard
Operational logsApplication startup, dependency health, job execution, integration timing, and non-sensitive diagnostics.
Error logsFailures with correlation context and sanitized technical details.
Audit logsUser actions, entity changes, support access, exports, and administrative activity.
PHI access logsPurpose, decision, minimum necessary, Individual, module, and technical context.
Integration logsEnvironment, endpoint category, transaction ID, status, and sanitized response summary.

Safe Logging Rules

  • Use request or correlation IDs.
  • Never log passwords, access tokens, full SSNs, or raw PHI payloads.
  • Do not use console output as the only production audit mechanism.
  • Include Provider scope where appropriate.
  • Use structured fields rather than ambiguous text.
  • Record failures without exposing secrets to the client.