79743792

Date: 2025-08-22 19:47:16
Score: 1.5
Natty:
Report link

Credits to https://github.com/apache/airflow/discussions/26979#discussioncomment-13765204

The trick is to add environment variables with the env: attribute

env:
  - name: AIRFLOW__LOGGING__REMOTE_LOGGING
    value: "True"
  - name: AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER
    value: "s3://<bucket-name"
  - name: AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID
    value: "minio"
  - name: AIRFLOW_CONN_MINIO
    value: |
      {
        "conn_type": "aws",
        "login": <username>,
        "password": <password>,
        "extra": {
          "region_name": <region>,
          "endpoint_url": <endpoint_url>
        }
      }

The connection is still not detected in UI or CLI (in line with what @Akshay said in the comments), but logging works for sure!

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Akshay
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: FayadC