Skip to content

Commit

Permalink
move logging setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kpinter-iohk committed Dec 16, 2024
1 parent 462f22b commit f4c61a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion node/node/src/command/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ pub fn run() -> sc_cli::Result<()> {
match &cli.subcommand {
Some(Subcommand::Key(cmd)) => cmd.run(&cli),
Some(Subcommand::PartnerChains(cmd)) => {
partner_chains_node_commands::setup_log4rs()?;
let make_dependencies = |config| {
let components = service::new_partial(&config)?;
Ok((
Expand Down
5 changes: 4 additions & 1 deletion toolkit/cli/node-commands/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,10 @@ where
})
},
PartnerChainsSubcommand::RegistrationSignatures(cmd) => Ok(println!("{}", cmd.execute())),
PartnerChainsSubcommand::SmartContracts(cmd) => Ok(cmd.execute_blocking()?),
PartnerChainsSubcommand::SmartContracts(cmd) => {
crate::setup_log4rs()?;
Ok(cmd.execute_blocking()?)
},
}
}

Expand Down

0 comments on commit f4c61a0

Please sign in to comment.