Set logging of SQL queries to sqlite as debug log messages

This commit is contained in:
Jeff Schroeder committed 2015-09-16 23:11:57 -05:00
1 parent 3c3eadbef5
commit 7e42b35b62
1 file changed
+1 -1
+1 -1
View File
@@ -256,7 +256,7 @@ class Recorder(threading.Thread):
""" Query the database. """
try:
with self.conn, self.lock:
_LOGGER.info("Running query %s", sql_query)
_LOGGER.debug("Running query %s", sql_query)
cur = self.conn.cursor()