From 3205a835f6bfa1cea4415dc8a95888ac7dade181 Mon Sep 17 00:00:00 2001 From: Adam King Date: Thu, 14 Oct 2021 14:56:51 -0400 Subject: [PATCH] cephadm: do not log commands sent to "call" function They could potentially log sensitive info such as registry login passwords Signed-off-by: Adam King --- src/cephadm/cephadm | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index ed392bd187d7..28e5b9d58db1 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -1413,8 +1413,6 @@ def call(ctx: CephadmContext, prefix += ': ' timeout = timeout or ctx.timeout - logger.debug('Running command: %s' % ' '.join(command)) - async def tee(reader: asyncio.StreamReader) -> str: collected = StringIO() async for line in reader: -- 2.47.3