a2473678 by 冯轩

ADD:log

1 parent f744f42a
......@@ -1794,6 +1794,7 @@ class Command(BaseCommand, LoggerMixin):
for part_idx, ocr_data in enumerate(ocr_data_list):
part_idx = part_idx + 1
classify = ocr_data.get('classify')
self.online_log.info('{0} [task={1}] [classify={2}]'.format(self.log_base, task_str, classify))
if classify is None:
res_list.append((pno, ino, part_idx, consts.RES_FAILED_3))
self.online_log.warn('{0} [ocr_1 res error] [img={1}]'.format(
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!