From dd7d8c8484fad4c553593ecd65d76e001a20674a Mon Sep 17 00:00:00 2001 From: Tyler Rockwood Date: Wed, 12 Nov 2025 20:53:39 +0000 Subject: [PATCH] dev_cluster: remove prometheus/grafana logging This is just noise and not useful, if we really need it, it's in the log file. --- tools/dev_cluster.py | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/tools/dev_cluster.py b/tools/dev_cluster.py index 4562b24f6d74c..3d6cfa7ad26a3 100755 --- a/tools/dev_cluster.py +++ b/tools/dev_cluster.py @@ -240,17 +240,10 @@ async def run(self): self.process = await asyncio.create_subprocess_shell( cmd, - stdout=asyncio.subprocess.PIPE, - stderr=asyncio.subprocess.STDOUT, + stdout=asyncio.subprocess.DEVNULL, + stderr=asyncio.subprocess.DEVNULL, ) - while True: - line = await self.process.stdout.readline() - if not line: - break - line = line.decode("utf8").rstrip() - print(f"prometheus: {line}") - await self.process.wait() @@ -334,18 +327,11 @@ async def run(self): self.process = await asyncio.create_subprocess_shell( cmd, env=env, - stdout=asyncio.subprocess.PIPE, - stderr=asyncio.subprocess.STDOUT, + stdout=asyncio.subprocess.DEVNULL, + stderr=asyncio.subprocess.DEVNULL, cwd=grafana_home, ) - while True: - line = await self.process.stdout.readline() - if not line: - break - line = line.decode("utf8").rstrip() - print(f"grafana: {line}") - await self.process.wait()