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

Is there any way to disable query log? #11

Closed
lambdadbmal opened this issue Feb 21, 2023 · 2 comments
Closed

Is there any way to disable query log? #11

lambdadbmal opened this issue Feb 21, 2023 · 2 comments

Comments

@lambdadbmal
Copy link

lambdadbmal commented Feb 21, 2023

Hi,

I want to disable query logs by configuration.
Is there any way to do this or change the log level of query log?

I don't want to enable/disable query log per query like issue #3 .
I Just want to disable all query logs.

Thank you.

@weavejester
Copy link
Contributor

Just don't set the :logger option. If you don't give it a logger, it doesn't log.

@lambdadbmal
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants