mirror of https://github.com/milvus-io/milvus.git
[skip ci] Update setup_logging func on benchmark (#10269)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/10298/head
parent
bb1086659b
commit
6b487e2aef
|
@ -20,5 +20,4 @@ def setup_logging(config_path=LOG_CONFIG_PATH, default_level=logging.INFO):
|
|||
log_config["handlers"]["info_file_handler"].update({"filename": FILE_NAME})
|
||||
logging.config.dictConfig(log_config)
|
||||
except Exception:
|
||||
raise
|
||||
logging.error('Failed to open file', exc_info=True)
|
||||
raise logging.error('Failed to open file', exc_info=True)
|
||||
|
|
Loading…
Reference in New Issue