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

fix: remove json.Indent from segment debug logging #185

Merged
merged 5 commits into from
Feb 26, 2020
Merged

fix: remove json.Indent from segment debug logging #185

merged 5 commits into from
Feb 26, 2020

Conversation

sthulb
Copy link
Contributor

@sthulb sthulb commented Jan 22, 2020

Issue #, if available:
#184
Description of changes:
Removes json.Ident from segment debug log. By using json.Ident the SDK will break logging tools that want to make use of this data. For example, this will break CloudWatch Logs Insights since it won't be able to inspect the JSON object.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bhautikpip
Copy link
Contributor

bhautikpip commented Jan 29, 2020

Hi @sthulb,

Thanks for the contribution. I have reviewed the PR. I might be able to merge this once we resolve the SQL test cases failure issue if that's okay. There's a data race going on with SQL tests which results in test failures sometimes.

@bhautikpip bhautikpip self-requested a review February 26, 2020 18:31
Copy link
Contributor

@bhautikpip bhautikpip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@bhautikpip bhautikpip merged commit 22d1369 into aws:master Feb 26, 2020
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.

2 participants