Skip to content

Commit c529ec8

Browse files
committed
chore(autonomi): add more logging by default
1 parent 04ec14e commit c529ec8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

autonomi-cli/src/main.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,16 @@ async fn main() -> Result<()> {
4949

5050
fn init_logging_and_metrics(opt: &Opt) -> Result<(ReloadHandle, Option<WorkerGuard>)> {
5151
let logging_targets = vec![
52+
("autonomi-cli".to_string(), Level::TRACE),
53+
("autonomi".to_string(), Level::TRACE),
54+
("evmlib".to_string(), Level::TRACE),
55+
("sn_evm".to_string(), Level::TRACE),
5256
("sn_networking".to_string(), Level::INFO),
5357
("sn_build_info".to_string(), Level::TRACE),
54-
("autonomi-cli".to_string(), Level::TRACE),
5558
("sn_logging".to_string(), Level::TRACE),
5659
("sn_peers_acquisition".to_string(), Level::TRACE),
5760
("sn_protocol".to_string(), Level::TRACE),
5861
("sn_registers".to_string(), Level::TRACE),
59-
("sn_evm".to_string(), Level::TRACE),
6062
];
6163
let mut log_builder = LogBuilder::new(logging_targets);
6264
log_builder.output_dest(opt.log_output_dest.clone());

0 commit comments

Comments
 (0)