forked from M-Labs/artiq
1
0
Fork 0

gui: better log levels

This commit is contained in:
Sebastien Bourdeauducq 2016-05-30 15:04:49 -05:00
parent 55fdfc618b
commit 03eeec55b2
2 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ class _ExperimentDock(QtWidgets.QMdiSubWindow):
expid=expid, priority=0)
await worker.analyze()
except:
logger.info("Failed to run '%s'", self.expurl)
logger.error("Failed to run '%s'", self.expurl)
log_worker_exception()
finally:
await worker.close()

View File

@ -120,7 +120,7 @@ class _AppletDock(QDockWidgetCloseDetect):
python=sys.executable.replace("\\", "\\\\"),
ipc_address=self.ipc.get_address().replace("\\", "\\\\")
)
logger.info("starting command %s for %s", command, self.applet_name)
logger.debug("starting command %s for %s", command, self.applet_name)
try:
await self.ipc.create_subprocess(*shlex.split(command),
start_new_session=True)