projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c31c652
)
Don't send validation warning to runtime status.
19692-quieter-runtime-status
author
Peter Amstutz <peter.amstutz@curii.com>
Mon, 14 Nov 2022 15:36:39 +0000
(10:36 -0500)
committer
Peter Amstutz <peter.amstutz@curii.com>
Mon, 14 Nov 2022 16:31:54 +0000
(11:31 -0500)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
sdk/cwl/arvados_cwl/executor.py
patch
|
blob
|
history
diff --git
a/sdk/cwl/arvados_cwl/executor.py
b/sdk/cwl/arvados_cwl/executor.py
index b042401d6b74ddc7bfa617fad91ccd40dbbb4b0c..447c14b8bfad4c8339addcbce9c6899aa2e06b72 100644
(file)
--- a/
sdk/cwl/arvados_cwl/executor.py
+++ b/
sdk/cwl/arvados_cwl/executor.py
@@
-70,6
+70,10
@@
class RuntimeStatusLoggingHandler(logging.Handler):
kind = 'error'
elif record.levelno >= logging.WARNING:
kind = 'warning'
+ if kind == 'warning' and record.name == "salad":
+ # Don't send validation warnings to runtime status,
+ # they're noisy and unhelpful.
+ return
if kind is not None and self.updatingRuntimeStatus is not True:
self.updatingRuntimeStatus = True
try: