mirror of https://github.com/milvus-io/milvus.git
Fix the wrong log tag in the test case (#18103)
Signed-off-by: SimFG <bang.fu@zilliz.com>pull/18121/head
parent
1c9647ff31
commit
79523ff8d4
|
@ -84,3 +84,7 @@ venv/
|
|||
|
||||
# docker compose volumes
|
||||
deployments/docker/*/volumes
|
||||
|
||||
# rocksdb
|
||||
cwrapper_rocksdb_build/
|
||||
internal/kv/rocksdb/cwrapper/
|
|
@ -129,7 +129,7 @@ func initFileLog(cfg *FileLogConfig) (*lumberjack.Logger, error) {
|
|||
|
||||
func newStdLogger() (*zap.Logger, *ZapProperties) {
|
||||
conf := &Config{Level: "debug", File: FileLogConfig{}}
|
||||
lg, r, _ := InitLogger(conf)
|
||||
lg, r, _ := InitLogger(conf, zap.AddCallerSkip(1))
|
||||
return lg, r
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue