Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap command output for log aggregators #38

Open
Southclaws opened this issue Mar 20, 2020 · 0 comments
Open

Wrap command output for log aggregators #38

Southclaws opened this issue Mar 20, 2020 · 0 comments

Comments

@Southclaws
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant