pico
pico copied to clipboard
Wrap command output for log aggregators
Currently, the executor will just copy output from commands to standard out.
It may be useful for log aggregation purposes to read this buffer and place each line inside a Zap log and writing it out as JSON just like all the other logs.
The problem here is with terminal rewrites such as when you pull a docker image and docker attempts to provide a progress bar "UI". Which can sometimes be solved if the program provides a way to disable that. Docker and compose both provide --quiet
.
Of course this should be optional too, not everyone runs a log aggregator.