Python Logging & Application Observability
Parent: Programming Languages · researched 2026-06-02T18:09:55.715Z· 6 sources · 7 concepts · skill python-logging-observability
Children
- Stdlib logging model (loggers/handlers/formatters/filters, hierarchy, propagation, levels) (frontier)
- Configure-once at entry (dictConfig) + libraries use NullHandler only (frontier)
- Structured logging rationale (JSON key-value events for machine parsing) (frontier)
- structlog (processor pipeline, bound loggers, contextvars, stdlib integration, JSONRenderer) (frontier)
- loguru (zero-config, sinks, InterceptHandler to bridge stdlib, exception diagnose) (frontier)
- OpenTelemetry logs (LoggingHandler, OTLP, log<->trace correlation via trace/span IDs) (frontier)
- Best practices (context via contextvars, no secrets, exc_info, QueueHandler, double-logging pitfall) (frontier)
Frontier under this node: Best practices (context via contextvars, no secrets, exc_info, QueueHandler, double-logging pitfall), Configure-once at entry (dictConfig) + libraries use NullHandler only, OpenTelemetry logs (LoggingHandler, OTLP, log<->trace correlation via trace/span IDs), Stdlib logging model (loggers/handlers/formatters/filters, hierarchy, propagation, levels), Structured logging rationale (JSON key-value events for machine parsing), loguru (zero-config, sinks, InterceptHandler to bridge stdlib, exception diagnose), structlog (processor pipeline, bound loggers, contextvars, stdlib integration, JSONRenderer)