foxsi / GSE-FOXSI-4

GSE for calibration and flight operation of FOXSI-4
Other
0 stars 1 forks source link

`Listener` should timestamp and log all uplink commands #51

Open thanasipantazides opened 8 months ago

thanasipantazides commented 8 months ago

Currently

Listener.__init__() creates a placeholder logs/DATE_TIME/sent/uplink.log file, but it is never populated. This is stored in self.log_out_file, and the open file ID is in self.log_out.

To do

In Listener._run_log() after line 468, add a timestamped write of message to self.log_out. Refer to Listener.write_to_catch() for very similar implementation.