From 8e93e281628a09d66cdc131cf31816de8a529bd9 Mon Sep 17 00:00:00 2001 From: Asher Date: Fri, 16 Oct 2020 12:31:22 -0500 Subject: [PATCH] Strip config file password from debug log --- src/node/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/cli.ts b/src/node/cli.ts index 7f44f9ea..a5757aa6 100644 --- a/src/node/cli.ts +++ b/src/node/cli.ts @@ -334,7 +334,7 @@ export const parse = ( throw new Error("--cert-key is missing") } - logger.debug("parsed command line", field("args", args)) + logger.debug(() => ["parsed command line", field("args", { ...args, password: undefined })]) return args }