@@ -379,14 +379,14 @@ def _get_workload_team_name(self, workload: SchedulerWorkload, session: Session)
379379
380380 if team_name :
381381 self .log .debug (
382- "Resolved team name '%s' for workload %s (dag_id=%s)" ,
382+ "Resolved team name '%s' for task or callback %s (dag_id=%s)" ,
383383 team_name ,
384384 workload ,
385385 dag_id ,
386386 )
387387 else :
388388 self .log .debug (
389- "No team found for workload %s (dag_id=%s) - DAG may not have bundle or team association" ,
389+ "No team found for task or callback %s (dag_id=%s) - DAG may not have bundle or team association" ,
390390 workload ,
391391 dag_id ,
392392 )
@@ -3268,15 +3268,17 @@ def _try_to_load_executor(
32683268 executor = _executor
32693269
32703270 if executor is not None :
3271- self .log .debug ("Found executor %s for workload %s (team: %s)" , executor .name , workload , team_name )
3271+ self .log .debug (
3272+ "Found executor %s for task or callback %s (team: %s)" , executor .name , workload , team_name
3273+ )
32723274 else :
32733275 # This case should not happen unless some (as of now unknown) edge case occurs or direct DB
32743276 # modification, since the DAG parser will validate the tasks in the DAG and ensure the executor
32753277 # they request is available and if not, disallow the DAG to be scheduled.
32763278 # Keeping this exception handling because this is a critical issue if we do somehow find
32773279 # ourselves here and the user should get some feedback about that.
32783280 self .log .warning (
3279- "Executor, %s, was not found but a workload was configured to use it" ,
3281+ "Executor, %s, was not found but a Task or Callback was configured to use it" ,
32803282 workload .get_executor_name (),
32813283 )
32823284
0 commit comments