From 9029f6d4235a8f4391e798c5a7b35318b875d7ab Mon Sep 17 00:00:00 2001 From: Gregoo Date: Fri, 24 Jan 2025 10:23:29 +0100 Subject: [PATCH] SQLite debug messages --- bricktracker/sql.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bricktracker/sql.py b/bricktracker/sql.py index 000e19e..b58d54a 100644 --- a/bricktracker/sql.py +++ b/bricktracker/sql.py @@ -259,6 +259,7 @@ class BrickSQL(object): # Instantiate Jinja environment for SQL files if environment is None: + logger.debug('SQLite3: instantiating the Jinja loader') environment = Environment( loader=FileSystemLoader( os.path.join(os.path.dirname(__file__), 'sql/') @@ -269,7 +270,7 @@ class BrickSQL(object): setattr(g, G_ENVIRONMENT, environment) # Grab the template - logger.debug('SQLite: loading {name} (context: {context})'.format( + logger.debug('SQLite3: loading {name} (context: {context})'.format( name=name, context=context, ))