gruntwork-io / git-xargs

git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.
https://blog.gruntwork.io/introducing-git-xargs-an-open-source-tool-to-update-multiple-github-repos-753f9f3675ec
Apache License 2.0
935 stars 62 forks source link

Improve display of stdout/stderr for command #35

Closed brikis98 closed 3 years ago

brikis98 commented 3 years ago

Update git-xargs to write the stdout / stderr from the command directly to the logs, as plain text, rather than using structured logging / logrus fields. The problem with using fields, as we did before, is the log output gets shoved into JSON, with all sorts of characters escaped (e.g., newlines become \n), which makes it hard to read the log output when debugging.

brikis98 commented 3 years ago

Thanks for the review. Merging now.

brikis98 commented 3 years ago

https://github.com/gruntwork-io/git-xargs/releases/tag/v0.0.7