Skip to content

Commit

Permalink
Add brief information to logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Aug 7, 2023
1 parent 3b0245e commit 08420f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/beacon-node/src/execution/engine/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 08420f6

Please sign in to comment.