mirror of https://github.com/milvus-io/milvus.git
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
parent
4a5c282b62
commit
9079b1d5a4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue