Skip to content

Commit

Permalink
Merge pull request #572 from devos50/improve_logging
Browse files Browse the repository at this point in the history
READY: Reduced logging output
  • Loading branch information
devos50 authored Aug 15, 2018
2 parents 2d4753c + 28ded92 commit 23d0b84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions community.py
Original file line number Diff line number Diff line change
Expand Up @@ -1892,7 +1892,7 @@ def _generic_timeline_check(self, messages):
yield DelayMessageByProof(message)

def _drop(self, drop, packet, candidate):
self._logger.warning("drop a %d byte packet %s from %s", len(packet), drop, candidate)
self._logger.debug("drop a %d byte packet %s from %s", len(packet), drop, candidate)
if isinstance(drop, DropPacket):
self._statistics.increase_msg_count(u"drop", u"drop_packet:%s" % drop)

Expand Down Expand Up @@ -2031,7 +2031,7 @@ def on_incoming_packets(self, packets, cache=True, timestamp=0.0, source=u"unkno

except ConversionNotFoundException:
for candidate, packet in cur_packets:
self._logger.warning(
self._logger.debug(
"_on_incoming_packets: drop a %d byte packet (received packet for unknown conversion) from %s",
len(packet), candidate)
self._statistics.increase_msg_count(
Expand Down

0 comments on commit 23d0b84

Please sign in to comment.