mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +00:00
prefix parachain log targets with parachain:: (#2600)
* prefix parachain log targets with parachain:: * even more consistent
This commit is contained in:
@@ -75,7 +75,7 @@ mod persisted_entries;
|
||||
mod tests;
|
||||
|
||||
const APPROVAL_SESSIONS: SessionIndex = 6;
|
||||
const LOG_TARGET: &str = "approval_voting";
|
||||
const LOG_TARGET: &str = "parachain::approval-voting";
|
||||
|
||||
/// Configuration for the approval voting subsystem
|
||||
pub struct Config {
|
||||
|
||||
@@ -49,7 +49,7 @@ use bitvec::{vec::BitVec, order::Lsb0 as BitOrderLsb0};
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
const LOG_TARGET: &str = "availability";
|
||||
const LOG_TARGET: &str = "parachain::availability";
|
||||
|
||||
mod columns {
|
||||
pub const DATA: u32 = 0;
|
||||
|
||||
@@ -66,7 +66,7 @@ use statement_table::{
|
||||
};
|
||||
use thiserror::Error;
|
||||
|
||||
const LOG_TARGET: &str = "candidate_backing";
|
||||
const LOG_TARGET: &str = "parachain::candidate-backing";
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
enum Error {
|
||||
|
||||
@@ -39,7 +39,7 @@ use wasm_timer::{Delay, Instant};
|
||||
|
||||
/// Delay between starting a bitfield signing job and its attempting to create a bitfield.
|
||||
const JOB_DELAY: Duration = Duration::from_millis(1500);
|
||||
const LOG_TARGET: &str = "bitfield_signing";
|
||||
const LOG_TARGET: &str = "parachain::bitfield-signing";
|
||||
|
||||
/// Each `BitfieldSigningJob` prepares a signed bitfield for a single relay parent.
|
||||
pub struct BitfieldSigningJob;
|
||||
|
||||
@@ -43,7 +43,7 @@ use polkadot_node_primitives::SignedFullStatement;
|
||||
use std::{pin::Pin, sync::Arc};
|
||||
use thiserror::Error;
|
||||
|
||||
const LOG_TARGET: &'static str = "candidate_selection";
|
||||
const LOG_TARGET: &'static str = "parachain::candidate-selection";
|
||||
|
||||
struct CandidateSelectionJob {
|
||||
assignment: ParaId,
|
||||
|
||||
@@ -51,7 +51,7 @@ use futures::prelude::*;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
const LOG_TARGET: &'static str = "candidate_validation";
|
||||
const LOG_TARGET: &'static str = "parachain::candidate-validation";
|
||||
|
||||
/// The candidate validation subsystem.
|
||||
pub struct CandidateValidationSubsystem<S> {
|
||||
|
||||
@@ -44,7 +44,7 @@ use std::sync::Arc;
|
||||
|
||||
use futures::prelude::*;
|
||||
|
||||
const LOG_TARGET: &str = "chain_api";
|
||||
const LOG_TARGET: &str = "parachain::chain-api";
|
||||
|
||||
/// The Chain API Subsystem implementation.
|
||||
pub struct ChainApiSubsystem<Client> {
|
||||
|
||||
@@ -46,7 +46,7 @@ use futures_timer::Delay;
|
||||
/// How long to wait before proposing.
|
||||
const PRE_PROPOSE_TIMEOUT: std::time::Duration = core::time::Duration::from_millis(2000);
|
||||
|
||||
const LOG_TARGET: &str = "provisioner";
|
||||
const LOG_TARGET: &str = "parachain::provisioner";
|
||||
|
||||
enum InherentAfter {
|
||||
Ready,
|
||||
|
||||
@@ -43,7 +43,7 @@ use cache::{RequestResult, RequestResultCache};
|
||||
|
||||
mod cache;
|
||||
|
||||
const LOG_TARGET: &str = "runtime_api";
|
||||
const LOG_TARGET: &str = "parachain::runtime-api";
|
||||
|
||||
/// The number of maximum runtime api requests can be executed in parallel. Further requests will be buffered.
|
||||
const MAX_PARALLEL_REQUESTS: usize = 4;
|
||||
|
||||
Reference in New Issue
Block a user