Disable error verbose for zap logger (#25688)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
congqixia 2023-07-18 12:53:21 +08:00 committed by GitHub
parent 228c0df3f7
commit 9a61c0291b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ func initFileLog(cfg *FileLogConfig) (*lumberjack.Logger, error) {
}
func newStdLogger() (*zap.Logger, *ZapProperties) {
conf := &Config{Level: "debug", Stdout: true}
conf := &Config{Level: "debug", Stdout: true, DisableErrorVerbose: true}
lg, r, _ := InitLogger(conf)
return lg, r
}