mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-05 06:15:31 +00:00
fix some log messages
This commit is contained in:
parent
a3494b54a6
commit
60d05dc235
2 changed files with 5 additions and 4 deletions
|
|
@ -57,8 +57,8 @@ class _ThreadedTCPRequestHandler(socketserver.BaseRequestHandler):
|
|||
if data == "<keep-alive>":
|
||||
continue
|
||||
|
||||
logging.debug("%s recv header: '%s'", req_name, header)
|
||||
logging.debug("%s recv %d bytes:\n%s", req_name, length, pformat(data))
|
||||
logging.debug("%s recv header: %s", req_name, header)
|
||||
logging.debug("%s recv %d bytes:\n%s", req_name, len(data), pformat(data))
|
||||
|
||||
# add a new entry and the decoded data dict as an string in utf-8 and an timestamp
|
||||
self.server.alarmQueue.put_nowait((self.client_address[0], data, time.time())) # queue is threadsafe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue