You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by vi...@apache.org on 2026/02/25 16:15:31 UTC

(airflow) branch main updated: fix S3RemoteLogIO using incorrect transfer config (#62423)

This is an automated email from the ASF dual-hosted git repository.

vincbeck pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2990d77f1c1 fix S3RemoteLogIO using incorrect transfer config (#62423)
2990d77f1c1 is described below

commit 2990d77f1c186ae690678f7248d85ed8ad57ecb2
Author: stephen-bracken <18...@users.noreply.github.com>
AuthorDate: Wed Feb 25 16:15:22 2026 +0000

    fix S3RemoteLogIO using incorrect transfer config (#62423)
---
 .../amazon/src/airflow/providers/amazon/aws/log/s3_task_handler.py      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/providers/amazon/src/airflow/providers/amazon/aws/log/s3_task_handler.py b/providers/amazon/src/airflow/providers/amazon/aws/log/s3_task_handler.py
index 2a1fe22c5d1..15ffaf2b280 100644
--- a/providers/amazon/src/airflow/providers/amazon/aws/log/s3_task_handler.py
+++ b/providers/amazon/src/airflow/providers/amazon/aws/log/s3_task_handler.py
@@ -68,7 +68,7 @@ class S3RemoteLogIO(LoggingMixin):  # noqa: D101
         """Returns S3Hook."""
         return S3Hook(
             aws_conn_id=conf.get("logging", "REMOTE_LOG_CONN_ID"),
-            transfer_config_args={"use_threads": False},
+            transfer_config_args={"use_threads": False, "preferred_transfer_client": "classic"},
         )
 
     def s3_log_exists(self, remote_log_location: str) -> bool: