From ad3d7dc687c9078529102b812af987c3a9ae6507 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 12 Jun 2016 13:11:36 +0800 Subject: [PATCH] browser: cut logging verbosity --- artiq/browser/experiments.py | 6 +++--- artiq/browser/files.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/artiq/browser/experiments.py b/artiq/browser/experiments.py index 60e29e1f8..9938759ae 100644 --- a/artiq/browser/experiments.py +++ b/artiq/browser/experiments.py @@ -225,7 +225,7 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow): def dropEvent(self, ev): for uri in ev.mimeData().urls(): if uri.scheme() == "file": - logger.info("Loading HDF5 arguments from %s", uri.path()) + logger.debug("Loading HDF5 arguments from %s", uri.path()) asyncio.ensure_future(self._load_hdf5_task(uri.path())) break @@ -289,7 +289,7 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow): self._terminate.setEnabled(True) def done(fut): - logger.info("Analysis done") + logger.debug("Analysis done") self._run_task = None self._run.setEnabled(True) self._terminate.setEnabled(False) @@ -405,7 +405,7 @@ class ExperimentsArea(QtWidgets.QMdiArea): except asyncio.CancelledError: return self.current_dir = os.path.dirname(file) - logger.info("Opening experiment %s", file) + logger.debug("Opening experiment %s", file) try: description = await self.examine(file) except: diff --git a/artiq/browser/files.py b/artiq/browser/files.py index 653ce8384..f3bf22051 100644 --- a/artiq/browser/files.py +++ b/artiq/browser/files.py @@ -171,7 +171,7 @@ class FilesDock(QtWidgets.QDockWidget): f = open_h5(info) if not f: return - logger.info("loading datasets from %s", info.filePath()) + logger.debug("loading datasets from %s", info.filePath()) with f: if "datasets" not in f: return