-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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: debug log gRPC queries #19049
feat: debug log gRPC queries #19049
Changes from 1 commit
8b3db7c
f6a0135
e82a084
8e56944
69590db
fde2d27
cf94348
50120cd
1c00bb7
20e1822
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -248,7 +248,7 @@ func NewSimApp( | |
} | ||
baseAppOptions = append(baseAppOptions, voteExtOp, baseapp.SetOptimisticExecution()) | ||
|
||
bApp := baseapp.NewBaseApp(appName, logger, db, txConfig.TxDecoder(), baseAppOptions...) | ||
bApp := baseapp.NewBaseApp(appName, logger.With(log.ModuleKey, "baseapp"), db, txConfig.TxDecoder(), baseAppOptions...) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tip Codebase Verification The verification process has identified that the logger with the module key "baseapp" is used in Analysis chainThe Scripts ExecutedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Verify that the logger with the module key "baseapp" is used consistently across the application.
ast-grep --lang go --pattern $'logger.With("ModuleKey", "baseapp")'
Length of output: 68 Script: #!/bin/bash
# Search for any usage of logger.With with any string literal as the module key to check for "baseapp" usage.
ast-grep --lang go --pattern $'logger.With($_, "baseapp")'
Length of output: 332 |
||
bApp.SetCommitMultiStoreTracer(traceStore) | ||
bApp.SetVersion(version.Version) | ||
bApp.SetInterfaceRegistry(interfaceRegistry) | ||
|
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.
I would do it automatically in
NewBaseApp
itself