ADD:log
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -1794,6 +1794,7 @@ class Command(BaseCommand, LoggerMixin): | ... | @@ -1794,6 +1794,7 @@ class Command(BaseCommand, LoggerMixin): |
1794 | for part_idx, ocr_data in enumerate(ocr_data_list): | 1794 | for part_idx, ocr_data in enumerate(ocr_data_list): |
1795 | part_idx = part_idx + 1 | 1795 | part_idx = part_idx + 1 |
1796 | classify = ocr_data.get('classify') | 1796 | classify = ocr_data.get('classify') |
1797 | self.online_log.info('{0} [task={1}] [classify={2}]'.format(self.log_base, task_str, classify)) | ||
1797 | if classify is None: | 1798 | if classify is None: |
1798 | res_list.append((pno, ino, part_idx, consts.RES_FAILED_3)) | 1799 | res_list.append((pno, ino, part_idx, consts.RES_FAILED_3)) |
1799 | self.online_log.warn('{0} [ocr_1 res error] [img={1}]'.format( | 1800 | self.online_log.warn('{0} [ocr_1 res error] [img={1}]'.format( | ... | ... |
-
Please register or sign in to post a comment