-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Logs polish #543
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
feat: Logs polish #543
Conversation
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
23105bf to
0382f6a
Compare
Code Review: Logs PolishOverviewThis PR improves logging consistency, readability, and performance measurement across the codebase. The changes are well-structured and follow the project's conventions outlined in CLAUDE.md. ✅ Strengths1. Logging Standardization
2. Log Formatting Improvements
3. Duration FormattingThe new Duration.formatted() extension is well-designed:
4. Peer Connection String Parsing Fix ⭐
5. Fallback Peer Connection Logic
6. JSON Log Type Field Fix
🔍 Issues & Recommendations1. Thread Safety in verifyTrustedPeersOrFallback()
|
ben-kaufman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utAck
Description
0.0.17(code 17)LightningRepologs using camelCase function names (e.g.,sync,connectToTrustedPeers,payInvoice)%-36sfor location)measured()function, removingwithPerformanceLoggingLogger.performance()toLogger.perf()for brevityhost:portandnodeId@host:portformatsPreview
QA Notes
./gradlew testDevDebugUnitTest --tests PeerDetailsTestto verify tests passWakeNodeWorkerlogs show properly formatted performance timing