mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Set logging of SQL queries to sqlite as debug log messages
This commit is contained in:
parent
3c3eadbef5
commit
7e42b35b62
@ -256,7 +256,7 @@ class Recorder(threading.Thread):
|
|||||||
""" Query the database. """
|
""" Query the database. """
|
||||||
try:
|
try:
|
||||||
with self.conn, self.lock:
|
with self.conn, self.lock:
|
||||||
_LOGGER.info("Running query %s", sql_query)
|
_LOGGER.debug("Running query %s", sql_query)
|
||||||
|
|
||||||
cur = self.conn.cursor()
|
cur = self.conn.cursor()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user