-
Notifications
You must be signed in to change notification settings - Fork 197
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
change default log level to error #3071
Conversation
a354009
to
137d097
Compare
ocis-pkg/log/log.go
Outdated
@@ -58,7 +58,7 @@ func NewLogger(opts ...Option) Logger { | |||
zerolog.SetGlobalLevel(zerolog.DebugLevel) | |||
mlog.SetLevel(mlog.LevelTrace) | |||
default: | |||
zerolog.SetGlobalLevel(zerolog.InfoLevel) | |||
zerolog.SetGlobalLevel(zerolog.ErrorLevel) | |||
mlog.SetLevel(mlog.LevelInfo) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this also be changed to the error level?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool 👍
Kudos, SonarCloud Quality Gate passed! |
Description
The default log level is now "error"