Comparison
JSON-log-formatter vs json-logging vs logstash_formatter vs python-json-logger
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
JSON log formatter
Maintained. Last release 6 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install json-log-formatterJSON Python Logging
Actively maintained. Last release 8 days ago, commits in 8 of the last 26 weeks. A safe choice.
$
pip install json-loggingJSON formatter meant for logstash
Likely abandoned. No release or commit for years (last release over 8 years ago).
$
pip install logstash-formatterJSON Log Formatter for the Python Logging Package
Actively maintained. Last release 5 days ago, commits in 8 of the last 26 weeks. A safe choice.
$
pip install python-json-loggerIn short
- logstash_formatter looks abandoned: avoid it for new projects.
- python-json-logger is the most used: 106M downloads a month, 35× more than JSON-log-formatter.
- Maintenance is comparable: python-json-logger 76, json-logging 70, JSON-log-formatter 42 on Pythie’s Index.
- Safe default for a new project: python-json-logger.
Side by side
| Metric | JSON-log-formatter | json-logging | logstash_formatter | python-json-logger |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 42 | 70 |