some more cleaning up

This commit is contained in:
Robin Müller 2024-04-24 20:40:51 +02:00
parent 879a50f79e
commit 597f4ca977
Signed by: muellerr
GPG Key ID: A649FB78196E3849
3 changed files with 3 additions and 4 deletions

View File

@ -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()

View File

@ -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)]

View File

@ -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!(