fix log
Showing
1 changed file
with
3 additions
and
2 deletions
... | @@ -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: | ... | ... |
-
Please register or sign in to post a comment