Skip to content
Browse files

Turned off very verbose (and slow) debug log message.

  • Loading branch information...
1 parent a7f9f30 commit 8972798878ada63c8d7b15b82c5116cb07854795 @jasonmccampbell jasonmccampbell committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 encore/events/event_manager.py
View
6 encore/events/event_manager.py
@@ -437,8 +437,10 @@ def emit(self, event, block=True):
'event: {2}:\n{3}'.format(e, listener, event,
traceback.format_exc()))
if event._handled:
- logger.info('Event: {0} handled by listener: {1}'.format(
- event, listener))
+ # Only enable when debugging -- very slow even if it doesn't get emitted because
+ # it must still do the string formatting.
+ #logger.debug('Event: {0} handled by listener: {1}'.format(
+ # event, listener))
break
event.post_emit()

0 comments on commit 8972798

Please sign in to comment.
Something went wrong with that request. Please try again.