From b66afca107e70da5fbf8955765c82a8933aa85ce Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 24 Sep 2020 16:23:42 +0200 Subject: [PATCH] Bump up failing job log message to info --- lib/galaxy/tool_util/output_checker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/tool_util/output_checker.py b/lib/galaxy/tool_util/output_checker.py index b5f9ff302cc..102a7cb0842 100644 --- a/lib/galaxy/tool_util/output_checker.py +++ b/lib/galaxy/tool_util/output_checker.py @@ -135,7 +135,7 @@ def check_output(stdio_regexes, stdio_exit_codes, stdout, stderr, tool_exit_code reason = '' if job_messages: reason = " Reasons are {}".format(job_messages) - log.debug("Job error detected, failing job.{}".format(reason)) + log.info("Job error detected, failing job.{}".format(reason)) state = DETECTED_JOB_STATE.GENERIC_ERROR # When there are no regular expressions and no exit codes to check, @@ -148,7 +148,7 @@ def check_output(stdio_regexes, stdio_exit_codes, stdout, stderr, tool_exit_code if stderr: state = DETECTED_JOB_STATE.GENERIC_ERROR peek = stderr[0:ERROR_PEEK_SIZE] if stderr else "" - log.debug("Job failed because of contents in the standard error stream: [{}]".format(peek)) + log.info("Job failed because of contents in the standard error stream: [{}]".format(peek)) except Exception: log.exception("Job state check encountered unexpected exception; assuming execution successful")