From 48b5e6c28bb26d82e78bdf6c5d1b33df1c573615 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 7 Apr 2025 15:25:27 -0500 Subject: Remove debug logging: current_app.logger requires app context. --- gn3/commands.py | 1 - 1 file changed, 1 deletion(-) (limited to 'gn3/commands.py') diff --git a/gn3/commands.py b/gn3/commands.py index 5c0dbd6..2cf0404 100644 --- a/gn3/commands.py +++ b/gn3/commands.py @@ -158,7 +158,6 @@ def run_sample_corr_cmd(method, this_trait_data, target_dataset_data): def run_cmd(cmd: str, success_codes: Tuple = (0,), env: Optional[str] = None) -> Dict: """Run CMD and return the CMD's status code and output as a dict""" try: - current_app.logger.debug("Attempting to parse command: ==> %s <==", cmd) parsed_cmd = json.loads(cmd) except json.decoder.JSONDecodeError as jderr: parsed_cmd = shlex.split(cmd) -- cgit 1.4.1