What problem does it solve?
This skill prevents messy, unsafe, and unsearchable logging by providing a consistent, production-ready standard for structured JSON logs, correlation IDs, safe redaction, and error/trace integration.
Core Features & Use Cases
- Structured logging schema: defines mandatory fields (timestamp, level, msg, service, env, correlation IDs) and consistent field naming for reliable querying and dashboards.
- Correlation + tracing discipline: standardizes request_id/trace_id/span_id propagation across async code paths and service boundaries.
- Sensitive data safety: establishes clear do/never rules for secrets, PII, headers, and request bodies, plus redaction patterns to reduce accidental leakage.
- Operational reliability & cost control: provides log levels per environment, volume/performance guidance, sampling tactics, and log aggregation setup (e.g., Loki).
- Error tracking integration: guides Sentry/Bugsnag-style instrumentation with PII-safe configuration and release linking.
Quick Start
Use this skill to implement structured, correlation-aware logging for your Node, Python, or frontend app by following the referenced standards and stack recipes.