Skip to content

Commit 99cb798

Browse files
committed
docs: added SDK_LOG_LEVEL to configuration.md
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
1 parent f50308f commit 99cb798

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

docs/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Unless you need to set a non-default value, it is recommended to only populate o
130130
| `SERVER_HOST` | undefined | The hostname or IP address on which the server listens for incoming connections. If `SERVER_HOST` is not configured or left undefined (same as `0.0.0.0`), it permits external connections by default, offering more flexibility. |
131131
| `SERVER_PORT` | "7546" | The RPC server port number to listen for requests on. Currently a static value defaulting to 7546. See [#955](https://github.com/hiero-ledger/hiero-json-rpc-relay/issues/955) |
132132
| `SERVER_REQUEST_TIMEOUT_MS` | "60000" | The time of inactivity allowed before a timeout is triggered and the socket is closed. See [NodeJs Server Timeout](https://nodejs.org/api/http.html#serversettimeoutmsecs-callback) |
133+
| `SDK_LOG_LEVEL` | "trace" | The logging level for the Hedera SDK, independent from the application's `LOG_LEVEL` setting. This allows fine-tuned debugging of SDK operations without affecting the main application logs. Valid values are `trace`, `debug`, `info`, `warn`, `error`, and `fatal`. |
133134

134135
## WS-Server
135136

packages/config-service/src/services/globalConfig.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,11 +368,6 @@ const _CONFIG = {
368368
required: false,
369369
defaultValue: 'trace',
370370
},
371-
SDK_LOG_LEVEL: {
372-
type: 'string',
373-
required: false,
374-
defaultValue: 'trace',
375-
},
376371
MAX_BLOCK_RANGE: {
377372
type: 'number',
378373
required: false,
@@ -564,6 +559,11 @@ const _CONFIG = {
564559
required: false,
565560
defaultValue: false,
566561
},
562+
SDK_LOG_LEVEL: {
563+
type: 'string',
564+
required: false,
565+
defaultValue: 'trace',
566+
},
567567
SDK_REQUEST_TIMEOUT: {
568568
type: 'number',
569569
required: false,

0 commit comments

Comments
 (0)