@@ -28,8 +28,8 @@ use primitives::v1::{
2828 CandidateReceipt , HeadData , CandidateHash , Hash ,
2929} ;
3030use frame_support:: {
31- decl_storage, decl_module, decl_error, decl_event, ensure, debug ,
32- dispatch :: DispatchResult , IterableStorageMap , weights:: Weight , traits:: Get ,
31+ decl_storage, decl_module, decl_error, decl_event, ensure, dispatch :: DispatchResult , IterableStorageMap ,
32+ weights:: Weight , traits:: Get ,
3333} ;
3434use parity_scale_codec:: { Encode , Decode } ;
3535use bitvec:: { order:: Lsb0 as BitOrderLsb0 , vec:: BitVec } ;
@@ -213,7 +213,7 @@ decl_module! {
213213 }
214214}
215215
216- const LOG_TARGET : & str = "parachains_runtime_inclusion " ;
216+ const LOG_TARGET : & str = "runtime::inclusion " ;
217217
218218impl < T : Config > Module < T > {
219219 /// Block initialization logic, called by initializer.
@@ -343,11 +343,11 @@ impl<T: Config> Module<T> {
343343 let commitments = match PendingAvailabilityCommitments :: take ( & para_id) {
344344 Some ( commitments) => commitments,
345345 None => {
346- debug :: warn!( r#"
347- Inclusion::process_bitfields:
348- PendingAvailability and PendingAvailabilityCommitments
349- are out of sync, did someone mess with the storage?
350- "# ) ;
346+ log :: warn!(
347+ target : LOG_TARGET ,
348+ "Inclusion::process_bitfields: PendingAvailability and PendingAvailabilityCommitments
349+ are out of sync, did someone mess with the storage?" ,
350+ ) ;
351351 continue ;
352352 }
353353 } ;
@@ -460,7 +460,6 @@ impl<T: Config> Module<T> {
460460 & candidate. candidate . commitments . horizontal_messages ,
461461 )
462462 {
463- frame_support:: debug:: RuntimeLogger :: init ( ) ;
464463 log:: debug!(
465464 target: LOG_TARGET ,
466465 "Validation outputs checking during inclusion of a candidate {} for parachain `{}` failed: {:?}" ,
@@ -631,7 +630,6 @@ impl<T: Config> Module<T> {
631630 T :: BlockNumber :: from ( validation_outputs. hrmp_watermark ) ,
632631 & validation_outputs. horizontal_messages ,
633632 ) {
634- frame_support:: debug:: RuntimeLogger :: init ( ) ;
635633 log:: debug!(
636634 target: LOG_TARGET ,
637635 "Validation outputs checking for parachain `{}` failed: {:?}" ,
0 commit comments