Converts MongoDB 4.4 log format to MongoDB 4.2 and prior style text logs
To read from standard in:
cat <file> | mrlog
To convert a file:
mrlog <optional file>
File is printed to standard out
To run a command and colorize its output:
mrlog -c -e python buildscripts/resmoke.py ...
Convertes MongoDB 4.4 JSON log format to text format. Writes converted file to stdout
USAGE:
mrlog [FLAGS] [path-or-args]...
FLAGS:
-c, --color
-e, --execute Execute command and process output
-h, --help Prints help information
--id Log id in text log
-V, --version Prints version information
ARGS:
<path-or-args>... Optional path to the file to read, defaults to stdin In execute mode, a command to run and
a list of args
cargo build
Apache 2.0