-
Notifications
You must be signed in to change notification settings - Fork 984
Replace log
with tracing
on Bridge-related modules
#9279
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
base: master
Are you sure you want to change the base?
Conversation
log
with tracing
on Bridge-related modules
All GitHub workflows were cancelled due to failure one of the required jobs. |
bridges/modules/beefy/src/utils.rs
Outdated
authority, | ||
sig, | ||
?sig, | ||
"Signed commitment contains incorrect signature of validator {idx} ({authority:?})" |
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 propose to make also {idx}
and ({authority:?}
a structured params
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.
Changed
# Conflicts: # bridges/modules/grandpa/src/call_ext.rs # bridges/modules/grandpa/src/lib.rs
# Conflicts: # bridges/modules/messages/src/lib.rs # bridges/modules/messages/src/migration.rs # bridges/modules/messages/src/outbound_lane.rs
# Conflicts: # bridges/modules/parachains/src/call_ext.rs # bridges/modules/parachains/src/lib.rs
This PR replaces
log
withtracing
instrumentation in Bridge-related modules by providing structured logging.Partially addresses #9211
Similar to #8732
Key Features
bridge::*
log targets?variable
/%variable
syntax for automaticDebug
/Display
formatting