De-verbosify some SQLite debug

This commit is contained in:
Gregoo 2025-01-17 15:34:49 +01:00
parent e2617daa40
commit db9dbfae54

View File

@ -150,9 +150,7 @@ class BrickSQL(object):
# Stats: fetchall # Stats: fetchall
self.stats.fetchall += 1 self.stats.fetchall += 1
logger.debug('SQLite3: fetchall: {query}'.format( logger.debug('SQLite3: fetchall')
query=BrickSQL.clean_query(query)
))
records = self.cursor.fetchall() records = self.cursor.fetchall()
# Stats: fetched # Stats: fetched
@ -173,9 +171,7 @@ class BrickSQL(object):
# Stats: fetchone # Stats: fetchone
self.stats.fetchone += 1 self.stats.fetchone += 1
logger.debug('SQLite3: fetchone: {query}'.format( logger.debug('SQLite3: fetchone')
query=BrickSQL.clean_query(query)
))
record = self.cursor.fetchone() record = self.cursor.fetchone()
# Stats: fetched # Stats: fetched