Skip to content

Commit dd1c98a

Browse files
committed
remove stderrlog
1 parent f7e11d3 commit dd1c98a

File tree

5 files changed

+20
-21
lines changed

5 files changed

+20
-21
lines changed

Cargo.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

catalyst-toolbox/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ regex = "1.5"
4545
serde = "1.0"
4646
serde_json = "1.0"
4747
structopt = "0.3"
48-
stderrlog = "0.5"
4948
serde_yaml = "0.8.17"
5049
sscanf = "0.1"
5150
thiserror = "1.0"
@@ -59,6 +58,7 @@ symmetric-cipher = { git = "https://github.com/input-output-hk/chain-wallet-libs
5958
graphql_client = "0.10"
6059
gag = "1"
6160
vit-servicing-station-lib = { git = "https://github.com/input-output-hk/vit-servicing-station.git", branch = "master" }
61+
env_logger = "0.9"
6262

6363
[dev-dependencies]
6464
rand_chacha = "0.3"

catalyst-toolbox/src/bin/catalyst-toolbox.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use structopt::StructOpt as _;
55
pub mod cli;
66

77
fn main() {
8+
env_logger::init();
89
cli::Cli::from_args().exec().unwrap_or_else(report_error)
910
}
1011

catalyst-toolbox/src/bin/cli/recovery/tally.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ impl ReplayCli {
8989
output_format,
9090
verbose,
9191
} = self;
92-
stderrlog::new().verbosity(verbose).init().unwrap();
9392

9493
let block0 = if let Some(path) = block0_path {
9594
read_block0(path)?

catalyst-toolbox/src/bin/cli/recovery/votes.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ impl VotesPrintout {
102102
verbose,
103103
} = self;
104104

105-
stderrlog::new().verbosity(verbose).init().unwrap();
106105
let reader = std::fs::File::open(block0_path)?;
107106
let block0 = Block::deserialize(&mut Codec::new(reader)).unwrap();
108107

0 commit comments

Comments
 (0)