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


##########
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:
   Tried to handle in 1029e1c8076455a3ddb82b304b079b65eedbcce9 && 
011f359bebd5018fbc16f48afe4704f9b8c8ef2f, WDYT? This is cleaner, thanks!



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