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

Stop logging event data #117

Merged
merged 2 commits into from
Oct 26, 2023
Merged

Conversation

rajdivya
Copy link
Contributor

Issue #, if available:

Description of changes:

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

@@ -586,7 +586,6 @@ export abstract class BaseResource<
this.prepareCredentialsFilter(this.callerSession)
);
}
this.log('EVENT DATA\n', eventData);
Copy link
Contributor

Choose a reason for hiding this comment

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

is that the only place?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is the only place logging event data in the repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Validated this is the only place logging event data by invoking CUD handlers of a resource.

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1611daa) 98.56% compared to head (12b7ecb) 98.55%.

❗ Current head 12b7ecb differs from pull request most recent head 208bdc6. Consider uploading reports for the commit 208bdc6 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
- Coverage   98.56%   98.55%   -0.01%     
==========================================
  Files          14       14              
  Lines        1250     1249       -1     
  Branches      209      209              
==========================================
- Hits         1232     1231       -1     
  Misses         17       17              
  Partials        1        1              
Flag Coverage Δ
unittests 98.55% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/resource.ts 97.25% <ø> (-0.02%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rajdivya rajdivya merged commit 578459f into aws-cloudformation:master Oct 26, 2023
5 checks passed
@agupta94
Copy link

Hi @rajdivya , what was the reasoning behind this? I use EVENT DATA log for various debugging reasons. It was helpful to get insight into how the cloudformation event looked like.

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.

5 participants