From 91a691e1f6a2b1abe6418c20863f7e3c4f313816 Mon Sep 17 00:00:00 2001 From: don Date: Mon, 14 Dec 2015 10:53:37 -0800 Subject: [PATCH] Reduce the noise in the log from MISEQ_MONITOR.py. --- MISEQ_MONITOR.py | 5 ++++- micall/settings_default.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/MISEQ_MONITOR.py b/MISEQ_MONITOR.py index 352fe0825..2ea63ad57 100755 --- a/MISEQ_MONITOR.py +++ b/MISEQ_MONITOR.py @@ -39,7 +39,10 @@ def init_logging(log_file): try: - logger = miseq_logging.init_logging(log_file, file_log_level=logging.DEBUG, console_log_level=logging.INFO) + logger = miseq_logging.init_logging(log_file, + file_log_level=logging.INFO, + console_log_level=logging.INFO) + logging.getLogger('urllib3.connectionpool').setLevel(logging.WARN) except Exception as e: raise Exception("Couldn't setup logging (init_logging() threw exception '{}') - HALTING NOW!".format(str(e))) return logger diff --git a/micall/settings_default.py b/micall/settings_default.py index 9fd8424af..adbfeeb42 100755 --- a/micall/settings_default.py +++ b/micall/settings_default.py @@ -64,7 +64,7 @@ kive_password = '*******' kive_groups_allowed = ['Everyone'] pipeline_version_kive_id = 98 # Change for each release -quality_cdt_kive_id = 25 # Kive ID for CompoundDatatype (tile:integer, cycle:integer, errorrate:float) +quality_cdt_kive_id = 25 # Kive ID for CompoundDatatype (tile:integer, cycle:integer, errorrate:float?) """ This can be retrieved by entering the Django shell with './manage.py shell' and using the following script: