Skip to content

Disable CloudWatch Log Group per function#7720

Merged
medikoo merged 5 commits intoserverless:masterfrom
AhmedFat7y:disable_logs_per_function
May 13, 2020
Merged

Disable CloudWatch Log Group per function#7720
medikoo merged 5 commits intoserverless:masterfrom
AhmedFat7y:disable_logs_per_function

Conversation

@AhmedFat7y
Copy link
Copy Markdown
Contributor

Closes: #7599

Copy link
Copy Markdown
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

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

Thank you @AhmedFat7y ! It looks really good. Please see my remarks and let me know what you think

@medikoo
Copy link
Copy Markdown
Contributor

medikoo commented May 12, 2020

@AhmedFat7y
Copy link
Copy Markdown
Contributor Author

I added it here docs/providers/aws/guide/functions.md in the Log Group Resources section. I will add it to this one as well docs/providers/aws/guide/serverless.yml.md

@AhmedFat7y
Copy link
Copy Markdown
Contributor Author

@medikoo Should I add these fixes as new commits or rebase and force push for cleaner history?

Change disableLogs flag tests to use runServerless

Ignore test fixtures .serverless dir

Modify docs to include disableLogs flag
@AhmedFat7y AhmedFat7y force-pushed the disable_logs_per_function branch from 9abea1c to 333af9d Compare May 12, 2020 16:09
@AhmedFat7y AhmedFat7y force-pushed the disable_logs_per_function branch from 333af9d to c7d0627 Compare May 12, 2020 16:12
@medikoo
Copy link
Copy Markdown
Contributor

medikoo commented May 12, 2020

@medikoo Should I add these fixes as new commits or rebase and force push for cleaner history?

No there's no need. We will anyway make one squash commit out of it

@AhmedFat7y AhmedFat7y requested a review from medikoo May 12, 2020 18:22
Copy link
Copy Markdown
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

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

@AhmedFat7y Thank you! Looks great!

One side note: It appears that on your machine you don't have git setup with your email address. Note that your commits are not bound to your GitHub account (no avatar by them)

@medikoo medikoo merged commit 3144be8 into serverless:master May 13, 2020
@AhmedFat7y
Copy link
Copy Markdown
Contributor Author

Hahahahahaha
I’m using a temp windows machine. It is very annoying and I’m trying not to play around too much 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Turn off CloudWatch Log Group creation for _specific_ functions.

2 participants