apache/airflow

Display entire KubernetesExecutor worker pod logs when task is running instead of only the last 100 lines

已关闭

#48,710 创建于 2025年4月2日

 (6 条评论) (0 个反应) (0 位负责人)Python (16,781 个派生)batch import
area:logginggood first issuekind:featureprovider:cncf-kubernetes

仓库指标

星标
 (44,809 个星标)
PR 合并指标
 (平均合并 7天 18小时) (30 天内合并 834 个 PR)

描述

Description

When a task is in the running state, only the last 100 lines are streamed from the worker pod (with KubernetesExecutor). The entire logs appear once the task is completed. The 100 line limit is hardcoded here.

We should allow this limit to be configurable or display all logs that have been generated so far instead of only the last 100 lines.

Use case/motivation

Users might need the entire log history or more context to ensure that long running tasks are executing as expected.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

贡献者指南