milvus/tests/benchmark/milvus_benchmark/logs/logging.yaml
binbin eff75c7701
Replace sdk source and merge tests and tests20 (#7182)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
2021-08-20 11:00:56 +08:00

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]