You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by mo...@apache.org on 2024/08/22 09:19:45 UTC

(airflow) branch main updated: Set better logging level for path wrapper (#41615)

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

mobuchowski 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 c1e4e4583b Set better logging level for path wrapper (#41615)
c1e4e4583b is described below

commit c1e4e4583ba1d94b71efd950eccc33e0f91c5ab0
Author: Computer Network Investigation <12...@users.noreply.github.com>
AuthorDate: Thu Aug 22 11:19:38 2024 +0200

    Set better logging level for path wrapper (#41615)
---
 airflow/io/path.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/io/path.py b/airflow/io/path.py
index 7c8d1f9f19..c6d9255f91 100644
--- a/airflow/io/path.py
+++ b/airflow/io/path.py
@@ -54,7 +54,7 @@ class TrackingFileWrapper(LoggingMixin):
         if callable(attr):
             # If the attribute is a method, wrap it in another method to intercept the call
             def wrapper(*args, **kwargs):
-                self.log.error("Calling method: %s", name)
+                self.log.debug("Calling method: %s", name)
                 if name == "read":
                     get_hook_lineage_collector().add_input_dataset(context=self._path, uri=str(self._path))
                 elif name == "write":