From 828b48ad89133ca108e8490d054c1e6cda1ea413 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 28 Oct 2015 17:48:50 +0800 Subject: [PATCH] master/scheduler: reduce logging severity of worker exception backtraces to debug --- artiq/master/scheduler.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/artiq/master/scheduler.py b/artiq/master/scheduler.py index de4f80af6..11eb6384e 100644 --- a/artiq/master/scheduler.py +++ b/artiq/master/scheduler.py @@ -229,8 +229,8 @@ class PrepareStage(TaskObject): await run.prepare() except: logger.error("got worker exception in prepare stage, " - "deleting RID %d", - run.rid, exc_info=True) + "deleting RID %d", run.rid) + logger.debug("worker exception details", exc_info=True) self.delete_cb(run.rid) else: run.status = RunStatus.prepare_done @@ -279,8 +279,8 @@ class RunStage(TaskObject): completed = await run.run() except: logger.error("got worker exception in run stage, " - "deleting RID %d", - run.rid, exc_info=True) + "deleting RID %d", run.rid) + logger.debug("worker exception details", exc_info=True) self.delete_cb(run.rid) else: if completed: @@ -317,8 +317,8 @@ class AnalyzeStage(TaskObject): await run.write_results() except: logger.error("got worker exception in analyze stage, " - "deleting RID %d", - run.rid, exc_info=True) + "deleting RID %d", run.rid) + logger.debug("worker exception details", exc_info=True) self.delete_cb(run.rid) else: self.delete_cb(run.rid)