{"categories":[{"label":"Logging","url":"https://skillfed.io/packages/category/system-logging"}],"enrichment":{"capability":"Configures Python's standard logging module to emit structured JSON logs compatible with centralized logging platforms like ELK, EFK, AWS Cloudwatch, and GCP Stackdriver.","skillfed_tags":["structured-logging","distributed-tracing","elk-stack"],"use_cases":["Enable ELK or EFK stack ingestion by converting Python app logs to JSON format for Elasticsearch indexing","Instrument FastAPI or Flask web services to automatically log HTTP requests with correlation IDs for distributed tracing","Attach request context and correlation IDs to downstream service calls for end-to-end request tracking","Centralize logs from multiple Python services to AWS Cloudwatch or GCP Stackdriver with structured fields","Add custom properties to log records for richer log analysis via extra parameter"],"what_it_does":"json-logging wraps Python's standard logging module to emit structured JSON output instead of plain text, making logs automatically indexable and searchable by centralized logging infrastructure. It integrates directly with web frameworks (FastAPI, Flask, Sanic, Quart, Connexion) to automatically instrument HTTP requests, extract correlation IDs for distributed tracing, and attach request context to log entries. For non-web applications, it provides basic JSON logging without correlation tracking.\n\nThe library is designed for minimal setup\u2014a single initialization call enables JSON output across all loggers\u2014and supports injecting arbitrary extra properties into log records. It has been used in production since 2017 with more than 8 millions downloads, though the current maintainer is seeking someone to take over active development.","worth_installing":"Yes, with conditions. The package is production-ready, has no dependencies, and solves a real problem for teams using centralized logging. However, the maintainer is actively seeking new owners due to work commitments. If your team can tolerate potential delays in future maintenance or is willing to fork, it is a solid choice; otherwise, verify the transition status before committing to a new project."},"id":"json-logging","links":{"html":"https://skillfed.io/packages/json-logging","md":"https://skillfed.io/packages/json-logging.md","pypi":"https://pypi.org/project/json-logging/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-07-07","license_spdx":null,"license_treatment":"permissive","name":"json-logging","python_support":"unspecified","summary":"JSON Python Logging"},"popularity":{"monthly_downloads":962210,"position":4630,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.5.1"}
