提交 530ef409 编写于 作者: P peng.xu

Merge branch 'Refactor_Knowhere' into 'branch-0.5.0'

MS-579 Server log format: need add month/day in void of the same log name

See merge request megasearch/milvus!615

Former-commit-id: e9426d2482fb3a3d992cf736117e8e191b95e187
* GLOBAL: * GLOBAL:
FORMAT = "%datetime | %level | %logger | %msg" FORMAT = "%datetime | %level | %logger | %msg"
FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%H:%m}-global.log" FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%y-%M-%d-%H:%m}-global.log"
ENABLED = true ENABLED = true
TO_FILE = true TO_FILE = true
TO_STANDARD_OUTPUT = false TO_STANDARD_OUTPUT = false
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
PERFORMANCE_TRACKING = false PERFORMANCE_TRACKING = false
MAX_LOG_FILE_SIZE = 209715200 ## Throw log files away after 200MB MAX_LOG_FILE_SIZE = 209715200 ## Throw log files away after 200MB
* DEBUG: * DEBUG:
FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%H:%m}-debug.log" FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%y-%M-%d-%H:%m}-debug.log"
ENABLED = true ENABLED = true
* WARNING: * WARNING:
FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%H:%m}-warning.log" FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%y-%M-%d-%H:%m}-warning.log"
* TRACE: * TRACE:
FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%H:%m}-trace.log" FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%y-%M-%d-%H:%m}-trace.log"
* VERBOSE: * VERBOSE:
FORMAT = "%datetime{%d/%M/%y} | %level-%vlevel | %msg" FORMAT = "%datetime{%d/%M/%y} | %level-%vlevel | %msg"
TO_FILE = false TO_FILE = false
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
## Error logs ## Error logs
* ERROR: * ERROR:
ENABLED = true ENABLED = true
FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%H:%m}-error.log" FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%y-%M-%d-%H:%m}-error.log"
* FATAL: * FATAL:
ENABLED = true ENABLED = true
FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%H:%m}-fatal.log" FILENAME = "@MILVUS_DB_PATH@/logs/milvus-%datetime{%y-%M-%d-%H:%m}-fatal.log"
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册