diff --git a/src/satman/src/main.rs b/src/satman/src/main.rs index 984a085..fb93308 100644 --- a/src/satman/src/main.rs +++ b/src/satman/src/main.rs @@ -1076,7 +1076,7 @@ fn process_aux_packet( ); if let Ok(level_filter) = mgmt::byte_to_level_filter(log_level) { - info!("Changing log level to {}", log_level); + info!("Changing log level to {}", level_filter); log::set_max_level(level_filter); drtioaux::send(0, &drtioaux::Packet::CoreMgmtAck) } else { @@ -1099,7 +1099,7 @@ fn process_aux_packet( ); if let Ok(level_filter) = mgmt::byte_to_level_filter(log_level) { - info!("Changing log level to {}", log_level); + info!("Changing log level to {}", level_filter); unsafe { logger::BufferLogger::get_logger() .as_ref() diff --git a/src/satman/src/mgmt.rs b/src/satman/src/mgmt.rs index 0aa22ae..169037e 100644 --- a/src/satman/src/mgmt.rs +++ b/src/satman/src/mgmt.rs @@ -97,6 +97,7 @@ impl<'a> Manager<'_> { .current_payload .read_string() .map_err(|_err| error!("error on reading key"))?; + debug!("write key: {}", key); let value = self.current_payload.read_bytes().unwrap(); self.cfg