mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Fix the wrong log tag in the test case (#18103)
Signed-off-by: SimFG <bang.fu@zilliz.com>
This commit is contained in:
parent
1c9647ff31
commit
79523ff8d4
4
.gitignore
vendored
4
.gitignore
vendored
@ -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…
x
Reference in New Issue
Block a user