Skip to content

Commit

Permalink
Merge pull request #77 from teddyrendahl/parso
Browse files Browse the repository at this point in the history
DEV: Remove spammy parso DEBUG messages
  • Loading branch information
ZLLentz authored Mar 14, 2018
2 parents 9bf8f46 + c010612 commit 6aa0a45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hutch_python/log_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ def setup_logging(dir_logs=None):
config['handlers']['debug']['filename'] = str(path_log_file)

logging.config.dictConfig(config)
# Disable parso logging because it spams DEBUG messages
# https://github.com/ipython/ipython/issues/10946
logging.getLogger('parso.python.diff').disabled = True
logging.getLogger('parso.cache').disabled = True


def get_console_handler():
Expand Down

0 comments on commit 6aa0a45

Please sign in to comment.