-
Notifications
You must be signed in to change notification settings - Fork 138
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
Adds some goc-december logging #577
Conversation
// TODO: refactor this out test (-v) verbose flag needed to see output! | ||
func ProviderAppIniterWithLog() (ibctesting.TestingApp, map[string]json.RawMessage) { | ||
l := log.TestingLogger() | ||
l = log.NewFilter(l, |
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.
What does this line do?
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.
The log has a feature where you add filter k/v pairs, and only lines includes those pairs are shown. By doing this, and specifying module", "x/ibc-provider
it filters out all the sdk logging (during tests only!)
This is an MVP for improved logging intended for goc-december. Further polish will be needed before adapting the contents of this PR for main/
Partially tackles
The difftest change let me test out the log statements by using the diff test execution paths but with the actual testing part disabled.