-
Notifications
You must be signed in to change notification settings - Fork 90
feat: add configurable SDK_LOG_LEVEL for enhanced SDK logging #4578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
quiet-node
merged 6 commits into
main
from
4576-implement-enhanced-sdk-logging-to-debug-consensus-node-timeouts-on-mainnet
Nov 12, 2025
Merged
feat: add configurable SDK_LOG_LEVEL for enhanced SDK logging #4578
quiet-node
merged 6 commits into
main
from
4576-implement-enhanced-sdk-logging-to-debug-consensus-node-timeouts-on-mainnet
Nov 12, 2025
+162
−20
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 tasks
natanasow
previously approved these changes
Nov 7, 2025
99cb798 to
bb51163
Compare
quiet-node
commented
Nov 11, 2025
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
f52e36b to
a352dd5
Compare
natanasow
approved these changes
Nov 12, 2025
simzzz
approved these changes
Nov 12, 2025
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #4578 +/- ##
=======================================
Coverage 95.41% 95.42%
=======================================
Files 128 128
Lines 20668 20680 +12
Branches 1760 1762 +2
=======================================
+ Hits 19721 19733 +12
Misses 928 928
Partials 19 19
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
quiet-node
added a commit
that referenced
this pull request
Nov 18, 2025
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces configurable SDK logging to help debug consensus node timeouts on mainnet. It adds a new
SDK_LOG_LEVELenvironment variable that allows independent control of the Hedera SDK's logging level, separate from the global application log level. This enables fine-tuned debugging of SDK operations without flooding the main application logs.The implementation creates a child logger from the global logger that inherits parent properties while using the SDK-specific log level configuration.
Log Volume Impact
Additional logs per
eth_sendRawTransactiontransaction:debugtraceRelated issue(s)
Fixes #4576
Testing Guide
SDK_LOG_LEVELenvironment variable to different levels (trace, debug, info, warn, error)"name": "sdk-client"for easy identificationLOG_LEVELsetting independentlySDK Logger Configurationto verify all test cases passChanges from original design (optional)
N/A
Additional work needed (optional)
N/A
Checklist