From 65d84c2f40a5cc70a54e83822b334f664c2d4821 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Mon, 7 Aug 2023 11:33:52 +0200 Subject: [PATCH] Add brief information to logging --- packages/beacon-node/src/execution/engine/http.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/beacon-node/src/execution/engine/http.ts b/packages/beacon-node/src/execution/engine/http.ts index 5fd0f019db3a..a2fc6ebb334d 100644 --- a/packages/beacon-node/src/execution/engine/http.ts +++ b/packages/beacon-node/src/execution/engine/http.ts @@ -423,19 +423,19 @@ export class ExecutionEngineHttp implements IExecutionEngine { switch (newState) { case ExecutionEngineState.ONLINE: - this.logger.info("Execution client became online"); + this.logger.info("Execution client became online", {oldState, newState}); break; case ExecutionEngineState.OFFLINE: - this.logger.error("Execution client went offline"); + this.logger.error("Execution client went offline", {oldState, newState}); break; case ExecutionEngineState.SYNCED: - this.logger.info("Execution client is synced"); + this.logger.info("Execution client is synced", {oldState, newState}); break; case ExecutionEngineState.SYNCING: - this.logger.warn("Execution client is syncing"); + this.logger.warn("Execution client is syncing", {oldState, newState}); break; case ExecutionEngineState.AUTH_FAILED: - this.logger.error("Execution client authentication failed"); + this.logger.error("Execution client authentication failed", {oldState, newState}); break; }