Skip to content

Commit

Permalink
Merge pull request #14 from supermete/13/logging
Browse files Browse the repository at this point in the history
Convert logging info to debug
  • Loading branch information
supermete authored Apr 27, 2024
2 parents 02c902d + 37c6d89 commit 1ac6268
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/caroa04/caroa04.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,16 @@ def start(self, node_id, interface=None, bitrate=None, channel=None):

def listener(self, msg):
if msg.arbitration_id in (self.message_do.read_id, self.message_do.write_id):
logging.debug(f"Response from caroA04> {msg}")
logging.debug(msg)
self.message_do.update_payload(msg.data)
elif msg.arbitration_id in (self.message_di.read_id, self.message_di.write_id):
logging.info(msg)
logging.debug(msg)
self.message_di.update_payload(msg.data)
elif msg.arbitration_id in (self.message_bitrate.read_id, self.message_bitrate.write_id):
logging.info(msg)
logging.debug(msg)
self.message_bitrate.update_payload(msg.data)
elif msg.arbitration_id in (self.message_nodeid.read_id, self.message_nodeid.write_id):
logging.info(msg)
logging.debug(msg)
self.message_nodeid.update_payload(msg.data)

def stop(self):
Expand Down

0 comments on commit 1ac6268

Please sign in to comment.