Skip to content

Commit 6ec6070

Browse files
committed
logging to debg
1 parent 7475d34 commit 6ec6070

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

crates/hotshot/task-impls/src/quorum_proposal/handlers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ impl<TYPES: NodeType, V: Versions> ProposalDependencyHandle<TYPES, V> {
647647
signature,
648648
_pd: PhantomData,
649649
};
650-
tracing::info!(
650+
tracing::warn!(
651651
"Sending proposal for view {}, height {}, justify_qc view: {}",
652652
proposed_leaf.view_number(),
653653
proposed_leaf.height(),

crates/hotshot/task-impls/src/quorum_proposal_recv/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions>
149149
) {
150150
match event.as_ref() {
151151
HotShotEvent::QuorumProposalRecv(proposal, sender) => {
152-
tracing::debug!(
152+
tracing::warn!(
153153
"Quorum proposal recv for view {}",
154154
proposal.data.view_number()
155155
);

crates/hotshot/task-impls/src/quorum_vote/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions> QuorumVoteTaskS
672672
) -> Result<()> {
673673
match event.as_ref() {
674674
HotShotEvent::QuorumProposalValidated(proposal, _parent_leaf) => {
675-
tracing::trace!(
675+
tracing::warn!(
676676
"Received Proposal for view {}",
677677
*proposal.data.view_number()
678678
);
@@ -701,7 +701,7 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions> QuorumVoteTaskS
701701
HotShotEvent::DaCertificateRecv(cert) => {
702702
let view = cert.view_number;
703703

704-
tracing::trace!("Received DAC for view {view}");
704+
tracing::warn!("Received DAC for view {view}");
705705
// Do nothing if the DAC is old
706706
ensure!(
707707
view > self.latest_voted_view,
@@ -744,7 +744,7 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions> QuorumVoteTaskS
744744
HotShotEvent::VidShareRecv(sender, share) => {
745745
let view = share.data.view_number();
746746
// Do nothing if the VID share is old
747-
tracing::trace!("Received VID share for view {view}");
747+
tracing::warn!("Received VID share for view {view}");
748748
ensure!(
749749
view > self.latest_voted_view,
750750
"Received VID share for an older view."

0 commit comments

Comments
 (0)