Skip to content

Commit 862d5f6

Browse files
committed
Improve logging
1 parent 23776d6 commit 862d5f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugwise_usb/connection/queue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ async def _send_queue_worker(self) -> None:
135135
_LOGGER.debug("Send_queue_worker started")
136136
while self._running:
137137
request = await self._submit_queue.get()
138-
_LOGGER.debug("Send from queue %s", request)
138+
_LOGGER.debug("Send from send queue %s", request)
139139
if request.priority == Priority.CANCEL:
140140
self._submit_queue.task_done()
141141
return
142142
await self._stick.write_to_stick(request)
143143
self._submit_queue.task_done()
144144
_LOGGER.debug("Sent from queue %s", request)
145-
_LOGGER.debug("Send_queue_worker finished")
145+
_LOGGER.debug("Send_queue_worker stopped")

plugwise_usb/connection/sender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ async def write_request_to_port(self, request: PlugwiseRequest) -> None:
6868

6969
# Write message to serial port buffer
7070
serialized_data = request.serialize()
71-
_LOGGER.debug("Write %s to port: %s", request, serialized_data)
71+
_LOGGER.debug("Write %s to port as %s", request, serialized_data)
7272
self._transport.write(serialized_data)
7373
request.start_response_timeout()
7474

0 commit comments

Comments
 (0)