mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
observability: tracing gum, automatically cross ref traceID (#5079)
* add some gum * bump expander * gum * fix all remaining issues * last fixup * Update node/gum/proc-macro/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * change * netowrk * fixins * chore * allow optional fmt str + args, prep for expr as kv field * tracing -> gum rename fallout * restrict further * allow multiple levels of field accesses * another round of docs and a slip of the pen * update ADR * fixup lock fiel * use target: instead of target= * minors * fix * chore * Update node/gum/README.md Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
fa359fd1f7
commit
d631f1dea8
@@ -36,6 +36,7 @@ mod tests;
|
||||
use {
|
||||
beefy_gadget::notification::{BeefyBestBlockSender, BeefySignedCommitmentSender},
|
||||
grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider},
|
||||
gum::info,
|
||||
polkadot_node_core_approval_voting::Config as ApprovalVotingConfig,
|
||||
polkadot_node_core_av_store::Config as AvailabilityConfig,
|
||||
polkadot_node_core_av_store::Error as AvailabilityError,
|
||||
@@ -47,7 +48,6 @@ use {
|
||||
polkadot_overseer::BlockInfo,
|
||||
sc_client_api::{BlockBackend, ExecutorProvider},
|
||||
sp_trie::PrefixedMemoryDB,
|
||||
tracing::info,
|
||||
};
|
||||
|
||||
pub use sp_core::traits::SpawnNamed;
|
||||
@@ -975,7 +975,7 @@ where
|
||||
};
|
||||
|
||||
if local_keystore.is_none() {
|
||||
tracing::info!("Cannot run as validator without local keystore.");
|
||||
gum::info!("Cannot run as validator without local keystore.");
|
||||
}
|
||||
|
||||
let maybe_params =
|
||||
@@ -1011,7 +1011,7 @@ where
|
||||
},
|
||||
)
|
||||
.map_err(|e| {
|
||||
tracing::error!("Failed to init overseer: {}", e);
|
||||
gum::error!("Failed to init overseer: {}", e);
|
||||
e
|
||||
})?;
|
||||
let handle = Handle::new(overseer_handle.clone());
|
||||
|
||||
Reference in New Issue
Block a user