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

Disable log group creation in CloudWatch handlers #90

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Disable log group creation in CloudWatch handlers #90

merged 1 commit into from
Jun 21, 2024

Conversation

rafidka
Copy link
Contributor

@rafidka rafidka commented Jun 21, 2024

Issue #, if available: #89

Description of changes:

Log group creation via the _ensure_log_group_exists() is resulting in a spam of calls to CreateLogGroup API. We are temporarily disabling log group creation until we work on a better solution. More details on this can be found in #89.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Log group creation via the `_ensure_log_group_exists()` is resulting in
a spam of calls to CreateLogGroup API. We are temporarily disabling log
group creation until we work on a better solution. More details on this
can be found in #89.
@Mercury2699
Copy link

This means if user deletes a log group the logging will not work properly? Can we call something like describe-log-groups API to confirm before we call create-log-group ?

@rafidka
Copy link
Contributor Author

rafidka commented Jun 21, 2024

This means if user deletes a log group the logging will not work properly?

Yes, that's correct. If the user deletes the log groups, they will stop receiving logs, which is currently the case.

Can we call something like describe-log-groups API to confirm before we call create-log-group ?

Yeah, this is the intention. See #89.

@rafidka rafidka merged commit 6ccc0d1 into aws:main Jun 21, 2024
1 check passed
@shubham22
Copy link

@rafidka - while we work on a proper solution to address deletion of log group, can we at least have some error message in scheduler/worker logs that log group is missing? It would help customers troubleshoot faster.

@rafidka rafidka deleted the disable-log-group-creation branch July 4, 2024 02:48
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.

4 participants