mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
adjusted logging
This commit is contained in:
parent
33e0f61675
commit
4c877357f7
1 changed files with 10 additions and 0 deletions
|
@ -1348,6 +1348,16 @@ class DATA:
|
||||||
)
|
)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
self.log.warning(
|
||||||
|
"[TNC] SESSION FAILED ["
|
||||||
|
+ str(self.mycallsign, "UTF-8")
|
||||||
|
+ "]>>X<<["
|
||||||
|
+ str(static.DXCALLSIGN, "UTF-8")
|
||||||
|
+ "]",
|
||||||
|
a=attempt + 1 + "/" + self.session_connect_max_retries, # Adjust for 0-based for user display
|
||||||
|
reason="maximum connection attempts reached",
|
||||||
|
state=static.ARQ_SESSION_STATE,
|
||||||
|
)
|
||||||
static.ARQ_SESSION_STATE = "failed"
|
static.ARQ_SESSION_STATE = "failed"
|
||||||
self.send_data_to_socket_queue(
|
self.send_data_to_socket_queue(
|
||||||
freedata="tnc-message",
|
freedata="tnc-message",
|
||||||
|
|
Loading…
Reference in a new issue