Skip to content

Add “Copy Logs” Button to Task Log Viewer in Airflow 3.0 UI #50139

@munnch

Description

@munnch

Description

Feature Description

Airflow’s Task Instance Log page currently displays logs but offers no one-click way to copy them. Users must manually select and copy text, which is error-prone—especially for long logs or when searching for specific patterns. Adding a “Copy Logs” button would allow users to copy the entire log (or filtered portion) to their clipboard with one click.

Proposed Solution

UI Changes

  • Add a “Copy Logs” icon/button next to existing log-controls (e.g., alongside the 'Wrap' button).
  • Button tooltip: “Copy full log to clipboard”.

Use case/motivation

Use Cases

  • Debugging locally or in CI
    Users reviewing logs in the Airflow UI often need to paste them into issue trackers, Slack, or local editors for deeper analysis or sharing with team members.

  • Automated processing
    When building integrations (e.g. alerting scripts or external dashboards), having an easy way to programmatically copy logs via the browser can speed up development.

  • Accessibility
    A dedicated button reduces reliance on precise mouse-drag selection, aiding users on touch devices or those who use keyboard navigation and screen readers.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:UIRelated to UI/UX. For Frontend Developers.kind:featureFeature Requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions