mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
Disable error verbose for zap logger (#25688)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
228c0df3f7
commit
9a61c0291b
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user