Remove duplicated and deprecated SetLogger usage (#13475)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/13499/head
congqixia 2021-12-16 10:05:25 +08:00 committed by GitHub
parent c544bb21ac
commit 3c12f17b0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -25,7 +25,6 @@ import (
"go.uber.org/zap/zapcore"
clientv3 "go.etcd.io/etcd/client/v3"
"google.golang.org/grpc/grpclog"
"go.uber.org/zap"
@ -139,7 +138,6 @@ func SetupLogger(cfg *log.Config) {
wrapper := &zapWrapper{lg}
grpclog.SetLoggerV2(wrapper)
clientv3.SetLogger(wrapper)
_globalZapWrapper.Store(wrapper)
})
}