You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/04 16:37:20 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #13458: Log migrations info in consistent way

kaxil commented on a change in pull request #13458:
URL: https://github.com/apache/airflow/pull/13458#discussion_r551428909



##########
File path: airflow/migrations/versions/2c6edca13270_resource_based_permissions.py
##########
@@ -307,7 +309,10 @@ def remap_permissions():
 
 def upgrade():
     """Apply Resource based permissions."""
+    log = logging.getLogger()
+    handlers = log.handlers[:]

Review comment:
       ```suggestion
       handlers = log.handlers
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org