diff --git a/a653rs-router-linux/src/main.rs b/a653rs-router-linux/src/main.rs index 3d1877f..4b2e331 100644 --- a/a653rs-router-linux/src/main.rs +++ b/a653rs-router-linux/src/main.rs @@ -57,7 +57,7 @@ extern "C" fn entry_point() { let mut state = router.router::(cfg).unwrap(); loop { let res = state.forward::(&ApexLinuxPartition); - #[cfg(feauture = "log")] + #[cfg(feature = "log")] { use a653rs_router::prelude::Error; use log::{debug, trace}; @@ -69,7 +69,7 @@ extern "C" fn entry_point() { Err(e) => debug!("Failed to forward message: {}", e), } } - #[cfg(not(feauture = "log"))] + #[cfg(not(feature = "log"))] let _res = res; } } @@ -78,7 +78,7 @@ fn main() { ApexLogger::install_panic_hook(); #[cfg(feature = "log")] { - ApexLogger::install_logger(log::LevelFilter::Trace).unwrap(); + ApexLogger::install_logger(log::LevelFilter::Debug).unwrap(); } RouterPartition.run() }