Set logging of SQL queries to sqlite as debug log messages

This commit is contained in:
Jeff Schroeder 2015-09-16 22:57:22 -05:00
parent 3c3eadbef5
commit 7e42b35b62

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()