From ad182bc1283688b3fd946e314f1deecb243e300f Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 31 Aug 2017 18:04:58 +0530 Subject: [PATCH] Default log level should be INFO --- econtext/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/econtext/utils.py b/econtext/utils.py index 1fd4c5b7..ce76897f 100644 --- a/econtext/utils.py +++ b/econtext/utils.py @@ -27,7 +27,7 @@ def log_to_tmp(): log_to_file(path='/tmp/econtext.%s.log' % (os.getpid(),)) -def log_to_file(path=None, io=True, level=logging.DEBUG): +def log_to_file(path=None, io=True, level=logging.INFO): """Install a new :py:class:`logging.Handler` writing applications logs to the filesystem. Useful when debugging slave IO problems.""" log = logging.getLogger('')