You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/09/11 11:20:03 UTC

[airflow] branch main updated: Set loglevel=DEBUG in 'Not syncing DAG-level permissions' (#34268)

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

potiuk 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 8035aee8da Set loglevel=DEBUG in 'Not syncing DAG-level permissions' (#34268)
8035aee8da is described below

commit 8035aee8da3c4bb7b9c01cfdc7236ca01d658bae
Author: Carlos Sánchez Páez <ca...@feverup.com>
AuthorDate: Mon Sep 11 13:19:51 2023 +0200

    Set loglevel=DEBUG in 'Not syncing DAG-level permissions' (#34268)
---
 airflow/www/security.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow/www/security.py b/airflow/www/security.py
index d7ccea66de..0a8d6cbf1e 100644
--- a/airflow/www/security.py
+++ b/airflow/www/security.py
@@ -681,10 +681,10 @@ class AirflowSecurityManager(SecurityManagerOverride, SecurityManager, LoggingMi
             self.create_permission(dag_action_name, dag_resource_name)
 
         if access_control is not None:
-            self.log.info("Syncing DAG-level permissions for DAG '%s'", dag_resource_name)
+            self.log.debug("Syncing DAG-level permissions for DAG '%s'", dag_resource_name)
             self._sync_dag_view_permissions(dag_resource_name, access_control)
         else:
-            self.log.info(
+            self.log.debug(
                 "Not syncing DAG-level permissions for DAG '%s' as access control is unset.",
                 dag_resource_name,
             )