From 597f4ca9770c27f8a8669bad5dda79b96613ea1b Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 24 Apr 2024 20:40:51 +0200 Subject: [PATCH] some more cleaning up --- pytmtc/pyserver.py | 2 +- src/config.rs | 4 ++-- src/logger.rs | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pytmtc/pyserver.py b/pytmtc/pyserver.py index 19caf93..88239d1 100755 --- a/pytmtc/pyserver.py +++ b/pytmtc/pyserver.py @@ -17,7 +17,7 @@ EXP_PACKET_ID_TM = PacketId(PacketType.TM, True, EXP_APID) EXP_PACKET_ID_TC = PacketId(PacketType.TC, True, EXP_APID) OPSSAT_SERVER_PORT = 4096 TMTC_SERVER_PORT = 4097 -LOG_LEVEL = logging.DEBUG +LOG_LEVEL = logging.INFO TC_QUEUE = Queue() diff --git a/src/config.rs b/src/config.rs index e3d3554..9c799a3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -22,8 +22,8 @@ pub const VALID_PACKET_ID_LIST: &[PacketId] = &[PacketId::new_for_tc(true, EXPER // TODO: Would be nice if this can be commanded as well.. /// Can be enabled to print all SPP packets received from the SPP server on port 4096. -pub const SPP_CLIENT_WIRETAPPING_RX: bool = true; -pub const SPP_CLIENT_WIRETAPPING_TX: bool = true; +pub const SPP_CLIENT_WIRETAPPING_RX: bool = false; +pub const SPP_CLIENT_WIRETAPPING_TX: bool = false; #[derive(Copy, Clone, PartialEq, Eq, Debug, TryFromPrimitive, IntoPrimitive)] #[repr(u8)] diff --git a/src/logger.rs b/src/logger.rs index 8779c13..c186deb 100644 --- a/src/logger.rs +++ b/src/logger.rs @@ -8,7 +8,6 @@ pub fn setup_logger() -> Result<(), fern::InitError> { } let mut path_buf = PathBuf::from(LOG_FOLDER); path_buf.push("output.log"); - println!("{:?}", path_buf); fern::Dispatch::new() .format(move |out, message, record| { out.finish(format_args!(