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

ephraimanierobi pushed a commit to branch v2-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit e4d842bfbee979c9157c828e8ab97cd2662391cb
Author: Daniel Standish <[email protected]>
AuthorDate: Wed Oct 12 00:41:16 2022 -0700

    Reduce log level for k8s TCP_KEEPALIVE etc warnings (#26981)
    
    (cherry picked from commit 40d19b9ab89701126653d24d28e477e677f2ea97)
---
 airflow/kubernetes/kube_client.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/airflow/kubernetes/kube_client.py 
b/airflow/kubernetes/kube_client.py
index 0b8c095f1a..76f0b26f01 100644
--- a/airflow/kubernetes/kube_client.py
+++ b/airflow/kubernetes/kube_client.py
@@ -68,17 +68,17 @@ def _enable_tcp_keepalive() -> None:
     if hasattr(socket, "TCP_KEEPIDLE"):
         socket_options.append((socket.IPPROTO_TCP, socket.TCP_KEEPIDLE, 
tcp_keep_idle))
     else:
-        log.warning("Unable to set TCP_KEEPIDLE on this platform")
+        log.debug("Unable to set TCP_KEEPIDLE on this platform")
 
     if hasattr(socket, "TCP_KEEPINTVL"):
         socket_options.append((socket.IPPROTO_TCP, socket.TCP_KEEPINTVL, 
tcp_keep_intvl))
     else:
-        log.warning("Unable to set TCP_KEEPINTVL on this platform")
+        log.debug("Unable to set TCP_KEEPINTVL on this platform")
 
     if hasattr(socket, "TCP_KEEPCNT"):
         socket_options.append((socket.IPPROTO_TCP, socket.TCP_KEEPCNT, 
tcp_keep_cnt))
     else:
-        log.warning("Unable to set TCP_KEEPCNT on this platform")
+        log.debug("Unable to set TCP_KEEPCNT on this platform")
 
     HTTPSConnection.default_socket_options = 
HTTPSConnection.default_socket_options + socket_options
     HTTPConnection.default_socket_options = 
HTTPConnection.default_socket_options + socket_options

Reply via email to