mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 18:05:41 +00:00
Move tracing cli args to ImportParams (#4850)
This commit is contained in:
@@ -270,8 +270,7 @@ where
|
||||
/// 1. set the panic handler
|
||||
/// 2. raise the FD limit
|
||||
/// 3. initialize the logger
|
||||
pub fn init(shared_params: &SharedParams, version: &VersionInfo) -> error::Result<()>
|
||||
{
|
||||
pub fn init(shared_params: &SharedParams, version: &VersionInfo) -> error::Result<()> {
|
||||
let full_version = sc_service::config::full_version_from_strs(
|
||||
version.version,
|
||||
version.commit
|
||||
@@ -638,8 +637,8 @@ where
|
||||
config.telemetry_endpoints = Some(TelemetryEndpoints::new(cli.telemetry_endpoints));
|
||||
}
|
||||
|
||||
config.tracing_targets = cli.shared_params.tracing_targets.into();
|
||||
config.tracing_receiver = cli.shared_params.tracing_receiver.into();
|
||||
config.tracing_targets = cli.import_params.tracing_targets.into();
|
||||
config.tracing_receiver = cli.import_params.tracing_receiver.into();
|
||||
|
||||
// Imply forced authoring on --dev
|
||||
config.force_authoring = cli.shared_params.dev || cli.force_authoring;
|
||||
|
||||
Reference in New Issue
Block a user