Skip to content

Commit e85a9bc

Browse files
committed
refactor: 🔊 improve logs
1 parent 01d4cbc commit e85a9bc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

client/blockchain-service/src/handler_msp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ where
587587

588588
// Only distribute files to BSPs when explicitly enabled via configuration.
589589
if !self.config.enable_msp_distribute_files {
590-
trace!(target: LOG_TARGET, "MSP file distribution disabled by configuration. Skipping distribution scan.");
590+
debug!(target: LOG_TARGET, "MSP file distribution disabled by configuration. Skipping distribution scan.");
591591
return;
592592
}
593593

client/src/tasks/bsp_upload_file.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ where
446446
let is_allowed = self.is_allowed(&event).await?;
447447

448448
if !is_allowed {
449+
warn!(target: LOG_TARGET, "File with file key {:x} is in our exclude list. Skipping volunteer.", event.file_key);
449450
return Ok(());
450451
}
451452

0 commit comments

Comments
 (0)