mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-19 12:56:12 +00:00
Replace tracing::debug! with debug! same for other levels (#8300)
Just visual clean-up, making logging statements look uniform. There's no reason to use `tracing::debug` instead of `debug`. If we ever need to migrate our logging lib in the future it would make things easier too. Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com> Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com> Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>
This commit is contained in:
@@ -18,7 +18,7 @@ use std::collections::{BTreeMap, HashSet, btree_map::Entry};
|
||||
use std::hash::{Hash, Hasher};
|
||||
use std::marker::PhantomData;
|
||||
use strum::IntoStaticStr;
|
||||
use tracing::{Span, debug, instrument, warn};
|
||||
use tracing::{Span, debug, error, instrument, warn};
|
||||
use types::{ColumnIndex, Epoch, EthSpec, Hash256, Slot};
|
||||
|
||||
/// Blocks are downloaded in batches from peers. This constant specifies how many epochs worth of
|
||||
@@ -942,10 +942,10 @@ impl<T: BeaconChainTypes> SyncingChain<T> {
|
||||
}
|
||||
}
|
||||
CouplingError::BlobPeerFailure(msg) => {
|
||||
tracing::debug!(?batch_id, msg, "Blob peer failure");
|
||||
debug!(?batch_id, msg, "Blob peer failure");
|
||||
}
|
||||
CouplingError::InternalError(msg) => {
|
||||
tracing::error!(?batch_id, msg, "Block components coupling internal error");
|
||||
error!(?batch_id, msg, "Block components coupling internal error");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user