Rename default accesslog dir name (#21086)

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
pull/21081/head
aoiasd 2022-12-09 18:09:19 +08:00 committed by GitHub
parent 4a5c282b62
commit 9079b1d5a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ proxy:
# please adjust in embedded Milvus: false
ginLogging: true # Whether to produce gin logs.
accessLog:
localPath: /tmp/accesslog
localPath: /tmp/milvus_accesslog
filename: milvus_access_log.log
grpc:
serverMaxRecvSize: 67108864 # 64M

View File

@ -295,7 +295,7 @@ func (l *RotateLogger) max() int64 {
func (l *RotateLogger) dir() string {
if l.localPath == "" {
l.localPath = path.Join(os.TempDir(), "accesslog")
l.localPath = path.Join(os.TempDir(), "milvus_accesslog")
}
return l.localPath
}