mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
eff75c7701
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
38 lines
860 B
YAML
38 lines
860 B
YAML
version: 1
|
|
disable_existing_loggers: False
|
|
formatters:
|
|
simple:
|
|
format: "[%(asctime)-15s] [%(levelname)8s] - %(message)s (%(name)s:%(lineno)s)"
|
|
|
|
handlers:
|
|
console:
|
|
class: logging.StreamHandler
|
|
level: DEBUG
|
|
formatter: simple
|
|
stream: ext://sys.stdout
|
|
|
|
info_file_handler:
|
|
class: logging.FileHandler
|
|
formatter: simple
|
|
level: DEBUG
|
|
filename: info.log
|
|
|
|
# error_file_handler:
|
|
# class: logging.handlers.RotatingFileHandler
|
|
# level: ERROR
|
|
# formatter: simple
|
|
# filename: errors.log
|
|
# maxBytes: 10485760 # 10MB
|
|
# backupCount: 20
|
|
# encoding: utf8
|
|
|
|
loggers:
|
|
milvus_benchmark:
|
|
level: DEBUG
|
|
handlers: [console, info_file_handler]
|
|
propagate: no
|
|
|
|
root:
|
|
level: DEBUG
|
|
handlers: [console, info_file_handler]
|