From ef163057fe42359265a765c1f0fe6e9fb3a1ffbc Mon Sep 17 00:00:00 2001 From: Carlos Natalino Date: Mon, 17 Jun 2024 13:06:23 +0000 Subject: [PATCH] Enabling ECHO mode for the database. --- src/context/service/database/Engine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/context/service/database/Engine.py b/src/context/service/database/Engine.py index e2115541c..5849c8400 100644 --- a/src/context/service/database/Engine.py +++ b/src/context/service/database/Engine.py @@ -18,8 +18,8 @@ from common.Settings import get_setting LOGGER = logging.getLogger(__name__) APP_NAME = 'tfs' -ECHO = False # true: dump SQL commands and transactions executed -CRDB_URI_TEMPLATE = 'cockroachdb://{:s}:{:s}@cockroachdb-public.{:s}.svc.cluster.local:{:s}/{:s}?sslmode={:s}¤tSchema=tfs' +ECHO = True # true: dump SQL commands and transactions executed +CRDB_URI_TEMPLATE = 'cockroachdb://{:s}:{:s}@cockroachdb-public.{:s}.svc.cluster.local:{:s}/{:s}?sslmode={:s}' class Engine: @staticmethod -- GitLab