pico icon indicating copy to clipboard operation
pico copied to clipboard

Wrap command output for log aggregators

Open Southclaws opened this issue 4 years ago • 0 comments

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.

Southclaws avatar Mar 20 '20 13:03 Southclaws