Skip to content

Fix logging in Airflow 3.1.6 #740

Closed
Closed

Description

@siegfriedweber

Airflow 3.1.6 does not log into log files anymore. Logging was switched from stdlib logging to structlog in Airflow 3.1.0 (apache/airflow#52651). Now it is not configurable anymore the same way as before.

The documentation of the log configuration is outdated and not valid anymore.

The doc is out of date, [...].

In Airflow 3 the mechanism to configure logging has changed, and things should be implemented as a structlog processor, and user control of the full logging config is not possible anymore. Sorry.

Yes this is a problem that needs addressing, [...]

apache/airflow#60384 (comment)

It seems that a patch for Airflow is required to get the logs working again. Changes could be necessary at the following places:

Tasks

Activity

  1. moved this to Development: In Progress in Stackable Engineeringon Feb 2, 2026
  2. moved this from Development: In Progress to Development: Track in Stackable Engineeringon Feb 2, 2026
  3. siegfriedweber commented on Feb 2, 2026

    @siegfriedweber
    MemberAuthor

    We decided in the daily meeting to postpone this issue for a bit and hope for a solution upstream.

  4. soenkeliebau commented on Feb 4, 2026

    @soenkeliebau
    Member

    Possible relevant upstream issue: apache/airflow#61175

    Also: apache/airflow#61257

  5. moved this from Development: Track to Development: In Progress in Stackable Engineeringon Mar 9, 2026
  6. changed the title [-]Fix logging in Airflow 3.1.5[/-] [+]Fix logging in Airflow 3.1.6[/+] on Mar 9, 2026
  7. moved this from Development: In Progress to Development: Waiting for Review in Stackable Engineeringon Mar 10, 2026
  8. moved this from Development: Waiting for Review to Development: In Review in Stackable Engineeringon Mar 11, 2026
  9. siegfriedweber commented on Mar 11, 2026

    @siegfriedweber
    MemberAuthor

    Release notes are not required because this is part of adding Airflow version 3.1.6.

  10. moved this from Development: In Review to Development: Done in Stackable Engineeringon Mar 11, 2026
  11. moved this from Development: Done to Done in Stackable Engineeringon Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions