7dd68c93 by 周伟奇

add log

1 parent e74dd687
...@@ -1198,6 +1198,10 @@ class Command(BaseCommand, LoggerMixin): ...@@ -1198,6 +1198,10 @@ class Command(BaseCommand, LoggerMixin):
1198 1198
1199 with lock: 1199 with lock:
1200 todo_count_dict[task_str] = pdf_handler.img_count 1200 todo_count_dict[task_str] = pdf_handler.img_count
1201
1202 self.online_log.info('{0} [pdf_2_img_2_queue] [{1}] [is_ebank={2}]'.format(
1203 self.log_base, task_str, pdf_handler.is_ebank
1204 ))
1201 for img_idx, img_path in enumerate(pdf_handler.img_path_list): 1205 for img_idx, img_path in enumerate(pdf_handler.img_path_list):
1202 while img_queue.full(): 1206 while img_queue.full():
1203 self.online_log.info('{0} [pdf_2_img_2_queue] [img queue full]'.format(self.log_base)) 1207 self.online_log.info('{0} [pdf_2_img_2_queue] [img queue full]'.format(self.log_base))
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!