wangkun 2 年之前
父節點
當前提交
c6b7b9bae0
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scheduling/scheduling_main/crawler_scheduling.py

+ 1 - 0
scheduling/scheduling_main/crawler_scheduling.py

@@ -60,6 +60,7 @@ class Scheduling:
     @classmethod
     @classmethod
     def scheduling_task(cls, log_type, crawler, env, machine):
     def scheduling_task(cls, log_type, crawler, env, machine):
         task = cls.get_redis(log_type, crawler, env, machine)
         task = cls.get_redis(log_type, crawler, env, machine)
+        Common.logger(log_type, crawler).info(f"task: {task}")
         Common.logger(log_type, crawler).info(f"已获取调度任务:{task}")
         Common.logger(log_type, crawler).info(f"已获取调度任务:{task}")
         task_id = task['task_id']
         task_id = task['task_id']
         source = task['source']
         source = task['source']