Skip to content

Commit

Permalink
chore: reduce logging output
Browse files Browse the repository at this point in the history
  • Loading branch information
elagil committed Oct 15, 2022
1 parent 168aae9 commit 963efdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sigmadsp/sigmastudio/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ def handle_write_request(self, packet: Packet):
request: WriteRequest

if packet.header.is_safeload:
logger.info("[safeload] %s bytes to address 0x%04x", packet.header["data_length"].value, packet.header["address"].value)
logger.debug("[safeload] %s bytes to address 0x%04x", packet.header["data_length"].value, packet.header["address"].value)
request = SafeloadRequest(packet.header["address"].value, packet.payload)

else:
logger.info("[write] %s bytes to address 0x%04x", packet.header["data_length"].value, packet.header["address"].value)
logger.debug("[write] %s bytes to address 0x%04x", packet.header["data_length"].value, packet.header["address"].value)
request = WriteRequest(packet.header["address"].value, packet.payload)

self.server.receive_queue.put(request)
Expand All @@ -150,7 +150,7 @@ def handle_read_request(self, packet: Packet):
Args:
packet (Packet): The request header object.
"""
logger.info(
logger.debug(
"[read] %d bytes from address 0x%04x", packet.header["data_length"].value, packet.header["address"].value
)

Expand Down

0 comments on commit 963efdb

Please sign in to comment.