diff --git a/yarn-project/aztec/src/cli/cmds/start_p2p_bootstrap.ts b/yarn-project/aztec/src/cli/cmds/start_p2p_bootstrap.ts index 8c51fc454d86..a943e27ee51b 100644 --- a/yarn-project/aztec/src/cli/cmds/start_p2p_bootstrap.ts +++ b/yarn-project/aztec/src/cli/cmds/start_p2p_bootstrap.ts @@ -17,7 +17,8 @@ export async function startP2PBootstrap( ) { // Start a P2P bootstrap node. const config = extractRelevantOptions(options, bootnodeConfigMappings, 'p2p'); - userLog(`Starting P2P bootstrap node with config: ${jsonStringify(config)}`); + const safeConfig = { ...config, peerIdPrivateKey: '' }; + userLog(`Starting P2P bootstrap node with config: ${jsonStringify(safeConfig)}`); const telemetryClient = initTelemetryClient(getTelemetryClientConfig()); const store = await createStore('p2p-bootstrap', 1, config, createLogger('p2p:bootstrap:store')); const node = new BootstrapNode(store, telemetryClient);