diff --git a/atdb/atdb/settings/docker_sdc.py b/atdb/atdb/settings/docker_sdc.py index b77b63ace0f710978de189dd642ef4e3812d4764..92435f8c200ce5f7bd33a8483f6c4190d974cbd4 100644 --- a/atdb/atdb/settings/docker_sdc.py +++ b/atdb/atdb/settings/docker_sdc.py @@ -8,6 +8,9 @@ try: except: DEBUG = False +#nv: 21 aug 2023, temporary override for troubleshooting +DEBUG = True + ALLOWED_HOSTS = ["*"] # True: Enables a header that tells the UA to switch on the XSS filter. diff --git a/atdb/taskdatabase/models.py b/atdb/taskdatabase/models.py index c5e7c139b5be70cd2e1bd73e31259f696e088fc5..197ff582c9aa7e5d3fa7eac4a99c6221d892ccfb 100644 --- a/atdb/taskdatabase/models.py +++ b/atdb/taskdatabase/models.py @@ -423,8 +423,8 @@ class LogEntry(models.Model): previous_timestamp = self.task.creationTime dt = (self.timestamp - previous_timestamp).seconds - message = "logentry for task "+str(self.task.id)+", to "+self.status + " took " + str(dt) + " seconds" - logger.info(message) + #message = "logentry for task "+str(self.task.id)+", to "+self.status + " took " + str(dt) + " seconds" + #logger.info(message) self.wall_clock_time = dt except Exception as e: