Skip to content

Fix log throttle#159

Merged
omkhegde merged 3 commits intoaws-cloudformation:masterfrom
brianterry:fix-log-throttle
Aug 27, 2020
Merged

Fix log throttle#159
omkhegde merged 3 commits intoaws-cloudformation:masterfrom
brianterry:fix-log-throttle

Conversation

@brianterry
Copy link
Contributor

Issue #, if available:
#136
#153
Description of changes:

  • Creates the CloudWatch log group only once
  • An error logging to CloudWatch is not fatal
  • Removes recursive logging

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

})

if err != nil {

Copy link

Choose a reason for hiding this comment

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

nit: extra empty line

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Line removed

@wbingli wbingli requested a review from omkhegde August 27, 2020 16:17
@omkhegde omkhegde merged commit c1261e8 into aws-cloudformation:master Aug 27, 2020
angpalm added a commit to Nextdoor/cloudformation-cli-go-plugin that referenced this pull request Sep 11, 2020
* Add AWS Account ID, region, partition, system tags, next token in the request to handler (aws-cloudformation#157)

* add request context

* update test

* wildcard .gitignore pattern in case rpdk.log rotates (aws-cloudformation#158)

aws-cloudformation/cloudformation-cli-python-plugin#110 (comment)

* Fix log throttle (aws-cloudformation#159)

* only create the log group once

* update test

* remove extra line

* Update "generated file" hint to follow go convention. (aws-cloudformation#161)

Go has a documented[1] convention identifying "generated" files:

> To convey to humans and machine tools that code is generated,
> generated source should have a line that matches the following
> regular expression (in Go syntax):
> ^// Code generated .* DO NOT EDIT\.$

[1]: https://golang.org/pkg/cmd/go/internal/generate/

* Bump up python plugin version to 2.0.1 (aws-cloudformation#166)

Co-authored-by: Brian Terry <brianter@amazon.com>
Co-authored-by: Pat Myron <PatMyron@users.noreply.github.com>
Co-authored-by: Niko Eckerskorn <kadrach@users.noreply.github.com>
Co-authored-by: omkhegde <69654230+omkhegde@users.noreply.github.com>
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.

3 participants