mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 16:21:06 +00:00
sc-informant: Respect --disable-log-color (#3009)
Changes `sc-informant` to respect the `--disable-log-color` CLI flag. Closes: https://github.com/paritytech/polkadot-sdk/issues/2795 --------- Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
This commit is contained in:
@@ -18,8 +18,11 @@
|
||||
|
||||
//! Service configuration.
|
||||
|
||||
use prometheus_endpoint::Registry;
|
||||
use sc_chain_spec::ChainSpec;
|
||||
pub use sc_client_db::{BlocksPruning, Database, DatabaseSource, PruningMode};
|
||||
pub use sc_executor::{WasmExecutionMethod, WasmtimeInstantiationStrategy};
|
||||
pub use sc_informant::OutputFormat;
|
||||
pub use sc_network::{
|
||||
config::{
|
||||
MultiaddrWithPeerId, NetworkConfiguration, NodeKeyConfig, NonDefaultSetConfig, ProtocolId,
|
||||
@@ -30,9 +33,6 @@ pub use sc_network::{
|
||||
},
|
||||
Multiaddr,
|
||||
};
|
||||
|
||||
use prometheus_endpoint::Registry;
|
||||
use sc_chain_spec::ChainSpec;
|
||||
pub use sc_telemetry::TelemetryEndpoints;
|
||||
pub use sc_transaction_pool::Options as TransactionPoolOptions;
|
||||
use sp_core::crypto::SecretString;
|
||||
@@ -134,7 +134,7 @@ pub struct Configuration {
|
||||
/// Base path of the configuration. This is shared between chains.
|
||||
pub base_path: BasePath,
|
||||
/// Configuration of the output format that the informant uses.
|
||||
pub informant_output_format: sc_informant::OutputFormat,
|
||||
pub informant_output_format: OutputFormat,
|
||||
/// Maximum number of different runtime versions that can be cached.
|
||||
pub runtime_cache_size: u8,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user