mirror of https://github.com/milvus-io/milvus.git
Fix the wrong log tag in the test case (#18238)
Signed-off-by: SimFG <bang.fu@zilliz.com>pull/18244/head
parent
4ea7adae1d
commit
c3ddb1feb9
|
@ -83,3 +83,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