potiuk commented on code in PR #54449:
URL: https://github.com/apache/airflow/pull/54449#discussion_r2291334403


##########
airflow-core/src/airflow/cli/commands/triggerer_command.py:
##########
@@ -59,7 +59,10 @@ def triggerer_run(skip_serve_logs: bool, capacity: int, 
triggerer_heartrate: flo
 @providers_configuration_loaded
 def triggerer(args):
     """Start Airflow Triggerer."""
-    settings.MASK_SECRETS_IN_LOGS = True
+    from airflow.sdk._shared.secrets_masker import SecretsMasker
+
+    SecretsMasker.MASK_SECRETS_IN_LOGS = True

Review Comment:
   And likely maybe even retrieve it via method, not constant ? 



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to