From c9c48c25a8d38b79c0288863452923f941bba53c 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 (cherry picked from commit 3205a835f6bfa1cea4415dc8a95888ac7dade181) --- src/cephadm/cephadm | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 13b19a57308b0..866babf92b7c2 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -1415,8 +1415,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.39.5