Skip to content

Logs downloaded as empty file when filtering by log level #62414

Description

@kacpermuda

Apache Airflow version

main (development)

If "Other Airflow 3 version" selected, which one?

No response

What happened?

Downloading logs from the UI downloads empty file whenever any log level filter is chosen.

What you think should happen instead?

The downloaded logs should either respect the filter and download only filtered logs or ignore it completely and always download full logs.

How to reproduce

Try to download logs when log level filter is selected.

Image

Operating System

Macos

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

breeze on latest main

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. aviralgarg05 commented on Feb 24, 2026

    @aviralgarg05
    Contributor

    I would like to solve this issue. Please assign me

  2. kacpermuda commented on Feb 24, 2026

    @kacpermuda
    CollaboratorAuthor

    Not sure if you need assignment, you can just submit the PR and mention this issue. (I can't assign you anyway, no permission, just FYI)

  3. Prajwal7842 commented on Mar 8, 2026

    @Prajwal7842
    Contributor

    @kacpermuda is this still an issue ? I am not able to reproduce this with latest main branch. Thank you

  4. kacpermuda commented on Mar 9, 2026

    @kacpermuda
    CollaboratorAuthor

    Hmm, can't reproduce that as well anymore. I do see the log lines in the downloaded files, but it looks like the logs are filtered out, but the empty lines stay there. Maybe that was the case from the beginning, and I just did not notice it.

    Image
  5. kacpermuda commented on Mar 9, 2026

    @kacpermuda
    CollaboratorAuthor

    We can resolve this issue, or we can use it to remove this empty lines from downloaded files, to match the UI behavior

  6. bennyc0de commented on Mar 24, 2026

    @bennyc0de
    Contributor

    I want to work on this issue and have been able to remove the empty lines in the downloaded log files with filters

  7. added 8 commits that reference this issue on Mar 24, 2026
    3eb21a9
    6437c9a
    617efb4
    f441f45
    7512402
    dfa517d
    912a059
    e4335a1
  8. added a commit that references this issue on Apr 2, 2026
    32ac564
  9. added 2 commits that reference this issue on Apr 2, 2026
    7717e13
    ecc993a
  10. added a commit that references this issue on Apr 6, 2026
    8e24972
  11. added 3 commits that reference this issue on Apr 8, 2026
    f67b341
    96bc061
    abbab2a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions