Skip to content

Write task logs to stdout for tasks run with KubernetesExecutor #46894

Closed

Description

@amoghrajesh

Body

We need to write the task logs from a task also to the stdout of the worker pods so that it can be streamed by the log reader and that can be shown to the UI as well.

Currently for non task sdk, it works by double logging -- both to the stdout as well as to the file. We should try and do the same for task sdk too. We’d have to write it ourselves, possibly make those log fn take multiple loggers to write too

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Activity

  1. added
    provider:cncf-kubernetes
    on Feb 19, 2025
  2. self-assigned this
    on Feb 19, 2025
  3. added this to the Airflow 3.0.0 milestone on Mar 12, 2025
  4. added
    priority:high
    on Mar 12, 2025
  5. added a commit that references this issue on Mar 13, 2025
    835bbcb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:task-sdkpriority:highprovider:cncf-kubernetes

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions