Skip to content

Commit

Permalink
Disable geventwebsocket logging
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Apr 8, 2017
1 parent 1144f28 commit 880d536
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/geventwebsocket/logging.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import absolute_import

from logging import getLogger, StreamHandler, getLoggerClass, Formatter, DEBUG
from logging import getLogger, StreamHandler, getLoggerClass, Formatter, DEBUG, INFO


def create_logger(name, debug=False, format=None):
Expand All @@ -27,5 +27,6 @@ def emit(x, record):
del logger.handlers[:]
logger.__class__ = DebugLogger
logger.addHandler(handler)
logger.setLevel(INFO)

return logger

0 comments on commit 880d536

Please sign in to comment.