Comparison
json-logging vs logging-json vs logstash_formatter vs mo-logs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
JSON Python Logging
Actively maintained. Last release 8 days ago, commits in 9 of the last 26 weeks. A safe choice.
pip install json-loggingJSON formatter for python logging
Low maintenance activity. Last release 22 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install logging-jsonJSON formatter meant for logstash
Likely abandoned. No release or commit for years (last release over 8 years ago).
pip install logstash-formatterMore Logs! Structured Logging and Exception Handling
Low maintenance activity. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install mo-logsIn short
- logstash_formatter looks abandoned: avoid it for new projects.
- json-logging is the most used: 652.4K downloads a month, 5.6× more than mo-logs.
- json-logging also has the best Pythie’s Index (73).
- Safe default for a new project: json-logging.
Side by side
| Metric | json-logging | logging-json | logstash_formatter | mo-logs |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 73 | Pythie’s Index: 23 | Pythie’s Index: 21 | Pythie’s Index: 36 |
| Verdict | Actively maintained | Low maintenance activity | Likely abandoned | Low maintenance activity |
| Downloads / month | 652.4K | 81.2K | 96K | 116.4K |
| Downloads, month over month | -2% | -13% | -3% | -8% |
| GitHub stars | 313 | 18 | 157 | 3 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 16 | 0 | 15 | 5 |
| Last release | Nov 23, 2026 | Feb 4, 2025 | Feb 13, 2018 | Mar 2, 2026 |
| Releases, 12 months | 2 | 0 | 0 | 3 |
| Weeks with commits | 9 / 26 | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 5 | 4 | 20 | 1 |
| First release | Dec 2017 | Oct 2020 | May 2013 | Feb 2017 |
| Python versions | – | 3.9 – 3.13 | – | 3.8 – 3.15 |
| License | Apache-2.0 | MIT | MIT | MPL-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.