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

Avoid infinite log resending if exceptions happen during the log-sending process #219

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

amidofu
Copy link

@amidofu amidofu commented May 12, 2023

Issue #, if available:

Description of changes:

  1. We drop the logs in the log batch if the current log batch causes exceptions in the log-sending process
  2. we set the auth region by the config region if the service url is used

For 1., we did this because we observed that our log batch causes the over 24 hours spanning problem
and since the monitor is not stopped, it just resends the log batch forever.

For 2., we did this because we got a problem with the auth region setup

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

amidofu and others added 3 commits May 10, 2023 14:26
set auth region when service url is used
* drop logs if exceptions happen

* avoid 24 hours rule

* remove test code

* combine exceptions
@ashovlin ashovlin requested review from ashovlin and removed request for ashovlin June 13, 2023 15:22
@ashovlin ashovlin self-assigned this Jun 13, 2023
@ashishdhingra ashishdhingra added feature-request A feature should be added or improved. module/logging p2 This is a standard priority issue labels Sep 1, 2023
@ashishdhingra ashishdhingra changed the title avoid infinite log resending if exceptions happen during the log-sending process Avoid infinite log resending if exceptions happen during the log-sending process Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. module/logging p2 This is a standard priority issue queued
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants