Commit 715bfd9d authored by Grégory Wisniewski's avatar Grégory Wisniewski

Don't warn if no packet logging method is available.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1850 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent f72c47b6
...@@ -36,7 +36,6 @@ class PacketLogger(EventHandler): ...@@ -36,7 +36,6 @@ class PacketLogger(EventHandler):
packet.__class__.__name__, direction, uuid, ip, port) packet.__class__.__name__, direction, uuid, ip, port)
logger = self.packet_dispatch_table.get(klass, None) logger = self.packet_dispatch_table.get(klass, None)
if logger is None: if logger is None:
logging.warning('No logger found for packet %s' % klass)
return return
# enhanced log # enhanced log
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment