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

turaga 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 74af16ffaba Print debug mode warning to stderr to avoid polluting 
stdout JSON output (#61302)
74af16ffaba is described below

commit 74af16ffaba33b182a1a5cf7be2b64126fbdd8d6
Author: Dheeraj Turaga <[email protected]>
AuthorDate: Mon Feb 2 13:20:06 2026 -0600

    Print debug mode warning to stderr to avoid polluting stdout JSON output 
(#61302)
---
 airflow-ctl/src/airflowctl/ctl/cli_config.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/airflow-ctl/src/airflowctl/ctl/cli_config.py 
b/airflow-ctl/src/airflowctl/ctl/cli_config.py
index bef60cc4cf8..3f30589eeed 100644
--- a/airflow-ctl/src/airflowctl/ctl/cli_config.py
+++ b/airflow-ctl/src/airflowctl/ctl/cli_config.py
@@ -70,7 +70,8 @@ def safe_call_command(function: Callable, args: 
Iterable[Arg]) -> None:
     if os.getenv("AIRFLOW_CLI_DEBUG_MODE") == "true":
         rich.print(
             "[yellow]Debug mode is enabled. Please be aware that your 
credentials are not secure.\n"
-            "Please unset AIRFLOW_CLI_DEBUG_MODE or set it to false.[/yellow]"
+            "Please unset AIRFLOW_CLI_DEBUG_MODE or set it to false.[/yellow]",
+            file=sys.stderr,
         )
 
     try:

Reply via email to