diff --git a/backend/igny8_core/modules/planner/tasks.py b/backend/igny8_core/modules/planner/tasks.py index 9b366940..9130e6c2 100644 --- a/backend/igny8_core/modules/planner/tasks.py +++ b/backend/igny8_core/modules/planner/tasks.py @@ -738,10 +738,19 @@ def auto_generate_ideas_task(self, cluster_ids: List[int], account_id: int = Non cluster_ids: List of cluster IDs account_id: Account ID for account isolation """ + import sys + print("=" * 80, flush=True, file=sys.stdout) + print("[CELERY TASK] auto_generate_ideas_task STARTED", flush=True, file=sys.stdout) + print(f"[CELERY TASK] Task ID: {self.request.id}", flush=True, file=sys.stdout) + print(f"[CELERY TASK] cluster_ids: {cluster_ids}", flush=True, file=sys.stdout) + print(f"[CELERY TASK] account_id: {account_id}", flush=True, file=sys.stdout) + print("=" * 80, flush=True, file=sys.stdout) + account_id = account_id logger.info("=" * 80) logger.info("auto_generate_ideas_task STARTED") + logger.info(f" - Task ID: {self.request.id}") logger.info(f" - cluster_ids: {cluster_ids}") logger.info(f" - account_id: {account_id}") logger.info("=" * 80)