Skip to content

Commit

Permalink
(fix) Update log patcher
Browse files Browse the repository at this point in the history
The unimportant events have changed names.
  • Loading branch information
do3cc committed Jul 26, 2013
1 parent 41c2220 commit f75c4e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ZServer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ def patchAsyncoreLogger():
LOG = getLogger('ZServer')

def log_info(self, message, type='info'):
if message[:14]=='adding channel' or \
message[:15]=='closing channel' or \
if message[:44]=='uncaptured python exception, closing channel' or \
message == 'Computing default hostname':
LOG.debug(message)
else:
Expand Down

0 comments on commit f75c4e3

Please sign in to comment.