christophd commented on code in PR #3401:
URL: https://github.com/apache/camel-k/pull/3401#discussion_r909425030


##########
pkg/cmd/operator/operator.go:
##########
@@ -120,16 +112,12 @@ func Run(healthPort, monitoringPort int32, leaderElection 
bool, leaderElectionID
                }
        }
 
-       logLevelEnabler := loglvl{
-               Level: logLevel,
-       }
-
-       logf.SetLogger(zap.New(func(o *zap.Options) {
+       logf.SetLogger(zapctrl.New(func(o *zapctrl.Options) {
                o.Development = false
-               o.Level = logLevelEnabler
+               o.Level = zap.NewAtomicLevelAt(logLevel)

Review Comment:
   @phantomjinx can you have another look, please



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to