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

Print diagnostics to STDERR #77

Closed
mattias-p opened this issue May 28, 2018 · 3 comments
Closed

Print diagnostics to STDERR #77

mattias-p opened this issue May 28, 2018 · 3 comments

Comments

@mattias-p
Copy link
Member

The --config and --policy parameters print diagnostic information about what file was loaded (e.g. "Loading policy from myfile.json"). Today these diagnostics are printed to STDOUT. This behavior is problematic when the output is fed to jq for pretty printing. The diagnostics should be printed to STDERR instead in order to keep them separated from the normal output.

@matsduf
Copy link
Contributor

matsduf commented Aug 9, 2018

PR #84 has been created.

@mattias-p
Copy link
Member Author

PR #84 solved some aspects of this issue, but it did not resolve the problem with regard to the --json_stream option.

@mattias-p mattias-p mentioned this issue Aug 20, 2018
@mattias-p
Copy link
Member Author

Fixed in #85.

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

2 participants