forked from FrederikBaerentsen/BrickTracker
SQLite debug messages
This commit is contained in:
parent
4e1bf08139
commit
9029f6d423
@ -259,6 +259,7 @@ class BrickSQL(object):
|
|||||||
|
|
||||||
# Instantiate Jinja environment for SQL files
|
# Instantiate Jinja environment for SQL files
|
||||||
if environment is None:
|
if environment is None:
|
||||||
|
logger.debug('SQLite3: instantiating the Jinja loader')
|
||||||
environment = Environment(
|
environment = Environment(
|
||||||
loader=FileSystemLoader(
|
loader=FileSystemLoader(
|
||||||
os.path.join(os.path.dirname(__file__), 'sql/')
|
os.path.join(os.path.dirname(__file__), 'sql/')
|
||||||
@ -269,7 +270,7 @@ class BrickSQL(object):
|
|||||||
setattr(g, G_ENVIRONMENT, environment)
|
setattr(g, G_ENVIRONMENT, environment)
|
||||||
|
|
||||||
# Grab the template
|
# Grab the template
|
||||||
logger.debug('SQLite: loading {name} (context: {context})'.format(
|
logger.debug('SQLite3: loading {name} (context: {context})'.format(
|
||||||
name=name,
|
name=name,
|
||||||
context=context,
|
context=context,
|
||||||
))
|
))
|
||||||
|
Loading…
Reference in New Issue
Block a user