Skip to content

Add logging to AgentSink socket writes if retry attempts exceeded #159

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MauByr
Copy link

@MauByr MauByr commented Oct 17, 2024

There is currently DEBUG level logging when individual socket writes fail but there is no logging when all attempts are exhausted and the request is abandoned.

This change adds a log message in this scenario.
I've opted for WARN level as unlike the individual request failures, a total failure should probably be included most application logs as it is likely the agent is misconfigured in some way.

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

@MauByr MauByr changed the title Adds WARN log if retry attempts exceeded Add logging to AgentSink socket writes if retry attempts exceeded Oct 17, 2024
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.

2 participants