Skip to content

Commit 98b7d3d

Browse files
authored
Merge pull request #5014 from stacks-network/chore/move-signer-logs-to-info
Chore/move signer logs to info
2 parents 74b0a38 + 5996c4a commit 98b7d3d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

stacks-signer/src/runloop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ impl<Signer: SignerTrait<T>, T: StacksMessageCodec + Clone + Send + Debug> RunLo
366366
self.refresh_signer_config(next_reward_cycle);
367367
}
368368
} else {
369-
debug!("Received a new burnchain block height ({current_burn_block_height}) but not in prepare phase.";
369+
info!("Received a new burnchain block height ({current_burn_block_height}) but not in prepare phase.";
370370
"reward_cycle" => reward_cycle_info.reward_cycle,
371371
"reward_cycle_length" => reward_cycle_info.reward_cycle_length,
372372
"prepare_phase_block_length" => reward_cycle_info.prepare_phase_block_length,

stacks-signer/src/v0/signer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl SignerTrait<SignerMessage> for Signer {
153153
burn_header_hash,
154154
received_time,
155155
} => {
156-
debug!("{self}: Receved a new burn block event for block height {burn_height}");
156+
info!("{self}: Received a new burn block event for block height {burn_height}");
157157
if let Err(e) =
158158
self.signer_db
159159
.insert_burn_block(burn_header_hash, *burn_height, received_time)
@@ -287,7 +287,7 @@ impl Signer {
287287
return;
288288
}
289289

290-
debug!(
290+
info!(
291291
"{self}: received a block proposal for a new block. Submit block for validation. ";
292292
"signer_sighash" => %signer_signature_hash,
293293
"block_id" => %block_proposal.block.block_id(),
@@ -388,7 +388,7 @@ impl Signer {
388388

389389
/// Handle the block validate response returned from our prior calls to submit a block for validation
390390
fn handle_block_validate_response(&mut self, block_validate_response: &BlockValidateResponse) {
391-
debug!("{self}: Received a block validate response: {block_validate_response:?}");
391+
info!("{self}: Received a block validate response: {block_validate_response:?}");
392392
let (response, block_info) = match block_validate_response {
393393
BlockValidateResponse::Ok(block_validate_ok) => {
394394
crate::monitoring::increment_block_validation_responses(true);

stacks-signer/src/v1/signer.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ impl SignerTrait<SignerMessage> for Signer {
201201
};
202202
match event {
203203
SignerEvent::BlockValidationResponse(block_validate_response) => {
204-
debug!("{self}: Received a block proposal result from the stacks node...");
204+
info!("{self}: Received a block proposal result from the stacks node...");
205205
self.handle_block_validate_response(
206206
stacks_client,
207207
block_validate_response,
@@ -244,7 +244,7 @@ impl SignerTrait<SignerMessage> for Signer {
244244
burn_header_hash,
245245
received_time,
246246
} => {
247-
debug!("{self}: Receved a new burn block event for block height {burn_height}");
247+
info!("{self}: Received a new burn block event for block height {burn_height}");
248248
if let Err(e) =
249249
self.signer_db
250250
.insert_burn_block(burn_header_hash, *burn_height, received_time)
@@ -703,7 +703,7 @@ impl Signer {
703703
};
704704
self.handle_packets(stacks_client, res, &[packet], current_reward_cycle);
705705
}
706-
debug!(
706+
info!(
707707
"{self}: Received a block validate response";
708708
"block_hash" => block_info.block.header.block_hash(),
709709
"valid" => block_info.valid,
@@ -1130,7 +1130,7 @@ impl Signer {
11301130
match operation_result {
11311131
OperationResult::Sign(signature) => {
11321132
crate::monitoring::increment_operation_results("sign");
1133-
debug!("{self}: Received signature result");
1133+
info!("{self}: Received signature result");
11341134
self.process_signature(signature);
11351135
}
11361136
OperationResult::SignTaproot(_) => {

0 commit comments

Comments
 (0)