This script converts MongoDB 4.4+ JSON/"structured" logs to human-readable logs.
Basic usage:
humolog </path/to/mongod.log
humolog converts the JSON log to a plain text log using MongoDB 4.2 log format.
This script requires Python 3 and has no dependencies besides the Python standard library.
MIT