log in file logger as well
This commit is contained in:
parent
99165298d4
commit
9dedcd4e4f
@ -125,7 +125,9 @@ class TcHandler(TcHandlerBase):
|
|||||||
if params.entry.entry_type == TcQueueEntryType.PUS_TC:
|
if params.entry.entry_type == TcQueueEntryType.PUS_TC:
|
||||||
self.handle_tc_send_cb(params)
|
self.handle_tc_send_cb(params)
|
||||||
elif params.entry.entry_type == TcQueueEntryType.LOG:
|
elif params.entry.entry_type == TcQueueEntryType.LOG:
|
||||||
LOGGER.info(params.entry.to_log_entry().log_str)
|
log_entry = params.entry.to_log_entry()
|
||||||
|
LOGGER.info(log_entry.log_str)
|
||||||
|
self.file_logger.info(log_entry.log_str)
|
||||||
|
|
||||||
def handle_tc_send_cb(self, params: SendCbParams):
|
def handle_tc_send_cb(self, params: SendCbParams):
|
||||||
pus_tc_wrapper = params.entry.to_pus_tc_entry()
|
pus_tc_wrapper = params.entry.to_pus_tc_entry()
|
||||||
|
Loading…
Reference in New Issue
Block a user