From: Adam King Date: Thu, 14 Oct 2021 18:56:51 +0000 (-0400) Subject: cephadm: do not log commands sent to "call" function X-Git-Tag: v17.1.0~642^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3205a835f6bfa1cea4415dc8a95888ac7dade181;p=ceph-ci.git 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 --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index ed392bd187d..28e5b9d58db 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: