Skip to content

Commit

Permalink
fix(relayer): Lower log severity on listener SIGKILL (#1780)
Browse files Browse the repository at this point in the history
This is normal behaviour but it's interesting to know if the parent
does not register that the child exits, so continue to log on SIGKILL
but at a lower log severity.
  • Loading branch information
pxrl authored Aug 23, 2024
1 parent a598bd1 commit a4ef934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/SpokePoolClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class IndexedSpokePoolClient extends clients.SpokePoolClient {
return;
}

this.logger.warn({
this.logger[signal === "SIGKILL" ? "debug" : "warn"]({
at: "SpokePoolClient#childExit",
message: `${this.chain} SpokePool listener exited.`,
code,
Expand Down

0 comments on commit a4ef934

Please sign in to comment.