diff options
-rw-r--r-- | uploader/phenotypes/views.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py index 961c088..9c737fc 100644 --- a/uploader/phenotypes/views.py +++ b/uploader/phenotypes/views.py @@ -3,6 +3,7 @@ import sys import csv import uuid import json +import logging import datetime import tempfile from typing import Any @@ -974,7 +975,11 @@ def edit_upload_phenotype_data(# pylint: disable=[unused-argument] "-m", "scripts.phenotypes_bulk_edit", app.config["SQL_URI"], jobs_db, - str(job_id) + str(job_id), + "--log-level", + logging.getLevelName( + app.logger.getEffectiveLevel() + ).lower() ], "phenotype-bulk-edit", extra_meta = { |