From 1d49b4f5c9d658ba2d0d59b8e53ed13a666a4a7e Mon Sep 17 00:00:00 2001 From: Mohammad Kermani Date: Sat, 29 Jun 2024 12:12:11 +0000 Subject: [PATCH] chore: disable debug logs --- tests/scaling-large-messages/src/node/node.ts | 5 ++++- tests/scaling-large-messages/src/relay/relay.ts | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/scaling-large-messages/src/node/node.ts b/tests/scaling-large-messages/src/node/node.ts index acb4bc0..c4433d0 100644 --- a/tests/scaling-large-messages/src/node/node.ts +++ b/tests/scaling-large-messages/src/node/node.ts @@ -1,7 +1,10 @@ import { createRoseNetNode } from '@rosen-bridge/rosenet-node'; const node = await createRoseNetNode({ - logger: console, + logger: { + ...console, + debug: () => {}, + }, relayMultiaddrs: [process.env.RELAY_MULTIADDR!], privateKey: process.env.PRIVATE_KEY!, debug: { diff --git a/tests/scaling-large-messages/src/relay/relay.ts b/tests/scaling-large-messages/src/relay/relay.ts index 33e599b..6033fb2 100644 --- a/tests/scaling-large-messages/src/relay/relay.ts +++ b/tests/scaling-large-messages/src/relay/relay.ts @@ -1,7 +1,10 @@ import { createRoseNetRelay } from '@rosen-bridge/rosenet-relay'; const node = await createRoseNetRelay({ - logger: console, + logger: { + ...console, + debug: () => {}, + }, privateKey: process.env.PRIVATE_KEY!, listen: { host: '0.0.0.0',