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

KTOR-7623 Evaluate trace logs lazily in WebSockets client plugin #4429

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

osipxd
Copy link
Member

@osipxd osipxd commented Oct 28, 2024

Subsystem
Client

Motivation
KTOR-7623 WebSockets logging: The plugin calls toString() unnecessarily on transformed response body

Solution
Evaluate log messages only if trace logging is enabled.

@osipxd osipxd self-assigned this Oct 28, 2024
@osipxd osipxd requested a review from marychatte October 28, 2024 16:16
@osipxd osipxd merged commit 5a7bf7f into main Oct 29, 2024
11 of 14 checks passed
@osipxd osipxd deleted the osipxd/websockets-body-logging branch October 29, 2024 07:52
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