Skip to content

Commit 38fc143

Browse files
authored
feat: display request payload in log level INFO (#3952)
Signed-off-by: Luis Mastrangelo <luis@swirldslabs.com>
1 parent de807a9 commit 38fc143

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/relay/src/lib/dispatcher/rpcMethodDispatcher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ export class RpcMethodDispatcher {
9797
const methodParamSchemas = operationHandler[RPC_PARAM_VALIDATION_RULES_KEY];
9898

9999
if (methodParamSchemas) {
100-
if (this.logger.isLevelEnabled('debug')) {
101-
this.logger.debug(
100+
if (this.logger.isLevelEnabled('info')) {
101+
this.logger.info(
102102
`${
103103
requestDetails.formattedRequestId
104104
} Validating method parameters for ${rpcMethodName}, params: ${JSON.stringify(rpcMethodParams)}`,

0 commit comments

Comments
 (0)