-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Description
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
- I agree to follow this project's Code of Conduct