-
Notifications
You must be signed in to change notification settings - Fork 72
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
feat(agent): add debug logs #3675
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
0449b44
to
beb5128
Compare
return | ||
} | ||
|
||
reconnected, err := c.handleDisconnectionError(err) | ||
if reconnected { | ||
logger.Debug("reconnected to data store connection stream") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this one should be a warning instead of debug, especially because I want to know that the error was handled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment that is valid for all workers that reconnect
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for changing it
This PR adds debug logs so it's easier to identify issues, mainly when talking with the control plane.
It also fixes the logger configuration to correctly display debug logs when passing the
-v
flagChanges
Fixes
Checklist
Loom video
Add your loom video here if your work can be visualized