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

How can i change the log level? #1219

Closed
arthurl311 opened this issue Aug 26, 2022 · 2 comments
Closed

How can i change the log level? #1219

arthurl311 opened this issue Aug 26, 2022 · 2 comments

Comments

@arthurl311
Copy link

How can i manipulate the log level from my tests?

image

Example: change info level to debug level

@fulghum
Copy link
Contributor

fulghum commented Aug 30, 2022

Hey @arthurl311, thanks for checking out the go-mysql-server project. You can use github.com/sirupsen/logrus to set the log level, like this:

	logrus.SetLevel(logrus.TraceLevel)

Give that a shot and let us know if it doesn't work for you.

@arthurl311
Copy link
Author

Worked, Thanks :)

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