Companion for Substrate#7795 (#2180)

* Companion for Substrate#7795

https://github.com/paritytech/substrate/pull/7795

* Fix missing test

* "Update Substrate"

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2020-12-30 00:39:17 +01:00
committed by GitHub
parent 646376e654
commit b24159722e
5 changed files with 165 additions and 143 deletions
+9 -1
View File
@@ -252,7 +252,15 @@ pub fn run() -> Result<()> {
})
},
Some(Subcommand::ValidationWorker(cmd)) => {
let _ = sc_cli::init_logger("", sc_tracing::TracingReceiver::Log, None, false);
let _ = sc_cli::init_logger(
sc_cli::InitLoggerParams {
pattern: "".into(),
tracing_receiver: Default::default(),
tracing_targets: None,
disable_log_reloading: false,
disable_log_color: true,
},
);
if cfg!(feature = "browser") || cfg!(target_os = "android") {
Err(sc_cli::Error::Input("Cannot run validation worker in browser".into()))