--pretty Pretty print the JSON messages.
--really-pretty Extra-pretty print the JSON messages.
--pretty prints output in Python format, uncolored. prefixed with python log prefix
--really-pretty prints output in json, colored. when output directed to file, it's still with ansi escapes
this all is not intuitive, neither descriptive.
proposal:
deprecate them both, add --json, --python options (or --format=json, --format=python), for --json detect that output is not terminal and omit colors.
--pretty
prints output in Python format, uncolored. prefixed with python log prefix--really-pretty
prints output in json, colored. when output directed to file, it's still with ansi escapesthis all is not intuitive, neither descriptive.
proposal: deprecate them both, add
--json
,--python
options (or--format=json
,--format=python
), for--json
detect that output is not terminal and omit colors.