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

Improve request logging #285

Merged

Conversation

tsandall
Copy link
Member

The new request logging uses httputil.DumpRequest which is much cleaner
than the old approach of trying to extract values from the request.
Also, the new approach adds a unique id on each line for correlation.

Also, move slack link around.

Fixes #281

Use httputil.DumpRequest as this is much cleaner than previous approach
and handles all requests (instead of just /data). With new approach we
can get rid of getInputParam and related tests.

Also, move slack link around.

Fixes open-policy-agent#281
@tsandall tsandall merged commit 0e39da4 into open-policy-agent:master Mar 1, 2017
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

Successfully merging this pull request may close these issues.

1 participant