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

Trace WebSocket exception into verbose level to reduce noise in diag log. #2591

Merged
merged 2 commits into from
May 8, 2023

Conversation

TingluoHuang
Copy link
Member

@TingluoHuang TingluoHuang commented May 8, 2023

Live console output are best effort.
We use websocket to send out those console output, the websocket will be closed by the service once every 30 minutes and cause some huge non-actionable exception message get traced in the diag log.

I am moving the exception trace into Verbose level, so it' only shows up in when tracelevel set to debug (Not the default).

https://github.com/github/c2c-actions-runtime/issues/2439

@TingluoHuang TingluoHuang requested a review from a team as a code owner May 8, 2023 16:45
Copy link
Contributor

@takost takost left a comment

Choose a reason for hiding this comment

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

LGTM!

@TingluoHuang TingluoHuang merged commit 1bc14f0 into main May 8, 2023
10 checks passed
@TingluoHuang TingluoHuang deleted the users/tihuang/verbosetracesocketex branch May 8, 2023 22:54
nikola-jokic pushed a commit to nikola-jokic/runner that referenced this pull request May 12, 2023
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.

None yet

2 participants