Skip to content

Commit

Permalink
Merge pull request #25 from shauneccles/master
Browse files Browse the repository at this point in the history
Remove Debug Logs
  • Loading branch information
Hundemeier authored Feb 7, 2021
2 parents c38a2a2 + 33f136b commit b79cb80
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions sacn/receiving/receiver_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def run(self):
tmp_packet = DataPacket.make_data_packet(raw_data)
except: # try to make a DataPacket. If it fails just go over it
continue
self.logger.debug(f'Received sACN packet:\n{tmp_packet}')

self.check_for_stream_terminated_and_refresh_timestamp(tmp_packet)
self.refresh_priorities(tmp_packet)
Expand Down Expand Up @@ -146,7 +145,6 @@ def fire_callbacks_universe(self, packet: DataPacket) -> None:
if packet.universe not in self.previousData.keys() or \
self.previousData[packet.universe] is None or \
self.previousData[packet.universe] != packet.dmxData:
self.logger.debug('')
# set previous data and inherit callbacks
self.previousData[packet.universe] = packet.dmxData
for callback in self.callbacks[packet.universe]:
Expand Down
1 change: 0 additions & 1 deletion sacn/sending/output_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ def send_packet(self, packet, destination: str):
MESSAGE = bytearray(packet.getBytes())
try:
self._socket.sendto(MESSAGE, (destination, DEFAULT_PORT))
self.logger.debug(f'Send out Packet to {destination}:{DEFAULT_PORT} with following content:\n{packet}')
except OSError as e:
self.logger.warning('Failed to send packet', exc_info=e)

Expand Down

0 comments on commit b79cb80

Please sign in to comment.