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

fix: only log slow sql query parameters if trace logging is enabled #307

Merged

Conversation

mezgerj
Copy link

@mezgerj mezgerj commented Jul 1, 2024

This corrects #305 by only dumping the sql query parameters in the slow sql log if the log level is set to trace.

@mezgerj mezgerj requested a review from a team as a code owner July 1, 2024 02:33
@mezgerj mezgerj force-pushed the kine-305-no-log-slowsql-query-params branch from 2421372 to 4a4470f Compare July 1, 2024 02:41
Signed-off-by: john.mezger <john.mezger@corelight.com>
@brandond
Copy link
Member

brandond commented Jul 1, 2024

lgtm, thanks!

@mezgerj
Copy link
Author

mezgerj commented Jul 1, 2024

@brandond thanks for the review. What is the process to get this merged?

@vitorsavian
Copy link
Member

hey @mezgerj, the process of merging is that any PR need two approvals, after the two approvals one of the devs can go and merge.

I'll merge your PR, tks for the contribution!!

@vitorsavian vitorsavian merged commit b6a3154 into k3s-io:master Jul 1, 2024
3 checks passed
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.

3 participants