mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
updated logging
This commit is contained in:
parent
6efde55a3b
commit
4d605106c8
2 changed files with 3 additions and 3 deletions
|
@ -1048,7 +1048,7 @@ class DATA:
|
|||
self.rx_start_of_transmission, len(ARQ.rx_frame_buffer)
|
||||
)
|
||||
self.log.info("[TNC] ARQ | RX | DATA FRAME SUCCESSFULLY RECEIVED", nacks=self.frame_nack_counter,
|
||||
bytesperminute=ARQ.bytes_per_minute, total_bytes=ARQ.total_bytes, duration=duration, signed=signed)
|
||||
bytesperminute=ARQ.bytes_per_minute, total_bytes=ARQ.total_bytes, duration=duration, hmac_signed=signed)
|
||||
|
||||
# Decompress the data frame
|
||||
data_frame_decompressed = lzma.decompress(data_frame)
|
||||
|
@ -1144,7 +1144,7 @@ class DATA:
|
|||
dxgrid=str(Station.dxgrid, "UTF-8"),
|
||||
data=base64_data,
|
||||
irs=helpers.bool_to_string(self.is_IRS),
|
||||
signed=signed
|
||||
hmac_signed=signed
|
||||
)
|
||||
|
||||
if TNC.enable_stats:
|
||||
|
|
|
@ -784,7 +784,7 @@ class ThreadedTCPRequestHandler(socketserver.StreamRequestHandler):
|
|||
try:
|
||||
log.info("[SCK] [HMAC] Looking for salt/token", local=mycallsign, remote=dxcallsign)
|
||||
hmac_salt = helpers.get_hmac_salt(dxcallsign, mycallsign)
|
||||
log.info("[SCK] [HMAC] Salt found", local=mycallsign, remote=dxcallsign, salt=hmac_salt)
|
||||
log.info("[SCK] [HMAC] Salt info", local=mycallsign, remote=dxcallsign, salt=hmac_salt)
|
||||
except Exception:
|
||||
log.warning("[SCK] [HMAC] No salt/token found")
|
||||
hmac_salt = ''
|
||||
|
|
Loading…
Reference in a new issue