From 36e258086db7d404012201fd5627ca98975f53c8 Mon Sep 17 00:00:00 2001
From: lb584 <lb584@cam.ac.uk>
Date: Wed, 22 May 2024 17:19:58 +0100
Subject: [PATCH] adding print statement

---
 ews/coordinator/utils/processor_utils.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ews/coordinator/utils/processor_utils.py b/ews/coordinator/utils/processor_utils.py
index 18e489f..02318fb 100644
--- a/ews/coordinator/utils/processor_utils.py
+++ b/ews/coordinator/utils/processor_utils.py
@@ -354,12 +354,11 @@ def setup_logging(job_file_path: str, is_live: bool, log_level: str):
     # if there is no value set for the LOGGING_CONFIG file, set a default path.
     if not 'LOGGING_CONFIG' in os.environ:
         from ews import coordinator
-
-
         log_config_path_project = os.path.join(os.path.dirname(coordinator.__file__), "..", "..", "configs", "logger", "template_log_config.json")
-        print(f"ENVIRONMENT VARIABLE 'LOGGING_CONFIG' IS NOT SET, UISING DEFAULT FILE - {log_config_path_project}")
+        print(f"ENVIRONMENT VARIABLE 'LOGGING_CONFIG' IS NOT SET, USING DEFAULT FILE - {log_config_path_project}")
     else:
         log_config_path_project = os.environ['LOGGING_CONFIG']
+        print(f"USING LOGGING CONFIG FILE FROM ENVIRONMENT VARIABLE - {log_config_path_project}")
 
     assert os.path.exists(log_config_path_project)
     json_file_path = log_config_path_project
-- 
GitLab