b456b296 by 周伟奇

fix log

1 parent 89149364
...@@ -122,8 +122,9 @@ def compare(application_id, application_entity, uniq_seq, ocr_res_id): ...@@ -122,8 +122,9 @@ def compare(application_id, application_entity, uniq_seq, ocr_res_id):
122 '[error={5}]'.format(log_base, application_entity, application_id, uniq_seq, ocr_res_id, 122 '[error={5}]'.format(log_base, application_entity, application_id, uniq_seq, ocr_res_id,
123 traceback.format_exc())) 123 traceback.format_exc()))
124 else: 124 else:
125 compare_log.info('{0} [compare success] [entity={1}] [id={2}] [uniq_seq={3}] [ocr_res_id={4}]'.format( 125 compare_log.info('{0} [compare success] [entity={1}] [id={2}] [uniq_seq={3}] [ocr_res_id={4}] '
126 log_base, application_entity, application_id, uniq_seq, ocr_res_id)) 126 '[compare_res={5}]'.format(log_base, application_entity, application_id, uniq_seq,
127 ocr_res_id, comparison_res))
127 128
128 # 将比对结果发送GCAP 129 # 将比对结果发送GCAP
129 try: 130 try:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!